Attributes on pivotTableDefinition
<pivotTableDefinition xmlns:sh="…" name="PivotTable2" cacheId="5" applyNumberFormats="0" applyBorderFormats="0" applyFontFormats="0" applyPatternFormats="0" applyAlignmentFormats="0" applyWidthHeightFormats="1" dataCaption="Values" updatedVersion="3" minRefreshableVersion="3" showCalcMbrs="0" useAutoFormatting="1" colGrandTotals="0" itemPrintTitles="1" createdVersion="3" indent="0" outline="1" outlineData="1" multipleFieldFilters="0">
In the context of <pivotTableDefinition>:
@nameindicates the name of the PivotTable.@cacheIdreferences by Id a particular pivotCache in the<pivotCaches>collection listed in workbook.xml.@applyNumberFormatsvalue of "1" means to apply legacy autoformat number format properties.@applyBorderFormatsvalue of "1" means to apply legacy autoformat border format properties.@applyFontFormatsvalue of "1" means to apply legacy autoformat Font format properties.@applyPatternFormatsvalue of "1" means to apply legacy autoformat pattern format properties.@applyAlignmentFormatsvalue of "1" means to apply legacy autoformat alignment format properties.@applyWidthHeightFormatsvalue of "1" means to apply legacy autoformat width and height format properties.@dataCaptionis the name of the values area header cell which can appear in the PivotTable when two or more fields are in the values area.@updatedVersionis the Pivot version that last updated the PivotTable.@minRefreshableVersionis the minimum Pivot version required to update this PivotTable's Pivot Cache.@showCalcMbrsindicates whether calculated members should be shown in the PivotTable. Only applies to PivotTables based on OLAP sources.@useAutoFormattingindicates whether autoformatting has been applied to the PivotTable.@colGrandTotalsindicates whether column grand totals are on for this PivotTable.@rowGrandTotalsdefaults to "1" and therefore is not written.@itemPrintTitlesflag indicating whether PivotItem names should be repeated at the top of each printed page.@createdVersionThe Pivot version that created the cache.@indentindentation increment for compact row axis, which means the Report Layout is set to Compact Form.@outlineflag indicating whether new fields should have their outline form flag set to "1".@outlineDataflag indicating whether the values field in the PivotTable should be displayed in outline form.@multipleFieldFiltersflag indicating whether each field of a pivot table can have multiple filters set on it.