LibreOffice Module sc (master)  1
Public Member Functions | Private Attributes | List of all members
ScSheetSaveData Class Reference

#include <sheetdata.hxx>

Collaboration diagram for ScSheetSaveData:
[legend]

Public Member Functions

 ScSheetSaveData ()
 
 ~ScSheetSaveData ()
 
void AddCellStyle (const OUString &rName, const ScAddress &rCellPos)
 
void AddColumnStyle (const OUString &rName, const ScAddress &rCellPos)
 
void AddRowStyle (const OUString &rName, const ScAddress &rCellPos)
 
void AddTableStyle (const OUString &rName, const ScAddress &rCellPos)
 
void HandleNoteStyles (const OUString &rStyleName, const OUString &rTextName, const ScAddress &rCellPos)
 
void AddNoteContentStyle (XmlStyleFamily nFamily, const OUString &rName, const ScAddress &rCellPos, const ESelection &rSelection)
 
void AddTextStyle (const OUString &rName, const ScAddress &rCellPos, const ESelection &rSelection)
 
void BlockSheet (SCTAB nTab)
 
bool IsSheetBlocked (SCTAB nTab) const
 
void AddStreamPos (SCTAB nTab, sal_Int32 nStartOffset, sal_Int32 nEndOffset)
 
void GetStreamPos (SCTAB nTab, sal_Int32 &rStartOffset, sal_Int32 &rEndOffset) const
 
bool HasStreamPos (SCTAB nTab) const
 
void StartStreamPos (SCTAB nTab, sal_Int32 nStartOffset)
 
void EndStreamPos (sal_Int32 nEndOffset)
 
bool HasStartPos () const
 
void ResetSaveEntries ()
 
void AddSavePos (SCTAB nTab, sal_Int32 nStartOffset, sal_Int32 nEndOffset)
 
void UseSaveEntries ()
 
void StoreInitialNamespaces (const SvXMLNamespaceMap &rNamespaces)
 
void StoreLoadedNamespaces (const SvXMLNamespaceMap &rNamespaces)
 
bool AddLoadedNamespaces (SvXMLNamespaceMap &rNamespaces) const
 
const std::vector< ScCellStyleEntry > & GetCellStyles () const
 
const std::vector< ScCellStyleEntry > & GetColumnStyles () const
 
const std::vector< ScCellStyleEntry > & GetRowStyles () const
 
const std::vector< ScCellStyleEntry > & GetTableStyles () const
 
const std::vector< ScNoteStyleEntry > & GetNoteStyles () const
 
const std::vector< ScTextStyleEntry > & GetNoteParaStyles () const
 
const std::vector< ScTextStyleEntry > & GetNoteTextStyles () const
 
const std::vector< ScTextStyleEntry > & GetTextStyles () const
 
bool IsInSupportedSave () const
 
void SetInSupportedSave (bool bSet)
 

Private Attributes

std::unordered_set< OUString > maInitialPrefixes
 
std::vector< ScLoadedNamespaceEntrymaLoadedNamespaces
 
std::vector< ScCellStyleEntrymaCellStyles
 
std::vector< ScCellStyleEntrymaColumnStyles
 
std::vector< ScCellStyleEntrymaRowStyles
 
std::vector< ScCellStyleEntrymaTableStyles
 
std::vector< ScNoteStyleEntrymaNoteStyles
 
std::vector< ScTextStyleEntrymaNoteParaStyles
 
std::vector< ScTextStyleEntrymaNoteTextStyles
 
std::vector< ScTextStyleEntrymaTextStyles
 
std::vector< bool > maBlocked
 
std::vector< ScStreamEntrymaStreamEntries
 
std::vector< ScStreamEntrymaSaveEntries
 
SCTAB mnStartTab
 
sal_Int32 mnStartOffset
 
ScNoteStyleEntry maPreviousNote
 
bool mbInSupportedSave
 

Detailed Description

Definition at line 105 of file sheetdata.hxx.

Constructor & Destructor Documentation

ScSheetSaveData::ScSheetSaveData ( )

Definition at line 27 of file sheetdata.cxx.

ScSheetSaveData::~ScSheetSaveData ( )

Definition at line 35 of file sheetdata.cxx.

Member Function Documentation

void ScSheetSaveData::AddCellStyle ( const OUString &  rName,
const ScAddress rCellPos 
)

Definition at line 39 of file sheetdata.cxx.

References maCellStyles.

Referenced by ScXMLImport::SetStyleToRanges().

void ScSheetSaveData::AddColumnStyle ( const OUString &  rName,
const ScAddress rCellPos 
)

Definition at line 44 of file sheetdata.cxx.

References maColumnStyles.

Referenced by ScXMLTableColContext::endFastElement().

