[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
tcPr (Table Cell Properties)
This element specifies the set of properties which shall be applied a specific table cell. Each unique property is specified by a child element of this element. In any instance where there is a conflict between the table level, table-level exception, or row level properties with a corresponding table cell property, these properties shall overwrite the table or row wide properties.
[Example: Consider a table where the cell width overwrites the table width represented in the following WordprocessingML:
<w:tbl>
<w:tblPr>
<w:tblCellMar>
<w:left w:w="0" w:type="dxa"/>
</w:tblCellMar>
</w:tblPr>
<w:tr>
<w:tc>
<w:tcPr>
<w:tcMar>
<w:left w:w="720" w:type="dxa"/>
</w:tcMar>
</w:tcPr>
…
</w:tc>
</w:tr>
</w:tbl>
This table cell will have a left cell margin of 720 twentieths of a point (one half inch) as specified in the tcMar element, which overwrites the table level setting of 0 left table cell margin. end example]
Parent Elements |
tc (§2.4.62) |
Child Elements |
Subclause |
cellDel (Table Cell Deletion) |
§2.13.5.1 |
cellIns (Table Cell Insertion) |
§2.13.5.2 |
cellMerge (Vertically Merged/Split Table Cells) |
§2.13.5.3 |
cnfStyle (Table Cell Conditional Formatting) |
§2.4.7 |
gridSpan (Grid Columns Spanned by Current Table Cell) |
§2.4.13 |
hideMark (Ignore End Of Cell Marker In Row Height Calculation) |
§2.4.15 |
hMerge (Horizontally Merged Cell) |
§2.4.16 |
noWrap (Don't Wrap Cell Content) |
§2.4.28 |
shd (Table Cell Shading) |
§2.4.33 |
tcBorders (Table Cell Borders) |
§2.4.63 |
tcFitText (Fit Text Within Cell) |
§2.4.64 |
tcMar (Single Table Cell Margins) |
§2.4.65 |
tcPrChange (Revision Information for Table Cell Properties) |
§2.13.5.38 |
tcW (Preferred Table Cell Width) |
§2.4.68 |
textDirection (Table Cell Text Flow Direction) |
§2.4.69 |
vAlign (Table Cell Vertical Alignment) |
§2.4.80 |
vMerge (Vertically Merged Cell) |
§2.4.81 |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_TcPr">
<complexContent>
<extension base="CT_TcPrInner">
<sequence>
<element name="tcPrChange" type="CT_TcPrChange" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>