LibreOffice Module sc (master) 1
|
Access to global data from other classes. More...
#include <xeroot.hxx>
Public Member Functions | |
XclExpRoot (XclExpRootData &rExpRootData) | |
const XclExpRoot & | GetRoot () const |
Returns this root instance - for code readability in derived classes. More... | |
bool | IsRelUrl () const |
Returns true, if URLs should be stored relative to the document location. More... | |
sc::CompileFormulaContext & | GetCompileFormulaContext () const |
XclExpTabInfo & | GetTabInfo () const |
Returns the buffer for Calc->Excel sheet index conversion. More... | |
XclExpAddressConverter & | GetAddressConverter () const |
Returns the address converter. More... | |
XclExpFormulaCompiler & | GetFormulaCompiler () const |
Returns the formula compiler to produce formula token arrays. More... | |
XclExpProgressBar & | GetProgressBar () const |
Returns the export progress bar. More... | |
XclExpSst & | GetSst () const |
Returns the shared string table. More... | |
XclExpPalette & | GetPalette () const |
Returns the color buffer. More... | |
XclExpFontBuffer & | GetFontBuffer () const |
Returns the font buffer. More... | |
XclExpNumFmtBuffer & | GetNumFmtBuffer () const |
Returns the number format buffer. More... | |
XclExpXFBuffer & | GetXFBuffer () const |
Returns the cell formatting attributes buffer. More... | |
XclExpLinkManager & | GetGlobalLinkManager () const |
Returns the global link manager for defined names. More... | |
XclExpLinkManager & | GetLocalLinkManager () const |
Returns the local link manager for the current sheet. More... | |
XclExpNameManager & | GetNameManager () const |
Returns the buffer that contains internal defined names. More... | |
XclExpObjectManager & | GetObjectManager () const |
Returns the drawing object manager. More... | |
XclExpFilterManager & | GetFilterManager () const |
Returns the filter manager. More... | |
XclExpPivotTableManager & | GetPivotTableManager () const |
Returns the pivot table manager. More... | |
XclExpDxfs & | GetDxfs () const |
Returns the differential formatting list. More... | |
OStringBuffer & | GetStringBuf () const |
Clean and return the OStringBuffer. More... | |
XclExpXmlPivotTableManager & | GetXmlPivotTableManager () |
XclExpTablesManager & | GetTablesManager () |
void | InitializeConvert () |
Is called when export filter starts to create the Excel document (all BIFF versions). More... | |
void | InitializeGlobals () |
Is called when export filter starts to create the workbook global data (>=BIFF5). More... | |
void | InitializeTable (SCTAB nScTab) |
Is called when export filter starts to create data for a single sheet (all BIFF versions). More... | |
void | InitializeSave () |
Is called before export filter starts to write the records to the stream. More... | |
XclExpRecordRef | CreateRecord (sal_uInt16 nRecId) const |
Returns the reference to a record (or record list) representing a root object. More... | |
bool | IsDocumentEncrypted () const |
css::uno::Sequence< css::beans::NamedValue > | GetEncryptionData () const |
Public Member Functions inherited from XclRoot | |
XclRoot (XclRootData &rRootData) | |
XclRoot (const XclRoot &rRoot) | |
virtual | ~XclRoot () |
XclRoot & | operator= (const XclRoot &rRoot) |
RootData & | GetOldRoot () const |
Returns old RootData struct. More... | |
XclBiff | GetBiff () const |
Returns the current BIFF version of the importer/exporter. More... | |
XclOutput | GetOutput () const |
Returns the current output format of the importer/exporter. More... | |
bool | IsImport () const |
Returns true, if currently a document is imported. More... | |
rtl_TextEncoding | GetTextEncoding () const |
Returns the text encoding to import/export byte strings. More... | |
LanguageType | GetSysLanguage () const |
Returns the system language, i.e. More... | |
LanguageType | GetDocLanguage () const |
Returns the document language. More... | |
LanguageType | GetUILanguage () const |
Returns the UI language. More... | |
sal_Int16 | GetDefApiScript () const |
Returns the default script type, e.g. More... | |
tools::Long | GetCharWidth () const |
Returns the width of the '0' character (default font) for the current printer (twips). More... | |
tools::Long | GetSpaceWidth () const |
bool | IsInGlobals () const |
Returns the current Calc sheet index. More... | |
SCTAB | GetCurrScTab () const |
Returns the current Calc sheet index. More... | |
sal_Int32 | GetHmmFromPixelX (double fPixelX) const |
Calculates the width of the passed number of pixels in 1/100 mm. More... | |
sal_Int32 | GetHmmFromPixelY (double fPixelY) const |
Calculates the height of the passed number of pixels in 1/100 mm. More... | |
SfxMedium & | GetMedium () const |
Returns the medium to import from. More... | |
const OUString & | GetDocUrl () const |
Returns the document URL of the imported/exported file. More... | |
const OUString & | GetBasePath () const |
Returns the base path of the imported/exported file. More... | |
const OUString & | GetUserName () const |
Returns the current user name. More... | |
css::uno::Sequence< css::beans::NamedValue > | RequestEncryptionData (::comphelper::IDocPasswordVerifier &rVerifier) const |
Requests and verifies a password from the medium or the user. More... | |
const tools::SvRef< SotStorage > & | GetRootStorage () const |
Returns the OLE2 root storage of the imported/exported file. More... | |
bool | HasVbaStorage () const |
Returns true, if the document contains a VBA storage. More... | |
tools::SvRef< SotStorage > | OpenStorage (tools::SvRef< SotStorage > const &xStrg, const OUString &rStrgName) const |
Tries to open a storage as child of the specified storage for reading or writing. More... | |
tools::SvRef< SotStorage > | OpenStorage (const OUString &rStrgName) const |
Tries to open a storage as child of the root storage for reading or writing. More... | |
tools::SvRef< SotStorageStream > | OpenStream (tools::SvRef< SotStorage > const &xStrg, const OUString &rStrmName) const |
Tries to open a new stream in the specified storage for reading or writing. More... | |
tools::SvRef< SotStorageStream > | OpenStream (const OUString &rStrmName) const |
Tries to open a new stream in the root storage for reading or writing. More... | |
ScDocument & | GetDoc () const |
Returns reference to the destination document (import) or source document (export). More... | |
SfxObjectShell * | GetDocShell () const |
Returns the object shell of the Calc document. More... | |
ScModelObj * | GetDocModelObj () const |
Returns the object model of the Calc document. More... | |
OutputDevice * | GetPrinter () const |
Returns pointer to the printer of the Calc document. More... | |
ScStyleSheetPool & | GetStyleSheetPool () const |
Returns the style sheet pool of the Calc document. More... | |
ScRangeName & | GetNamedRanges () const |
Returns the defined names container of the Calc document. More... | |
SdrPage * | GetSdrPage (SCTAB nScTab) const |
Returns the drawing layer page of the passed sheet, if present. More... | |
SvNumberFormatter & | GetFormatter () const |
Returns the number formatter of the Calc document. More... | |
DateTime | GetNullDate () const |
Returns the null date of the current number formatter. More... | |
sal_uInt16 | GetBaseYear () const |
Returns the base year depending on the current null date (1900 or 1904). More... | |
double | GetDoubleFromDateTime (const DateTime &rDateTime) const |
Converts a date/time value to a floating-point value. More... | |
DateTime | GetDateTimeFromDouble (double fValue) const |
Converts a floating-point value to a date/time value. More... | |
ScEditEngineDefaulter & | GetEditEngine () const |
Returns the edit engine for import/export of rich strings etc. More... | |
ScHeaderEditEngine & | GetHFEditEngine () const |
Returns the edit engine for import/export of headers/footers. More... | |
EditEngine & | GetDrawEditEngine () const |
Returns the edit engine for import/export of drawing text boxes. More... | |
XclFontPropSetHelper & | GetFontPropSetHelper () const |
Returns the property set helper for fonts. More... | |
XclChPropSetHelper & | GetChartPropSetHelper () const |
Returns the property set helper for the chart filters. More... | |
ScExtDocOptions & | GetExtDocOptions () const |
Returns the extended document options. More... | |
XclTracer & | GetTracer () const |
Returns the filter tracer. More... | |
const ScAddress & | GetScMaxPos () const |
Returns the highest possible cell address in a Calc document. More... | |
const ScAddress & | GetXclMaxPos () const |
Returns the highest possible cell address in an Excel document (using current BIFF version). More... | |
const ScAddress & | GetMaxPos () const |
Returns the highest possible cell address valid in Calc and Excel (using current BIFF version). More... | |
void | SetDocLanguage (LanguageType eLang) |
Sets the document language. More... | |
void | SetUILanguage (LanguageType eLang) |
Sets the UI language, i.e. More... | |
void | SetTextEncoding (rtl_TextEncoding eTextEnc) |
Sets the text encoding to import/export byte strings. More... | |
void | SetCharWidth (const XclFontData &rFontData) |
Sets the width of the '0' - '9' digit character as well as the ' ' space char (using the default font) for the current printer (twips). More... | |
void | SetCurrScTab (SCTAB nScTab) |
Sets the current Calc sheet index. More... | |
void | IncCurrScTab () |
Increases the current Calc sheet index by 1. More... | |
Static Public Member Functions | |
static css::uno::Sequence< css::beans::NamedValue > | GenerateEncryptionData (std::u16string_view aPass) |
static css::uno::Sequence< css::beans::NamedValue > | GenerateDefaultEncryptionData () |
Static Public Member Functions inherited from XclRoot | |
static OUString | GetDefaultPassword () |
Returns the default password used for stream encryption. More... | |
Private Member Functions | |
XclExpRootData::XclExpLinkMgrRef const & | GetLocalLinkMgrRef () const |
Returns the local or global link manager, depending on current context. More... | |
Private Attributes | |
XclExpRootData & | mrExpData |
Access to global data from other classes.
Definition at line 112 of file xeroot.hxx.
|
explicit |
Definition at line 70 of file xeroot.cxx.
XclExpRecordRef XclExpRoot::CreateRecord | ( | sal_uInt16 | nRecId | ) | const |
Returns the reference to a record (or record list) representing a root object.
nRecId | Identifier that specifies which record is returned. |
Definition at line 282 of file xeroot.cxx.
References EXC_ID_DXFS, EXC_ID_EXTERNSHEET, EXC_ID_FONTLIST, EXC_ID_FORMATLIST, EXC_ID_NAME, EXC_ID_PALETTE, EXC_ID_SST, EXC_ID_XFLIST, GetLocalLinkMgrRef(), mrExpData, XclExpRootData::mxDxfs, XclExpRootData::mxFontBfr, XclExpRootData::mxNameMgr, XclExpRootData::mxNumFmtBfr, XclExpRootData::mxPalette, XclExpRootData::mxSst, and XclExpRootData::mxXFBfr.
Referenced by ExcTable::FillAsHeaderBinary(), ExcTable::FillAsHeaderXml(), ExcTable::FillAsTableBinary(), and XclExpXmlStyleSheet::SaveXml().
|
static |
Definition at line 352 of file xeroot.cxx.
References GenerateEncryptionData(), and XclRoot::GetDefaultPassword().
Referenced by XclExpBiff8Encrypter::XclExpBiff8Encrypter().
|
static |
Definition at line 311 of file xeroot.cxx.
References msfilter::MSCodec97::GetEncryptionData(), and msfilter::MSCodec_Std97::InitKey().
Referenced by GenerateDefaultEncryptionData(), and GetEncryptionData().
XclExpAddressConverter & XclExpRoot::GetAddressConverter | ( | ) | const |
Returns the address converter.
Definition at line 82 of file xeroot.cxx.
References mrExpData, and XclExpRootData::mxAddrConv.
Referenced by XclExpNameManagerImpl::CreateBuiltInNames(), XclExpTabViewSettings::CreateSelectionData(), XclExpDV::Finalize(), XclExpMergedcells::Save(), XclExpLabelranges::Save(), XclExpTabViewSettings::SaveXml(), ExportBiff5::Write(), XclExpSheetEnhancedProtection::WriteBody(), XclExpCellTable::XclExpCellTable(), XclExpCondfmt::XclExpCondfmt(), XclExpDffDropDownAnchor::XclExpDffDropDownAnchor(), XclExpFormulaCell::XclExpFormulaCell(), XclExpPivotCache::XclExpPivotCache(), XclExpPivotTable::XclExpPivotTable(), and XclExpTabViewSettings::XclExpTabViewSettings().
|
inline |
Definition at line 121 of file xeroot.hxx.
References XclExpRootData::mpCompileFormulaCxt, and mrExpData.
Referenced by XclExpCFImpl::SaveXml(), XclExpCfvo::SaveXml(), XclExpExtCF::SaveXml(), XclExpDV::XclExpDV(), and XclExpExtCfvo::XclExpExtCfvo().
XclExpDxfs & XclExpRoot::GetDxfs | ( | ) | const |
Returns the differential formatting list.
Definition at line 160 of file xeroot.cxx.
References mrExpData, and XclExpRootData::mxDxfs.
Referenced by XclExpAutofilter::AddColorEntry(), InitializeSave(), XclExpCFImpl::SaveXml(), XclExpAutofilter::SaveXml(), and XclExpDateFormat::SaveXml().
uno::Sequence< beans::NamedValue > XclExpRoot::GetEncryptionData | ( | ) | const |
Definition at line 335 of file xeroot.cxx.
References GenerateEncryptionData(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), XclRoot::GetMedium(), SfxUnoAnyItem::GetValue(), and CntUnencodedStringItem::GetValue().
Referenced by IsDocumentEncrypted(), and XclExpBiff8Encrypter::XclExpBiff8Encrypter().
XclExpFilterManager & XclExpRoot::GetFilterManager | ( | ) | const |
Returns the filter manager.
Definition at line 154 of file xeroot.cxx.
References mrExpData, and XclExpRootData::mxFilterMgr.
Referenced by XclExpNameManagerImpl::CreateBuiltInNames(), ExcTable::FillAsTableXml(), and lcl_AddScenariosAndFilters().
XclExpFontBuffer & XclExpRoot::GetFontBuffer | ( | ) | const |
Returns the font buffer.
Definition at line 112 of file xeroot.cxx.
References mrExpData, and XclExpRootData::mxFontBfr.
Referenced by XclExpHFConverter::AppendPortion(), XclExpChRoot::ConvertFont(), XclExpChFontBase::ConvertFontBase(), XclExpXF::Init(), and XclExpTbxControlObj::XclExpTbxControlObj().
XclExpFormulaCompiler & XclExpRoot::GetFormulaCompiler | ( | ) | const |
Returns the formula compiler to produce formula token arrays.
Definition at line 88 of file xeroot.cxx.
References mrExpData, and XclExpRootData::mxFmlaComp.
Referenced by XclExpChSourceLink::ConvertDataSequence(), XclExpControlHelper::ConvertSheetLinks(), XclExpArrayBuffer::CreateArray(), XclExpArray::CreateCellTokenArray(), XclExpShrfmla::CreateCellTokenArray(), XclExpTableop::CreateCellTokenArray(), XclExpNameManagerImpl::CreateName(), XclExpShrfmlaBuffer::CreateOrExtendShrfmla(), XclExpChTrCellContent::GetCellData(), XclExpNameManager::InsertBuiltInName(), XclExpNameManagerImpl::InsertMacroCall(), XclExpShrfmlaBuffer::IsValidTokenArray(), XclMacroHelper::SetMacroLink(), XclExpCFImpl::WriteBody(), XclExpDV::XclExpDV(), XclExpFormulaCell::XclExpFormulaCell(), and XclExpWebQueryBuffer::XclExpWebQueryBuffer().
XclExpLinkManager & XclExpRoot::GetGlobalLinkManager | ( | ) | const |
Returns the global link manager for defined names.
Definition at line 130 of file xeroot.cxx.
References mrExpData, and XclExpRootData::mxGlobLinkMgr.
Referenced by XclExpFmlaCompImpl::Init().
XclExpLinkManager & XclExpRoot::GetLocalLinkManager | ( | ) | const |
Returns the local link manager for the current sheet.
Definition at line 136 of file xeroot.cxx.
References GetLocalLinkMgrRef().
Referenced by XclExpFmlaCompImpl::Init(), and XclMacroHelper::SetMacroLink().
|
private |
Returns the local or global link manager, depending on current context.
Definition at line 357 of file xeroot.cxx.
References XclRoot::IsInGlobals(), mrExpData, XclExpRootData::mxGlobLinkMgr, and XclExpRootData::mxLocLinkMgr.
Referenced by CreateRecord(), and GetLocalLinkManager().
XclExpNameManager & XclExpRoot::GetNameManager | ( | ) | const |
Returns the buffer that contains internal defined names.
Definition at line 142 of file xeroot.cxx.
References mrExpData, and XclExpRootData::mxNameMgr.
Referenced by XclExpFmlaCompImpl::AppendMacroCallToken(), XclExpFmlaCompImpl::AppendMissingNameToken(), XclExpNameManagerImpl::CreateBuiltInNames(), ExcAutoFilterRecs::ExcAutoFilterRecs(), InitializeGlobals(), XclExpFmlaCompImpl::ProcessDefinedName(), XclMacroHelper::SetMacroLink(), and XclExpWebQueryBuffer::XclExpWebQueryBuffer().
XclExpNumFmtBuffer & XclExpRoot::GetNumFmtBuffer | ( | ) | const |
Returns the number format buffer.
Definition at line 118 of file xeroot.cxx.
References mrExpData, and XclExpRootData::mxNumFmtBfr.
Referenced by XclExpChAxis::Convert(), XclExpChSourceLink::ConvertNumFmt(), XclExpXF::Init(), XclExpXmlPivotTables::SavePivotTableXml(), XclExpExtCF::SaveXml(), XclExpDxfs::XclExpDxfs(), and XclExpFormulaCell::XclExpFormulaCell().
XclExpObjectManager & XclExpRoot::GetObjectManager | ( | ) | const |
Returns the drawing object manager.
Definition at line 148 of file xeroot.cxx.
References mrExpData, and XclExpRootData::mxObjMgr.
Referenced by ExcAutoFilterRecs::AddObjRecs(), ExcTable::FillAsHeaderBinary(), ExcTable::FillAsHeaderXml(), ExcTable::FillAsTableBinary(), ExcTable::FillAsTableXml(), ExcDocument::ReadDoc(), XclExpChartDrawing::XclExpChartDrawing(), and XclExpNote::XclExpNote().
XclExpPalette & XclExpRoot::GetPalette | ( | ) | const |
Returns the color buffer.
Definition at line 106 of file xeroot.cxx.
References mrExpData, and XclExpRootData::mxPalette.
Referenced by XclExpChLineFormat::Convert(), XclExpChAreaFormat::Convert(), XclExpXF::Init(), InitializeSave(), XclExpChRoot::IsSystemColor(), XclExpChEscherFormat::RegisterColor(), XclExpChMarkerFormat::RegisterColors(), XclExpChEscherFormat::Save(), XclExpCellBorder::SaveXml(), XclExpExtCF::SaveXml(), XclExpXF::SetFinalColors(), XclExpDxf::SetFinalColors(), XclExpChRoot::SetSystemColor(), XclExpCFImpl::WriteBody(), XclExpChText::WriteBody(), XclExpChTick::WriteBody(), XclExpFont::WriteBody(), XclExpWindow2::WriteBody(), XclExpCFImpl::XclExpCFImpl(), XclExpDxfs::XclExpDxfs(), XclExpFont::XclExpFont(), and XclExpTabViewSettings::XclExpTabViewSettings().
XclExpPivotTableManager & XclExpRoot::GetPivotTableManager | ( | ) | const |
Returns the pivot table manager.
Definition at line 166 of file xeroot.cxx.
References mrExpData, and XclExpRootData::mxPTableMgr.
Referenced by ExcTable::FillAsHeaderBinary(), and ExcTable::FillAsTableBinary().
XclExpProgressBar & XclExpRoot::GetProgressBar | ( | ) | const |
Returns the export progress bar.
Definition at line 94 of file xeroot.cxx.
References mrExpData, and XclExpRootData::mxProgress.
Referenced by XclExpRow::Finalize(), XclExpRowBuffer::Finalize(), InitializeConvert(), XclExpCellTable::XclExpCellTable(), and XclExpRow::XclExpRow().
|
inline |
Returns this root instance - for code readability in derived classes.
Definition at line 118 of file xeroot.hxx.
Referenced by XclExpDxfs::addColor(), XclExpPivotCache::AddGroupFields(), XclExpPivotCache::AddStdFields(), XclExpFmlaCompImpl::Append(), XclExpFmlaCompImpl::AppendExt(), XclExpChSourceLink::AppendString(), XclExpChLabelRange::Convert(), XclExpChLabelRange::ConvertAxisPosition(), XclExpChSourceLink::ConvertDataSequence(), XclExpFmlaCompImpl::ConvertRefData(), XclExpChSourceLink::ConvertString(), XclExpChSourceLink::ConvertStringSequence(), XclExpColinfo::ConvertXFIndexes(), XclExpObjectManager::CreateDffAnchor(), XclExpEmbeddedObjectManager::CreateDffAnchor(), XclExpFormulaCompiler::CreateFormula(), XclExpNameManagerImpl::CreateName(), XclExpPivotTableManager::CreatePivotCache(), XclExpPivotTableManager::CreatePivotTables(), ExcAutoFilterRecs::ExcAutoFilterRecs(), ExcTable::FillAsEmptyTable(), ExcTable::FillAsHeaderBinary(), ExcTable::FillAsTableBinary(), ExcTable::FillAsTableXml(), XclExpRow::Finalize(), XclExpArrayBuffer::FindArray(), ExcAutoFilterRecs::GetByCol(), XclExpRowBuffer::GetOrCreateRow(), XclExpFmlaCompImpl::GetScTab(), XclExpDffSheetAnchor::ImplCalcAnchorRect(), XclExpXF::Init(), XclExpChRoot::InitConversion(), XclExpFontBuffer::InitDefaultFonts(), XclExpTablesManager::Initialize(), XclExpXmlPivotTableManager::Initialize(), XclExpColinfoBuffer::Initialize(), InitializeConvert(), InitializeGlobals(), InitializeTable(), XclExpFilterManager::InitTabFilter(), XclExpFontBuffer::Insert(), XclExpNameManagerImpl::InsertBuiltInName(), XclExpXFBuffer::InsertCellXF(), XclExpXFBuffer::InsertDefaultRecords(), XclExpNameManagerImpl::InsertMacroCall(), XclExpNameManagerImpl::InsertRawName(), XclExpXFBuffer::InsertStyleXF(), XclExpNameManagerImpl::InsertUniqueName(), lcl_AddBookviews(), ShapeInteractionHelper::PopulateShapeInteractionInfo(), XclExpFmlaCompImpl::ProcessExternalCellRef(), XclExpFmlaCompImpl::ProcessExternalName(), XclExpFmlaCompImpl::ProcessExternalRangeRef(), XclExpHyperlinkHelper::ProcessUrlField(), XclExpChangeTrack::PushActionRecord(), ExcDocument::ReadDoc(), XclExpDefcolwidth::Save(), XclExpXmlPivotTables::SavePivotTableXml(), XclExpExtCF::SaveXml(), XclExpDefcolwidth::SetDefWidth(), xcl::exp::SparklineBuffer::SparklineBuffer(), XclEscherEx::StartShape(), XclExpObjectManager::StartSheet(), XclExpChangeTrack::Write(), ExcDocument::Write(), XclExpXF::WriteBody(), XclExpPivotCache::WriteCacheStream(), XclEscherClientTextbox::WriteData(), XclExpPivotCache::WriteDconref(), XclExpChangeTrack::WriteUserNamesStream(), XclExpTabViewSettings::WriteWindow2(), ExcDocument::WriteXml(), XclExpCellTable::XclExpCellTable(), XclExpChartObj::XclExpChartObj(), XclExpColorScale::XclExpColorScale(), XclExpCondfmt::XclExpCondfmt(), XclExpCondFormatBuffer::XclExpCondFormatBuffer(), XclExpDataBar::XclExpDataBar(), XclExpDxfs::XclExpDxfs(), XclExpIconSet::XclExpIconSet(), XclExpObjectManager::XclExpObjectManager(), XclExpPageSettings::XclExpPageSettings(), XclObjComment::XclObjComment(), and XclObjDropDown::XclObjDropDown().
XclExpSst & XclExpRoot::GetSst | ( | ) | const |
Returns the shared string table.
Definition at line 100 of file xeroot.cxx.
References mrExpData, and XclExpRootData::mxSst.
Referenced by XclExpLabelCell::Init().
|
inline |
Clean and return the OStringBuffer.
Definition at line 158 of file xeroot.hxx.
References XclExpRootData::maStringBuf, and mrExpData.
XclExpTabInfo & XclExpRoot::GetTabInfo | ( | ) | const |
Returns the buffer for Calc->Excel sheet index conversion.
Definition at line 76 of file xeroot.cxx.
References mrExpData, and XclExpRootData::mxTabInfo.
Referenced by XclExpProgressBar::ActivateCreateRowsSegment(), XclExpControlHelper::ConvertSheetLinks(), XclExpNameManagerImpl::CreateBuiltInNames(), ExcBundlesheet::ExcBundlesheet(), ExcTable::FillAsHeaderBinary(), ExcTable::FillAsHeaderXml(), XclExpProgressBar::Initialize(), ExcDocument::ReadDoc(), XclExpChTrInsertTab::SaveActionData(), XclExpTbxControlObj::SaveControlPropertiesXml(), XclExpChTrInsertTab::SaveXml(), ExcTable::WriteXml(), XclExpChangeTrack::XclExpChangeTrack(), XclExpPivotCache::XclExpPivotCache(), and XclExpTabViewSettings::XclExpTabViewSettings().
XclExpTablesManager & XclExpRoot::GetTablesManager | ( | ) |
Definition at line 178 of file xeroot.cxx.
References mrExpData, and XclExpRootData::mxTablesMgr.
Referenced by ExcTable::FillAsTableXml(), and ExcDocument::ReadDoc().
XclExpXFBuffer & XclExpRoot::GetXFBuffer | ( | ) | const |
Returns the cell formatting attributes buffer.
Definition at line 124 of file xeroot.cxx.
References mrExpData, and XclExpRootData::mxXFBfr.
Referenced by XclExpMultiCellBase::AppendXFId(), XclExpXFId::ConvertXFIndex(), XclExpLabelCell::Init(), InitializeGlobals(), InitializeSave(), XclExpColinfo::XclExpColinfo(), XclExpFormulaCell::XclExpFormulaCell(), XclExpSingleCellBase::XclExpSingleCellBase(), and XclExpXF::XclExpXF().
XclExpXmlPivotTableManager & XclExpRoot::GetXmlPivotTableManager | ( | ) |
Definition at line 172 of file xeroot.cxx.
Referenced by ExcDocument::ReadDoc(), ExcTable::WriteXml(), and ExcDocument::WriteXml().
void XclExpRoot::InitializeConvert | ( | ) |
Is called when export filter starts to create the Excel document (all BIFF versions).
Definition at line 184 of file xeroot.cxx.
References GetProgressBar(), GetRoot(), XclExpProgressBar::Initialize(), mrExpData, XclExpRootData::mxAddrConv, XclExpRootData::mxFmlaComp, XclExpRootData::mxProgress, and XclExpRootData::mxTabInfo.
Referenced by ExcDocument::ReadDoc().
void XclExpRoot::InitializeGlobals | ( | ) |
Is called when export filter starts to create the workbook global data (>=BIFF5).
Definition at line 194 of file xeroot.cxx.
References formula::FormulaCompiler::CreateOpCodeMap(), EXC_BIFF5, EXC_BIFF8, EXC_OUTPUT_XML_2007, XclRoot::GetBiff(), XclRoot::GetDoc(), ScDocument::GetDocumentShell(), ScDocument::GetGrammar(), SfxObjectShell::GetModel(), GetNameManager(), oox::xls::OpCodeProvider::getOoxParserMap(), XclRoot::GetOutput(), GetRoot(), GetXFBuffer(), XclExpNameManager::Initialize(), XclExpXFBuffer::Initialize(), mrExpData, XclExpRootData::mxDxfs, XclExpRootData::mxFilterMgr, XclExpRootData::mxFontBfr, XclExpRootData::mxGlobLinkMgr, XclExpRootData::mxLocLinkMgr, XclExpRootData::mxNameMgr, XclExpRootData::mxNumFmtBfr, XclExpRootData::mxObjMgr, XclExpRootData::mxOpCodeMap, XclExpRootData::mxPalette, XclExpRootData::mxPTableMgr, XclExpRootData::mxSst, XclExpRootData::mxTablesMgr, XclExpRootData::mxXFBfr, XclExpRootData::mxXmlPTableMgr, SAL_WARN, SCTAB_GLOBAL, and XclRoot::SetCurrScTab().
Referenced by ExcTable::FillAsHeaderBinary(), and ExcTable::FillAsHeaderXml().
void XclExpRoot::InitializeSave | ( | ) |
Is called before export filter starts to write the records to the stream.
Definition at line 275 of file xeroot.cxx.
References XclExpPalette::Finalize(), XclExpXFBuffer::Finalize(), XclExpDxfs::Finalize(), GetDxfs(), GetPalette(), and GetXFBuffer().
Referenced by ExcDocument::Write(), and ExcDocument::WriteXml().
void XclExpRoot::InitializeTable | ( | SCTAB | nScTab | ) |
Is called when export filter starts to create data for a single sheet (all BIFF versions).
Definition at line 265 of file xeroot.cxx.
References EXC_BIFF5, XclRoot::GetBiff(), GetRoot(), mrExpData, XclExpRootData::mxLocLinkMgr, and XclRoot::SetCurrScTab().
Referenced by ExcTable::FillAsEmptyTable(), ExcTable::FillAsTableBinary(), and ExcTable::FillAsTableXml().
bool XclExpRoot::IsDocumentEncrypted | ( | ) | const |
Definition at line 300 of file xeroot.cxx.
References XclRoot::GetDoc(), ScDocument::GetDocProtection(), GetEncryptionData(), ScDocProtection::isOptionEnabled(), ScDocProtection::isProtected(), and ScDocProtection::STRUCTURE.
Referenced by ExcTable::FillAsHeaderBinary().
|
inline |
Returns true, if URLs should be stored relative to the document location.
Definition at line 120 of file xeroot.hxx.
References XclExpRootData::mbRelUrl, and mrExpData.
Referenced by XclExpHyperlink::BuildFileName(), and XclExpUrlHelper::EncodeUrl().
|
private |
Definition at line 188 of file xeroot.hxx.
Referenced by CreateRecord(), GetAddressConverter(), GetCompileFormulaContext(), GetDxfs(), GetFilterManager(), GetFontBuffer(), GetFormulaCompiler(), GetGlobalLinkManager(), GetLocalLinkMgrRef(), GetNameManager(), GetNumFmtBuffer(), GetObjectManager(), GetPalette(), GetPivotTableManager(), GetProgressBar(), GetSst(), GetStringBuf(), GetTabInfo(), GetTablesManager(), GetXFBuffer(), InitializeConvert(), InitializeGlobals(), InitializeTable(), and IsRelUrl().