[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
trPr (Previous Table Row 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. These properties affect the appearance of all cells in the current row within the parent table, but may be overridden by individual cell-level properties, as defined by each property.
[Example: Consider the following WordprocessingML table:
Some text in R1C1. |
|
|
|
This table has a row height for row one of exactly 0.1". If we change that to a row height of at least 0.1" with revision marking enabled, the table would appear as follows:
Some text in R1C1. |
|
|
|
The resulting WordprocessingML would be:
<w:tr>
<w:trPr>
<w:trHeight w:val="144"/>
<w:trPrChange w:id="2" … >
<w:trPr>
<w:trHeight w:hRule="exact" w:val="144"/>
</w:trPr>
</w:trPrChange>
</w:trPr>
…
</w:tr>
The trPr element as a child of trPrChange specifies the set of table row properties which were in place before the current revision to the document. end example]
Parent Elements |
trPrChange (§2.13.5.39) |
Child Elements |
Subclause |
cantSplit (Table Row Cannot Break Across Pages) |
§2.4.6 |
cnfStyle (Table Row Conditional Formatting) |
§2.4.8 |
§2.4.9 | |
gridAfter (Grid Columns After Last Cell) |
§2.4.10 |
gridBefore (Grid Columns Before First Cell) |
§2.4.11 |
hidden (Hidden Table Row Marker) |
§2.4.14 |
jc (Table Row Alignment) |
§2.4.22 |
tblCellSpacing (Table Row Cell Spacing) |
§2.4.42 |
tblHeader (Repeat Table Row on Every New Page) |
§2.4.46 |
trHeight (Table Row Height) |
§2.4.77 |
wAfter (Preferred Width After Table Row) |
§2.4.82 |
wBefore (Preferred Width Before Table Row) |
§2.4.83 |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_TrPrBase">
<choice maxOccurs="unbounded">
<element name="cnfStyle" type="CT_Cnf" minOccurs="0" maxOccurs="1"/>
<element name="divId" type="CT_DecimalNumber" minOccurs="0"/>
<element name="gridBefore" type="CT_DecimalNumber" minOccurs="0"/>
<element name="gridAfter" type="CT_DecimalNumber" minOccurs="0"/>
<element name="wBefore" type="CT_TblWidth" minOccurs="0" maxOccurs="1"/>
<element name="wAfter" type="CT_TblWidth" minOccurs="0" maxOccurs="1"/>
<element name="cantSplit" type="CT_OnOff" minOccurs="0"/>
<element name="trHeight" type="CT_Height" minOccurs="0"/>
<element name="tblHeader" type="CT_OnOff" minOccurs="0"/>
<element name="tblCellSpacing" type="CT_TblWidth" minOccurs="0" maxOccurs="1"/>
<element name="jc" type="CT_Jc" minOccurs="0" maxOccurs="1"/>
<element name="hidden" type="CT_OnOff" minOccurs="0"/>
</choice>
</complexType>