LibreOffice Module sc (master) 1
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
oox::xls::WorkbookHelper Class Reference

Helper class to provide access to global workbook data. More...

#include <workbookhelper.hxx>

Inheritance diagram for oox::xls::WorkbookHelper:
[legend]
Collaboration diagram for oox::xls::WorkbookHelper:
[legend]

Public Types

typedef std::pair< ScRangeData *, bool > RangeDataRet
 

Public Member Functions

 WorkbookHelper (WorkbookGlobals &rBookGlob)
 
virtual ~WorkbookHelper ()
 
 WorkbookHelper (WorkbookHelper const &)=default
 
 WorkbookHelper (WorkbookHelper &&)=default
 
WorkbookHelperoperator= (WorkbookHelper const &)=delete
 
WorkbookHelperoperator= (WorkbookHelper &&)=delete
 
::oox::core::FilterBasegetBaseFilter () const
 Returns the base filter object (base class of all filters). More...
 
SegmentProgressBargetProgressBar () const
 Returns the filter progress bar. 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 is calculated. More...
 
void setCalculatedFormulaCells ()
 Set if any formula cell is calculated. More...
 
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...
 
void finalizeWorkbookImport ()
 Final conversion after importing the workbook. More...
 
void useInternalChartDataTable (bool bInternal)
 
ScDocumentgetScDocument ()
 
const ScDocumentgetScDocument () const
 
ScDocumentImportgetDocImport ()
 
const ScDocumentImportgetDocImport () const
 
ScEditEngineDefaultergetEditEngine () const
 
const css::uno::Reference< css::sheet::XSpreadsheetDocument > & getDocument () const
 Returns a reference to the source/target spreadsheet document model. More...
 
css::uno::Reference< css::sheet::XSpreadsheet > getSheetFromDoc (sal_Int32 nSheet) const
 Returns a reference to the specified spreadsheet in the document model. More...
 
css::uno::Reference< css::sheet::XSpreadsheet > getSheetFromDoc (const OUString &rSheet) const
 Returns a reference to the specified spreadsheet in the document model. More...
 
css::uno::Reference< css::table::XCellRange > getCellRangeFromDoc (const ScRange &rRange) const
 Returns the XCellRange interface for the passed cell range address. More...
 
css::uno::Reference< css::container::XNameContainer > getCellStyleFamily () const
 Returns the cell styles container from the Calc document. More...
 
css::uno::Reference< css::style::XStyle > getStyleObject (const OUString &rStyleName, bool bPageStyle) const
 Returns the specified cell or page style from the Calc document. More...
 
RangeDataRet createNamedRangeObject (OUString &orName, sal_Int32 nIndex, sal_Int32 nNameFlags, bool bHidden) const
 Creates and returns a defined name on-the-fly in the Calc document. More...
 
RangeDataRet createLocalNamedRangeObject (OUString &orName, sal_Int32 nIndex, sal_Int32 nNameFlags, sal_Int32 nTab, bool bHidden) const
 Creates and returns a defined name on-the-fly in the sheet. More...
 
css::uno::Reference< css::sheet::XDatabaseRange > createDatabaseRangeObject (OUString &orName, const ScRange &rRangeAddr) const
 Creates and returns a database range on-the-fly in the Calc document. More...
 
css::uno::Reference< css::sheet::XDatabaseRange > createUnnamedDatabaseRangeObject (const ScRange &rRangeAddr) const
 Creates and returns an unnamed database range on-the-fly in the Calc document. More...
 
ScDBDatafindDatabaseRangeByIndex (sal_uInt16 nIndex) const
 Finds the (already existing) database range of the given formula token index. More...
 
css::uno::Reference< css::style::XStyle > createStyleObject (OUString &orStyleName, bool bPageStyle) const
 Creates and returns a com.sun.star.style.Style object for cells or pages. More...
 
FormulaBuffergetFormulaBuffer () const
 
WorkbookSettingsgetWorkbookSettings () const
 Returns the global workbook settings object. More...
 
ViewSettingsgetViewSettings () const
 Returns the workbook and sheet view settings object. More...
 
WorksheetBuffergetWorksheets () const
 Returns the worksheet buffer containing sheet names and properties. More...
 
