PivotFields class
Office 2013 and later
Defines the PivotFields Class. When the object is serialized out as xml, its qualified name is x:pivotFields.
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Spreadsheet.PivotFields
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Spreadsheet.PivotFields
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
pivotFields (PivotTable Fields)
Represents the collection of fields that appear on the PivotTable.
[Example:
<pivotFields count="28">
<pivotField showAll="0" includeNewItemsInFilter="1">
<items count="8">
<item x="66"/>
<item x="133"/>
<item x="74"/>
<item x="27"/>
<item x="118"/>
<item x="63"/>
<item x="141"/>
<item t="default"/>
</items>
</pivotField>
<pivotField showAll="0" includeNewItemsInFilter="1"/>
<pivotField axis="axisPage" showAll="0" includeNewItemsInFilter="1">
<items count="2">
<item x="0"/>
<item t="default"/>
</items>
</pivotField>
<pivotField showAll="0" includeNewItemsInFilter="1"/>end example]
Parent Elements |
|---|
pivotTableDefinition (§18.10.1.73) |
Child Elements | Subclause |
|---|---|
pivotField (PivotTable Field) | §18.10.1.69 |
Attributes | Description |
|---|---|
count (Field Count) | Specifies the number of fields in the PivotTable. The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype. |
[Note: The W3C XML Schema definition of this element’s content model (CT_PivotFields) is located in §A.2. end note]
© ISO/IEC29500: 2008.
Show: