PivotValueCell class
Defines the PivotValueCell Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is x15:c.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office2013.Excel.PivotValueCell
Namespace: DocumentFormat.OpenXml.Office2013.Excel
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.6.135 CT_PivotValueCell
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main
Referenced by: CT_PivotRow
A complex type that specifies a PivotValueCell.<111>
Child Elements:
v: An ST_Xstring ([ISO/IEC-29500-1] section 22.9.2.19) element that specifies the string representation of the Value of a PivotValueCell. The attribute t of the parent CT_PivotValueCell element specifies how application interprets this element.
x: A CT_PivotValueCellExtra element that specifies the server formatting on the current CT_PivotValueCell element.
Attributes:
i: An unsignedInt ([XMLSCHEMA2] section 3.3.22) attribute that specifies the column index of the current CT_PivotValueCell element. MUST be within the range of items as specified by the columnCount attribute of complex type CT_PivotTableData.
t: An ST_SXVCellType attribute that specifies the type of the PivotValueCell represented by the parent element of this attribute.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_PivotValueCell">
<xsd:sequence>
<xsd:element name="v" type="x:ST_Xstring" minOccurs="1" maxOccurs="1"/>
<xsd:element name="x" type="CT_PivotValueCellExtra" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="i" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="t" type="ST_SXVCellType" use="optional" default="n"/>
</xsd:complexType>
See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).