<xf>
(Format)
A single xf element describes all of the formatting for a cell.
Child Elements |
Subclause |
---|---|
|
|
|
|
|
Attributes |
Description |
---|---|
|
A boolean value indicating whether the alignment formatting specified for this The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
A boolean value indicating whether the border formatting specified for this The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
A boolean value indicating whether the fill formatting specified for this The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
A boolean value indicating whether the font formatting specified for this The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
A boolean value indicating whether the number formatting specified for this The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
A boolean value indicating whether the protection formatting specified for this The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
Zero-based index of the The possible values for this attribute are defined by the ST_BorderId simple type (§3.18.2). |
|
Zero-based index of the The possible values for this attribute are defined by the ST_FillId simple type (§3.18.31). |
|
Zero-based index of the The possible values for this attribute are defined by the ST_FontId simple type (§3.18.33). |
|
Id of the number format ( The possible values for this attribute are defined by the ST_NumFmtId simple type (§3.18.49). |
|
A boolean value indicating whether the cell rendering includes a pivot table dropdown button. The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
A boolean value indicating whether the text string in a cell should be prefixed by a single quote mark (e.g., 'text). In these cases, the quote is not stored in the Shared Strings Part. The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
For Not present for The possible values for this attribute are defined by the ST_CellStyleXfId simple type (§3.18.11). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_Xf">
<sequence>
<element name="alignment" type="CT_CellAlignment" minOccurs="0" maxOccurs="1"/>
<element name="protection" type="CT_CellProtection" minOccurs="0" maxOccurs="1"/>
<element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="numFmtId" type="ST_NumFmtId" use="optional"/>
<attribute name="fontId" type="ST_FontId" use="optional"/>
<attribute name="fillId" type="ST_FillId" use="optional"/>
<attribute name="borderId" type="ST_BorderId" use="optional"/>
<attribute name="xfId" type="ST_CellStyleXfId" use="optional"/>
<attribute name="quotePrefix" type="xsd:boolean" use="optional" default="false"/>
<attribute name="pivotButton" type="xsd:boolean" use="optional" default="false"/>
<attribute name="applyNumberFormat" type="xsd:boolean" use="optional"/>
<attribute name="applyFont" type="xsd:boolean" use="optional"/>
<attribute name="applyFill" type="xsd:boolean" use="optional"/>
<attribute name="applyBorder" type="xsd:boolean" use="optional"/>
<attribute name="applyAlignment" type="xsd:boolean" use="optional"/>
<attribute name="applyProtection" type="xsd:boolean" use="optional"/>
</complexType>