LibreOffice Module sc (master) 1
|
Extended options held by an ScDocument containing additional settings for filters. More...
#include <scextopt.hxx>
Public Member Functions | |
ScExtDocOptions () | |
ScExtDocOptions (const ScExtDocOptions &rSrc) | |
~ScExtDocOptions () | |
ScExtDocOptions & | operator= (const ScExtDocOptions &rSrc) |
bool | IsChanged () const |
void | SetChanged (bool bChanged) |
If set to true, the data will be copied to the view data after import. More... | |
const ScExtDocSettings & | GetDocSettings () const |
ScExtDocSettings & | GetDocSettings () |
const ScExtTabSettings * | GetTabSettings (SCTAB nTab) const |
SCTAB | GetLastTab () const |
ScExtTabSettings & | GetOrCreateTabSettings (SCTAB nTab) |
SCTAB | GetCodeNameCount () const |
OUString | GetCodeName (SCTAB nTab) const |
void | SetCodeName (SCTAB nTab, const OUString &rCodeName) |
Appends a codename for a sheet. More... | |
Private Attributes | |
::std::unique_ptr< ScExtDocOptionsImpl > | mxImpl |
Extended options held by an ScDocument containing additional settings for filters.
This object is owned by a Calc document. It contains global document settings (struct ScExtDocSettings), settings for all sheets in the document (struct ScExtTabSettings), and a list of codenames used for VBA import/export.
Definition at line 76 of file scextopt.hxx.
|
explicit |
Definition at line 140 of file scextopt.cxx.
ScExtDocOptions::ScExtDocOptions | ( | const ScExtDocOptions & | rSrc | ) |
Definition at line 145 of file scextopt.cxx.
ScExtDocOptions::~ScExtDocOptions | ( | ) |
Definition at line 150 of file scextopt.cxx.
OUString ScExtDocOptions::GetCodeName | ( | SCTAB | nTab | ) | const |
Definition at line 200 of file scextopt.cxx.
References GetCodeNameCount(), and mxImpl.
Referenced by XclImpObjectManager::GetOleNameOverride().
SCTAB ScExtDocOptions::GetCodeNameCount | ( | ) | const |
Definition at line 195 of file scextopt.cxx.
References mxImpl.
Referenced by ExcTable::FillAsHeaderBinary(), ExcTable::FillAsHeaderXml(), GetCodeName(), and ExcDocument::ReadDoc().
ScExtDocSettings & ScExtDocOptions::GetDocSettings | ( | ) |
Definition at line 175 of file scextopt.cxx.
References mxImpl.
const ScExtDocSettings & ScExtDocOptions::GetDocSettings | ( | ) | const |
Definition at line 170 of file scextopt.cxx.
References mxImpl.
Referenced by ExcScenario::Apply(), ExcTable::FillAsHeaderBinary(), XclImpDocViewSettings::Finalize(), ExtSheetBuffer::GetScTabIndex(), ScExternalRefManager::loadSrcDocument(), ImportExcel::PostDocLoad(), XclImpRoot::ReadCodeName(), ScViewData::ReadExtOptions(), ScDocumentLoader::ScDocumentLoader(), ScViewData::WriteExtOptions(), XclExpTabInfo::XclExpTabInfo(), and XclExpWindow1::XclExpWindow1().
SCTAB ScExtDocOptions::GetLastTab | ( | ) | const |
Definition at line 185 of file scextopt.cxx.
References mxImpl.
Referenced by ScViewData::ReadExtOptions().
ScExtTabSettings & ScExtDocOptions::GetOrCreateTabSettings | ( | SCTAB | nTab | ) |
Definition at line 190 of file scextopt.cxx.
References mxImpl.
Referenced by XclImpTabViewSettings::Finalize(), XclImpName::InsertName(), ImportExcel::ReadDimensions(), and ScViewData::WriteExtOptions().
const ScExtTabSettings * ScExtDocOptions::GetTabSettings | ( | SCTAB | nTab | ) | const |
Definition at line 180 of file scextopt.cxx.
References mxImpl.
Referenced by ScViewFunc::PasteDataFormat(), ScViewData::ReadExtOptions(), and XclExpTabInfo::XclExpTabInfo().
bool ScExtDocOptions::IsChanged | ( | ) | const |
Definition at line 160 of file scextopt.cxx.
References mxImpl.
Referenced by ScTabViewShell::Activate(), ScTabViewObj::getSelectedSheets(), and ScViewData::ReadExtOptions().
ScExtDocOptions & ScExtDocOptions::operator= | ( | const ScExtDocOptions & | rSrc | ) |
Definition at line 154 of file scextopt.cxx.
References mxImpl.
void ScExtDocOptions::SetChanged | ( | bool | bChanged | ) |
If set to true, the data will be copied to the view data after import.
Definition at line 165 of file scextopt.cxx.
References mxImpl.
Referenced by ScTabViewShell::Activate(), ScTabViewObj::getSelectedSheets(), and ImportExcel::PostDocLoad().
void ScExtDocOptions::SetCodeName | ( | SCTAB | nTab, |
const OUString & | rCodeName | ||
) |
Appends a codename for a sheet.
Definition at line 206 of file scextopt.cxx.
References mxImpl, and nIndex.
Referenced by XclImpRoot::ReadCodeName().
|
private |
Definition at line 115 of file scextopt.hxx.
Referenced by GetCodeName(), GetCodeNameCount(), GetDocSettings(), GetLastTab(), GetOrCreateTabSettings(), GetTabSettings(), IsChanged(), operator=(), SetChanged(), and SetCodeName().