[Table of Contents] [docx version]

SpreadsheetML Reference Material - Table of Contents

cellXfs (Cell Formats)

This element contains the master formatting records (xf) which define the formatting applied to cells in this workbook. These records are the starting point for determining the formatting for a cell. Cells in the Sheet Part reference the xf records by zero-based index.

A cell can have both direct formatting (e.g., bold) and a cell style (e.g., Explanatory) applied to it. Therefore, both the cell style xf records and cell xf records must be read to understand the full set of formatting applied to a cell.

Parent Elements

styleSheet3.8.39)

 

Child Elements

Subclause

xf (Format)

§3.8.45

 

Attributes

Description

count (Format Count)

Count of xf elements.

 

The possible values for this attribute are defined by the XML Schema unsignedInt datatype.

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_CellXfs">

   <sequence>

   <element name="xf" type="CT_Xf" minOccurs="1" maxOccurs="unbounded"/>

   </sequence>

   <attribute name="count" type="xsd:unsignedInt" use="optional"/>

</complexType>