XclExpRoot Class Reference

Access to global data from other classes. More...

#include <xeroot.hxx>

Inherits XclRoot, and XclRoot.

Inherited by ExcAutoFilterRecs [protected], ExcAutoFilterRecs [protected], ExcDocument [protected], ExcDocument [protected], ExcTable, ExcTable, ExportBiff5 [protected], ExportBiff5 [protected], ExportXml2007 [protected], XclEscher [protected], XclEscher [protected], XclEscherClientTextbox [protected], XclEscherClientTextbox [protected], XclEscherEx [protected], XclEscherEx [protected], XclExpArrayBuffer [protected], XclExpArrayBuffer [protected], XclExpAutofilter [protected], XclExpAutofilter [protected], XclExpCellTable [protected], XclExpCellTable [protected], XclExpCF [protected], XclExpCF [protected], XclExpCFImpl [protected], XclExpCFImpl [protected], XclExpChangeTrack [protected], XclExpChangeTrack [protected], XclExpChart [protected], XclExpChart [protected], XclExpChartObj [protected], XclExpChartObj [protected], XclExpChartPageSettings [protected], XclExpChartPageSettings [protected], XclExpChRoot, XclExpChRoot, XclExpChTrCellContent [protected], XclExpChTrCellContent [protected], XclExpChTrInsertTab [protected], XclExpChTrInsertTab [protected], XclExpColinfo [protected], XclExpColinfo [protected], XclExpColinfoBuffer [protected], XclExpColinfoBuffer [protected], XclExpCondfmt [protected], XclExpCondfmt [protected], XclExpCondFormatBuffer [protected], XclExpCondFormatBuffer [protected], XclExpControlHelper [protected], XclExpControlHelper [protected], XclExpDefcolwidth [protected], XclExpDefcolwidth [protected], XclExpDffAnchor [protected], XclExpDffAnchor [protected], XclExpDV [protected], XclExpDV [protected], XclExpDval [protected], XclExpDval [protected], XclExpExternSheetBase [protected], XclExpExternSheetBase [protected], XclExpExtNameBase [protected], XclExpExtNameBase [protected], XclExpExtNameBuffer [protected], XclExpExtNameBuffer [protected], XclExpFilterManager [protected], XclExpFilterManager [protected], XclExpFmlaCompImpl [protected], XclExpFmlaCompImpl [protected], XclExpFont [protected], XclExpFont [protected], XclExpFontBuffer [protected], XclExpFontBuffer [protected], XclExpFormulaCompiler [protected], XclExpFormulaCompiler [protected], XclExpHFConverter [protected], XclExpHFConverter [protected], XclExpHyperlinkHelper [protected], XclExpHyperlinkHelper [protected], XclExpLabelranges [protected], XclExpLabelranges [protected], XclExpLinkManager [protected], XclExpLinkManager [protected], XclExpLinkManagerImpl [protected], XclExpLinkManagerImpl [protected], XclExpMergedcells [protected], XclExpMergedcells [protected], XclExpName [protected], XclExpName [protected], XclExpNameManager [protected], XclExpNameManager [protected], XclExpNameManagerImpl [protected], XclExpNameManagerImpl [protected], XclExpNumFmtBuffer [protected], XclExpNumFmtBuffer [protected], XclExpPageSettings [protected], XclExpPageSettings [protected], XclExpPCField [protected], XclExpPCField [protected], XclExpPivotCache [protected], XclExpPivotCache [protected], XclExpPivotTable [protected], XclExpPivotTable [protected], XclExpPivotTableManager [protected], XclExpPivotTableManager [protected], XclExpProgressBar [protected], XclExpProgressBar [protected], XclExpRow [protected], XclExpRow [protected], XclExpRowBuffer [protected], XclExpRowBuffer [protected], XclExpShrfmlaBuffer [protected], XclExpShrfmlaBuffer [protected], XclExpSupbookBuffer [protected], XclExpSupbookBuffer [protected], XclExpTabInfo [protected], XclExpTabInfo [protected], XclExpTableopBuffer [protected], XclExpTableopBuffer [protected], XclExpTabViewSettings [protected], XclExpTabViewSettings [protected], XclExpXF [protected], XclExpXF [protected], XclExpXFBuffer [protected], XclExpXFBuffer [protected], XclExpXmlStyleSheet [protected], XclExpXmlStyleSheet [protected], XclObjList [protected], and XclObjList [protected].

