<tcPr>
(Table Style Conditional Formatting Table Cell Properties)
This element specifies the set of table cell properties which shall be applied to all regions 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.
<w:style w:type="table" w:styleId="exampleTableStyle"> … <w:tblStylePr w:type="firstRow"> <w:tcPr> <w:tcBorders> <w:top w:val="nil" /> <w:left w:val="nil" /> <w:bottom w:val="nil" /> <w:right w:val="nil" /> <w:insideH w:val="nil" /> <w:insideV w:val="nil" /> </w:tcBorders> </w:tcPr> … </w:tblStylePr> </w:style>
The <tcPr>
element specified within the <tblStylePr>
element specifies the set of table cell properties which shall be applied to all parts 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 single table cell property applied is a set of table cell borders via the <tcBorders>
element (§2.4.63). In this case, these cell borders simply reset any previous cell borders to nil
. ]
Parent Elements |
---|
|
Child Elements |
Subclause |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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>