LibreOffice Module sc (master) 1
Public Types | Public Member Functions | Public Attributes | List of all members
XclExpRootData Struct Reference

Stores global buffers and data needed for Excel export filter. More...

#include <xeroot.hxx>

Inheritance diagram for XclExpRootData:
[legend]
Collaboration diagram for XclExpRootData:
[legend]

Public Types

typedef std::shared_ptr< XclExpTabInfoXclExpTabInfoRef
 
typedef std::shared_ptr< XclExpAddressConverterXclExpAddrConvRef
 
typedef std::shared_ptr< XclExpFormulaCompilerXclExpFmlaCompRef
 
typedef std::shared_ptr< XclExpProgressBarXclExpProgressRef
 
typedef rtl::Reference< XclExpSstXclExpSstRef
 
typedef rtl::Reference< XclExpPaletteXclExpPaletteRef
 
typedef rtl::Reference< XclExpFontBufferXclExpFontBfrRef
 
typedef rtl::Reference< XclExpNumFmtBufferXclExpNumFmtBfrRef
 
typedef rtl::Reference< XclExpXFBufferXclExpXFBfrRef
 
typedef rtl::Reference< XclExpNameManagerXclExpNameMgrRef
 
typedef rtl::Reference< XclExpLinkManagerXclExpLinkMgrRef
 
typedef std::shared_ptr< XclExpObjectManagerXclExpObjectMgrRef
 
typedef std::shared_ptr< XclExpFilterManagerXclExpFilterMgrRef
 
typedef std::shared_ptr< XclExpPivotTableManagerXclExpPTableMgrRef
 
typedef rtl::Reference< XclExpDxfsXclExpDxfsRef
 
- Public Types inherited from XclRootData
typedef std::shared_ptr< ScEditEngineDefaulterScEEDefaulterRef
 
typedef std::shared_ptr< ScHeaderEditEngineScHeaderEERef
 
typedef std::shared_ptr< EditEngineEditEngineRef
 
typedef std::shared_ptr< XclFontPropSetHelperXclFontPropSetHlpRef
 
typedef std::shared_ptr< XclChPropSetHelperXclChPropSetHlpRef
 
typedef std::shared_ptr< ScExtDocOptionsScExtDocOptRef
 
typedef std::shared_ptr< XclTracerXclTracerRef
 
typedef std::shared_ptr< RootDataRootDataRef
 

Public Member Functions

 XclExpRootData (XclBiff eBiff, SfxMedium &rMedium, const tools::SvRef< SotStorage > &xRootStrg, ScDocument &rDoc, rtl_TextEncoding eTextEnc)
 buffer to avoid massive OUString allocations More...
 
virtual ~XclExpRootData () override
 
- Public Member Functions inherited from XclRootData
 XclRootData (XclBiff eBiff, SfxMedium &rMedium, tools::SvRef< SotStorage > xRootStrg, ScDocument &rDoc, rtl_TextEncoding eTextEnc, bool bExport)
 false = Import, true = Export. More...
 
virtual ~XclRootData ()
 
- Public Member Functions inherited from XclDebugObjCounter
 XclDebugObjCounter ()
 
 ~XclDebugObjCounter ()
 

Public Attributes

XclExpTabInfoRef mxTabInfo
 
XclExpAddrConvRef mxAddrConv
 Calc->Excel sheet index conversion. More...
 
XclExpFmlaCompRef mxFmlaComp
 The address converter. More...
 
XclExpProgressRef mxProgress
 The formula compiler. More...
 
XclExpSstRef mxSst
 The export progress bar. More...
 
XclExpPaletteRef mxPalette
 The shared string table. More...
 
XclExpFontBfrRef mxFontBfr
 The color buffer. More...
 
XclExpNumFmtBfrRef mxNumFmtBfr
 All fonts in the file. More...
 
XclExpXFBfrRef mxXFBfr
 All number formats in the file. More...
 
XclExpNameMgrRef mxNameMgr
 All XF records in the file. More...
 
XclExpLinkMgrRef mxGlobLinkMgr
 Internal defined names. More...
 