Collaboration diagram for XclExpRoot:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 XclExpRoot (XclExpRootData &rExpRootData)
const XclExpRootGetRoot () const
 Returns this root instance - for code readability in derived classes.
bool IsRelUrl () const
 Returns true, if URLs should be stored relative to the document location.
XclExpTabInfoGetTabInfo () const
 Returns the buffer for Calc->Excel sheet index conversion.
XclExpAddressConverterGetAddressConverter () const
 Returns the address converter.
XclExpFormulaCompilerGetFormulaCompiler () const
 Returns the formula compiler to produce formula token arrays.
XclExpProgressBarGetProgressBar () const
 Returns the export progress bar.
XclExpSstGetSst () const
 Returns the shared string table.
XclExpPaletteGetPalette () const
 Returns the color buffer.
XclExpFontBufferGetFontBuffer () const
 Returns the font buffer.
XclExpNumFmtBufferGetNumFmtBuffer () const
 Returns the number format buffer.
XclExpXFBufferGetXFBuffer () const
 Returns the cell formatting attributes buffer.
XclExpLinkManagerGetGlobalLinkManager () const
 Returns the global link manager for defined names.
XclExpLinkManagerGetLocalLinkManager () const
 Returns the local link manager for the current sheet.
XclExpNameManagerGetNameManager () const
 Returns the buffer that contains internal defined names.
XclExpFilterManagerGetFilterManager () const
 Returns the filter manager.
XclExpPivotTableManagerGetPivotTableManager () const
 Returns the pivot table manager.
void InitializeConvert ()
 Is called when export filter starts to create the Excel document (all BIFF versions).
void InitializeGlobals ()
 Is called when export filter starts to create the workbook global data (>=BIFF5).
void InitializeTable (SCTAB nScTab)
 Is called when export filter starts to create data for a single sheet (all BIFF versions).
void InitializeSave ()
 Is called before export filter starts to write the records to the stream.
XclExpRecordRef CreateRecord (sal_uInt16 nRecId) const
 Returns the reference to a record (or record list) representing a root object.
bool IsDocumentEncrypted () const
const String GetPassword () const
 XclExpRoot (XclExpRootData &rExpRootData)
const XclExpRootGetRoot () const
 Returns this root instance - for code readability in derived classes.
bool IsRelUrl () const
 Returns true, if URLs should be stored relative to the document location.
XclExpTabInfoGetTabInfo () const
 Returns the buffer for Calc->Excel sheet index conversion.
XclExpAddressConverterGetAddressConverter () const
 Returns the address converter.
XclExpFormulaCompilerGetFormulaCompiler () const
 Returns the formula compiler to produce formula token arrays.
XclExpProgressBarGetProgressBar () const
 Returns the export progress bar.
XclExpSstGetSst () const
 Returns the shared string table.
XclExpPaletteGetPalette () const
 Returns the color buffer.
XclExpFontBufferGetFontBuffer () const
 Returns the font buffer.
XclExpNumFmtBufferGetNumFmtBuffer () const
 Returns the number format buffer.
XclExpXFBufferGetXFBuffer () const
 Returns the cell formatting attributes buffer.
XclExpLinkManagerGetGlobalLinkManager () const
 Returns the global link manager for defined names.
XclExpLinkManagerGetLocalLinkManager () const
 Returns the local link manager for the current sheet.
XclExpNameManagerGetNameManager () const
 Returns the buffer that contains internal defined names.
XclExpFilterManagerGetFilterManager () const
 Returns the filter manager.
XclExpPivotTableManagerGetPivotTableManager () const
 Returns the pivot table manager.
void InitializeConvert ()
 Is called when export filter starts to create the Excel document (all BIFF versions).
void InitializeGlobals ()
 Is called when export filter starts to create the workbook global data (>=BIFF5).
void InitializeTable (SCTAB nScTab)
 Is called when export filter starts to create data for a single sheet (all BIFF versions).
void InitializeSave ()
 Is called before export filter starts to write the records to the stream.
XclExpRecordRef CreateRecord (sal_uInt16 nRecId) const
 Returns the reference to a record (or record list) representing a root object.
bool IsDocumentEncrypted () const
const String GetPassword () const

Private Member Functions

XclExpRootData::XclExpLinkMgrRef GetLocalLinkMgrRef () const
 Returns the local or global link manager, depending on current context.
XclExpRootData::XclExpLinkMgrRef GetLocalLinkMgrRef () const
 Returns the local or global link manager, depending on current context.

