Cell
The complex type, CT_TableCell, defines a cell in a table. Within this complex type lies a text body which holds the data of the cell along with any formatting applied to the text. This complex type also holds a table cell property complex type which has already been defined. The rowSpan and gridSpan attributes are available along with hMerge and vMerge attributes. The hMerge and vMerge attributes define if the current cell is supposed to be merged with the previous cell horizontally or vertically. This is how the table is parsed and created. The complex type, CT_TableCell, is defined as:
<xsd:complexType name="CT_TableCell"> <xsd:sequence> <xsd:element name="txBody" type="CT_TextBody" minOccurs="0" maxOccurs="1" /> <xsd:element name="tcPr" type="CT_TableCellProperties" minOccurs="0" maxOccurs="1" /> <xsd:element name="extLst" type="CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1" /> </xsd:sequence> <xsd:attribute name="rowSpan" type="xsd:int" use="optional" default="1" /> <xsd:attribute name="gridSpan" type="xsd:int" use="optional" default="1" /> <xsd:attribute name="hMerge" type="xsd:boolean" use="optional" default="false" /> <xsd:attribute name="vMerge" type="xsd:boolean" use="optional" default="false" /> </xsd:complexType>