bool ScSheetSaveData::AddLoadedNamespaces ( SvXMLNamespaceMap rNamespaces) const
void ScSheetSaveData::AddNoteContentStyle ( XmlStyleFamily  nFamily,
const OUString &  rName,
const ScAddress rCellPos,
const ESelection rSelection 
)

Definition at line 77 of file sheetdata.cxx.

References maNoteParaStyles, and maNoteTextStyles.

Referenced by ScXMLTableRowCellContext::SetAnnotation().

void ScSheetSaveData::AddRowStyle ( const OUString &  rName,
const ScAddress rCellPos 
)

Definition at line 49 of file sheetdata.cxx.

References maRowStyles.

Referenced by ScXMLTableRowContext::endFastElement().

void ScSheetSaveData::AddSavePos ( SCTAB  nTab,
sal_Int32  nStartOffset,
sal_Int32  nEndOffset 
)

Definition at line 157 of file sheetdata.cxx.

References maSaveEntries.

Referenced by ScXMLExport::ExportContent_().

void ScSheetSaveData::AddStreamPos ( SCTAB  nTab,
sal_Int32  nStartOffset,
sal_Int32  nEndOffset 
)

Definition at line 106 of file sheetdata.cxx.

References maStreamEntries.

Referenced by EndStreamPos().

void ScSheetSaveData::AddTableStyle ( const OUString &  rName,
const ScAddress rCellPos 
)

Definition at line 54 of file sheetdata.cxx.

References maTableStyles.

Referenced by ScMyTables::SetTableStyle().

void ScSheetSaveData::AddTextStyle ( const OUString &  rName,
const ScAddress rCellPos,
const ESelection rSelection 
)
void ScSheetSaveData::BlockSheet ( SCTAB  nTab)
void ScSheetSaveData::EndStreamPos ( sal_Int32  nEndOffset)
const std::vector<ScCellStyleEntry>& ScSheetSaveData::GetCellStyles ( ) const
inline

Definition at line 162 of file sheetdata.hxx.

References maCellStyles.

Referenced by ScXMLExport::collectAutoStyles().

const std::vector<ScCellStyleEntry>& ScSheetSaveData::GetColumnStyles ( ) const
inline

Definition at line 163 of file sheetdata.hxx.

References maColumnStyles.

Referenced by ScXMLExport::collectAutoStyles().

const std::vector<ScTextStyleEntry>& ScSheetSaveData::GetNoteParaStyles ( ) const
inline

Definition at line 167 of file sheetdata.hxx.

References maNoteParaStyles.

Referenced by ScXMLExport::collectAutoStyles().

const std::vector<ScNoteStyleEntry>& ScSheetSaveData::GetNoteStyles ( ) const
inline

Definition at line 166 of file sheetdata.hxx.

References maNoteStyles.

Referenced by ScXMLExport::collectAutoStyles().

const std::vector<ScTextStyleEntry>& ScSheetSaveData::GetNoteTextStyles ( ) const
inline

Definition at line 168 of file sheetdata.hxx.

References maNoteTextStyles.

Referenced by ScXMLExport::collectAutoStyles().

const std::vector<ScCellStyleEntry>& ScSheetSaveData::GetRowStyles ( ) const
inline

Definition at line 164 of file sheetdata.hxx.

References maRowStyles.

Referenced by ScXMLExport::collectAutoStyles().

void ScSheetSaveData::GetStreamPos ( SCTAB  nTab,
sal_Int32 &  rStartOffset,
sal_Int32 &  rEndOffset 
) const
const std::vector<ScCellStyleEntry>& ScSheetSaveData::GetTableStyles ( ) const
inline

Definition at line 165 of file sheetdata.hxx.

References maTableStyles.

Referenced by ScXMLExport::collectAutoStyles().

const std::vector<ScTextStyleEntry>& ScSheetSaveData::GetTextStyles ( ) const
inline

Definition at line 169 of file sheetdata.hxx.

References maTextStyles.

Referenced by ScXMLExport::collectAutoStyles().

void ScSheetSaveData::HandleNoteStyles ( const OUString &  rStyleName,
const OUString &  rTextName,
const ScAddress rCellPos 
)
bool ScSheetSaveData::HasStartPos ( ) const
inline
bool ScSheetSaveData::HasStreamPos ( SCTAB  nTab) const

Definition at line 144 of file sheetdata.cxx.

References GetStreamPos().

bool ScSheetSaveData::IsInSupportedSave ( ) const
inline

Definition at line 171 of file sheetdata.hxx.

References mbInSupportedSave.

Referenced by ScXMLImportWrapper::ExportToComponent().

bool ScSheetSaveData::IsSheetBlocked ( SCTAB  nTab) const

Definition at line 98 of file sheetdata.cxx.

References maBlocked.

Referenced by ScXMLImport::endDocument().

