[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

trPr (Table Style Conditional Formatting Table Row Properties)

This element specifies the set of table row properties which shall be applied to all rows within a table which match the conditional formatting type specified on the parent tblStylePr element. These properties are applied in the order specified via the style hierarchy.

[Example: Consider a table style which contains conditional formatting for its firstRow, defined as follows:

<w:style w:type="table" w:styleId="exampleTableStyle">

<w:tblStylePr w:type="firstRow">
<w:trPr>
<w:tblHeader/>
<w:cantSplit/>
</w:trPr>

</w:tblStylePr>
</w:style>

The trPr element specified within the tblStylePr element specifies the set of table row properties which shall be applied to all rows of the table which meet the criteria specified by the type value of firstRow - all of the header rows of the table. In this example, the table row properties applied are the fact that these rows shall be repeated on each page via the tblHeader element (§2.4.46) and the fact that these rows shall not be split across pages using the cantSplit element (§2.4.6). end example]

Parent Elements

tblStylePr2.7.5.6)

 

Child Elements

Subclause

cantSplit (Table Row Cannot Break Across Pages)

§2.4.6

cnfStyle (Table Row Conditional Formatting)

§2.4.8

del (Deleted Table Row)

§2.13.5.14

divId (Associated HTML div ID)

§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

ins (Inserted Table Row)

§2.13.5.16

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

trPrChange (Revision Information for Table Row Properties)

§2.13.5.39

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_TrPr">

   <complexContent>

   <extension base="CT_TrPrBase">

   <sequence>

   <element name="ins" type="CT_TrackChange" minOccurs="0"/>

   <element name="del" type="CT_TrackChange" minOccurs="0"/>

   <element name="trPrChange" type="CT_TrPrChange" minOccurs="0"/>

   </sequence>

   </extension>

   </complexContent>

</complexType>