17.4.39 tblBorders
This element specifies the set of borders for the edges of the parent table row via a set of table-level property exceptions, using the six border types defined by its child elements.
If the cell spacing for any row is non-zero as specified using the tblCellSpacing element (17.4.44; 17.4.43; 17.4.45), then there is no border conflict and the table-level exception border shall be displayed.
If the cell spacing is zero, then there is a conflict [Example: Between the left border of all cells in the first column and the left border of the table-level exceptions. end example], which shall be resolved as follows:
- If there is a cell border, then the cell border shall be displayed
- If there is no cell border, then the table-level exception border shall be displayed
If this element is omitted, then this table shall have the borders specified by the associated table level borders (17.4.38).
[Example: Consider a table in which the final two rows have a set of table-level property exceptions giving them a thicker set of table borders, as follows:
These table borders are specified via a set of table-level property exceptions using the following WordprocessingML:
<w:tr>
<w:tblPrEx>
<w:tblBorders>
<w:top w:val="single" w:sz="24" w:space="0" w:color="000000"
w:themeColor="text1"/>
<w:start w:val="single" w:sz="24" w:space="0" w:color="000000"
w:themeColor="text1"/>
<w:bottom w:val="single" w:sz="24" w:space="0" w:color="000000"
w:themeColor="text1"/>
<w:end w:val="single" w:sz="24" w:space="0" w:color="000000"
w:themeColor="text1"/>
<w:insideH w:val="single" w:sz="24" w:space="0" w:color="000000"
w:themeColor="text1"/>
<w:insideV w:val="single" w:sz="24" w:space="0" w:color="000000"
w:themeColor="text1"/>
</w:tblBorders>
</w:tblPrEx>
</w:tr>
The tblBorders element specifies the set of table borders applied to the final two rows in this table as part of the table-level property exceptions. end example]
[Note: The W3C XML Schema definition of this element’s content model (CT_TblBorders) is located in A.1. end note]