ThemeBuffergetTheme () const
 Returns the office theme object read from the theme substorage. More...
 
StylesBuffergetStyles () const
 Returns all cell formatting objects read from the styles substream. More...
 
SharedStringsBuffergetSharedStrings () const
 Returns the shared strings read from the shared strings substream. More...
 
ExternalLinkBuffergetExternalLinks () const
 Returns the external links read from the external links substream. More...
 
DefinedNamesBuffergetDefinedNames () const
 Returns the defined names read from the workbook globals. More...
 
TableBuffergetTables () const
 Returns the tables collection (equivalent to Calc's database ranges). More...
 
ScenarioBuffergetScenarios () const
 Returns the scenarios collection. More...
 
ConnectionsBuffergetConnections () const
 Returns the collection of external data connections. More...
 
PivotCacheBuffergetPivotCaches () const
 Returns the collection of pivot caches. More...
 
PivotTableBuffergetPivotTables () const
 Returns the collection of pivot tables. More...
 
FormulaParsergetFormulaParser () const
 Returns a shared import formula parser (import filter only!). More...
 
FormulaParsercreateFormulaParser () const
 Returns an unshared import formula parser (import filter only!). More...
 
UnitConvertergetUnitConverter () const
 Returns the measurement unit converter. More...
 
AddressConvertergetAddressConverter () const
 Returns the converter for string to cell address/range conversion. More...
 
oox::drawingml::chart::ChartConvertergetChartConverter () const
 Returns the chart object converter. More...
 
PageSettingsConvertergetPageSettingsConverter () const
 Returns the page and print settings converter. More...
 
::oox::core::XmlFilterBasegetOoxFilter () const
 Returns the base OOXML/BIFF12 filter object. More...
 
bool importOoxFragment (const rtl::Reference< oox::core::FragmentHandler > &rxHandler)
 Imports a fragment using the passed fragment handler, which contains the full path to the fragment stream. More...
 
bool importOoxFragment (const rtl::Reference< oox::core::FragmentHandler > &rxHandler, oox::core::FastParser &rParser)
 
rtl_TextEncoding getTextEncoding () const
 Returns the text encoding used to import/export byte strings. More...
 

Static Public Member Functions

static WorkbookGlobalsRef constructGlobals (ExcelFilter &rFilter)
 

Private Attributes

WorkbookGlobalsmrBookGlob
 

Detailed Description

Helper class to provide access to global workbook data.

All classes derived from this helper class will have access to a singleton object of type WorkbookGlobals containing global workbook settings, buffers, converters, etc. Nearly all classes in this filter implementation are derived directly or indirectly from this class.

This class contains just a simple reference to the WorkbookGlobals object to prevent circular references, as the WorkbookGlobals object contains a lot of objects derived from this class.

Definition at line 101 of file workbookhelper.hxx.

Member Typedef Documentation

◆ RangeDataRet

Definition at line 168 of file workbookhelper.hxx.

Constructor & Destructor Documentation

◆ WorkbookHelper() [1/3]

oox::xls::WorkbookHelper::WorkbookHelper ( WorkbookGlobals rBookGlob)
inline

Definition at line 104 of file workbookhelper.hxx.

◆ ~WorkbookHelper()

oox::xls::WorkbookHelper::~WorkbookHelper ( )
virtual

Definition at line 659 of file workbookhelper.cxx.

◆ WorkbookHelper() [2/3]

oox::xls::WorkbookHelper::WorkbookHelper ( WorkbookHelper const &  )
default

◆ WorkbookHelper() [3/3]

oox::xls::WorkbookHelper::WorkbookHelper ( WorkbookHelper &&  )
default

Member Function Documentation

◆ constructGlobals()

WorkbookGlobalsRef oox::xls::WorkbookHelper::constructGlobals ( ExcelFilter rFilter)
static

Definition at line 663 of file workbookhelper.cxx.

Referenced by oox::xls::ExcelFilter::importDocument().

◆ createDatabaseRangeObject()

Reference< XDatabaseRange > oox::xls::WorkbookHelper::createDatabaseRangeObject ( OUString &  orName,
const ScRange rRangeAddr 
) const

Creates and returns a database range on-the-fly in the Calc document.

The range will not be buffered in the global table buffer.

Parameters
orName(in/out-parameter) Returns the resulting used name.

Definition at line 906 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::createDatabaseRangeObject(), and mrBookGlob.

Referenced by oox::xls::Table::finalizeImport().

◆ createFormulaParser()

FormulaParser * oox::xls::WorkbookHelper::createFormulaParser ( ) const

Returns an unshared import formula parser (import filter only!).

Definition at line 1005 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::createFormulaParser(), and mrBookGlob.

Referenced by oox::xls::SheetDataContext::SheetDataContext().

◆ createLocalNamedRangeObject()

WorkbookHelper::RangeDataRet oox::xls::WorkbookHelper::createLocalNamedRangeObject ( OUString &  orName,
sal_Int32  nIndex,
sal_Int32  nNameFlags,
sal_Int32  nTab,
bool  bHidden 
) const

Creates and returns a defined name on-the-fly in the sheet.

The name will not be buffered in the global defined names buffer.

Parameters
orName(in/out-parameter) Returns the resulting used name.

Definition at line 901 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::createLocalNamedRangeObject(), mrBookGlob, and nIndex.

Referenced by oox::xls::DefinedName::createNameObject().

◆ createNamedRangeObject()

WorkbookHelper::RangeDataRet oox::xls::WorkbookHelper::createNamedRangeObject ( OUString &  orName,
sal_Int32  nIndex,
sal_Int32  nNameFlags,
bool  bHidden 
) const

Creates and returns a defined name on-the-fly in the Calc document.

The name will not be buffered in the global defined names buffer.

Parameters
orName(in/out-parameter) Returns the resulting used name.

Definition at line 896 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::createNamedRangeObject(), mrBookGlob, and nIndex.

Referenced by oox::xls::DefinedName::createNameObject().

◆ createStyleObject()

Reference< XStyle > oox::xls::WorkbookHelper::createStyleObject ( OUString &  orStyleName,
bool  bPageStyle 
) const

Creates and returns a com.sun.star.style.Style object for cells or pages.

Definition at line 921 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::createStyleObject(), and mrBookGlob.

Referenced by oox::xls::PageSettings::finalizeImport().

◆ createUnnamedDatabaseRangeObject()

Reference< XDatabaseRange > oox::xls::WorkbookHelper::createUnnamedDatabaseRangeObject ( const ScRange rRangeAddr) const

Creates and returns an unnamed database range on-the-fly in the Calc document.

The range will not be buffered in the global table buffer.

Definition at line 911 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::createUnnamedDatabaseRangeObject(), and mrBookGlob.

Referenced by oox::xls::AutoFilterBuffer::finalizeImport().

◆ finalizeWorkbookImport()

void oox::xls::WorkbookHelper::finalizeWorkbookImport ( )

◆ findDatabaseRangeByIndex()

ScDBData * oox::xls::WorkbookHelper::findDatabaseRangeByIndex ( sal_uInt16  nIndex) const

Finds the (already existing) database range of the given formula token index.

Definition at line 916 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::findDatabaseRangeByIndex(), mrBookGlob, and nIndex.

Referenced by oox::xls::Table::applyTableColumns().

◆ getAddressConverter()

AddressConverter & oox::xls::WorkbookHelper::getAddressConverter ( ) const

Returns the converter for string to cell address/range conversion.

Definition at line 1015 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::getAddressConverter(), and mrBookGlob.

Referenced by oox::xls::SheetDataBuffer::addColXfStyleProcessRowRanges(), oox::xls::ShapeAnchor::calcAnchorRectEmu(), oox::xls::WorksheetGlobals::convertColumnFormat(), oox::xls::DefinedName::convertFormula(), oox::xls::FormulaProcessorBase::extractCellRangeList(), oox::xls::Comment::finalizeImport(), oox::xls::PivotTable::finalizeImport(), oox::xls::QueryTable::finalizeImport(), oox::xls::Scenario::finalizeImport(), oox::xls::SheetViewSettings::finalizeImport(), oox::xls::PivotCache::finalizeInternalSheetSource(), oox::xls::SheetDataBuffer::finalizeTableOperation(), oox::xls::ExternalSheetDataContext::importCell(), oox::xls::CondFormat::importCondFormatting(), oox::xls::CondFormat::importConditionalFormatting(), oox::xls::WorksheetFragment::importHyperlink(), oox::xls::WorksheetFragment::importMergeCell(), oox::xls::ViewSettings::importOleSize(), oox::xls::SheetViewSettings::importPane(), oox::xls::PivotCache::importPCRecord(), oox::xls::WorksheetSettings::importProtectedRange(), oox::xls::SheetViewSettings::importSelection(), oox::xls::SheetViewSettings::importSheetView(), oox::xls::PivotCache::prepareSourceDataSheet(), oox::xls::ExternalSheetDataContext::setCellValue(), oox::xls::WorksheetGlobals::setColumnModel(), oox::xls::ExternalName::setResultSize(), oox::xls::WorksheetGlobals::setRowModel(), and oox::xls::PivotCache::writeSourceHeaderCells().

◆ getBaseFilter()

FilterBase & oox::xls::WorkbookHelper::getBaseFilter ( ) const

Returns the base filter object (base class of all filters).

Definition at line 673 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::getBaseFilter(), and mrBookGlob.

Referenced by oox::xls::Border::convertBorderLine(), oox::xls::VmlDrawing::convertControlBackground(), oox::xls::VmlDrawing::convertControlTextColor(), oox::xls::VmlDrawing::createAndInsertClientXShape(), oox::xls::ExcelChartConverter::createDataProvider(), oox::xls::HeaderFooterParser::createField(), oox::xls::QueryTable::finalizeImport(), oox::xls::Font::finalizeImport(), oox::xls::Fill::finalizeImport(), oox::xls::SheetViewSettings::finalizeImport(), oox::xls::ViewSettings::finalizeImport(), oox::xls::WorkbookSettings::finalizeImport(), oox::xls::WorksheetSettings::finalizeImport(), oox::xls::WorkbookFragment::finalizeImport(), oox::xls::Border::finalizeImport(), finalizeWorkbookImport(), oox::xls::WorksheetGlobals::getCellRangeList(), oox::xls::ColorPalette::getColor(), oox::xls::WorksheetGlobals::getHyperlinkUrl(), oox::xls::ExtCfDataBarRule::importAxisColor(), oox::xls::ColorScaleRule::importColor(), oox::xls::DataBarRule::importColor(), oox::xls::WorksheetFragment::importEmbeddedOleData(), oox::xls::ExtCfDataBarRule::importNegativeFillColor(), oox::xls::PageSettings::importPictureData(), oox::xls::ExtCfDataBarRule::importPositiveFillColor(), oox::xls::AddressConverter::initializeMaxPos(), oox::xls::FormulaParserImpl::resolveOleTarget(), oox::xls::ExternalLink::setExternalTargetUrl(), and oox::xls::UnitConverter::UnitConverter().

◆ getCellRangeFromDoc()

Reference< XCellRange > oox::xls::WorkbookHelper::getCellRangeFromDoc ( const ScRange rRange) const

Returns the XCellRange interface for the passed cell range address.

Definition at line 872 of file workbookhelper.cxx.

References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), Exception, getSheetFromDoc(), ScAddress::Row(), and ScAddress::Tab().