Private Attributes

XclExpRootDatamrExpData


Detailed Description

Access to global data from other classes.

Definition at line 106 of file inc/xeroot.hxx.


Constructor & Destructor Documentation

XclExpRoot::XclExpRoot ( XclExpRootData rExpRootData  )  [explicit]

Definition at line 67 of file xeroot.cxx.

XclExpRoot::XclExpRoot ( XclExpRootData rExpRootData  )  [explicit]


Member Function Documentation

const XclExpRoot& XclExpRoot::GetRoot (  )  const [inline]

Returns this root instance - for code readability in derived classes.

Reimplemented from XclRoot.

Definition at line 112 of file inc/xeroot.hxx.

Referenced by XclExpPivotCache::AddGroupFields(), ExcAutoFilterRecs::AddObjRecs(), XclExpPivotCache::AddStdFields(), XclExpFmlaCompImpl::Append(), XclExpFmlaCompImpl::AppendExt(), XclExpChSourceLink::AppendString(), XclExpColinfo::ConvertXFIndexes(), XclExpLinkManagerImpl5::CreateInternal(), XclExpNameManagerImpl::CreateName(), XclExpShrfmlaBuffer::CreateOrExtendShrfmla(), XclExpPivotTableManager::CreatePivotCache(), XclExpPivotTableManager::CreatePivotTables(), XclObjList::EndSheet(), ExportBiff8::ExportBiff8(), ExcTable::FillAsEmptyTable(), ExcTable::FillAsHeader(), ExcTable::FillAsTable(), ExcTable::FillAsXmlTable(), XclExpRowBuffer::Finalize(), XclExpRow::Finalize(), XclExpLinkManagerImpl5::FindInternal(), ExcAutoFilterRecs::GetByCol(), XclExpExternSheetBase::GetExtNameBuffer(), XclExpRowBuffer::GetOrCreateRow(), XclExpSupbookBuffer::GetXti(), XclExpXF::Init(), XclExpFontBuffer::InitDefaultFonts(), XclExpColinfoBuffer::Initialize(), InitializeConvert(), InitializeGlobals(), InitializeTable(), XclExpFilterManager::InitTabFilter(), XclExpFontBuffer::Insert(), XclExpExtNameBuffer::InsertAddIn(), XclExpSupbookBuffer::InsertAddIn(), XclExpNameManagerImpl::InsertBuiltInName(), XclExpXFBuffer::InsertCellXF(), XclExpExtNameBuffer::InsertDde(), XclExpSupbookBuffer::InsertDde(), XclExpXFBuffer::InsertDefaultRecords(), XclExpExtNameBuffer::InsertEuroTool(), XclExpSupbookBuffer::InsertEuroTool(), XclExpSupbookBuffer::InsertExtName(), XclExpExtNameBuffer::InsertExtName(), XclExpNameManagerImpl::InsertMacroCall(), XclExpNameManagerImpl::InsertRawName(), XclExpXFBuffer::InsertStyleXF(), XclExpNameManagerImpl::InsertUniqueName(), XclExpDefcolwidth::IsDefWidth(), XclExpHyperlinkHelper::ProcessUrlField(), XclExpChangeTrack::PushActionRecord(), ExcDocument::ReadDoc(), XclExpDefcolwidth::SetDefWidth(), XclEscherEx::StartShape(), XclExpSupbook::StoreCell(), XclExpSupbookBuffer::StoreCell(), XclExpSupbookBuffer::StoreCellRange(), XclExpSupbook::StoreCellRange(), XclExpChangeTrack::Write(), ExcDocument::Write(), XclExpXF::WriteBody(), XclExpPivotCache::WriteCacheStream(), XclEscherClientTextbox::WriteData(), XclExpPivotCache::WriteDconref(), XclExpChangeTrack::WriteUserNamesStream(), XclExpTabViewSettings::WriteWindow2(), ExcDocument::WriteXml(), XclExpCellTable::XclExpCellTable(), XclExpCondfmt::XclExpCondfmt(), XclExpCondFormatBuffer::XclExpCondFormatBuffer(), XclExpPageSettings::XclExpPageSettings(), and XclExpSupbookBuffer::XclExpSupbookBuffer().

bool XclExpRoot::IsRelUrl (  )  const [inline]

Returns true, if URLs should be stored relative to the document location.

Definition at line 114 of file inc/xeroot.hxx.

