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::ScSheetSaveData ( )

Definition at line 29 of file sheetdata.cxx.

◆ ~ScSheetSaveData()

ScSheetSaveData::~ScSheetSaveData ( )

Definition at line 37 of file sheetdata.cxx.

Member Function Documentation

◆ AddCellStyle()

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

Definition at line 41 of file sheetdata.cxx.

References maCellStyles.

Referenced by ScXMLImport::SetStyleToRanges().

◆ AddColumnStyle()

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

Definition at line 46 of file sheetdata.cxx.

References maColumnStyles.

Referenced by ScXMLTableColContext::endFastElement().

◆ AddLoadedNamespaces()

bool ScSheetSaveData::AddLoadedNamespaces ( SvXMLNamespaceMap rNamespaces) const

◆ AddNoteContentStyle()

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

Definition at line 79 of file sheetdata.cxx.

References maNoteParaStyles, and maNoteTextStyles.

Referenced by ScXMLTableRowCellContext::SetAnnotation().

◆ AddRowStyle()

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

Definition at line 51 of file sheetdata.cxx.

References maRowStyles.

Referenced by ScXMLTableRowContext::endFastElement().

◆ AddSavePos()

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

Definition at line 159 of file sheetdata.cxx.

References maSaveEntries.

Referenced by ScXMLExport::ExportContent_().

◆ AddStreamPos()

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

Definition at line 108 of file sheetdata.cxx.

References maStreamEntries.

Referenced by EndStreamPos().

◆ AddTableStyle()

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

Definition at line 56 of file sheetdata.cxx.

References maTableStyles.

Referenced by ScMyTables::SetTableStyle().

◆ AddTextStyle()

void ScSheetSaveData::AddTextStyle ( const OUString &  rName,
const ScAddress rCellPos,
const ESelection rSelection 
)

◆ BlockSheet()

void ScSheetSaveData::BlockSheet ( SCTAB  nTab)

◆ EndStreamPos()

void ScSheetSaveData::EndStreamPos ( sal_Int32  nEndOffset)

◆ GetCellStyles()

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

Definition at line 162 of file sheetdata.hxx.

References maCellStyles.

Referenced by ScXMLExport::collectAutoStyles().

◆ GetColumnStyles()

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

Definition at line 163 of file sheetdata.hxx.

References maColumnStyles.

Referenced by ScXMLExport::collectAutoStyles().

◆ GetNoteParaStyles()

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

Definition at line 167 of file sheetdata.hxx.

References maNoteParaStyles.

Referenced by ScXMLExport::collectAutoStyles().

◆ GetNoteStyles()

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

Definition at line 166 of file sheetdata.hxx.

References maNoteStyles.

Referenced by ScXMLExport::collectAutoStyles().

◆ GetNoteTextStyles()

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

Definition at line 168 of file sheetdata.hxx.

References maNoteTextStyles.

Referenced by ScXMLExport::collectAutoStyles().

◆ GetRowStyles()

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

Definition at line 164 of file sheetdata.hxx.

References maRowStyles.

Referenced by ScXMLExport::collectAutoStyles().

◆ GetStreamPos()

void ScSheetSaveData::GetStreamPos ( SCTAB  nTab,
sal_Int32 &  rStartOffset,
sal_Int32 &  rEndOffset 
) const

◆ GetTableStyles()

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

Definition at line 165 of file sheetdata.hxx.

References maTableStyles.

Referenced by ScXMLExport::collectAutoStyles().

◆ GetTextStyles()

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

Definition at line 169 of file sheetdata.hxx.

References maTextStyles.

Referenced by ScXMLExport::collectAutoStyles().

◆ HandleNoteStyles()

void ScSheetSaveData::HandleNoteStyles ( const OUString &  rStyleName,
const OUString &  rTextName,
const ScAddress rCellPos 
)

◆ HasStartPos()

bool ScSheetSaveData::HasStartPos ( ) const
inline

◆ HasStreamPos()

bool ScSheetSaveData::HasStreamPos ( SCTAB  nTab) const

Definition at line 146 of file sheetdata.cxx.

References GetStreamPos().

◆ IsInSupportedSave()

bool ScSheetSaveData::IsInSupportedSave ( ) const
inline

Definition at line 171 of file sheetdata.hxx.

References mbInSupportedSave.

Referenced by ScXMLImportWrapper::ExportToComponent().

