[Table of Contents] [docx version]
SpreadsheetML Reference Material - Table of Contents
This element represents new cell data that was added to the worksheet.
For most spreadsheet application purposes, only the data type and reference will need to be used for revision tracking purposes. The rest of the cell properties can be written out, but are not necessarily needed as they can be recorded in other areas of the spreadsheet. For instance the <rfmt> element can be used to record style information instead of the S (style index) attribute.
Parent Elements |
rcc (§3.11.1.9) |
Child Elements |
Subclause |
extLst (Future Feature Data Storage Area) |
§3.2.10 |
f (Formula) |
§3.3.1.37 |
is (Rich Text Inline) |
§3.3.1.50 |
v (Cell Value) |
§3.3.1.93 |
Attributes |
Description |
cm (Cell Metadata Index) |
The zero-based index of the cell metadata record associated with this cell. Metadata information is found in the Metadata Part. Cell metadata is extra information stored at the cell level, and is attached to the cell (travels through moves, copy / paste, clear, etc). Cell metadata is not accessible via formula reference.
The possible values for this attribute are defined by the XML Schema unsignedInt datatype. |
ph (Show Phonetic) |
A Boolean value indicating if the spreadsheet application should show phonetic information. Phonetic information is displayed in the same cell across the top of the cell and serves as a 'hint' which indicates how the text should be pronounced. This should only be used for East Asian languages.
The possible values for this attribute are defined by the XML Schema boolean datatype. |
r (Reference) |
An A1 style reference to the location of this cell
The possible values for this attribute are defined by the ST_CellRef simple type (§3.18.8). |
s (Style Index) |
The index of this cell's style. Style records are stored in the Styles Part.
The possible values for this attribute are defined by the XML Schema unsignedInt datatype. |
t (Cell Data Type) |
An enumeration representing the cell's data type.
The possible values for this attribute are defined by the ST_CellType simple type (§3.18.12). |
vm (Value Metadata Index) |
The zero-based index of the value metadata record associated with this cell's value. Metadata records are stored in the Metadata Part. Value metadata is extra information stored at the cell level, but associated with the value rather than the cell itself. Value metadata is accessible via formula reference.
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_Cell">
<sequence>
<element name="f" type="CT_CellFormula" minOccurs="0" maxOccurs="1"/>
<element name="v" type="ST_Xstring" minOccurs="0" maxOccurs="1"/>
<element name="is" type="CT_Rst" minOccurs="0" maxOccurs="1"/>
<element name="extLst" minOccurs="0" type="CT_ExtensionList"/>
</sequence>
<attribute name="r" type="ST_CellRef" use="optional"/>
<attribute name="s" type="xsd:unsignedInt" use="optional" default="0"/>
<attribute name="t" type="ST_CellType" use="optional" default="n"/>
<attribute name="cm" type="xsd:unsignedInt" use="optional" default="0"/>
<attribute name="vm" type="xsd:unsignedInt" use="optional" default="0"/>
<attribute name="ph" type="xsd:boolean" use="optional" default="false"/>
</complexType>