Referenced by oox::xls::PivotTable::finalizeImport(), and oox::xls::ViewSettings::finalizeImport().

◆ getCellStyleFamily()

Reference< XNameContainer > oox::xls::WorkbookHelper::getCellStyleFamily ( ) const

Returns the cell styles container from the Calc document.

Definition at line 886 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::getStyleFamily(), and mrBookGlob.

Referenced by oox::xls::CellStyleBuffer::finalizeImport().

◆ getChartConverter()

oox::drawingml::chart::ChartConverter * oox::xls::WorkbookHelper::getChartConverter ( ) const

Returns the chart object converter.

Definition at line 1020 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::getChartConverter(), and mrBookGlob.

Referenced by oox::xls::ExcelFilter::getChartConverter().

◆ getConnections()

ConnectionsBuffer & oox::xls::WorkbookHelper::getConnections ( ) const

◆ getCurrentSheetIndex()

sal_Int16 oox::xls::WorkbookHelper::getCurrentSheetIndex ( ) const

Returns the index of the current Calc sheet, if filter currently processes a sheet.

Definition at line 683 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::getCurrentSheetIndex(), and mrBookGlob.

Referenced by oox::xls::ExcelChartConverter::createDataSequence(), and oox::xls::WorksheetGlobals::finalizeValidationRanges().