References XclExpRootData::mbRelUrl, and mrExpData.

Referenced by XclExpHyperlink::BuildFileName(), and XclExpUrlHelper::EncodeUrl().

XclExpTabInfo & XclExpRoot::GetTabInfo (  )  const

XclExpAddressConverter & XclExpRoot::GetAddressConverter (  )  const

XclExpFormulaCompiler & XclExpRoot::GetFormulaCompiler (  )  const

XclExpProgressBar & XclExpRoot::GetProgressBar (  )  const

XclExpSst & XclExpRoot::GetSst (  )  const

Returns the shared string table.

Definition at line 97 of file xeroot.cxx.

References mrExpData, and XclExpRootData::mxSst.

Referenced by XclExpLabelCell::Init().

XclExpPalette & XclExpRoot::GetPalette (  )  const

XclExpFontBuffer & XclExpRoot::GetFontBuffer (  )  const

XclExpNumFmtBuffer & XclExpRoot::GetNumFmtBuffer (  )  const

Returns the number format buffer.

Definition at line 115 of file xeroot.cxx.

References mrExpData, and XclExpRootData::mxNumFmtBfr.

Referenced by XclExpChSourceLink::ConvertNumFmt(), and XclExpXF::Init().

XclExpXFBuffer & XclExpRoot::GetXFBuffer (  )  const

XclExpLinkManager & XclExpRoot::GetGlobalLinkManager (  )  const

Returns the global link manager for defined names.

Definition at line 127 of file xeroot.cxx.

References mrExpData, and XclExpRootData::mxGlobLinkMgr.

Referenced by XclExpFmlaCompImpl::Init(), and XclExpName::SetLocalTab().

XclExpLinkManager & XclExpRoot::GetLocalLinkManager (  )  const

Returns the local link manager for the current sheet.

Definition at line 133 of file xeroot.cxx.

References GetLocalLinkMgrRef().

Referenced by XclExpFmlaCompImpl::Init(), and XclMacroHelper::SetMacroLink().

XclExpNameManager & XclExpRoot::GetNameManager (  )  const

XclExpFilterManager & XclExpRoot::GetFilterManager (  )  const

Returns the filter manager.

Definition at line 145 of file xeroot.cxx.

References mrExpData, and XclExpRootData::mxFilterMgr.

Referenced by XclExpNameManagerImpl::CreateBuiltInNames(), ExcTable::FillAsXmlTable(), and lcl_AddScenariosAndFilters().

XclExpPivotTableManager & XclExpRoot::GetPivotTableManager (  )  const

Returns the pivot table manager.

Definition at line 151 of file xeroot.cxx.

References mrExpData, and XclExpRootData::mxPTableMgr.

Referenced by ExcTable::FillAsHeader(), ExcTable::FillAsTable(), and ExcTable::FillAsXmlTable().

void XclExpRoot::InitializeConvert (  ) 

Is called when export filter starts to create the Excel document (all BIFF versions).

Definition at line 157 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 (  ) 

void XclExpRoot::InitializeTable ( SCTAB  nScTab  ) 

Is called when export filter starts to create data for a single sheet (all BIFF versions).

Definition at line 194 of file xeroot.cxx.

References EXC_BIFF5, XclRoot::GetBiff(), GetRoot(), mrExpData, XclExpRootData::mxLocLinkMgr, and XclRoot::SetCurrScTab().

Referenced by ExcTable::FillAsEmptyTable(), and ExcTable::FillAsTable().

void XclExpRoot::InitializeSave (  ) 

Is called before export filter starts to write the records to the stream.

Definition at line 204 of file xeroot.cxx.

References XclExpPalette::Finalize(), XclExpXFBuffer::Finalize(), GetPalette(), and GetXFBuffer().

Referenced by ExcDocument::Write(), and ExcDocument::WriteXml().

XclExpRecordRef XclExpRoot::CreateRecord ( sal_uInt16  nRecId  )  const

Returns the reference to a record (or record list) representing a root object.

Parameters:
nRecId Identifier that specifies which record is returned.

Reimplemented in XclExpCellTable, and XclExpCellTable.

Definition at line 210 of file xeroot.cxx.