◆ IsSheetBlocked()

bool ScSheetSaveData::IsSheetBlocked ( SCTAB  nTab) const

Definition at line 100 of file sheetdata.cxx.

References maBlocked.

Referenced by ScXMLImport::endDocument().

◆ ResetSaveEntries()

void ScSheetSaveData::ResetSaveEntries ( )

Definition at line 154 of file sheetdata.cxx.

References maSaveEntries.

Referenced by ScXMLExport::ExportContent_().

◆ SetInSupportedSave()

void ScSheetSaveData::SetInSupportedSave ( bool  bSet)

Definition at line 240 of file sheetdata.cxx.

References mbInSupportedSave.

◆ StartStreamPos()

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

Definition at line 116 of file sheetdata.cxx.

References mnStartOffset, and mnStartTab.

Referenced by ScXMLTableContext::endFastElement().

◆ StoreInitialNamespaces()

void ScSheetSaveData::StoreInitialNamespaces ( const SvXMLNamespaceMap rNamespaces)

Definition at line 172 of file sheetdata.cxx.

References SvXMLNamespaceMap::GetAllEntries(), and maInitialPrefixes.

Referenced by ScXMLImport::startDocument().

◆ StoreLoadedNamespaces()

void ScSheetSaveData::StoreLoadedNamespaces ( const SvXMLNamespaceMap rNamespaces)

◆ UseSaveEntries()

void ScSheetSaveData::UseSaveEntries ( )

Definition at line 167 of file sheetdata.cxx.

References maSaveEntries, and maStreamEntries.

Member Data Documentation

◆ maBlocked

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

Definition at line 118 of file sheetdata.hxx.

Referenced by BlockSheet(), and IsSheetBlocked().

◆ maCellStyles

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

Definition at line 110 of file sheetdata.hxx.

Referenced by AddCellStyle(), and GetCellStyles().

◆ maColumnStyles

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

Definition at line 111 of file sheetdata.hxx.

Referenced by AddColumnStyle(), and GetColumnStyles().

◆ maInitialPrefixes

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

Definition at line 107 of file sheetdata.hxx.

Referenced by StoreInitialNamespaces(), and StoreLoadedNamespaces().

◆ maLoadedNamespaces

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

Definition at line 108 of file sheetdata.hxx.

Referenced by AddLoadedNamespaces(), and StoreLoadedNamespaces().

◆ maNoteParaStyles

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

Definition at line 115 of file sheetdata.hxx.

Referenced by AddNoteContentStyle(), and GetNoteParaStyles().

◆ maNoteStyles

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

Definition at line 114 of file sheetdata.hxx.

Referenced by GetNoteStyles(), and HandleNoteStyles().

◆ maNoteTextStyles

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

Definition at line 116 of file sheetdata.hxx.

Referenced by AddNoteContentStyle(), and GetNoteTextStyles().

◆ maPreviousNote

ScNoteStyleEntry ScSheetSaveData::maPreviousNote
private

Definition at line 124 of file sheetdata.hxx.

Referenced by HandleNoteStyles().

◆ maRowStyles

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

Definition at line 112 of file sheetdata.hxx.

Referenced by AddRowStyle(), and GetRowStyles().

◆ maSaveEntries

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

Definition at line 120 of file sheetdata.hxx.

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

◆ maStreamEntries

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

Definition at line 119 of file sheetdata.hxx.

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

◆ maTableStyles

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

Definition at line 113 of file sheetdata.hxx.

Referenced by AddTableStyle(), and GetTableStyles().

◆ maTextStyles

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

Definition at line 117 of file sheetdata.hxx.

Referenced by AddTextStyle(), and GetTextStyles().

◆ mbInSupportedSave

bool ScSheetSaveData::mbInSupportedSave
private

Definition at line 126 of file sheetdata.hxx.

Referenced by IsInSupportedSave(), and SetInSupportedSave().

◆ mnStartOffset

sal_Int32 ScSheetSaveData::mnStartOffset
private

Definition at line 122 of file sheetdata.hxx.

Referenced by EndStreamPos(), and StartStreamPos().

◆ mnStartTab

SCTAB ScSheetSaveData::mnStartTab
private

Definition at line 121 of file sheetdata.hxx.

Referenced by EndStreamPos(), HasStartPos(), and StartStreamPos().


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