[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

tblPrEx (Table-Level Property Exceptions)

This element specifies a set of table properties which shall be applied to the contents of this row in place of the table properties specified in the tblPr element.

[Note: These properties are typically used in cases involving legacy documents, as well as cases where two existing independent tables are merged (in order to prevent the look of the second table from being superseded by the first table). end note]

[Example: Consider the following two tables in a WordprocessingML document:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

These two tables each have a different set of table level borders. If the interceding paragraphs between these two tables is removed and the tables are merged together, it is obviously undesirable to have the second table lose its formatting and match the properties of the first table. Therefore, when the tables are merged as follows (note that there is now only one table):

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The resulting WordprocessingML for the last three rows of the table would include the following set of table-level property exceptions:

<w:tr>
<w:tblPrEx>
<w:tblBorders>
<w:top w:val="thinThickThinMediumGap" w:sz="24" w:space="0" w:color="auto"/>
<w:left w:val="thinThickThinMediumGap" w:sz="24" w:space="0" w:color="auto"/>
<w:bottom w:val="thinThickThinMediumGap" w:sz="24" w:space="0" w:color="auto"/>
<w:right w:val="thinThickThinMediumGap" w:sz="24" w:space="0" w:color="auto"/>
<w:insideH w:val="thinThickThinMediumGap" w:sz="24" w:space="0" w:color="auto"/>
<w:insideV w:val="thinThickThinMediumGap" w:sz="24" w:space="0" w:color="auto"/>
</w:tblBorders>
</w:tblPrEx>

</w:tr>

The tblPrEx element contains all table-level properties which are being overridden for the current row in the table. end example]

Parent Elements

tr2.4.75)

 

Child Elements

Subclause

jc (Table Alignment Exception)

§2.4.21

shd (Table Shading Exception)

§2.4.34

tblBorders (Table Borders Exceptions)

§2.4.37

tblCellMar (Table Cell Margin Exceptions)

§2.4.40

tblCellSpacing (Table Cell Spacing Exception)

§2.4.41

tblInd (Table Indent from Leading Margin Exception)

§2.4.47

tblLayout (Table Layout Exception)

§2.4.50

tblLook (Table Style Conditional Formatting Settings Exception)

§2.4.52

tblPrExChange (Revision Information for Table-Level Property Exceptions)

§2.13.5.37

tblW (Preferred Table Width Exception)

§2.4.60

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_TblPrEx">

   <complexContent>

   <extension base="CT_TblPrExBase">

   <sequence>

   <element name="tblPrExChange" type="CT_TblPrExChange" minOccurs="0"/>

   </sequence>

   </extension>

   </complexContent>

</complexType>