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

Stores global buffers and data needed elsewhere in the Excel filters. More...

#include <xlroot.hxx>

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

Public Types

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

 XclRootData (XclBiff eBiff, SfxMedium &rMedium, tools::SvRef< SotStorage > const &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...
 
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
 

Static Public Attributes

static constexpr OUStringLiteral gaDefPassword = u"VelvetSweatshop"
 Current user name. More...
 

Detailed Description

Stores global buffers and data needed elsewhere in the Excel filters.

Definition at line 61 of file xlroot.hxx.

Member Typedef Documentation

◆ EditEngineRef

typedef std::shared_ptr< EditEngine > XclRootData::EditEngineRef

Definition at line 68 of file xlroot.hxx.

◆ RootDataRef

typedef std::shared_ptr< RootData > XclRootData::RootDataRef

Definition at line 73 of file xlroot.hxx.

◆ ScEEDefaulterRef

Definition at line 66 of file xlroot.hxx.

◆ ScExtDocOptRef

typedef std::shared_ptr< ScExtDocOptions > XclRootData::ScExtDocOptRef

Definition at line 71 of file xlroot.hxx.

◆ ScHeaderEERef

typedef std::shared_ptr< ScHeaderEditEngine > XclRootData::ScHeaderEERef

Definition at line 67 of file xlroot.hxx.

◆ XclChPropSetHlpRef

Definition at line 70 of file xlroot.hxx.

◆ XclFontPropSetHlpRef

Definition at line 69 of file xlroot.hxx.

◆ XclTracerRef

typedef std::shared_ptr< XclTracer > XclRootData::XclTracerRef

Definition at line 72 of file xlroot.hxx.

Constructor & Destructor Documentation

◆ XclRootData()

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

◆ ~XclRootData()

XclRootData::~XclRootData ( )
virtual

Definition at line 163 of file xlroot.cxx.

Member Data Documentation

◆ gaDefPassword

constexpr OUStringLiteral XclRootData::gaDefPassword = u"VelvetSweatshop"
staticconstexpr

Current user name.

Definition at line 83 of file xlroot.hxx.

Referenced by XclRoot::GetDefaultPassword(), and XclRoot::RequestEncryptionData().

◆ maBasePath

OUString XclRootData::maBasePath

Document URL of imported/exported file.

Definition at line 81 of file xlroot.hxx.

Referenced by XclRoot::GetBasePath(), and XclRootData().

◆ maDocUrl

OUString XclRootData::maDocUrl

The source or destination document.

Definition at line 80 of file xlroot.hxx.

Referenced by XclRoot::GetDocUrl(), and XclRootData().

◆ maMaxPos

ScAddress XclRootData::maMaxPos

Highest Excel cell position.

Definition at line 91 of file xlroot.hxx.

Referenced by XclRoot::GetMaxPos(), and XclRootData().

◆ maScMaxPos

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().

◆ maUserName

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().

◆ maXclMaxPos

ScAddress XclRootData::maXclMaxPos

Highest Calc cell position.

Definition at line 90 of file xlroot.hxx.

Referenced by XclRoot::GetXclMaxPos(), and XclRootData().

◆ mbExport

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().

◆ meBiff

XclBiff XclRootData::meBiff

Definition at line 75 of file xlroot.hxx.

Referenced by XclRoot::GetBiff(), and XclRootData().

◆ meDocLang

LanguageType XclRootData::meDocLang

System language.

Definition at line 86 of file xlroot.hxx.

Referenced by XclRoot::GetDocLanguage(), and XclRoot::SetDocLanguage().

◆ meOutput

XclOutput XclRootData::meOutput

Current BIFF version.

Definition at line 76 of file xlroot.hxx.

Referenced by XclRoot::GetOutput().

◆ meSysLang

LanguageType XclRootData::meSysLang

Text encoding to import/export byte strings.

Definition at line 85 of file xlroot.hxx.

Referenced by XclRoot::GetSysLanguage().

◆ meTextEnc

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().

◆ meUILang

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().

◆ mfScreenPixelX

double XclRootData::mfScreenPixelX

Old RootData struct. Will be removed.

Definition at line 104 of file xlroot.hxx.

Referenced by XclRoot::GetHmmFromPixelX(), and XclRootData().

◆ mfScreenPixelY

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().

◆ mnCharWidth

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().

◆ mnDefApiScript

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().

◆ mnScTab

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().

◆ mnSpaceWidth

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().

◆ mrDoc

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().

◆ mrMedium

SfxMedium& XclRootData::mrMedium

Current Output format.

Definition at line 77 of file xlroot.hxx.

Referenced by XclRoot::GetMedium(), XclRoot::RequestEncryptionData(), XclExpRootData::XclExpRootData(), and XclRootData().

◆ mxChPropSetHlp

XclChPropSetHlpRef XclRootData::mxChPropSetHlp

Property set helper for fonts.

Definition at line 98 of file xlroot.hxx.

Referenced by XclRoot::GetChartPropSetHelper().

◆ mxDrawEditEng

EditEngineRef XclRootData::mxDrawEditEng

Edit engine for header/footer.

Definition at line 95 of file xlroot.hxx.

Referenced by XclRoot::GetDrawEditEngine().

◆ mxEditEngine

ScEEDefaulterRef XclRootData::mxEditEngine

Highest position valid in Calc and Excel.

Definition at line 93 of file xlroot.hxx.

Referenced by XclRoot::GetEditEngine().

◆ mxExtDocOpt

ScExtDocOptRef XclRootData::mxExtDocOpt

Property set helper for chart filter.

Definition at line 100 of file xlroot.hxx.

Referenced by XclRoot::GetExtDocOptions(), and XclRootData().

◆ mxFontPropSetHlp

XclFontPropSetHlpRef XclRootData::mxFontPropSetHlp

Edit engine for text boxes.

Definition at line 97 of file xlroot.hxx.

Referenced by XclRoot::GetFontPropSetHelper().

◆ mxHFEditEngine

ScHeaderEERef XclRootData::mxHFEditEngine

Edit engine for rich strings etc.

Definition at line 94 of file xlroot.hxx.

Referenced by XclRoot::GetHFEditEngine().

◆ mxRD

RootDataRef XclRootData::mxRD

Filter tracer.

Definition at line 102 of file xlroot.hxx.

Referenced by XclRoot::GetOldRoot().

◆ mxRootStrg

tools::SvRef<SotStorage> XclRootData::mxRootStrg

The medium to import from.

Definition at line 78 of file xlroot.hxx.

Referenced by XclRoot::GetRootStorage().

◆ mxTracer

XclTracerRef XclRootData::mxTracer

Extended document options.

Definition at line 101 of file xlroot.hxx.

Referenced by XclRoot::GetTracer(), and XclRoot::XclRoot().


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