XclExpLinkMgrRef mxLocLinkMgr
 Global link manager for defined names. More...
 
XclExpObjectMgrRef mxObjMgr
 Local link manager for a sheet. More...
 
XclExpFilterMgrRef mxFilterMgr
 All drawing objects. More...
 
XclExpPTableMgrRef mxPTableMgr
 Manager for filtered areas in all sheets. More...
 
XclExpDxfsRef mxDxfs
 All pivot tables and pivot caches. More...
 
std::shared_ptr< XclExpXmlPivotTableManagermxXmlPTableMgr
 All delta formatting entries. More...
 
std::shared_ptr< XclExpTablesManagermxTablesMgr
 
std::shared_ptr< sc::CompileFormulaContextmpCompileFormulaCxt
 
ScCompiler::OpCodeMapPtr mxOpCodeMap
 
bool mbRelUrl
 mapping between op-codes and names More...
 
OStringBuffer maStringBuf
 true = Store URLs relative. More...
 
- Public Attributes inherited from XclRootData
XclBiff meBiff
 
XclOutput meOutput
 Current BIFF version. More...
 
SfxMediummrMedium
 Current Output format. More...
 
tools::SvRef< SotStoragemxRootStrg
 The medium to import from. More...
 
ScDocumentmrDoc
 The root OLE storage of imported/exported file. More...
 
OUString maDocUrl
 The source or destination document. More...
 
OUString maBasePath
 Document URL of imported/exported file. More...
 
OUString maUserName
 Base path of imported/exported file (path of maDocUrl). More...
 
rtl_TextEncoding meTextEnc
 The default password used for stream encryption. More...
 
LanguageType meSysLang
 Text encoding to import/export byte strings. More...
 
LanguageType meDocLang
 System language. More...
 
LanguageType meUILang
 Document language (import: from file, export: from system). More...
 
sal_Int16 mnDefApiScript
 UI language (import: from file, export: from system). More...
 
ScAddress maScMaxPos
 Default script type for blank cells (API constant). More...
 
ScAddress maXclMaxPos
 Highest Calc cell position. More...
 
ScAddress maMaxPos
 Highest Excel cell position. More...
 
ScEEDefaulterRef mxEditEngine
 Highest position valid in Calc and Excel. More...
 
ScHeaderEERef mxHFEditEngine
 Edit engine for rich strings etc. More...
 
EditEngineRef mxDrawEditEng
 Edit engine for header/footer. More...
 
XclFontPropSetHlpRef mxFontPropSetHlp
 Edit engine for text boxes. More...
 
XclChPropSetHlpRef mxChPropSetHlp
 Property set helper for fonts. More...
 
ScExtDocOptRef mxExtDocOpt
 Property set helper for chart filter. More...
 
XclTracerRef mxTracer
 Extended document options. More...
 
RootDataRef mxRD
 Filter tracer. More...
 
double mfScreenPixelX
 Old RootData struct. Will be removed. More...
 
double mfScreenPixelY
 Width of a screen pixel (1/100 mm). More...
 
tools::Long mnCharWidth
 Height of a screen pixel (1/100 mm). More...
 
tools::Long mnSpaceWidth
 Width of '0' in default font (twips). More...
 
SCTAB mnScTab
 Width of space char ' ' using default font. More...
 
const bool mbExport
 Current Calc sheet index. More...
 
- Public Attributes inherited from XclDebugObjCounter
sal_Int32 mnObjCnt
 

Additional Inherited Members

- Static Public Attributes inherited from XclRootData
static constexpr OUStringLiteral gaDefPassword = u"VelvetSweatshop"
 Current user name. More...
 

Detailed Description

Stores global buffers and data needed for Excel export filter.

Definition at line 59 of file xeroot.hxx.

Member Typedef Documentation

◆ XclExpAddrConvRef

Definition at line 62 of file xeroot.hxx.

◆ XclExpDxfsRef

Definition at line 76 of file xeroot.hxx.

◆ XclExpFilterMgrRef

Definition at line 74 of file xeroot.hxx.

◆ XclExpFmlaCompRef

