LibreOffice Module sc (master) 1
|
Access to global data from other classes. More...
#include <xiroot.hxx>
Public Member Functions | |
XclImpRoot (XclImpRootData &rImpRootData) | |
const XclImpRoot & | GetRoot () const |
Returns this root instance - for code readability in derived classes. More... | |
XclImpRoot & | GetRoot () |
void | SetCodePage (sal_uInt16 nCodePage) |
Sets a code page read from a CODEPAGE record for byte string import. More... | |
void | InitializeTable (SCTAB nScTab) |
Is called when import filter starts importing a single sheet (all BIFF versions). More... | |
void | FinalizeTable () |
Is called when import filter stops importing a single sheet (all BIFF versions). More... | |
XclImpAddressConverter & | GetAddressConverter () const |
Returns the address converter. More... | |
XclImpFormulaCompiler & | GetFormulaCompiler () const |
Returns the formula converter. More... | |
ExcelToSc & | GetOldFmlaConverter () const |
Returns the old formula converter. More... | |
XclImpSst & | GetSst () const |
Returns the shared string table. More... | |
XclImpPalette & | GetPalette () const |
Returns the color buffer. More... | |
XclImpFontBuffer & | GetFontBuffer () const |
Returns the font buffer. More... | |
XclImpNumFmtBuffer & | GetNumFmtBuffer () const |
Returns the number format buffer. More... | |
XclImpXFBuffer & | GetXFBuffer () const |
Returns the cell formatting attributes buffer. More... | |
XclImpXFRangeBuffer & | GetXFRangeBuffer () const |
Returns the buffer of XF index ranges for a sheet. More... | |
ScRangeListTabs & | GetPrintAreaBuffer () const |
Returns the buffer that contains all print areas in the document. More... | |
ScRangeListTabs & | GetTitleAreaBuffer () const |
Returns the buffer that contains all print titles in the document. More... | |
XclImpTabInfo & | GetTabInfo () const |
Returns the buffer that contains the sheet creation order. More... | |
XclImpNameManager & | GetNameManager () const |
Returns the buffer that contains internal defined names. More... | |
XclImpLinkManager & | GetLinkManager () const |
Returns the link manager. More... | |
XclImpObjectManager & | GetObjectManager () const |
Returns the drawing object manager. More... | |
XclImpSheetDrawing & | GetCurrSheetDrawing () const |
Returns the drawing container of the current sheet. More... | |
XclImpCondFormatManager & | GetCondFormatManager () const |
Returns the conditional formatting manager. More... | |
XclImpValidationManager & | GetValidationManager () const |
XclImpAutoFilterBuffer & | GetFilterManager () const |
Returns the filter manager. More... | |
XclImpWebQueryBuffer & | GetWebQueryBuffer () const |
Returns the web query buffer. More... | |
XclImpPivotTableManager & | GetPivotTableManager () const |
Returns the pivot table manager. More... | |
XclImpSheetProtectBuffer & | GetSheetProtectBuffer () const |
Returns the sheet protection options of the current sheet. More... | |
XclImpDocProtectBuffer & | GetDocProtectBuffer () const |
Returns the document protection options. More... | |
XclImpPageSettings & | GetPageSettings () const |
Returns the page settings of the current sheet. More... | |
XclImpDocViewSettings & | GetDocViewSettings () const |
Returns the view settings of the entire document. More... | |
XclImpTabViewSettings & | GetTabViewSettings () const |
Returns the view settings of the current sheet. More... | |
bool | HasBasic () const |
Returns true, if the document contains a VB project. More... | |
void | SetHasBasic () |
Called to indicate that the document contains a VB project. More... | |
void | ReadCodeName (XclImpStream &rStrm, bool bGlobals) |
Reads the CODENAME record and inserts the codename into the document. More... | |
ScDocumentImport & | GetDocImport () |
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 OUString | GetScAddInName (const OUString &rXclName) |
Returns the Calc add-in function name for an Excel function name. More... | |
Static Public Member Functions inherited from XclRoot | |
static OUString | GetDefaultPassword () |
Returns the default password used for stream encryption. More... | |
Private Attributes | |
XclImpRootData & | mrImpData |
Access to global data from other classes.
Definition at line 128 of file xiroot.hxx.
|
explicit |
Definition at line 57 of file xiroot.cxx.
References EXC_BIFF8, XclRoot::GetBiff(), XclRoot::GetOldRoot(), GetRoot(), XclImpRootData::mpPrintRanges, XclImpRootData::mpPrintTitles, XclImpRootData::mpXFBfr, mrImpData, XclImpRootData::mxAddrConv, XclImpRootData::mxCondFmtMgr, XclImpRootData::mxDocProtect, XclImpRootData::mxDocViewSett, XclImpRootData::mxFmlaComp, XclImpRootData::mxFontBfr, XclImpRootData::mxLinkMgr, XclImpRootData::mxNameMgr, XclImpRootData::mxNumFmtBfr, XclImpRootData::mxObjMgr, XclImpRootData::mxPageSett, XclImpRootData::mxPalette, XclImpRootData::mxPTableMgr, XclImpRootData::mxSst, XclImpRootData::mxTabInfo, XclImpRootData::mxTabProtect, XclImpRootData::mxTabViewSett, XclImpRootData::mxValidMgr, XclImpRootData::mxWebQueryBfr, XclImpRootData::mxXFRangeBfr, and RootData::pAutoFilterBuffer.
void XclImpRoot::FinalizeTable | ( | ) |
Is called when import filter stops importing a single sheet (all BIFF versions).
Definition at line 115 of file xiroot.cxx.
References XclImpColRowSettings::Convert(), XclImpPageSettings::Finalize(), XclImpXFRangeBuffer::Finalize(), XclImpTabViewSettings::Finalize(), XclRoot::GetCurrScTab(), XclRoot::GetOldRoot(), GetPageSettings(), GetTabViewSettings(), GetXFRangeBuffer(), and RootData::pColRowBuff.
Referenced by ImportExcel::EndSheet().
XclImpAddressConverter & XclImpRoot::GetAddressConverter | ( | ) | const |
Returns the address converter.
Definition at line 123 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxAddrConv.
Referenced by ImportExcel::Cellmerging(), ImportExcel8::Feat(), XclImpTabViewSettings::Finalize(), ImportExcel::Formula(), ExcelToSc::GetAbsRefs(), ExcelToSc8::GetAbsRefs(), XclImpDrawObjBase::GetUsedArea(), XclImpHyperlink::InsertUrl(), ImportExcel8::Labelsst(), ImportExcel::Mulblank(), ImportExcel::Mulrk(), ImportExcel::Olesize(), ImportExcel::Read(), ImportExcel8::Read(), ImportExcel::ReadBlank(), ImportExcel::ReadBoolErr(), XclImpCondFormat::ReadCondfmt(), XclImpPivotCache::ReadDconref(), ImportExcel::ReadDimensions(), XclImpValidationManager::ReadDV(), ImportExcel::ReadInteger(), ImportExcel::ReadLabel(), XclImpLabelranges::ReadLabelranges(), XclImpSheetDrawing::ReadNote3(), XclImpSheetDrawing::ReadNote8(), ImportExcel::ReadNumber(), ImportExcel::ReadRk(), XclImpPivotTable::ReadSxview(), and ImportExcel::Rstring().
XclImpCondFormatManager & XclImpRoot::GetCondFormatManager | ( | ) | const |
Returns the conditional formatting manager.
Definition at line 207 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxCondFmtMgr.
Referenced by ImportExcel8::EndSheet(), and ImportExcel8::Read().
XclImpSheetDrawing & XclImpRoot::GetCurrSheetDrawing | ( | ) | const |
Returns the drawing container of the current sheet.
Definition at line 201 of file xiroot.cxx.
References XclRoot::GetCurrScTab(), XclRoot::IsInGlobals(), mrImpData, and XclImpRootData::mxObjMgr.
Referenced by ImportExcel::Read(), ImportExcel8::Read(), XclImpValidationManager::ReadDval(), and XclImpPivotTable::ReadSxpi().
ScDocumentImport & XclImpRoot::GetDocImport | ( | ) |
Definition at line 294 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxDocImport.
Referenced by ImportExcel::Array25(), ImportExcel::Array34(), ExcelToSc::Convert(), ExcelToSc8::Convert(), ExcelToSc8::ConvertExternName(), XclImpXFRangeBuffer::Finalize(), ImportExcel::Formula(), ExcelToSc::GetBoolErr(), ExcelToSc::GetDummy(), ImportExcel8::Labelsst(), ImportExcel::Mulrk(), ImportExcel::Read(), ImportExcel8::Read(), ImportExcel::ReadBoolErr(), XclImpChangeTrack::ReadChTrInsert(), XclImpChangeTrack::ReadChTrInsertTab(), ImportExcel::ReadInteger(), ImportExcel::ReadLabel(), ImportExcel::ReadNumber(), ImportExcel::ReadRk(), ImportExcel::Rstring(), ExcelToSc::SetComplCol(), ExcelToSc::SetComplRow(), ImportExcel::Shrfmla(), ImportExcel::TableOp(), XclImpPCField::WriteFieldNameToSource(), and XclImpPCItem::WriteToSource().
XclImpDocProtectBuffer & XclImpRoot::GetDocProtectBuffer | ( | ) | const |
Returns the document protection options.
Definition at line 244 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxDocProtect.
Referenced by ImportExcel::DocPassword(), ImportExcel::DocProtect(), ImportExcel8::PostDocLoad(), and ImportExcel::WinProtection().
XclImpDocViewSettings & XclImpRoot::GetDocViewSettings | ( | ) | const |
Returns the view settings of the entire document.
Definition at line 255 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxDocViewSett.
Referenced by XclImpTabViewSettings::Finalize(), ImportExcel::PostDocLoad(), and ImportExcel::Window1().
XclImpAutoFilterBuffer & XclImpRoot::GetFilterManager | ( | ) | const |
Returns the filter manager.
Definition at line 219 of file xiroot.cxx.
References XclRoot::GetOldRoot(), and RootData::pAutoFilterBuffer.
Referenced by XclImpColRowSettings::ConvertHiddenFlags(), and XclImpName::XclImpName().
XclImpFontBuffer & XclImpRoot::GetFontBuffer | ( | ) | const |
Returns the font buffer.
Definition at line 150 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxFontBfr.
Referenced by XclImpTbxObjBase::ConvertFont(), XclImpChRoot::ConvertFont(), XclImpXF::CreatePattern(), ImportExcel::DefColWidth(), XclImpXFBuffer::GetFont(), InitializeTable(), ImportExcel::Read(), ImportExcel8::Read(), XclImpHFConverter::ResetFontData(), and XclImpTbxObjListBase::SetBoxFormatting().
XclImpFormulaCompiler & XclImpRoot::GetFormulaCompiler | ( | ) | const |
Returns the formula converter.
Definition at line 128 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxFmlaComp.
Referenced by XclImpChSourceLink::ReadChSourceLink(), and XclImpControlHelper::ReadRangeList().
XclImpLinkManager & XclImpRoot::GetLinkManager | ( | ) | const |
Returns the link manager.
Definition at line 190 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxLinkMgr.
Referenced by ImportExcel8::Read(), XclImpDrawObjBase::ReadMacro8(), and XclImpPictureObj::ReadPictFmla().
XclImpNameManager & XclImpRoot::GetNameManager | ( | ) | const |
Returns the buffer that contains internal defined names.
Definition at line 185 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxNameMgr.
Referenced by ExcelToSc::Convert(), ExcelToSc8::Convert(), XclImpSupbook::GetMacroName(), ImportExcel::Read(), ImportExcel8::Read(), and XclImpWebQueryBuffer::ReadQsi().
XclImpNumFmtBuffer & XclImpRoot::GetNumFmtBuffer | ( | ) | const |
Returns the number format buffer.
Definition at line 155 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxNumFmtBfr.
Referenced by XclImpXF::ApplyPatternToAttrVector(), XclImpChSourceLink::ConvertNumFmt(), XclImpChAxis::CreateAxis(), XclImpXF::CreatePattern(), XclImpXFRangeBuffer::Finalize(), InitializeTable(), ImportExcel::Read(), ImportExcel8::Read(), and XclImpCondFormat::ReadCF().
XclImpObjectManager & XclImpRoot::GetObjectManager | ( | ) | const |
Returns the drawing object manager.
Definition at line 196 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxObjMgr.
Referenced by XclImpOptionButtonObj::DoProcessControl(), XclImpDrawObjBase::GetObjName(), XclImpPictureObj::GetObjName(), ImportExcel::PostDocLoad(), ImportExcel8::Read(), and ImportExcel8::ReadBasic().
ExcelToSc & XclImpRoot::GetOldFmlaConverter | ( | ) | const |
Returns the old formula converter.
Definition at line 133 of file xiroot.cxx.
References XclRoot::GetOldRoot(), and RootData::pFmlaConverter.
Referenced by XclImpName::ConvertTokens(), XclImpFmlaCompImpl::CreateFormula(), XclImpFmlaCompImpl::CreateRangeList(), XclImpCondFormat::ReadCF(), XclImpValidationManager::ReadDV(), XclImpPCItem::WriteToSource(), and XclImpName::XclImpName().
XclImpPageSettings & XclImpRoot::GetPageSettings | ( | ) | const |
Returns the page settings of the current sheet.
Definition at line 250 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxPageSett.
Referenced by XclImpPictureObj::DoReadObj5(), XclImpChartObj::FinalizeTabChart(), FinalizeTable(), InitializeTable(), ImportExcel::Read(), ImportExcel8::Read(), XclImpChart::ReadChartSubStream(), and ImportExcel::Wsbool().
XclImpPalette & XclImpRoot::GetPalette | ( | ) | const |
Returns the color buffer.
Definition at line 145 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxPalette.
Referenced by XclImpChAreaFormat::Convert(), XclImpChLineFormat::Convert(), XclImpDrawObjBase::ConvertFillStyle(), XclImpDrawObjBase::ConvertFrameStyle(), XclImpDrawObjBase::ConvertLineStyle(), XclImpXF::CreatePattern(), XclImpSimpleDffConverter::GetColorFromPalette(), XclImpChRoot::GetFontAutoColor(), XclImpChRoot::GetSeriesFillAutoColor(), XclImpChRoot::GetSeriesLineAutoColor(), XclImpDrawObjBase::GetSolidFillColor(), XclImpDrawObjBase::GetSolidLineColor(), InitializeTable(), XclImpDffConverter::ProcessObj(), ImportExcel::Read(), ImportExcel8::Read(), XclImpCondFormat::ReadCF(), XclImpFont::ReadCFFontBlock(), XclImpChAreaFormat::ReadChAreaFormat(), XclImpChart::ReadChartSubStream(), XclImpChLineFormat::ReadChLineFormat(), XclImpChMarkerFormat::ReadChMarkerFormat(), XclImpChTick::ReadChTick(), XclImpFont::ReadFontColor(), XclImpChText::ReadHeaderRecord(), XclImpTabViewSettings::ReadWindow2(), and XclImpChFrame::UpdateObjFrame().
XclImpPivotTableManager & XclImpRoot::GetPivotTableManager | ( | ) | const |
Returns the pivot table manager.
Definition at line 232 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxPTableMgr.
Referenced by ImportExcel8::Read(), and XclImpPivotTable::ReadSxview().
ScRangeListTabs & XclImpRoot::GetPrintAreaBuffer | ( | ) | const |
Returns the buffer that contains all print areas in the document.
Definition at line 170 of file xiroot.cxx.
References XclImpRootData::mpPrintRanges, and mrImpData.
Referenced by ImportExcel::PostDocLoad(), and XclImpName::XclImpName().
|
inline |
Definition at line 135 of file xiroot.hxx.
|
inline |
Returns this root instance - for code readability in derived classes.
Definition at line 134 of file xiroot.hxx.
Referenced by ScRangeListTabs::Append(), XclImpValidationManager::Apply(), ImportExcel::Array25(), ImportExcel::Array34(), XclImpSheetDrawing::CalcAnchorRect(), XclImpChChart::Convert(), XclImpChLabelRange::Convert(), XclImpChLabelRange::ConvertAxisPosition(), XclImpColRowSettings::ConvertHiddenFlags(), XclImpObjectManager::ConvertObjects(), XclImpFmlaCompImpl::CreateFormula(), XclImpFmlaCompImpl::CreateRangeList(), XclImpDffConverter::CreateSdrObject(), ImportExcel::DocPassword(), ImportExcel::DocProtect(), XclImpChartObj::DoCreateSdrObj(), XclImpTextObj::DoPreProcessSdrObj(), XclImpPictureObj::DoReadObj3(), XclImpPictureObj::DoReadObj4(), XclImpPictureObj::DoReadObj5(), XclImpChSourceLink::FillSourceLink(), XclImpPageSettings::Finalize(), XclImpXFRangeBuffer::Finalize(), XclImpChartObj::FinalizeTabChart(), XclImpChSourceLink::GetCellCount(), XclImpChart::GetChartDrawing(), XclImpObjectManager::GetSheetDrawing(), ImportExcel::ImportExcel(), ImportExcel8::ImportExcel8(), XclImpChRoot::InitConversion(), XclImpSupbook::LoadCachedValues(), ImportExcel::NewTable(), ImportExcel::PostDocLoad(), ImportExcel8::PostDocLoad(), ImportExcel8::Read(), XclImpChangeTrack::Read3DTabRefInfo(), XclImpCondFormat::ReadCF(), XclImpChartObj::ReadChartSubStream(), XclImpChart::ReadChChart(), XclImpCondFormatManager::ReadCondfmt(), XclImpPivotCache::ReadDconref(), XclImpFontBuffer::ReadFont(), XclImpChangeTrack::ReadFormula(), XclImpDffConverter::ReadHlinkProperty(), XclImpPageSettings::ReadImgData(), ImportExcel::ReadLabel(), XclImpDrawing::ReadObj(), XclImpDrawing::ReadObj8(), XclImpPivotCache::ReadPivotCacheStream(), XclImpXFBuffer::ReadStyle(), XclImpPivotTableManager::ReadSxidstm(), XclImpPivotTableManager::ReadSxview(), XclImpSheetDrawing::ReadTabChart(), XclImpXFBuffer::ReadXF(), ImportExcel::ReadXFIndex(), ImportExcel::Row25(), ImportExcel::Row34(), XclImpHFConverter::SetAttribs(), XclImpXFRangeBuffer::SetColumnDefXF(), ImportExcel::SheetPassword(), ImportExcel::SheetProtect(), ImportExcel::TableOp(), XclImpChart::UpdateObjFrame(), ImportExcel::WinProtection(), XclImpPCField::WriteLastOrigItemToSource(), XclImpPCField::WriteOrigItemToSource(), XclImpChangeTrack::XclImpChangeTrack(), XclImpRoot(), and XclImpSupbook::XclImpSupbook().
|
static |
Returns the Calc add-in function name for an Excel function name.
Definition at line 265 of file xiroot.cxx.
References ScGlobal::GetAddInCollection().
Referenced by XclImpExtName::XclImpExtName().
XclImpSheetProtectBuffer & XclImpRoot::GetSheetProtectBuffer | ( | ) | const |
Returns the sheet protection options of the current sheet.
Definition at line 238 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxTabProtect.
Referenced by ImportExcel8::Feat(), ImportExcel8::FeatHdr(), ImportExcel8::PostDocLoad(), ImportExcel::SheetPassword(), and ImportExcel::SheetProtect().
XclImpSst & XclImpRoot::GetSst | ( | ) | const |
Returns the shared string table.
Definition at line 139 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxSst.
Referenced by ImportExcel8::Labelsst(), and ImportExcel8::Read().
XclImpTabInfo & XclImpRoot::GetTabInfo | ( | ) | const |
Returns the buffer that contains the sheet creation order.
Definition at line 180 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxTabInfo.
Referenced by ExcScenario::Apply(), ImportExcel8::Boundsheet(), ImportExcel8::Read(), XclImpChangeTrack::Read3DTabRefInfo(), XclImpPivotCache::ReadPivotCacheStream(), and XclImpChangeTrack::ReadTabNum().
XclImpTabViewSettings & XclImpRoot::GetTabViewSettings | ( | ) | const |
Returns the view settings of the current sheet.
Definition at line 260 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxTabViewSett.
Referenced by FinalizeTable(), InitializeTable(), ImportExcel::Read(), ImportExcel8::Read(), and XclImpChart::ReadChartSubStream().
ScRangeListTabs & XclImpRoot::GetTitleAreaBuffer | ( | ) | const |
Returns the buffer that contains all print titles in the document.
Definition at line 175 of file xiroot.cxx.
References XclImpRootData::mpPrintTitles, and mrImpData.
Referenced by ImportExcel::PostDocLoad(), and XclImpName::XclImpName().
XclImpValidationManager & XclImpRoot::GetValidationManager | ( | ) | const |
Definition at line 213 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxValidMgr.
Referenced by ImportExcel8::EndSheet(), and ImportExcel8::Read().
XclImpWebQueryBuffer & XclImpRoot::GetWebQueryBuffer | ( | ) | const |
Returns the web query buffer.
Definition at line 226 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxWebQueryBfr.
Referenced by ImportExcel8::PostDocLoad(), and ImportExcel8::Read().
XclImpXFBuffer & XclImpRoot::GetXFBuffer | ( | ) | const |
Returns the cell formatting attributes buffer.
Definition at line 160 of file xiroot.cxx.
References XclImpRootData::mpXFBfr, and mrImpData.
Referenced by XclImpXF::CreatePattern(), XclImpStyle::CreateStyleSheet(), XclImpXFRangeBuffer::Finalize(), InitializeTable(), ImportExcel::Read(), ImportExcel8::Read(), ImportExcel::ReadLabel(), ImportExcel::ReadXFIndex(), XclImpStringHelper::SetToDocument(), and XclImpXFRangeBuffer::SetXF().
XclImpXFRangeBuffer & XclImpRoot::GetXFRangeBuffer | ( | ) | const |
Returns the buffer of XF index ranges for a sheet.
Definition at line 165 of file xiroot.cxx.
References mrImpData, and XclImpRootData::mxXFRangeBfr.
Referenced by ImportExcel::Cellmerging(), FinalizeTable(), ImportExcel::Formula(), InitializeTable(), ImportExcel8::Labelsst(), ImportExcel::Mulblank(), ImportExcel::Mulrk(), ImportExcel::ReadBlank(), ImportExcel::ReadBoolErr(), ImportExcel::ReadInteger(), ImportExcel::ReadLabel(), ImportExcel::ReadNumber(), ImportExcel::ReadRk(), ImportExcel::Row34(), ImportExcel::Rstring(), XclImpColRowSettings::SetDefaultXF(), and ImportExcel::Shrfmla().
|
inline |
Returns true, if the document contains a VB project.
Definition at line 207 of file xiroot.hxx.
References XclImpRootData::mbHasBasic, and mrImpData.
Referenced by ImportExcel8::PostDocLoad().
void XclImpRoot::InitializeTable | ( | SCTAB | nScTab | ) |
Is called when import filter starts importing a single sheet (all BIFF versions).
Definition at line 99 of file xiroot.cxx.
References EXC_BIFF4, XclRoot::GetBiff(), XclRoot::GetDoc(), GetFontBuffer(), GetNumFmtBuffer(), GetPageSettings(), GetPalette(), GetTabViewSettings(), GetXFBuffer(), GetXFRangeBuffer(), XclImpPageSettings::Initialize(), XclImpPalette::Initialize(), XclImpFontBuffer::Initialize(), XclImpNumFmtBuffer::Initialize(), XclImpXFBuffer::Initialize(), XclImpXFRangeBuffer::Initialize(), XclImpTabViewSettings::Initialize(), and ScDocument::SetCodeName().
Referenced by ImportExcel::NewTable().
void XclImpRoot::ReadCodeName | ( | XclImpStream & | rStrm, |
bool | bGlobals | ||
) |
Reads the CODENAME record and inserts the codename into the document.
Definition at line 273 of file xiroot.cxx.
References aName, EXC_BIFF8, XclRoot::GetBiff(), XclRoot::GetCurrScTab(), XclRoot::GetDoc(), ScExtDocOptions::GetDocSettings(), XclRoot::GetExtDocOptions(), ScExtDocSettings::maGlobCodeName, XclImpRootData::mbHasBasic, mrImpData, rStrm, ScDocument::SetCodeName(), and ScExtDocOptions::SetCodeName().
Referenced by ImportExcel8::Read(), and XclImpChart::ReadChartSubStream().
void XclImpRoot::SetCodePage | ( | sal_uInt16 | nCodePage | ) |
Sets a code page read from a CODEPAGE record for byte string import.
Definition at line 93 of file xiroot.cxx.
References XclTools::GetTextEncoding(), XclImpRootData::mbHasCodePage, mrImpData, and XclRoot::SetTextEncoding().
Referenced by ImportExcel::Codepage().
|
inline |
Called to indicate that the document contains a VB project.
Definition at line 209 of file xiroot.hxx.
References XclImpRootData::mbHasBasic, and mrImpData.
Referenced by ImportExcel8::Read().
|
private |
Definition at line 216 of file xiroot.hxx.
Referenced by GetAddressConverter(), GetCondFormatManager(), GetCurrSheetDrawing(), GetDocImport(), GetDocProtectBuffer(), GetDocViewSettings(), GetFontBuffer(), GetFormulaCompiler(), GetLinkManager(), GetNameManager(), GetNumFmtBuffer(), GetObjectManager(), GetPageSettings(), GetPalette(), GetPivotTableManager(), GetPrintAreaBuffer(), GetSheetProtectBuffer(), GetSst(), GetTabInfo(), GetTabViewSettings(), GetTitleAreaBuffer(), GetValidationManager(), GetWebQueryBuffer(), GetXFBuffer(), GetXFRangeBuffer(), HasBasic(), ReadCodeName(), SetCodePage(), SetHasBasic(), and XclImpRoot().