LibreOffice Module sc (master) 1
|
Public Member Functions | |
WorkbookGlobals (const WorkbookGlobals &)=delete | |
const WorkbookGlobals & | operator= (const WorkbookGlobals &)=delete |
WorkbookGlobals (ExcelFilter &rFilter) | |
~WorkbookGlobals () | |
bool | isValid () const |
Returns true, if this helper refers to a valid document. More... | |
FilterBase & | getBaseFilter () const |
Returns the base filter object (base class of all filters). More... | |
SegmentProgressBar & | getProgressBar () const |
Returns the filter progress bar. More... | |
const StorageRef & | getVbaProjectStorage () const |
Returns the VBA project storage. More... | |
sal_Int16 | getCurrentSheetIndex () const |
Returns the index of the current Calc sheet, if filter currently processes a sheet. More... | |
bool | isGeneratorKnownGood () const |
Returns true when reading a file generated by a known good generator. More... | |
bool | hasCalculatedFormulaCells () const |
Returns true if any formula cell appears to have a calculated value not 0.0 nor "", or when reading a known good generator's file. More... | |
void | setCalculatedFormulaCells () |
void | setVbaProjectStorage (const StorageRef &rxVbaPrjStrg) |
Sets the VBA project storage used to import VBA source code and forms. More... | |
void | setCurrentSheetIndex (SCTAB nSheet) |
Sets the index of the current Calc sheet, if filter currently processes a sheet. More... | |
ScEditEngineDefaulter & | getEditEngine () const |
ScDocument & | getScDocument () |
ScDocumentImport & | getDocImport () |
const Reference< XSpreadsheetDocument > & | getDocument () const |
Returns a reference to the source/target spreadsheet document model. More... | |
Reference< XNameContainer > | getStyleFamily (bool bPageStyles) const |
Returns the cell or page styles container from the Calc document. More... | |
Reference< XStyle > | getStyleObject (const OUString &rStyleName, bool bPageStyle) const |
Returns the specified cell or page style from the Calc document. More... | |
WorkbookHelper::RangeDataRet | createNamedRangeObject (OUString &orName, sal_Int32 nIndex, sal_Int32 nNameFlags, bool bHidden) |
Creates and returns a defined name on-the-fly in the Calc document. More... | |
WorkbookHelper::RangeDataRet | createLocalNamedRangeObject (OUString &orName, sal_Int32 nIndex, sal_Int32 nNameFlags, sal_Int32 nTab, bool bHidden) |
Creates and returns a defined name on the-fly in the correct Calc sheet. More... | |
Reference< XDatabaseRange > | createDatabaseRangeObject (OUString &orName, const ScRange &rRangeAddr) |
Creates and returns a database range on-the-fly in the Calc document. More... | |
Reference< XDatabaseRange > | createUnnamedDatabaseRangeObject (const ScRange &rRangeAddr) |
Creates and returns an unnamed database range on-the-fly in the Calc document. More... | |
ScDBData * | findDatabaseRangeByIndex (sal_uInt16 nIndex) |
Finds the (already existing) database range of the given formula token index. More... | |
Reference< XStyle > | createStyleObject (OUString &orStyleName, bool bPageStyle) |
Creates and returns a com.sun.star.style.Style object for cells or pages. More... | |
void | useInternalChartDataTable (bool bInternal) |
Helper to switch chart data table - specifically for xlsx imports. More... | |
FormulaBuffer & | getFormulaBuffer () const |
WorkbookSettings & | getWorkbookSettings () const |
Returns the global workbook settings object. More... | |
ViewSettings & | getViewSettings () const |
Returns the workbook and sheet view settings object. More... | |
WorksheetBuffer & | getWorksheets () const |
Returns the worksheet buffer containing sheet names and properties. More... | |
ThemeBuffer & | getTheme () const |
Returns the office theme object read from the theme substorage. More... | |
StylesBuffer & | getStyles () const |
Returns all cell formatting objects read from the styles substream. More... | |
SharedStringsBuffer & | getSharedStrings () const |
Returns the shared strings read from the shared strings substream. More... | |
ExternalLinkBuffer & | getExternalLinks () const |
Returns the external links read from the external links substream. More... | |
DefinedNamesBuffer & | getDefinedNames () const |
Returns the defined names read from the workbook globals. More... | |
TableBuffer & | getTables () const |
Returns the tables collection (equivalent to Calc's database ranges). More... | |
ScenarioBuffer & | getScenarios () const |
Returns the scenarios collection. More... | |
ConnectionsBuffer & | getConnections () const |
Returns the collection of external data connections. More... | |
PivotCacheBuffer & | getPivotCaches () const |
Returns the collection of pivot caches. More... | |
PivotTableBuffer & | getPivotTables () |
Returns the collection of pivot tables. More... | |
FormulaParser & | getFormulaParser () const |
Returns a shared import formula parser. More... | |
FormulaParser * | createFormulaParser () |
Returns an unshared import formula parser. More... | |
UnitConverter & | getUnitConverter () const |
Returns the measurement unit converter. More... | |
AddressConverter & | getAddressConverter () const |
Returns the converter for string to cell address/range conversion. More... | |
oox::drawingml::chart::ChartConverter * | getChartConverter () const |
Returns the chart object converter. More... | |
PageSettingsConverter & | getPageSettingsConverter () const |
Returns the page/print settings converter. More... | |
XmlFilterBase & | getOoxFilter () const |
Returns the base OOXML/BIFF12 filter object. More... | |
rtl_TextEncoding | getTextEncoding () const |
Returns the text encoding used to import/export byte strings. More... | |
Private Types | |
typedef ::std::unique_ptr< ScEditEngineDefaulter > | EditEngineDefaulterPtr |
typedef ::std::unique_ptr< FormulaBuffer > | FormulaBufferPtr |
typedef ::std::unique_ptr< SegmentProgressBar > | ProgressBarPtr |
typedef ::std::unique_ptr< WorkbookSettings > | WorkbookSettPtr |
typedef ::std::unique_ptr< ViewSettings > | ViewSettingsPtr |
typedef ::std::unique_ptr< WorksheetBuffer > | WorksheetBfrPtr |
typedef ::std::shared_ptr< ThemeBuffer > | ThemeBfrRef |
typedef ::std::unique_ptr< StylesBuffer > | StylesBfrPtr |
typedef ::std::unique_ptr< SharedStringsBuffer > | SharedStrBfrPtr |
typedef ::std::unique_ptr< ExternalLinkBuffer > | ExtLinkBfrPtr |
typedef ::std::unique_ptr< DefinedNamesBuffer > | DefNamesBfrPtr |
typedef ::std::unique_ptr< TableBuffer > | TableBfrPtr |
typedef ::std::unique_ptr< ScenarioBuffer > | ScenarioBfrPtr |
typedef ::std::unique_ptr< ConnectionsBuffer > | ConnectionsBfrPtr |
typedef ::std::unique_ptr< PivotCacheBuffer > | PivotCacheBfrPtr |
typedef ::std::unique_ptr< PivotTableBuffer > | PivotTableBfrPtr |
typedef ::std::unique_ptr< FormulaParser > | FormulaParserPtr |
typedef ::std::unique_ptr< UnitConverter > | UnitConvPtr |
typedef ::std::unique_ptr< AddressConverter > | AddressConvPtr |
typedef ::std::unique_ptr< oox::drawingml::chart::ChartConverter > | ExcelChartConvPtr |
typedef ::std::unique_ptr< PageSettingsConverter > | PageSettConvPtr |
Private Member Functions | |
void | initialize () |
Initializes some basic members and sets needed document properties. More... | |
void | finalize () |
Finalizes the filter process (sets some needed document properties). More... | |
void | ImplDestroy () |
Private Attributes | |
OUString | maCellStyles |
OUString | maPageStyles |
Style family name for cell styles. More... | |
OUString | maCellStyleServ |
Style family name for page styles. More... | |
OUString | maPageStyleServ |
Service name for a cell style. More... | |
Reference< XSpreadsheetDocument > | mxDoc |
Service name for a page style. More... | |
FilterBase & | mrBaseFilter |
Document model. More... | |
ExcelFilter & | mrExcelFilter |
Base filter object. More... | |
ProgressBarPtr | mxProgressBar |
Base object for registration of this structure. More... | |
StorageRef | mxVbaPrjStrg |
The progress bar. More... | |
sal_Int16 | mnCurrSheet |
Storage containing the VBA project. More... | |
bool | mbGeneratorKnownGood |
Current sheet index in Calc document. More... | |
bool | mbHasCalculatedFormulaCells |
Whether reading a file generated by Excel or Calc. More... | |
FormulaBufferPtr | mxFormulaBuffer |
Assumed to have calculated formula cells. More... | |
WorkbookSettPtr | mxWorkbookSettings |
ViewSettingsPtr | mxViewSettings |
Global workbook settings. More... | |
WorksheetBfrPtr | mxWorksheets |
Workbook and sheet view settings. More... | |
ThemeBfrRef | mxTheme |
Sheet info buffer. More... | |
StylesBfrPtr | mxStyles |
Formatting theme from theme substream. More... | |
SharedStrBfrPtr | mxSharedStrings |
All cell style objects from styles substream. More... | |
ExtLinkBfrPtr | mxExtLinks |
All strings from shared strings substream. More... | |
DefNamesBfrPtr | mxDefNames |
All external links. More... | |
TableBfrPtr | mxTables |
All defined names. More... | |
ScenarioBfrPtr | mxScenarios |
All tables (database ranges). More... | |
ConnectionsBfrPtr | mxConnections |
All scenarios. More... | |
PivotCacheBfrPtr | mxPivotCaches |
All external data connections. More... | |
PivotTableBfrPtr | mxPivotTables |
All pivot caches in the document. More... | |
FormulaParserPtr | mxFmlaParser |
All pivot tables in the document. More... | |
UnitConvPtr | mxUnitConverter |
Import formula parser. More... | |
AddressConvPtr | mxAddrConverter |
General unit converter. More... | |
ExcelChartConvPtr | mxChartConverter |
Cell address and cell range address converter. More... | |
PageSettConvPtr | mxPageSettConverter |
Chart object converter. More... | |
EditEngineDefaulterPtr | mxEditEngine |
Page/print settings converter. More... | |
XmlFilterBase * | mpOoxFilter |
rtl_TextEncoding | meTextEnc |
Base OOXML/BIFF12 filter object. More... | |
ScDocument * | mpDoc |
BIFF byte string text encoding. More... | |
ScDocShell * | mpDocShell |
std::unique_ptr< ScDocumentImport > | mxDocImport |
Definition at line 104 of file workbookhelper.cxx.
|
private |
Definition at line 254 of file workbookhelper.cxx.
|
private |
Definition at line 249 of file workbookhelper.cxx.
|
private |
Definition at line 246 of file workbookhelper.cxx.
|
private |
Definition at line 236 of file workbookhelper.cxx.
|
private |
Definition at line 255 of file workbookhelper.cxx.
|
private |
Definition at line 245 of file workbookhelper.cxx.
|
private |
Definition at line 237 of file workbookhelper.cxx.
|
private |
Definition at line 252 of file workbookhelper.cxx.
|
private |
Definition at line 256 of file workbookhelper.cxx.
|
private |
Definition at line 250 of file workbookhelper.cxx.
|
private |
Definition at line 251 of file workbookhelper.cxx.
|
private |
Definition at line 238 of file workbookhelper.cxx.
|
private |
Definition at line 248 of file workbookhelper.cxx.
|
private |
Definition at line 244 of file workbookhelper.cxx.
|
private |
Definition at line 243 of file workbookhelper.cxx.
|
private |
Definition at line 247 of file workbookhelper.cxx.
|
private |
Definition at line 242 of file workbookhelper.cxx.
|
private |
Definition at line 253 of file workbookhelper.cxx.
|
private |
Definition at line 240 of file workbookhelper.cxx.
|
private |
Definition at line 239 of file workbookhelper.cxx.
|
private |
Definition at line 241 of file workbookhelper.cxx.
|
delete |
|
explicit |
Definition at line 306 of file workbookhelper.cxx.
References initialize(), mrExcelFilter, and oox::xls::ExcelFilter::registerWorkbookGlobals().
oox::xls::WorkbookGlobals::~WorkbookGlobals | ( | ) |
Definition at line 324 of file workbookhelper.cxx.
References ImplDestroy(), and suppress_fun_call_w_exception.
Reference< XDatabaseRange > oox::xls::WorkbookGlobals::createDatabaseRangeObject | ( | OUString & | orName, |
const ScRange & | rRangeAddr | ||
) |
Creates and returns a database range on-the-fly in the Calc document.
Definition at line 443 of file workbookhelper.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), Exception, getAddressConverter(), oox::PropertySet::getAnyProperty(), oox::ContainerHelper::getUnusedName(), mxDoc, ScAddress::Row(), ScAddress::Tab(), and oox::xls::AddressConverter::validateCellRange().
Referenced by oox::xls::WorkbookHelper::createDatabaseRangeObject().
|
inline |
Returns an unshared import formula parser.
Definition at line 207 of file workbookhelper.cxx.
Referenced by oox::xls::WorkbookHelper::createFormulaParser(), and initialize().
WorkbookHelper::RangeDataRet oox::xls::WorkbookGlobals::createLocalNamedRangeObject | ( | OUString & | orName, |
sal_Int32 | nIndex, | ||
sal_Int32 | nNameFlags, | ||
sal_Int32 | nTab, | ||
bool | bHidden | ||
) |
Creates and returns a defined name on the-fly in the correct Calc sheet.
Definition at line 424 of file workbookhelper.cxx.
References ScDocument::GetRangeName(), getScDocument(), and nIndex.
Referenced by oox::xls::WorkbookHelper::createLocalNamedRangeObject().
WorkbookHelper::RangeDataRet oox::xls::WorkbookGlobals::createNamedRangeObject | ( | OUString & | orName, |
sal_Int32 | nIndex, | ||
sal_Int32 | nNameFlags, | ||
bool | bHidden | ||
) |
Creates and returns a defined name on-the-fly in the Calc document.
Definition at line 407 of file workbookhelper.cxx.
References ScDocument::GetRangeName(), getScDocument(), and nIndex.
Referenced by oox::xls::WorkbookHelper::createNamedRangeObject().
Reference< XStyle > oox::xls::WorkbookGlobals::createStyleObject | ( | OUString & | orStyleName, |
bool | bPageStyle | ||
) |
Creates and returns a com.sun.star.style.Style object for cells or pages.
Definition at line 505 of file workbookhelper.cxx.
References Any, Exception, getStyleFamily(), oox::ContainerHelper::insertByUnusedName(), maCellStyleServ, maPageStyleServ, and mrBaseFilter.
Referenced by oox::xls::WorkbookHelper::createStyleObject().
Reference< XDatabaseRange > oox::xls::WorkbookGlobals::createUnnamedDatabaseRangeObject | ( | const ScRange & | rRangeAddr | ) |
Creates and returns an unnamed database range on-the-fly in the Calc document.
Definition at line 470 of file workbookhelper.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), Exception, getAddressConverter(), ScDocument::GetDocumentShell(), getScDocument(), ScDocument::GetTableCount(), ScAddress::Row(), ScDocument::SetAnonymousDBData(), STR_DB_LOCAL_NONAME, ScAddress::Tab(), and oox::xls::AddressConverter::validateCellRange().
Referenced by oox::xls::WorkbookHelper::createUnnamedDatabaseRangeObject().
|
private |
Finalizes the filter process (sets some needed document properties).
Definition at line 633 of file workbookhelper.cxx.
References ScDocument::EnableChangeReadOnly(), ScDocument::EnableExecuteLink(), ScDocument::EnableUndo(), ScDocument::GetDrawLayer(), mpDoc, mpDocShell, mrBaseFilter, ScDocShell::SetEmpty(), FmFormModel::SetOpenInDesignMode(), ScDocument::UnlockAdjustHeight(), and ScDocShell::UpdateAllRowHeights().
Referenced by ImplDestroy().
ScDBData * oox::xls::WorkbookGlobals::findDatabaseRangeByIndex | ( | sal_uInt16 | nIndex | ) |
Finds the (already existing) database range of the given formula token index.
Definition at line 497 of file workbookhelper.cxx.
References ScDBCollection::NamedDBs::findByIndex(), ScDocument::GetDBCollection(), ScDBCollection::getNamedDBs(), getScDocument(), and nIndex.
Referenced by oox::xls::WorkbookHelper::findDatabaseRangeByIndex().
|
inline |
Returns the converter for string to cell address/range conversion.
Definition at line 211 of file workbookhelper.cxx.
References mxAddrConverter.
Referenced by createDatabaseRangeObject(), createUnnamedDatabaseRangeObject(), and oox::xls::WorkbookHelper::getAddressConverter().
|
inline |
Returns the base filter object (base class of all filters).
Definition at line 121 of file workbookhelper.cxx.
References mrBaseFilter.
Referenced by oox::xls::WorkbookHelper::getBaseFilter().
|
inline |
Returns the chart object converter.
Definition at line 213 of file workbookhelper.cxx.
References mxChartConverter.
Referenced by oox::xls::WorkbookHelper::getChartConverter().
|
inline |
Returns the collection of external data connections.
Definition at line 196 of file workbookhelper.cxx.
References mxConnections.
Referenced by oox::xls::WorkbookHelper::getConnections().
|
inline |
Returns the index of the current Calc sheet, if filter currently processes a sheet.
Definition at line 127 of file workbookhelper.cxx.
References mnCurrSheet.
Referenced by oox::xls::WorkbookHelper::getCurrentSheetIndex().
|
inline |
Returns the defined names read from the workbook globals.
Definition at line 190 of file workbookhelper.cxx.
References mxDefNames.
Referenced by oox::xls::WorkbookHelper::getDefinedNames().
ScDocumentImport & oox::xls::WorkbookGlobals::getDocImport | ( | ) |
Definition at line 329 of file workbookhelper.cxx.
References mxDocImport.
Referenced by oox::xls::WorkbookHelper::getDocImport().
|
inline |
Returns a reference to the source/target spreadsheet document model.
Definition at line 152 of file workbookhelper.cxx.
References mxDoc.
Referenced by oox::xls::WorkbookHelper::getDocument().
|
inline |
Definition at line 142 of file workbookhelper.cxx.
References mxEditEngine.
Referenced by oox::xls::WorkbookHelper::getEditEngine().
|
inline |
Returns the external links read from the external links substream.
Definition at line 188 of file workbookhelper.cxx.
References mxExtLinks.
Referenced by oox::xls::WorkbookHelper::getExternalLinks().
|
inline |
Definition at line 174 of file workbookhelper.cxx.
References mxFormulaBuffer.
Referenced by oox::xls::WorkbookHelper::finalizeWorkbookImport(), and oox::xls::WorkbookHelper::getFormulaBuffer().
|
inline |
Returns a shared import formula parser.
Definition at line 205 of file workbookhelper.cxx.
References mxFmlaParser.
Referenced by oox::xls::WorkbookHelper::getFormulaParser().
|
inline |
Returns the base OOXML/BIFF12 filter object.
Definition at line 220 of file workbookhelper.cxx.
References mpOoxFilter.
Referenced by oox::xls::WorkbookHelper::getOoxFilter().
|
inline |
Returns the page/print settings converter.
Definition at line 215 of file workbookhelper.cxx.
References mxPageSettConverter.
Referenced by oox::xls::WorkbookHelper::getPageSettingsConverter().
|
inline |
Returns the collection of pivot caches.
Definition at line 198 of file workbookhelper.cxx.
References mxPivotCaches.
Referenced by oox::xls::WorkbookHelper::getPivotCaches().
|
inline |
Returns the collection of pivot tables.
Definition at line 200 of file workbookhelper.cxx.
References mxPivotTables.
Referenced by oox::xls::WorkbookHelper::getPivotTables().
|
inline |
Returns the filter progress bar.
Definition at line 123 of file workbookhelper.cxx.
References mxProgressBar.
Referenced by oox::xls::WorkbookHelper::getProgressBar().
|
inline |
Definition at line 147 of file workbookhelper.cxx.
References mpDoc.
Referenced by createLocalNamedRangeObject(), createNamedRangeObject(), createUnnamedDatabaseRangeObject(), findDatabaseRangeByIndex(), oox::xls::WorkbookHelper::getScDocument(), and initialize().
|
inline |
Returns the scenarios collection.
Definition at line 194 of file workbookhelper.cxx.
References mxScenarios.
Referenced by oox::xls::WorkbookHelper::finalizeWorkbookImport(), and oox::xls::WorkbookHelper::getScenarios().
|
inline |
Returns the shared strings read from the shared strings substream.
Definition at line 186 of file workbookhelper.cxx.
References mxSharedStrings.
Referenced by oox::xls::WorkbookHelper::getSharedStrings().
Reference< XNameContainer > oox::xls::WorkbookGlobals::getStyleFamily | ( | bool | bPageStyles | ) | const |
Returns the cell or page styles container from the Calc document.
Definition at line 334 of file workbookhelper.cxx.
References Exception, maCellStyles, maPageStyles, and mxDoc.
Referenced by createStyleObject(), oox::xls::WorkbookHelper::getCellStyleFamily(), and getStyleObject().
Reference< XStyle > oox::xls::WorkbookGlobals::getStyleObject | ( | const OUString & | rStyleName, |
bool | bPageStyle | ||
) | const |
Returns the specified cell or page style from the Calc document.
Definition at line 350 of file workbookhelper.cxx.
References Exception, and getStyleFamily().
Referenced by oox::xls::WorkbookHelper::getStyleObject().
|
inline |
Returns all cell formatting objects read from the styles substream.
Definition at line 184 of file workbookhelper.cxx.
References mxStyles.
Referenced by oox::xls::WorkbookHelper::getStyles().
|
inline |
Returns the tables collection (equivalent to Calc's database ranges).
Definition at line 192 of file workbookhelper.cxx.
References mxTables.
Referenced by oox::xls::WorkbookHelper::getTables().
|
inline |
Returns the text encoding used to import/export byte strings.
Definition at line 225 of file workbookhelper.cxx.
References meTextEnc.
Referenced by oox::xls::WorkbookHelper::getTextEncoding().
|
inline |
Returns the office theme object read from the theme substorage.
Definition at line 182 of file workbookhelper.cxx.
References mxTheme.
Referenced by oox::xls::WorkbookHelper::getTheme().
|
inline |
Returns the measurement unit converter.
Definition at line 209 of file workbookhelper.cxx.
References mxUnitConverter.
Referenced by oox::xls::WorkbookHelper::getUnitConverter().
|
inline |
Returns the VBA project storage.
Definition at line 125 of file workbookhelper.cxx.
References mxVbaPrjStrg.
Referenced by oox::xls::WorkbookHelper::finalizeWorkbookImport().
|
inline |
Returns the workbook and sheet view settings object.
Definition at line 178 of file workbookhelper.cxx.
References mxViewSettings.
Referenced by oox::xls::WorkbookHelper::finalizeWorkbookImport(), and oox::xls::WorkbookHelper::getViewSettings().
|
inline |
Returns the global workbook settings object.
Definition at line 176 of file workbookhelper.cxx.
References mxWorkbookSettings.
Referenced by oox::xls::WorkbookHelper::finalizeWorkbookImport(), and oox::xls::WorkbookHelper::getWorkbookSettings().
|
inline |
Returns the worksheet buffer containing sheet names and properties.
Definition at line 180 of file workbookhelper.cxx.
References mxWorksheets.
Referenced by oox::xls::WorkbookHelper::getWorksheets().
|
inline |
Returns true if any formula cell appears to have a calculated value not 0.0 nor "", or when reading a known good generator's file.
Definition at line 132 of file workbookhelper.cxx.
References mbHasCalculatedFormulaCells.
Referenced by oox::xls::WorkbookHelper::hasCalculatedFormulaCells().
|
private |
Definition at line 318 of file workbookhelper.cxx.
References finalize(), mrExcelFilter, and oox::xls::ExcelFilter::unregisterWorkbookGlobals().
Referenced by ~WorkbookGlobals().
|
private |
Initializes some basic members and sets needed document properties.
Definition at line 533 of file workbookhelper.cxx.
References formula::FormulaGrammar::CONV_XL_A1, createFormulaParser(), ScDocument::EnableChangeReadOnly(), ScDocument::EnableExecuteLink(), ScDocument::EnableUndo(), ScDocument::GetCalcConfig(), ScDocShell::GetDocument(), ScDocument::GetEditPool(), ScModelObj::GetEmbeddedObject(), ScDocument::GetEnginePool(), getScDocument(), ScDocument::LockAdjustHeight(), maCellStyles, maCellStyleServ, maPageStyles, maPageStyleServ, mbGeneratorKnownGood, mbHasCalculatedFormulaCells, meTextEnc, mnCurrSheet, mpDoc, mpDocShell, mrBaseFilter, mxAddrConverter, mxChartConverter, mxConnections, mxDefNames, mxDoc, mxDocImport, mxEditEngine, mxExtLinks, mxFmlaParser, mxFormulaBuffer, mxPageSettConverter, mxPivotCaches, mxPivotTables, mxProgressBar, mxScenarios, mxSharedStrings, mxStyles, mxTables, mxTheme, mxUnitConverter, mxViewSettings, mxWorkbookSettings, mxWorksheets, ScResId(), ScDocument::SetCalcConfig(), ScDocument::SetInsertingFromOtherDoc(), and ScCalcConfig::SetStringRefSyntax().
Referenced by WorkbookGlobals().
|
inline |
Returns true when reading a file generated by a known good generator.
Definition at line 129 of file workbookhelper.cxx.
References mbGeneratorKnownGood.
Referenced by oox::xls::WorkbookHelper::isGeneratorKnownGood().
|
inline |
Returns true, if this helper refers to a valid document.
Definition at line 116 of file workbookhelper.cxx.
References mxDoc.
|
delete |
|
inline |
Definition at line 133 of file workbookhelper.cxx.
References mbHasCalculatedFormulaCells.
Referenced by oox::xls::WorkbookHelper::setCalculatedFormulaCells().
|
inline |
Sets the index of the current Calc sheet, if filter currently processes a sheet.
Definition at line 138 of file workbookhelper.cxx.
References mnCurrSheet.
Referenced by oox::xls::WorkbookHelper::setCurrentSheetIndex().
|
inline |
Sets the VBA project storage used to import VBA source code and forms.
Definition at line 136 of file workbookhelper.cxx.
References mxVbaPrjStrg.
Referenced by oox::xls::WorkbookHelper::setVbaProjectStorage().
void oox::xls::WorkbookGlobals::useInternalChartDataTable | ( | bool | bInternal | ) |
Helper to switch chart data table - specifically for xlsx imports.
Definition at line 521 of file workbookhelper.cxx.
References mxChartConverter.
Referenced by oox::xls::WorkbookHelper::useInternalChartDataTable().
|
private |
Definition at line 258 of file workbookhelper.cxx.
Referenced by getStyleFamily(), and initialize().
|
private |
Style family name for page styles.
Definition at line 260 of file workbookhelper.cxx.
Referenced by createStyleObject(), and initialize().
|
private |
Style family name for cell styles.
Definition at line 259 of file workbookhelper.cxx.
Referenced by getStyleFamily(), and initialize().
|
private |
Service name for a cell style.
Definition at line 261 of file workbookhelper.cxx.
Referenced by createStyleObject(), and initialize().
|
private |
Current sheet index in Calc document.
Definition at line 268 of file workbookhelper.cxx.
Referenced by initialize(), and isGeneratorKnownGood().
|
private |
Whether reading a file generated by Excel or Calc.
Definition at line 269 of file workbookhelper.cxx.
Referenced by hasCalculatedFormulaCells(), initialize(), and setCalculatedFormulaCells().
|
private |
Base OOXML/BIFF12 filter object.
Definition at line 300 of file workbookhelper.cxx.
Referenced by getTextEncoding(), and initialize().
|
private |
Storage containing the VBA project.
Definition at line 267 of file workbookhelper.cxx.
Referenced by getCurrentSheetIndex(), initialize(), and setCurrentSheetIndex().
|
private |
BIFF byte string text encoding.
Definition at line 301 of file workbookhelper.cxx.
Referenced by finalize(), getScDocument(), and initialize().
|
private |
Definition at line 302 of file workbookhelper.cxx.
Referenced by finalize(), and initialize().
|
private |
Definition at line 297 of file workbookhelper.cxx.
Referenced by getOoxFilter().
|
private |
Document model.
Definition at line 263 of file workbookhelper.cxx.
Referenced by createStyleObject(), finalize(), getBaseFilter(), and initialize().
|
private |
Base filter object.
Definition at line 264 of file workbookhelper.cxx.
Referenced by ImplDestroy(), and WorkbookGlobals().
|
private |
General unit converter.
Definition at line 290 of file workbookhelper.cxx.
Referenced by getAddressConverter(), and initialize().
|
private |
Cell address and cell range address converter.
Definition at line 291 of file workbookhelper.cxx.
Referenced by getChartConverter(), initialize(), and useInternalChartDataTable().
|
private |
All scenarios.
Definition at line 283 of file workbookhelper.cxx.
Referenced by getConnections(), and initialize().
|
private |
All external links.
Definition at line 280 of file workbookhelper.cxx.
Referenced by getDefinedNames(), and initialize().
|
private |
Service name for a page style.
Definition at line 262 of file workbookhelper.cxx.
Referenced by createDatabaseRangeObject(), getDocument(), getStyleFamily(), initialize(), and isValid().
|
private |
Definition at line 303 of file workbookhelper.cxx.
Referenced by getDocImport(), and initialize().
|
private |
Page/print settings converter.
Definition at line 294 of file workbookhelper.cxx.
Referenced by getEditEngine(), and initialize().
|
private |
All strings from shared strings substream.
Definition at line 279 of file workbookhelper.cxx.
Referenced by getExternalLinks(), and initialize().
|
private |
All pivot tables in the document.
Definition at line 288 of file workbookhelper.cxx.
Referenced by getFormulaParser(), and initialize().
|
private |
Assumed to have calculated formula cells.
Definition at line 272 of file workbookhelper.cxx.
Referenced by getFormulaBuffer(), and initialize().
|
private |
Chart object converter.
Definition at line 292 of file workbookhelper.cxx.
Referenced by getPageSettingsConverter(), and initialize().
|
private |
All external data connections.
Definition at line 284 of file workbookhelper.cxx.
Referenced by getPivotCaches(), and initialize().
|
private |
All pivot caches in the document.
Definition at line 285 of file workbookhelper.cxx.
Referenced by getPivotTables(), and initialize().
|
private |
Base object for registration of this structure.
Definition at line 265 of file workbookhelper.cxx.
Referenced by getProgressBar(), and initialize().
|
private |
All tables (database ranges).
Definition at line 282 of file workbookhelper.cxx.
Referenced by getScenarios(), and initialize().
|
private |
All cell style objects from styles substream.
Definition at line 278 of file workbookhelper.cxx.
Referenced by getSharedStrings(), and initialize().
|
private |
Formatting theme from theme substream.
Definition at line 277 of file workbookhelper.cxx.
Referenced by getStyles(), and initialize().
|
private |
All defined names.
Definition at line 281 of file workbookhelper.cxx.
Referenced by getTables(), and initialize().
|
private |
Sheet info buffer.
Definition at line 276 of file workbookhelper.cxx.
Referenced by getTheme(), and initialize().
|
private |
Import formula parser.
Definition at line 289 of file workbookhelper.cxx.
Referenced by getUnitConverter(), and initialize().
|
private |
The progress bar.
Definition at line 266 of file workbookhelper.cxx.
Referenced by getVbaProjectStorage(), and setVbaProjectStorage().
|
private |
Global workbook settings.
Definition at line 274 of file workbookhelper.cxx.
Referenced by getViewSettings(), and initialize().
|
private |
Definition at line 273 of file workbookhelper.cxx.
Referenced by getWorkbookSettings(), and initialize().
|
private |
Workbook and sheet view settings.
Definition at line 275 of file workbookhelper.cxx.
Referenced by getWorksheets(), and initialize().