Definition at line 63 of file xeroot.hxx.

◆ XclExpFontBfrRef

Definition at line 68 of file xeroot.hxx.

◆ XclExpLinkMgrRef

Definition at line 72 of file xeroot.hxx.

◆ XclExpNameMgrRef

Definition at line 71 of file xeroot.hxx.

◆ XclExpNumFmtBfrRef

Definition at line 69 of file xeroot.hxx.

◆ XclExpObjectMgrRef

Definition at line 73 of file xeroot.hxx.

◆ XclExpPaletteRef

Definition at line 67 of file xeroot.hxx.

◆ XclExpProgressRef

Definition at line 64 of file xeroot.hxx.

◆ XclExpPTableMgrRef

Definition at line 75 of file xeroot.hxx.

◆ XclExpSstRef

Definition at line 66 of file xeroot.hxx.

◆ XclExpTabInfoRef

typedef std::shared_ptr< XclExpTabInfo > XclExpRootData::XclExpTabInfoRef

Definition at line 61 of file xeroot.hxx.

◆ XclExpXFBfrRef

Definition at line 70 of file xeroot.hxx.

Constructor & Destructor Documentation

◆ XclExpRootData()

XclExpRootData::XclExpRootData ( XclBiff  eBiff,
SfxMedium rMedium,
const tools::SvRef< SotStorage > &  xRootStrg,
ScDocument rDoc,
rtl_TextEncoding  eTextEnc 
)
explicit

buffer to avoid massive OUString allocations

Definition at line 56 of file xeroot.cxx.

References SfxMedium::IsRemote(), maStringBuf, mbRelUrl, and XclRootData::mrMedium.

◆ ~XclExpRootData()

XclExpRootData::~XclExpRootData ( )
overridevirtual

Definition at line 66 of file xeroot.cxx.

Member Data Documentation

◆ maStringBuf

OStringBuffer XclExpRootData::maStringBuf

true = Store URLs relative.

Definition at line 104 of file xeroot.hxx.

Referenced by XclExpRoot::GetStringBuf(), and XclExpRootData().

◆ mbRelUrl

bool XclExpRootData::mbRelUrl

mapping between op-codes and names

Definition at line 102 of file xeroot.hxx.

Referenced by XclExpRoot::IsRelUrl(), and XclExpRootData().

◆ mpCompileFormulaCxt

std::shared_ptr<sc::CompileFormulaContext> XclExpRootData::mpCompileFormulaCxt

Definition at line 98 of file xeroot.hxx.

Referenced by XclExpRoot::GetCompileFormulaContext().

◆ mxAddrConv

XclExpAddrConvRef XclExpRootData::mxAddrConv

Calc->Excel sheet index conversion.

Definition at line 79 of file xeroot.hxx.

Referenced by XclExpRoot::GetAddressConverter(), and XclExpRoot::InitializeConvert().

◆ mxDxfs

XclExpDxfsRef XclExpRootData::mxDxfs

All pivot tables and pivot caches.

Definition at line 94 of file xeroot.hxx.

Referenced by XclExpRoot::CreateRecord(), XclExpRoot::GetDxfs(), and XclExpRoot::InitializeGlobals().

◆ mxFilterMgr

XclExpFilterMgrRef XclExpRootData::mxFilterMgr

All drawing objects.

Definition at line 92 of file xeroot.hxx.

Referenced by XclExpRoot::GetFilterManager(), and XclExpRoot::InitializeGlobals().

◆ mxFmlaComp

XclExpFmlaCompRef XclExpRootData::mxFmlaComp

The address converter.

Definition at line 80 of file xeroot.hxx.

Referenced by XclExpRoot::GetFormulaCompiler(), and XclExpRoot::InitializeConvert().

◆ mxFontBfr

XclExpFontBfrRef XclExpRootData::mxFontBfr

The color buffer.

Definition at line 85 of file xeroot.hxx.

Referenced by XclExpRoot::CreateRecord(), XclExpRoot::GetFontBuffer(), and XclExpRoot::InitializeGlobals().

◆ mxGlobLinkMgr