References EXC_ID_EXTERNSHEET, EXC_ID_FONTLIST, EXC_ID_FORMATLIST, EXC_ID_NAME, EXC_ID_PALETTE, EXC_ID_SST, EXC_ID_XFLIST, GetLocalLinkMgrRef(), ScfRef< Type >::is(), mrExpData, XclExpRootData::mxFontBfr, XclExpRootData::mxNameMgr, XclExpRootData::mxNumFmtBfr, XclExpRootData::mxPalette, XclExpRootData::mxSst, and XclExpRootData::mxXFBfr.

Referenced by ExcTable::FillAsHeader(), ExcTable::FillAsTable(), and XclExpXmlStyleSheet::SaveXml().

bool XclExpRoot::IsDocumentEncrypted (  )  const

const String XclExpRoot::GetPassword (  )  const

XclExpRootData::XclExpLinkMgrRef XclExpRoot::GetLocalLinkMgrRef (  )  const [private]

Returns the local or global link manager, depending on current context.

Definition at line 261 of file xeroot.cxx.

References XclRoot::IsInGlobals(), mrExpData, XclExpRootData::mxGlobLinkMgr, and XclExpRootData::mxLocLinkMgr.

Referenced by CreateRecord(), and GetLocalLinkManager().

const XclExpRoot& XclExpRoot::GetRoot (  )  const [inline]

Returns this root instance - for code readability in derived classes.

Reimplemented from XclRoot.

Definition at line 111 of file xlsx/xeroot.hxx.

bool XclExpRoot::IsRelUrl (  )  const [inline]

Returns true, if URLs should be stored relative to the document location.

Definition at line 113 of file xlsx/xeroot.hxx.

References XclExpRootData::mbRelUrl, and mrExpData.

XclExpTabInfo& XclExpRoot::GetTabInfo (  )  const

Returns the buffer for Calc->Excel sheet index conversion.

XclExpAddressConverter& XclExpRoot::GetAddressConverter (  )  const

Returns the address converter.

XclExpFormulaCompiler& XclExpRoot::GetFormulaCompiler (  )  const

Returns the formula compiler to produce formula token arrays.

XclExpProgressBar& XclExpRoot::GetProgressBar (  )  const

Returns the export progress bar.

XclExpSst& XclExpRoot::GetSst (  )  const

Returns the shared string table.

XclExpPalette& XclExpRoot::GetPalette (  )  const

Returns the color buffer.

XclExpFontBuffer& XclExpRoot::GetFontBuffer (  )  const

Returns the font buffer.

XclExpNumFmtBuffer& XclExpRoot::GetNumFmtBuffer (  )  const

Returns the number format buffer.

XclExpXFBuffer& XclExpRoot::GetXFBuffer (  )  const

Returns the cell formatting attributes buffer.

XclExpLinkManager& XclExpRoot::GetGlobalLinkManager (  )  const

Returns the global link manager for defined names.

XclExpLinkManager& XclExpRoot::GetLocalLinkManager (  )  const

Returns the local link manager for the current sheet.

XclExpNameManager& XclExpRoot::GetNameManager (  )  const

Returns the buffer that contains internal defined names.

XclExpFilterManager& XclExpRoot::GetFilterManager (  )  const

Returns the filter manager.

XclExpPivotTableManager& XclExpRoot::GetPivotTableManager (  )  const

Returns the pivot table manager.

void XclExpRoot::InitializeConvert (  ) 

Is called when export filter starts to create the Excel document (all BIFF versions).

void XclExpRoot::InitializeGlobals (  ) 

Is called when export filter starts to create the workbook global data (>=BIFF5).

void XclExpRoot::InitializeTable ( SCTAB  nScTab  ) 

Is called when export filter starts to create data for a single sheet (all BIFF versions).

void XclExpRoot::InitializeSave (  ) 

Is called before export filter starts to write the records to the stream.

XclExpRecordRef XclExpRoot::CreateRecord ( sal_uInt16  nRecId  )  const

Returns the reference to a record (or record list) representing a root object.

Parameters:
nRecId Identifier that specifies which record is returned.

Reimplemented in XclExpCellTable, and XclExpCellTable.

bool XclExpRoot::IsDocumentEncrypted (  )  const

const String XclExpRoot::GetPassword (  )  const

XclExpRootData::XclExpLinkMgrRef XclExpRoot::GetLocalLinkMgrRef (  )  const [private]

Returns the local or global link manager, depending on current context.


Member Data Documentation

XclExpRootData & XclExpRoot::mrExpData [mutable, private]


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

Generated on Thu Apr 29 18:51:41 2010 for ooo-build Module sc (ooo/OOO320_m15) by  doxygen 1.5.6