[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
tcPr (Previous Table Cell Properties)
This element specifies a previous set of table cell properties, the modifications to which shall be attributed to a revision by a particular author and at a particular time. This element contains the table cell property settings which were previously in place before a specific set of revisions by one author. 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 basic two row by two column table as follows:
|
|
|
|
If the cell shading in the first cell is set to red with revision tracking enabled, as follows:
|
|
|
|
This revision is specified as follows in the associated WordprocessingML:
<w:tc>
<w:tcPr>
<w:tcW w:w="4788" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="FF0000"/>
<w:tcPrChange w:id="2" …>
<w:tcPr>
<w:tcW w:w="4788" w:type="dxa"/>
</w:tcPr>
</w:tcPrChange>
</w:tcPr>
<w:p/>
</w:tc>
The tcPr element beneath the tcPrChange element specifies the set of table cell properties which were in place before the current revision to the document. end example]
Parent Elements |
tcPrChange (§2.13.5.38) |
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 |
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_TcPrInner">
<complexContent>
<extension base="CT_TcPrBase">
<sequence>
<group ref="EG_CellMarkupElements" minOccurs="0" maxOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>