LibreOffice Module sc (master) 1
|
Stores global buffers and data needed elsewhere in the Excel filters. More...
#include <xlroot.hxx>
Public Types | |
typedef std::shared_ptr< ScEditEngineDefaulter > | ScEEDefaulterRef |
typedef std::shared_ptr< ScHeaderEditEngine > | ScHeaderEERef |
typedef std::shared_ptr< EditEngine > | EditEngineRef |
typedef std::shared_ptr< XclFontPropSetHelper > | XclFontPropSetHlpRef |
typedef std::shared_ptr< XclChPropSetHelper > | XclChPropSetHlpRef |
typedef std::shared_ptr< ScExtDocOptions > | ScExtDocOptRef |
typedef std::shared_ptr< XclTracer > | XclTracerRef |
typedef std::shared_ptr< RootData > | RootDataRef |
Public Member Functions | |
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 | |
XclBiff | meBiff |
XclOutput | meOutput |
Current BIFF version. More... | |
SfxMedium & | mrMedium |
Current Output format. More... | |
tools::SvRef< SotStorage > | mxRootStrg |
The medium to import from. More... | |
ScDocument & | mrDoc |
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 |
Static Public Attributes | |
static constexpr OUStringLiteral | gaDefPassword = u"VelvetSweatshop" |
Current user name. More... | |
Stores global buffers and data needed elsewhere in the Excel filters.
Definition at line 61 of file xlroot.hxx.
typedef std::shared_ptr< EditEngine > XclRootData::EditEngineRef |
Definition at line 68 of file xlroot.hxx.
typedef std::shared_ptr< RootData > XclRootData::RootDataRef |
Definition at line 73 of file xlroot.hxx.
typedef std::shared_ptr< ScEditEngineDefaulter > XclRootData::ScEEDefaulterRef |
Definition at line 66 of file xlroot.hxx.
typedef std::shared_ptr< ScExtDocOptions > XclRootData::ScExtDocOptRef |
Definition at line 71 of file xlroot.hxx.
typedef std::shared_ptr< ScHeaderEditEngine > XclRootData::ScHeaderEERef |
Definition at line 67 of file xlroot.hxx.
typedef std::shared_ptr< XclChPropSetHelper > XclRootData::XclChPropSetHlpRef |
Definition at line 70 of file xlroot.hxx.
typedef std::shared_ptr< XclFontPropSetHelper > XclRootData::XclFontPropSetHlpRef |
Definition at line 69 of file xlroot.hxx.
typedef std::shared_ptr< XclTracer > XclRootData::XclTracerRef |
Definition at line 72 of file xlroot.hxx.
|
explicit |
false = Import, true = Export.
Definition at line 84 of file xlroot.cxx.
References ScAddress::Col(), DBG_ERROR_BIFF, EXC_BIFF2, EXC_BIFF3, EXC_BIFF4, EXC_BIFF5, EXC_BIFF8, EXC_MAXCOL2, EXC_MAXCOL3, EXC_MAXCOL4, EXC_MAXCOL5, EXC_MAXCOL8, EXC_MAXROW2, EXC_MAXROW3, EXC_MAXROW4, EXC_MAXROW5, EXC_MAXROW8, EXC_MAXTAB2, EXC_MAXTAB3, EXC_MAXTAB4, EXC_MAXTAB5, EXC_MAXTAB8, Exception, ScGlobal::GetDefaultScriptType(), ScDocument::GetExtDocOptions(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), utl::ConfigManager::IsFuzzing(), LATIN, maBasePath, maDocUrl, make_shared(), maMaxPos, maScMaxPos, maUserName, maXclMaxPos, mbExport, meBiff, mfScreenPixelX, mfScreenPixelY, mnDefApiScript, mrDoc, mrMedium, mxExtDocOpt, ScAddress::Row(), SAL_WARN, ScAddress::Set(), ScAddress::SetCol(), ScAddress::SetRow(), ScAddress::SetTab(), ScAddress::Tab(), TOOLS_WARN_EXCEPTION, and xFrame.
|
virtual |
Definition at line 163 of file xlroot.cxx.
|
staticconstexpr |
Current user name.
Definition at line 83 of file xlroot.hxx.
Referenced by XclRoot::GetDefaultPassword(), and XclRoot::RequestEncryptionData().
OUString XclRootData::maBasePath |
Document URL of imported/exported file.
Definition at line 81 of file xlroot.hxx.
Referenced by XclRoot::GetBasePath(), and XclRootData().
OUString XclRootData::maDocUrl |
The source or destination document.
Definition at line 80 of file xlroot.hxx.
Referenced by XclRoot::GetDocUrl(), and XclRootData().
ScAddress XclRootData::maMaxPos |
Highest Excel cell position.
Definition at line 91 of file xlroot.hxx.
Referenced by XclRoot::GetMaxPos(), and XclRootData().
ScAddress XclRootData::maScMaxPos |
Default script type for blank cells (API constant).
Definition at line 89 of file xlroot.hxx.
Referenced by XclRoot::GetScMaxPos(), and XclRootData().
OUString XclRootData::maUserName |
Base path of imported/exported file (path of maDocUrl).
Definition at line 82 of file xlroot.hxx.
Referenced by XclRoot::GetUserName(), and XclRootData().
ScAddress XclRootData::maXclMaxPos |
Highest Calc cell position.
Definition at line 90 of file xlroot.hxx.
Referenced by XclRoot::GetXclMaxPos(), and XclRootData().
const bool XclRootData::mbExport |
Current Calc sheet index.
Definition at line 109 of file xlroot.hxx.
Referenced by XclRoot::IsImport(), XclRoot::OpenStorage(), and XclRoot::OpenStream().
XclBiff XclRootData::meBiff |
Definition at line 75 of file xlroot.hxx.
Referenced by XclRoot::GetBiff(), and XclRootData().
LanguageType XclRootData::meDocLang |
System language.
Definition at line 86 of file xlroot.hxx.
Referenced by XclRoot::GetDocLanguage(), and XclRoot::SetDocLanguage().
XclOutput XclRootData::meOutput |
LanguageType XclRootData::meSysLang |
Text encoding to import/export byte strings.
Definition at line 85 of file xlroot.hxx.
Referenced by XclRoot::GetSysLanguage().
rtl_TextEncoding XclRootData::meTextEnc |
The default password used for stream encryption.
Definition at line 84 of file xlroot.hxx.
Referenced by XclRoot::GetTextEncoding(), and XclRoot::SetTextEncoding().
LanguageType XclRootData::meUILang |
Document language (import: from file, export: from system).
Definition at line 87 of file xlroot.hxx.
Referenced by XclRoot::GetUILanguage(), and XclRoot::SetUILanguage().
double XclRootData::mfScreenPixelX |
Old RootData struct. Will be removed.
Definition at line 104 of file xlroot.hxx.
Referenced by XclRoot::GetHmmFromPixelX(), and XclRootData().
double XclRootData::mfScreenPixelY |
Width of a screen pixel (1/100 mm).
Definition at line 105 of file xlroot.hxx.
Referenced by XclRoot::GetHmmFromPixelY(), and XclRootData().
tools::Long XclRootData::mnCharWidth |
Height of a screen pixel (1/100 mm).
Definition at line 106 of file xlroot.hxx.
Referenced by XclRoot::GetCharWidth(), and XclRoot::SetCharWidth().
sal_Int16 XclRootData::mnDefApiScript |
UI language (import: from file, export: from system).
Definition at line 88 of file xlroot.hxx.
Referenced by XclRoot::GetDefApiScript(), and XclRootData().
SCTAB XclRootData::mnScTab |
Width of space char ' ' using default font.
Definition at line 108 of file xlroot.hxx.
Referenced by XclRoot::GetCurrScTab(), XclRoot::IncCurrScTab(), XclRoot::IsInGlobals(), and XclRoot::SetCurrScTab().
tools::Long XclRootData::mnSpaceWidth |
Width of '0' in default font (twips).
Definition at line 107 of file xlroot.hxx.
Referenced by XclRoot::GetSpaceWidth(), and XclRoot::SetCharWidth().
ScDocument& XclRootData::mrDoc |
The root OLE storage of imported/exported file.
Definition at line 79 of file xlroot.hxx.
Referenced by XclRoot::GetDoc(), and XclRootData().
SfxMedium& XclRootData::mrMedium |
Current Output format.
Definition at line 77 of file xlroot.hxx.
Referenced by XclRoot::GetMedium(), XclRoot::RequestEncryptionData(), XclExpRootData::XclExpRootData(), and XclRootData().
XclChPropSetHlpRef XclRootData::mxChPropSetHlp |
Property set helper for fonts.
Definition at line 98 of file xlroot.hxx.
Referenced by XclRoot::GetChartPropSetHelper().
EditEngineRef XclRootData::mxDrawEditEng |
Edit engine for header/footer.
Definition at line 95 of file xlroot.hxx.
Referenced by XclRoot::GetDrawEditEngine().
ScEEDefaulterRef XclRootData::mxEditEngine |
Highest position valid in Calc and Excel.
Definition at line 93 of file xlroot.hxx.
Referenced by XclRoot::GetEditEngine().
ScExtDocOptRef XclRootData::mxExtDocOpt |
Property set helper for chart filter.
Definition at line 100 of file xlroot.hxx.
Referenced by XclRoot::GetExtDocOptions(), and XclRootData().
XclFontPropSetHlpRef XclRootData::mxFontPropSetHlp |
Edit engine for text boxes.
Definition at line 97 of file xlroot.hxx.
Referenced by XclRoot::GetFontPropSetHelper().
ScHeaderEERef XclRootData::mxHFEditEngine |
Edit engine for rich strings etc.
Definition at line 94 of file xlroot.hxx.
Referenced by XclRoot::GetHFEditEngine().
RootDataRef XclRootData::mxRD |
tools::SvRef<SotStorage> XclRootData::mxRootStrg |
The medium to import from.
Definition at line 78 of file xlroot.hxx.
Referenced by XclRoot::GetRootStorage().
XclTracerRef XclRootData::mxTracer |
Extended document options.
Definition at line 101 of file xlroot.hxx.
Referenced by XclRoot::GetTracer(), and XclRoot::XclRoot().