LibreOffice Module sc (master) 1
|
#include <pivottablebuffer.hxx>
Public Member Functions | |
PivotTable (const WorkbookHelper &rHelper) | |
void | importPivotTableDefinition (const AttributeList &rAttribs) |
Reads global pivot table settings from the pivotTableDefinition element. More... | |
void | importLocation (const AttributeList &rAttribs, sal_Int16 nSheet) |
Reads the location of the pivot table from the location element. More... | |
void | importRowField (const AttributeList &rAttribs) |
Reads the index of a field located in the row dimension. More... | |
void | importColField (const AttributeList &rAttribs) |
Reads the index of a field located in the column dimension. More... | |
void | importPageField (const AttributeList &rAttribs) |
Reads the settings of a field located in the page dimension from the pageField element. More... | |
void | importDataField (const AttributeList &rAttribs) |
Reads the settings of a field located in the data dimension from the dataField element. More... | |
void | putToInteropGrabBag (const OUString &sName, const AttributeList &rAttribs) |
Puts the attributes to the named grab bag value. More... | |
void | importPTDefinition (SequenceInputStream &rStrm) |
Reads global pivot table settings from the PTDEFINITION record. More... | |
void | importPTLocation (SequenceInputStream &rStrm, sal_Int16 nSheet) |
Reads the location of the pivot table from the PTLOCATION record. More... | |
void | importPTRowFields (SequenceInputStream &rStrm) |
Reads the indexes of all fields located in the row dimension from a PTROWFIELDS record. More... | |
void | importPTColFields (SequenceInputStream &rStrm) |
Reads the indexes of all fields located in the column dimension from a PTCOLFIELDS record. More... | |
void | importPTPageField (SequenceInputStream &rStrm) |
Reads the settings of a field located in the page dimension from the PTPAGEFIELD record. More... | |
void | importPTDataField (SequenceInputStream &rStrm) |
Reads the settings of a field located in the data dimension from the PTDATAFIELD record. More... | |
PivotTableField & | createTableField () |
Creates and returns a new pivot table field. More... | |
PivotTableFilter & | createTableFilter () |
Creates and returns a new pivot table filter. More... | |
void | finalizeImport () |
Inserts the pivot table into the sheet. More... | |
void | finalizeFieldsImport () |
Finalizes all fields, finds field names and creates grouping fields. More... | |
void | finalizeDateGroupingImport (const css::uno::Reference< css::sheet::XDataPilotField > &rxBaseDPField, sal_Int32 nBaseFieldIdx) |
Creates all date group fields for the specified cache field after import. More... | |
void | finalizeParentGroupingImport (const css::uno::Reference< css::sheet::XDataPilotField > &rxBaseDPField, const PivotCacheField &rBaseCacheField, PivotCacheGroupItemVector &orItemNames) |
Creates all grouped fields for the specified cache field after import. More... | |
css::uno::Reference< css::sheet::XDataPilotField > | getDataPilotField (const OUString &rFieldName) const |
Returns the associated data pilot field for the specified pivot table field. More... | |
css::uno::Reference< css::sheet::XDataPilotField > | getDataPilotField (sal_Int32 nFieldIdx) const |
Returns the associated data pilot field for the specified pivot table field. More... | |
css::uno::Reference< css::sheet::XDataPilotField > | getDataLayoutField () const |
Returns the data layout field used to store all data fields in row/col dimension. More... | |
PivotCacheField * | getCacheField (sal_Int32 nFieldIdx) |
Returns the cache field with the specified index. More... | |
const PivotCacheField * | getCacheField (sal_Int32 nFieldIdx) const |
const PivotCacheField * | getCacheFieldOfDataField (sal_Int32 nDataItemIdx) const |
Returns the base cache field of the data field item with the specified index. More... | |
sal_Int32 | getCacheDatabaseIndex (sal_Int32 nFieldIdx) const |
Returns the source column index of the pivot field with the passed index, or -1. More... | |
ScDPObject * | getDPObject () |
Public Member Functions inherited from oox::xls::WorkbookHelper | |
WorkbookHelper (WorkbookGlobals &rBookGlob) | |
virtual | ~WorkbookHelper () |
WorkbookHelper (WorkbookHelper const &)=default | |
WorkbookHelper (WorkbookHelper &&)=default | |
WorkbookHelper & | operator= (WorkbookHelper const &)=delete |
WorkbookHelper & | operator= (WorkbookHelper &&)=delete |
::oox::core::FilterBase & | getBaseFilter () const |
Returns the base filter object (base class of all filters). More... | |
SegmentProgressBar & | getProgressBar () 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) |
ScDocument & | getScDocument () |
const ScDocument & | getScDocument () const |
ScDocumentImport & | getDocImport () |
const ScDocumentImport & | getDocImport () const |
ScEditEngineDefaulter & | getEditEngine () 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... | |
ScDBData * | findDatabaseRangeByIndex (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... | |
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 () const |
Returns the collection of pivot tables. More... | |
FormulaParser & | getFormulaParser () const |
Returns a shared import formula parser (import filter only!). More... | |
FormulaParser * | createFormulaParser () const |
Returns an unshared import formula parser (import filter only!). 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 and print settings converter. More... | |
::oox::core::XmlFilterBase & | getOoxFilter () 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... | |
Private Types | |
typedef RefVector< PivotTableField > | PivotTableFieldVector |
typedef RefVector< PivotTableFilter > | PivotTableFilterVector |
typedef ::std::vector< sal_Int32 > | IndexVector |
typedef ::std::vector< PTPageFieldModel > | PageFieldVector |
typedef ::std::vector< PTDataFieldModel > | DataFieldVector |
Private Member Functions | |
PivotTableField * | getTableField (sal_Int32 nFieldIdx) |
Returns a pivot table field by its index. More... | |
Static Private Member Functions | |
static void | importField (IndexVector &orFields, const AttributeList &rAttribs) |
Reads a field index for the row or column dimension. More... | |
static void | importFields (IndexVector &orFields, SequenceInputStream &rStrm) |
Reads an array of field indexes for the row or column dimension. More... | |
Private Attributes | |
ScDPObject * | mpDPObject |
PivotTableFieldVector | maFields |
PivotTableField | maDataField |
All pivot table fields. More... | |
IndexVector | maRowFields |
Data layout field. More... | |
IndexVector | maColFields |
Indexes to fields in row dimension. More... | |
PageFieldVector | maPageFields |
Indexes to fields in column dimension. More... | |
DataFieldVector | maDataFields |
Settings for all fields in page dimension. More... | |
PivotTableFilterVector | maFilters |
Settings for all fields in data area. More... | |
PTDefinitionModel | maDefModel |
All field filters. More... | |
PTLocationModel | maLocationModel |
Global pivot table settings. More... | |
PivotCache * | mpPivotCache |
Location settings of the pivot table. More... | |
css::uno::Reference< css::sheet::XDataPilotDescriptor > | mxDPDescriptor |
The pivot cache this table is based on. More... | |
std::map< OUString, css::uno::Any > | maInteropGrabBag |
Descriptor of the DataPilot object. More... | |
Additional Inherited Members | |
Public Types inherited from oox::xls::WorkbookHelper | |
typedef std::pair< ScRangeData *, bool > | RangeDataRet |
Static Public Member Functions inherited from oox::xls::WorkbookHelper | |
static WorkbookGlobalsRef | constructGlobals (ExcelFilter &rFilter) |
Definition at line 282 of file pivottablebuffer.hxx.
|
private |
Definition at line 358 of file pivottablebuffer.hxx.
|
private |
Definition at line 356 of file pivottablebuffer.hxx.
|
private |
Definition at line 357 of file pivottablebuffer.hxx.
|
private |
Definition at line 354 of file pivottablebuffer.hxx.
|
private |
Definition at line 355 of file pivottablebuffer.hxx.
|
explicit |
Definition at line 966 of file pivottablebuffer.cxx.
PivotTableField & oox::xls::PivotTable::createTableField | ( | ) |
Creates and returns a new pivot table field.
Definition at line 1210 of file pivottablebuffer.cxx.
References maFields.
Referenced by oox::xls::PivotTableFragment::onCreateContext(), and oox::xls::PivotTableFragment::onCreateRecordContext().
PivotTableFilter & oox::xls::PivotTable::createTableFilter | ( | ) |
Creates and returns a new pivot table filter.
Definition at line 1218 of file pivottablebuffer.cxx.
References maFilters.
Referenced by oox::xls::PivotTableFragment::onCreateContext(), and oox::xls::PivotTableFragment::onCreateRecordContext().
void oox::xls::PivotTable::finalizeDateGroupingImport | ( | const css::uno::Reference< css::sheet::XDataPilotField > & | rxBaseDPField, |
sal_Int32 | nBaseFieldIdx | ||
) |
Creates all date group fields for the specified cache field after import.
Definition at line 1373 of file pivottablebuffer.cxx.
References oox::xls::PivotTableField::finalizeDateGroupingImport(), oox::RefVector< typename ObjType >::forEachMem(), and maFields.
Referenced by oox::xls::PivotTableField::finalizeImport().
void oox::xls::PivotTable::finalizeFieldsImport | ( | ) |
Finalizes all fields, finds field names and creates grouping fields.
Definition at line 1343 of file pivottablebuffer.cxx.
References oox::xls::PivotTableField::finalizeImport(), oox::xls::PivotTableField::finalizeImportBasedOnCache(), oox::RefVector< typename ObjType >::forEachMem(), ScDocumentImport::getDoc(), oox::xls::WorkbookHelper::getDocImport(), ScDocument::GetDPCollection(), getDPObject(), ScDPCollection::GetReferenceGroups(), ScDPObject::GetSaveData(), ScDPDimensionSaveData::HasGroupDimensions(), ScDocument::HasPivotTable(), maFields, mxDPDescriptor, ScDPObject::ReloadGroupTableData(), and ScDPSaveData::SetDimensionData().
Referenced by finalizeImport().
void oox::xls::PivotTable::finalizeImport | ( | ) |
Inserts the pivot table into the sheet.
Definition at line 1225 of file pivottablebuffer.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), DATETIME, EDITATTR, Exception, finalizeFieldsImport(), oox::xls::PivotTableFilter::finalizeImport(), oox::RefVector< typename ObjType >::forEachMem(), oox::xls::WorkbookHelper::getAddressConverter(), getCacheField(), oox::xls::WorkbookHelper::getCellRangeFromDoc(), oox::xls::WorkbookHelper::getPivotCaches(), ScDPObject::GetSaveData(), oox::xls::WorkbookHelper::getSheetFromDoc(), oox::xls::PivotCache::getSourceRange(), getTableField(), HARDATTR, oox::xls::PivotCacheBuffer::importPivotCacheFragment(), oox::xls::PivotCache::isValidDataSource(), maColFields, maDataFields, maDefModel, maFields, maFilters, maInteropGrabBag, maLocationModel, oox::xls::PTDefinitionModel::maName, maPageFields, oox::xls::PTLocationModel::maRange, maRowFields, oox::xls::PTDefinitionModel::maTag, oox::xls::PTDefinitionModel::mbColGrandTotals, oox::xls::PTDefinitionModel::mbEnableDrill, oox::xls::PTDefinitionModel::mbRowGrandTotals, oox::xls::PTDefinitionModel::mbShowDrill, oox::xls::PTDefinitionModel::mnCacheId, mpDPObject, mpPivotCache, mxDPDescriptor, nIndex, ScDPObject::PutInteropGrabBag(), ScAddress::Row(), oox::PropertySet::setProperty(), STRING, STYLES, ScAddress::Tab(), TOOLS_WARN_EXCEPTION, and VALUE.
Referenced by oox::xls::PivotTableBuffer::finalizeImport().
void oox::xls::PivotTable::finalizeParentGroupingImport | ( | const css::uno::Reference< css::sheet::XDataPilotField > & | rxBaseDPField, |
const PivotCacheField & | rBaseCacheField, | ||
PivotCacheGroupItemVector & | orItemNames | ||
) |
Creates all grouped fields for the specified cache field after import.
Definition at line 1379 of file pivottablebuffer.cxx.
References oox::RefVector< typename ObjType >::get(), oox::xls::PivotCacheField::getParentGroupField(), and maFields.
Referenced by oox::xls::PivotTableField::finalizeImport(), and oox::xls::PivotTableField::finalizeParentGroupingImport().
sal_Int32 oox::xls::PivotTable::getCacheDatabaseIndex | ( | sal_Int32 | nFieldIdx | ) | const |
Returns the source column index of the pivot field with the passed index, or -1.
Definition at line 1439 of file pivottablebuffer.cxx.
References oox::xls::PivotCache::getCacheDatabaseIndex(), and mpPivotCache.
Referenced by oox::xls::PivotTableField::finalizeImport(), and oox::xls::PivotTableField::finalizeImportBasedOnCache().
PivotCacheField * oox::xls::PivotTable::getCacheField | ( | sal_Int32 | nFieldIdx | ) |
Returns the cache field with the specified index.
Definition at line 1423 of file pivottablebuffer.cxx.
References oox::xls::PivotCache::getCacheField(), and mpPivotCache.
Referenced by oox::xls::PivotTableField::convertDataField(), oox::xls::PivotTableField::convertPageField(), oox::xls::PivotTableField::convertRowColPageField(), oox::xls::PivotTableField::finalizeDateGroupingImport(), finalizeImport(), oox::xls::PivotTableField::finalizeImport(), oox::xls::PivotTableField::finalizeImportBasedOnCache(), oox::xls::PivotTableField::finalizeParentGroupingImport(), and getCacheFieldOfDataField().
const PivotCacheField * oox::xls::PivotTable::getCacheField | ( | sal_Int32 | nFieldIdx | ) | const |
Definition at line 1428 of file pivottablebuffer.cxx.
References oox::xls::PivotCache::getCacheField(), and mpPivotCache.
const PivotCacheField * oox::xls::PivotTable::getCacheFieldOfDataField | ( | sal_Int32 | nDataItemIdx | ) | const |
Returns the base cache field of the data field item with the specified index.
Definition at line 1433 of file pivottablebuffer.cxx.
References getCacheField(), oox::ContainerHelper::getVectorElement(), maDataFields, and oox::xls::PTDataFieldModel::mnField.
Referenced by oox::xls::PivotTableField::convertRowColPageField(), and oox::xls::PivotTableFilter::finalizeImport().
Reference< XDataPilotField > oox::xls::PivotTable::getDataLayoutField | ( | ) | const |
Returns the data layout field used to store all data fields in row/col dimension.
Definition at line 1409 of file pivottablebuffer.cxx.
References Exception, and mxDPDescriptor.
Referenced by oox::xls::PivotTableField::convertRowColPageField().
Reference< XDataPilotField > oox::xls::PivotTable::getDataPilotField | ( | const OUString & | rFieldName | ) | const |
Returns the associated data pilot field for the specified pivot table field.
Definition at line 1387 of file pivottablebuffer.cxx.
References Exception, and mxDPDescriptor.
Referenced by oox::xls::PivotTableField::convertDataField(), oox::xls::PivotTableField::convertRowColPageField(), oox::xls::PivotTableFilter::finalizeImport(), oox::xls::PivotTableField::finalizeParentGroupingImport(), and getDataPilotField().
Reference< XDataPilotField > oox::xls::PivotTable::getDataPilotField | ( | sal_Int32 | nFieldIdx | ) | const |
Returns the associated data pilot field for the specified pivot table field.
Definition at line 1401 of file pivottablebuffer.cxx.
References oox::RefVector< typename ObjType >::get(), getDataPilotField(), and maFields.
|
inline |
Definition at line 351 of file pivottablebuffer.hxx.
References mpDPObject.
Referenced by oox::xls::PivotTableField::convertPageField(), oox::xls::PivotTableField::convertRowColPageField(), and finalizeFieldsImport().
|
private |
Returns a pivot table field by its index.
Definition at line 1446 of file pivottablebuffer.cxx.
References oox::RefVector< typename ObjType >::get(), maDataField, and maFields.
Referenced by finalizeImport().
void oox::xls::PivotTable::importColField | ( | const AttributeList & | rAttribs | ) |
Reads the index of a field located in the column dimension.
Definition at line 1041 of file pivottablebuffer.cxx.
References importField(), and maColFields.
Referenced by oox::xls::PivotTableFragment::onCreateContext().
void oox::xls::PivotTable::importDataField | ( | const AttributeList & | rAttribs | ) |
Reads the settings of a field located in the data dimension from the dataField element.
Definition at line 1056 of file pivottablebuffer.cxx.
References oox::AttributeList::getInteger(), oox::AttributeList::getToken(), oox::AttributeList::getXString(), maDataFields, oox::xls::PTDataFieldModel::maName, oox::xls::PTDataFieldModel::mnBaseField, oox::xls::PTDataFieldModel::mnBaseItem, oox::xls::PTDataFieldModel::mnField, oox::xls::PTDataFieldModel::mnNumFmtId, oox::xls::PTDataFieldModel::mnShowDataAs, and oox::xls::PTDataFieldModel::mnSubtotal.
Referenced by oox::xls::PivotTableFragment::onCreateContext().
|
staticprivate |
Reads a field index for the row or column dimension.
Definition at line 1451 of file pivottablebuffer.cxx.
References oox::AttributeList::getInteger().
Referenced by importColField(), and importRowField().
|
staticprivate |
Reads an array of field indexes for the row or column dimension.
Definition at line 1456 of file pivottablebuffer.cxx.
Referenced by importPTColFields(), and importPTRowFields().
void oox::xls::PivotTable::importLocation | ( | const AttributeList & | rAttribs, |
sal_Int16 | nSheet | ||
) |
Reads the location of the pivot table from the location element.
Definition at line 1026 of file pivottablebuffer.cxx.
References oox::xls::AddressConverter::convertToCellRangeUnchecked(), oox::AttributeList::getInteger(), oox::AttributeList::getString(), maLocationModel, oox::xls::PTLocationModel::maRange, oox::xls::PTLocationModel::mnColPageCount, oox::xls::PTLocationModel::mnFirstDataCol, oox::xls::PTLocationModel::mnFirstDataRow, oox::xls::PTLocationModel::mnFirstHeaderRow, and oox::xls::PTLocationModel::mnRowPageCount.
Referenced by oox::xls::PivotTableFragment::onCreateContext().
void oox::xls::PivotTable::importPageField | ( | const AttributeList & | rAttribs | ) |
Reads the settings of a field located in the page dimension from the pageField element.
Definition at line 1046 of file pivottablebuffer.cxx.
References oox::AttributeList::getInteger(), oox::AttributeList::getXString(), oox::xls::PTPageFieldModel::maName, maPageFields, oox::xls::PTPageFieldModel::mnField, and oox::xls::PTPageFieldModel::mnItem.
Referenced by oox::xls::PivotTableFragment::onCreateContext().
void oox::xls::PivotTable::importPivotTableDefinition | ( | const AttributeList & | rAttribs | ) |
Reads global pivot table settings from the pivotTableDefinition element.
Definition at line 974 of file pivottablebuffer.cxx.
References oox::AttributeList::getBool(), oox::AttributeList::getInteger(), oox::AttributeList::getXString(), oox::xls::PTDefinitionModel::maColHeaderCaption, oox::xls::PTDefinitionModel::maDataCaption, maDefModel, oox::xls::PTDefinitionModel::maErrorCaption, oox::xls::PTDefinitionModel::maGrandTotalCaption, oox::xls::PTDefinitionModel::maMissingCaption, oox::xls::PTDefinitionModel::maName, oox::xls::PTDefinitionModel::maPageStyle, oox::xls::PTDefinitionModel::maPivotTableStyle, oox::xls::PTDefinitionModel::maRowHeaderCaption, oox::xls::PTDefinitionModel::maTag, oox::xls::PTDefinitionModel::maVacatedStyle, oox::xls::AutoFormatModel::mbApplyAlignment, oox::xls::AutoFormatModel::mbApplyBorder, oox::xls::AutoFormatModel::mbApplyFill, oox::xls::AutoFormatModel::mbApplyFont, oox::xls::AutoFormatModel::mbApplyNumFmt, oox::xls::AutoFormatModel::mbApplyProtection, oox::xls::PTDefinitionModel::mbColGrandTotals, oox::xls::PTDefinitionModel::mbCustomListSort, oox::xls::PTDefinitionModel::mbDataOnRows, oox::xls::PTDefinitionModel::mbDisableFieldList, oox::xls::PTDefinitionModel::mbEnableDrill, oox::xls::PTDefinitionModel::mbFieldListSortAsc, oox::xls::PTDefinitionModel::mbFieldPrintTitles, oox::xls::PTDefinitionModel::mbItemPrintTitles, oox::xls::PTDefinitionModel::mbMergeItem, oox::xls::PTDefinitionModel::mbPageOverThenDown, oox::xls::PTDefinitionModel::mbPreserveFormatting, oox::xls::PTDefinitionModel::mbPrintDrill, oox::xls::PTDefinitionModel::mbRowGrandTotals, oox::xls::PTDefinitionModel::mbShowCalcMembers, oox::xls::PTDefinitionModel::mbShowDrill, oox::xls::PTDefinitionModel::mbShowEmptyCol, oox::xls::PTDefinitionModel::mbShowEmptyRow, oox::xls::PTDefinitionModel::mbShowError, oox::xls::PTDefinitionModel::mbShowHeaders, oox::xls::PTDefinitionModel::mbShowItems, oox::xls::PTDefinitionModel::mbShowMissing, oox::xls::PTDefinitionModel::mbSubtotalHiddenItems, oox::xls::PTDefinitionModel::mbUseAutoFormat, oox::xls::PTDefinitionModel::mbVisualTotals, oox::xls::AutoFormatModel::mnAutoFormatId, oox::xls::PTDefinitionModel::mnCacheId, oox::xls::PTDefinitionModel::mnChartFormat, oox::xls::PTDefinitionModel::mnDataPosition, oox::xls::PTDefinitionModel::mnIndent, and oox::xls::PTDefinitionModel::mnPageWrap.
Referenced by oox::xls::PivotTableFragment::onCreateContext().
void oox::xls::PivotTable::importPTColFields | ( | SequenceInputStream & | rStrm | ) |
Reads the indexes of all fields located in the column dimension from a PTCOLFIELDS record.
Definition at line 1173 of file pivottablebuffer.cxx.
References importFields(), maColFields, and rStrm.
Referenced by oox::xls::PivotTableFragment::onCreateRecordContext().
void oox::xls::PivotTable::importPTDataField | ( | SequenceInputStream & | rStrm | ) |
Reads the settings of a field located in the data dimension from the PTDATAFIELD record.
Definition at line 1191 of file pivottablebuffer.cxx.
References maDataFields, oox::xls::PTDataFieldModel::maName, oox::xls::PTDataFieldModel::mnBaseField, oox::xls::PTDataFieldModel::mnBaseItem, oox::xls::PTDataFieldModel::mnField, oox::xls::PTDataFieldModel::mnNumFmtId, rStrm, oox::xls::PTDataFieldModel::setBiffShowDataAs(), and oox::xls::PTDataFieldModel::setBiffSubtotal().
Referenced by oox::xls::PivotTableFragment::onCreateRecordContext().
void oox::xls::PivotTable::importPTDefinition | ( | SequenceInputStream & | rStrm | ) |
Reads global pivot table settings from the PTDEFINITION record.
Definition at line 1081 of file pivottablebuffer.cxx.
References oox::getFlag(), oox::xls::PTDefinitionModel::maColHeaderCaption, oox::xls::PTDefinitionModel::maDataCaption, maDefModel, oox::xls::PTDefinitionModel::maErrorCaption, oox::xls::PTDefinitionModel::maGrandTotalCaption, oox::xls::PTDefinitionModel::maMissingCaption, oox::xls::PTDefinitionModel::maName, oox::xls::PTDefinitionModel::maPageStyle, oox::xls::PTDefinitionModel::maPivotTableStyle, oox::xls::PTDefinitionModel::maRowHeaderCaption, oox::xls::PTDefinitionModel::maTag, oox::xls::PTDefinitionModel::maVacatedStyle, oox::xls::AutoFormatModel::mbApplyAlignment, oox::xls::AutoFormatModel::mbApplyBorder, oox::xls::AutoFormatModel::mbApplyFill, oox::xls::AutoFormatModel::mbApplyFont, oox::xls::AutoFormatModel::mbApplyNumFmt, oox::xls::AutoFormatModel::mbApplyProtection, oox::xls::PTDefinitionModel::mbColGrandTotals, oox::xls::PTDefinitionModel::mbCustomListSort, oox::xls::PTDefinitionModel::mbDataOnRows, oox::xls::PTDefinitionModel::mbDisableFieldList, oox::xls::PTDefinitionModel::mbEnableDrill, oox::xls::PTDefinitionModel::mbFieldListSortAsc, oox::xls::PTDefinitionModel::mbFieldPrintTitles, oox::xls::PTDefinitionModel::mbItemPrintTitles, oox::xls::PTDefinitionModel::mbMergeItem, oox::xls::PTDefinitionModel::mbPageOverThenDown, oox::xls::PTDefinitionModel::mbPreserveFormatting, oox::xls::PTDefinitionModel::mbPrintDrill, oox::xls::PTDefinitionModel::mbRowGrandTotals, oox::xls::PTDefinitionModel::mbShowCalcMembers, oox::xls::PTDefinitionModel::mbShowDrill, oox::xls::PTDefinitionModel::mbShowEmptyCol, oox::xls::PTDefinitionModel::mbShowEmptyRow, oox::xls::PTDefinitionModel::mbShowError, oox::xls::PTDefinitionModel::mbShowHeaders, oox::xls::PTDefinitionModel::mbShowItems, oox::xls::PTDefinitionModel::mbShowMissing, oox::xls::PTDefinitionModel::mbSubtotalHiddenItems, oox::xls::PTDefinitionModel::mbUseAutoFormat, oox::xls::PTDefinitionModel::mbVisualTotals, oox::xls::AutoFormatModel::mnAutoFormatId, oox::xls::PTDefinitionModel::mnCacheId, oox::xls::PTDefinitionModel::mnChartFormat, oox::xls::PTDefinitionModel::mnDataPosition, oox::xls::PTDefinitionModel::mnIndent, oox::xls::PTDefinitionModel::mnPageWrap, rStrm, and SAL_WARN_IF.
Referenced by oox::xls::PivotTableFragment::onCreateRecordContext().
void oox::xls::PivotTable::importPTLocation | ( | SequenceInputStream & | rStrm, |
sal_Int16 | nSheet | ||
) |
Reads the location of the pivot table from the PTLOCATION record.
Definition at line 1156 of file pivottablebuffer.cxx.
References oox::xls::AddressConverter::convertToCellRangeUnchecked(), maLocationModel, oox::xls::PTLocationModel::maRange, oox::xls::PTLocationModel::mnColPageCount, oox::xls::PTLocationModel::mnFirstDataCol, oox::xls::PTLocationModel::mnFirstDataRow, oox::xls::PTLocationModel::mnFirstHeaderRow, oox::xls::PTLocationModel::mnRowPageCount, and rStrm.
Referenced by oox::xls::PivotTableFragment::onCreateRecordContext().
void oox::xls::PivotTable::importPTPageField | ( | SequenceInputStream & | rStrm | ) |
Reads the settings of a field located in the page dimension from the PTPAGEFIELD record.
Definition at line 1178 of file pivottablebuffer.cxx.
References oox::getFlag(), oox::xls::PTPageFieldModel::maName, maPageFields, oox::xls::PTPageFieldModel::mnField, oox::xls::PTPageFieldModel::mnItem, and rStrm.
Referenced by oox::xls::PivotTableFragment::onCreateRecordContext().
void oox::xls::PivotTable::importPTRowFields | ( | SequenceInputStream & | rStrm | ) |
Reads the indexes of all fields located in the row dimension from a PTROWFIELDS record.
Definition at line 1168 of file pivottablebuffer.cxx.
References importFields(), maRowFields, and rStrm.
Referenced by oox::xls::PivotTableFragment::onCreateRecordContext().
void oox::xls::PivotTable::importRowField | ( | const AttributeList & | rAttribs | ) |
Reads the index of a field located in the row dimension.
Definition at line 1036 of file pivottablebuffer.cxx.
References importField(), and maRowFields.
Referenced by oox::xls::PivotTableFragment::onCreateContext().
void oox::xls::PivotTable::putToInteropGrabBag | ( | const OUString & | sName, |
const AttributeList & | rAttribs | ||
) |
Puts the attributes to the named grab bag value.
Definition at line 1069 of file pivottablebuffer.cxx.
References oox::AttributeList::getFastAttributeList(), maInteropGrabBag, and sName.
Referenced by oox::xls::PivotTableFragment::onCreateContext().
|
private |
Indexes to fields in row dimension.
Definition at line 374 of file pivottablebuffer.hxx.
Referenced by finalizeImport(), importColField(), and importPTColFields().
|
private |
All pivot table fields.
Definition at line 372 of file pivottablebuffer.hxx.
Referenced by getTableField().
|
private |
Settings for all fields in page dimension.
Definition at line 376 of file pivottablebuffer.hxx.
Referenced by finalizeImport(), getCacheFieldOfDataField(), importDataField(), and importPTDataField().
|
private |
All field filters.
Definition at line 378 of file pivottablebuffer.hxx.
Referenced by finalizeImport(), importPivotTableDefinition(), and importPTDefinition().
|
private |
Definition at line 371 of file pivottablebuffer.hxx.
Referenced by createTableField(), finalizeDateGroupingImport(), finalizeFieldsImport(), finalizeImport(), finalizeParentGroupingImport(), getDataPilotField(), and getTableField().
|
private |
Settings for all fields in data area.
Definition at line 377 of file pivottablebuffer.hxx.
Referenced by createTableFilter(), and finalizeImport().
|
private |
Descriptor of the DataPilot object.
Definition at line 383 of file pivottablebuffer.hxx.
Referenced by finalizeImport(), and putToInteropGrabBag().
|
private |
Global pivot table settings.
Definition at line 379 of file pivottablebuffer.hxx.
Referenced by finalizeImport(), importLocation(), and importPTLocation().
|
private |
Indexes to fields in column dimension.
Definition at line 375 of file pivottablebuffer.hxx.
Referenced by finalizeImport(), importPageField(), and importPTPageField().
|
private |
Data layout field.
Definition at line 373 of file pivottablebuffer.hxx.
Referenced by finalizeImport(), importPTRowFields(), and importRowField().
|
private |
Definition at line 370 of file pivottablebuffer.hxx.
Referenced by finalizeImport(), and getDPObject().
|
private |
Location settings of the pivot table.
Definition at line 380 of file pivottablebuffer.hxx.
Referenced by finalizeImport(), getCacheDatabaseIndex(), and getCacheField().
|
private |
The pivot cache this table is based on.
Definition at line 382 of file pivottablebuffer.hxx.
Referenced by finalizeFieldsImport(), finalizeImport(), getDataLayoutField(), and getDataPilotField().