XclExpLinkMgrRef XclExpRootData::mxGlobLinkMgr

Internal defined names.

Definition at line 89 of file xeroot.hxx.

Referenced by XclExpRoot::GetGlobalLinkManager(), XclExpRoot::GetLocalLinkMgrRef(), and XclExpRoot::InitializeGlobals().

◆ mxLocLinkMgr

XclExpLinkMgrRef XclExpRootData::mxLocLinkMgr

Global link manager for defined names.

Definition at line 90 of file xeroot.hxx.

Referenced by XclExpRoot::GetLocalLinkMgrRef(), XclExpRoot::InitializeGlobals(), and XclExpRoot::InitializeTable().

◆ mxNameMgr

XclExpNameMgrRef XclExpRootData::mxNameMgr

All XF records in the file.

Definition at line 88 of file xeroot.hxx.

Referenced by XclExpRoot::CreateRecord(), XclExpRoot::GetNameManager(), and XclExpRoot::InitializeGlobals().

◆ mxNumFmtBfr

XclExpNumFmtBfrRef XclExpRootData::mxNumFmtBfr

All fonts in the file.

Definition at line 86 of file xeroot.hxx.

Referenced by XclExpRoot::CreateRecord(), XclExpRoot::GetNumFmtBuffer(), and XclExpRoot::InitializeGlobals().

◆ mxObjMgr

XclExpObjectMgrRef XclExpRootData::mxObjMgr

Local link manager for a sheet.

Definition at line 91 of file xeroot.hxx.

Referenced by XclExpRoot::GetObjectManager(), and XclExpRoot::InitializeGlobals().

◆ mxOpCodeMap

ScCompiler::OpCodeMapPtr XclExpRootData::mxOpCodeMap

Definition at line 100 of file xeroot.hxx.

Referenced by XclExpRoot::InitializeGlobals().

◆ mxPalette

XclExpPaletteRef XclExpRootData::mxPalette

The shared string table.

Definition at line 84 of file xeroot.hxx.

Referenced by XclExpRoot::CreateRecord(), XclExpRoot::GetPalette(), and XclExpRoot::InitializeGlobals().

◆ mxProgress

XclExpProgressRef XclExpRootData::mxProgress

The formula compiler.

Definition at line 81 of file xeroot.hxx.

Referenced by XclExpRoot::GetProgressBar(), and XclExpRoot::InitializeConvert().

◆ mxPTableMgr

XclExpPTableMgrRef XclExpRootData::mxPTableMgr

Manager for filtered areas in all sheets.

Definition at line 93 of file xeroot.hxx.

Referenced by XclExpRoot::GetPivotTableManager(), and XclExpRoot::InitializeGlobals().

◆ mxSst

XclExpSstRef XclExpRootData::mxSst

The export progress bar.

Definition at line 83 of file xeroot.hxx.

Referenced by XclExpRoot::CreateRecord(), XclExpRoot::GetSst(), and XclExpRoot::InitializeGlobals().

◆ mxTabInfo

XclExpTabInfoRef XclExpRootData::mxTabInfo

Definition at line 78 of file xeroot.hxx.

Referenced by XclExpRoot::GetTabInfo(), and XclExpRoot::InitializeConvert().

◆ mxTablesMgr

std::shared_ptr<XclExpTablesManager> XclExpRootData::mxTablesMgr

Definition at line 97 of file xeroot.hxx.

Referenced by XclExpRoot::GetTablesManager(), and XclExpRoot::InitializeGlobals().

◆ mxXFBfr

XclExpXFBfrRef XclExpRootData::mxXFBfr

All number formats in the file.

Definition at line 87 of file xeroot.hxx.

Referenced by XclExpRoot::CreateRecord(), XclExpRoot::GetXFBuffer(), and XclExpRoot::InitializeGlobals().

◆ mxXmlPTableMgr

std::shared_ptr<XclExpXmlPivotTableManager> XclExpRootData::mxXmlPTableMgr

All delta formatting entries.

Definition at line 96 of file xeroot.hxx.

Referenced by XclExpRoot::InitializeGlobals().


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