◆ getDefinedNames()

DefinedNamesBuffer & oox::xls::WorkbookHelper::getDefinedNames ( ) const

◆ getDocImport() [1/2]

ScDocumentImport & oox::xls::WorkbookHelper::getDocImport ( )

◆ getDocImport() [2/2]

const ScDocumentImport & oox::xls::WorkbookHelper::getDocImport ( ) const

Definition at line 829 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::getDocImport(), and mrBookGlob.

◆ getDocument()

const Reference< XSpreadsheetDocument > & oox::xls::WorkbookHelper::getDocument ( ) const

◆ getEditEngine()

ScEditEngineDefaulter & oox::xls::WorkbookHelper::getEditEngine ( ) const

◆ getExternalLinks()

ExternalLinkBuffer & oox::xls::WorkbookHelper::getExternalLinks ( ) const

◆ getFormulaBuffer()

FormulaBuffer & oox::xls::WorkbookHelper::getFormulaBuffer ( ) const

◆ getFormulaParser()

FormulaParser & oox::xls::WorkbookHelper::getFormulaParser ( ) const

◆ getOoxFilter()

XmlFilterBase & oox::xls::WorkbookHelper::getOoxFilter ( ) const

Returns the base OOXML/BIFF12 filter object.

Must not be called, if current filter is not the OOXML/BIFF12 filter.

Definition at line 1037 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::getOoxFilter(), and mrBookGlob.

Referenced by oox::xls::WorkbookSettings::getNullDate(), and oox::xls::DrawingFragment::onEndElement().

◆ getPageSettingsConverter()

PageSettingsConverter & oox::xls::WorkbookHelper::getPageSettingsConverter ( ) const

Returns the page and print settings converter.

Definition at line 1030 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::getPageSettingsConverter(), and mrBookGlob.

Referenced by oox::xls::PageSettings::finalizeImport().

◆ getPivotCaches()

PivotCacheBuffer & oox::xls::WorkbookHelper::getPivotCaches ( ) const

◆ getPivotTables()

PivotTableBuffer & oox::xls::WorkbookHelper::getPivotTables ( ) const

Returns the collection of pivot tables.

Definition at line 993 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::getPivotTables(), and mrBookGlob.

Referenced by finalizeWorkbookImport().

◆ getProgressBar()

SegmentProgressBar & oox::xls::WorkbookHelper::getProgressBar ( ) const

◆ getScDocument() [1/2]

ScDocument & oox::xls::WorkbookHelper::getScDocument ( )

◆ getScDocument() [2/2]

const ScDocument & oox::xls::WorkbookHelper::getScDocument ( ) const

Definition at line 819 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::getScDocument(), and mrBookGlob.

◆ getScenarios()

ScenarioBuffer & oox::xls::WorkbookHelper::getScenarios ( ) const

Returns the scenarios collection.

Definition at line 978 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::getScenarios(), and mrBookGlob.

◆ getSharedStrings()

SharedStringsBuffer & oox::xls::WorkbookHelper::getSharedStrings ( ) const

◆ getSheetFromDoc() [1/2]

Reference< XSpreadsheet > oox::xls::WorkbookHelper::getSheetFromDoc ( const OUString &  rSheet) const

Returns a reference to the specified spreadsheet in the document model.

Definition at line 858 of file workbookhelper.cxx.

References Exception, and getDocument().

◆ getSheetFromDoc() [2/2]

Reference< XSpreadsheet > oox::xls::WorkbookHelper::getSheetFromDoc ( sal_Int32  nSheet) const

◆ getStyleObject()

Reference< XStyle > oox::xls::WorkbookHelper::getStyleObject ( const OUString &  rStyleName,
bool  bPageStyle 
) const

Returns the specified cell or page style from the Calc document.

Definition at line 891 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::getStyleObject(), and mrBookGlob.

Referenced by finalizeWorkbookImport().

◆ getStyles()

StylesBuffer & oox::xls::WorkbookHelper::getStyles ( ) const

◆ getTables()

TableBuffer & oox::xls::WorkbookHelper::getTables ( ) const

Returns the tables collection (equivalent to Calc's database ranges).

Definition at line 973 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::getTables(), and mrBookGlob.

Referenced by oox::xls::WorkbookFragment::finalizeImport(), and oox::xls::PivotCache::finalizeInternalSheetSource().

◆ getTextEncoding()

rtl_TextEncoding oox::xls::WorkbookHelper::getTextEncoding ( ) const

Returns the text encoding used to import/export byte strings.

Definition at line 1054 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::getTextEncoding(), and mrBookGlob.

Referenced by oox::xls::Font::fillToItemSet().

◆ getTheme()

ThemeBuffer & oox::xls::WorkbookHelper::getTheme ( ) const

◆ getUnitConverter()

UnitConverter & oox::xls::WorkbookHelper::getUnitConverter ( ) const

◆ getViewSettings()

ViewSettings & oox::xls::WorkbookHelper::getViewSettings ( ) const

◆ getWorkbookSettings()

WorkbookSettings & oox::xls::WorkbookHelper::getWorkbookSettings ( ) const

◆ getWorksheets()

WorksheetBuffer & oox::xls::WorkbookHelper::getWorksheets ( ) const

◆ hasCalculatedFormulaCells()

bool oox::xls::WorkbookHelper::hasCalculatedFormulaCells ( ) const

Returns true if any formula cell is calculated.

Definition at line 693 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::hasCalculatedFormulaCells(), and mrBookGlob.

Referenced by oox::xls::WorkbookFragment::recalcFormulaCells().

◆ importOoxFragment() [1/2]

bool oox::xls::WorkbookHelper::importOoxFragment ( const rtl::Reference< oox::core::FragmentHandler > &  rxHandler)

◆ importOoxFragment() [2/2]

bool oox::xls::WorkbookHelper::importOoxFragment ( const rtl::Reference< oox::core::FragmentHandler > &  rxHandler,
oox::core::FastParser rParser 
)

◆ isGeneratorKnownGood()

bool oox::xls::WorkbookHelper::isGeneratorKnownGood ( ) const

Returns true when reading a file generated by a known good generator.

Definition at line 688 of file workbookhelper.cxx.

References oox::xls::WorkbookGlobals::isGeneratorKnownGood(), and mrBookGlob.

◆ operator=() [1/2]

WorkbookHelper & oox::xls::WorkbookHelper::operator= ( WorkbookHelper &&  )
delete

◆ operator=() [2/2]

WorkbookHelper & oox::xls::WorkbookHelper::operator= ( WorkbookHelper const &  )
delete

◆ setCalculatedFormulaCells()

void oox::xls::WorkbookHelper::setCalculatedFormulaCells ( )

Set if any formula cell is calculated.

Definition at line 698 of file workbookhelper.cxx.

References mrBookGlob, and oox::xls::WorkbookGlobals::setCalculatedFormulaCells().

◆ setCurrentSheetIndex()

void oox::xls::WorkbookHelper::setCurrentSheetIndex ( SCTAB  nSheet)

Sets the index of the current Calc sheet, if filter currently processes a sheet.

Definition at line 708 of file workbookhelper.cxx.

References mrBookGlob, and oox::xls::WorkbookGlobals::setCurrentSheetIndex().

Referenced by oox::xls::WorksheetGlobals::finalizeDrawingImport(), and oox::xls::WorksheetGlobals::initializeWorksheetImport().

◆ setVbaProjectStorage()

void oox::xls::WorkbookHelper::setVbaProjectStorage ( const StorageRef rxVbaPrjStrg)

Sets the VBA project storage used to import VBA source code and forms.

Definition at line 703 of file workbookhelper.cxx.

References mrBookGlob, and oox::xls::WorkbookGlobals::setVbaProjectStorage().

Referenced by oox::xls::WorkbookFragment::finalizeImport().

◆ useInternalChartDataTable()

void oox::xls::WorkbookHelper::useInternalChartDataTable ( bool  bInternal)

Member Data Documentation

◆ mrBookGlob

WorkbookGlobals& oox::xls::WorkbookHelper::mrBookGlob
private

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