void ScSheetSaveData::ResetSaveEntries ( )

Definition at line 152 of file sheetdata.cxx.

References maSaveEntries.

Referenced by ScXMLExport::ExportContent_().

void ScSheetSaveData::SetInSupportedSave ( bool  bSet)

Definition at line 238 of file sheetdata.cxx.

References mbInSupportedSave.

void ScSheetSaveData::StartStreamPos ( SCTAB  nTab,
sal_Int32  nStartOffset 
)

Definition at line 114 of file sheetdata.cxx.

References mnStartOffset, and mnStartTab.

Referenced by ScXMLTableContext::endFastElement().

void ScSheetSaveData::StoreInitialNamespaces ( const SvXMLNamespaceMap rNamespaces)

Definition at line 170 of file sheetdata.cxx.

References SvXMLNamespaceMap::GetAllEntries(), and maInitialPrefixes.

Referenced by ScXMLImport::startDocument().

void ScSheetSaveData::StoreLoadedNamespaces ( const SvXMLNamespaceMap rNamespaces)
void ScSheetSaveData::UseSaveEntries ( )

Definition at line 165 of file sheetdata.cxx.

References maSaveEntries, and maStreamEntries.

Member Data Documentation

std::vector<bool> ScSheetSaveData::maBlocked
private

Definition at line 118 of file sheetdata.hxx.

Referenced by BlockSheet(), and IsSheetBlocked().

std::vector<ScCellStyleEntry> ScSheetSaveData::maCellStyles
private

Definition at line 110 of file sheetdata.hxx.

Referenced by AddCellStyle(), and GetCellStyles().

std::vector<ScCellStyleEntry> ScSheetSaveData::maColumnStyles
private

Definition at line 111 of file sheetdata.hxx.

Referenced by AddColumnStyle(), and GetColumnStyles().

std::unordered_set<OUString> ScSheetSaveData::maInitialPrefixes
private

Definition at line 107 of file sheetdata.hxx.

Referenced by StoreInitialNamespaces(), and StoreLoadedNamespaces().

std::vector<ScLoadedNamespaceEntry> ScSheetSaveData::maLoadedNamespaces
private

Definition at line 108 of file sheetdata.hxx.

Referenced by AddLoadedNamespaces(), and StoreLoadedNamespaces().

std::vector<ScTextStyleEntry> ScSheetSaveData::maNoteParaStyles
private

Definition at line 115 of file sheetdata.hxx.

Referenced by AddNoteContentStyle(), and GetNoteParaStyles().

std::vector<ScNoteStyleEntry> ScSheetSaveData::maNoteStyles
private

Definition at line 114 of file sheetdata.hxx.

Referenced by GetNoteStyles(), and HandleNoteStyles().

std::vector<ScTextStyleEntry> ScSheetSaveData::maNoteTextStyles
private

Definition at line 116 of file sheetdata.hxx.

Referenced by AddNoteContentStyle(), and GetNoteTextStyles().

ScNoteStyleEntry ScSheetSaveData::maPreviousNote
private

Definition at line 124 of file sheetdata.hxx.

Referenced by HandleNoteStyles().

std::vector<ScCellStyleEntry> ScSheetSaveData::maRowStyles
private

Definition at line 112 of file sheetdata.hxx.

Referenced by AddRowStyle(), and GetRowStyles().

std::vector<ScStreamEntry> ScSheetSaveData::maSaveEntries
private

Definition at line 120 of file sheetdata.hxx.

Referenced by AddSavePos(), ResetSaveEntries(), and UseSaveEntries().

std::vector<ScStreamEntry> ScSheetSaveData::maStreamEntries
private

Definition at line 119 of file sheetdata.hxx.

Referenced by AddStreamPos(), GetStreamPos(), and UseSaveEntries().

std::vector<ScCellStyleEntry> ScSheetSaveData::maTableStyles
private

Definition at line 113 of file sheetdata.hxx.

Referenced by AddTableStyle(), and GetTableStyles().

std::vector<ScTextStyleEntry> ScSheetSaveData::maTextStyles
private

Definition at line 117 of file sheetdata.hxx.

Referenced by AddTextStyle(), and GetTextStyles().

bool ScSheetSaveData::mbInSupportedSave
private

Definition at line 126 of file sheetdata.hxx.

Referenced by IsInSupportedSave(), and SetInSupportedSave().

sal_Int32 ScSheetSaveData::mnStartOffset
private

Definition at line 122 of file sheetdata.hxx.

Referenced by EndStreamPos(), and StartStreamPos().

SCTAB ScSheetSaveData::mnStartTab
private

Definition at line 121 of file sheetdata.hxx.

Referenced by EndStreamPos(), and StartStreamPos().


The documentation for this class was generated from the following files: