[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

tblPr (Table Style Conditional Formatting Table Properties)

This element specifies the set of table 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.

If the current conditional formatting type does not consist of one or more full table rows, then table properties which cannot be applied to a single cell or column [Example: Table justification. end example] may be ignored.

[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:tblPr>
<w:tblCellSpacing w:w="29" w:type="dxa"/>
</w:tblPr>

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

The tblPr element specified within the tblStylePr element specifies the set of table 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 property applied is a default table cell spacing value of 0.02 inches via the tblCellSpacing element (§2.4.43). end example]

Parent Elements

tblStylePr2.7.5.6)

 

Child Elements

Subclause

bidiVisual (Visually Right to Left Table)

§2.4.1

jc (Table Alignment)

§2.4.23

shd (Table Shading)

§2.4.35

tblBorders (Table Borders)

§2.4.38

tblCellMar (Table Cell Margin Defaults)

§2.4.39

tblCellSpacing (Table Cell Spacing Default)

§2.4.43

tblInd (Table Indent from Leading Margin)

§2.4.48

tblLayout (Table Layout)

§2.4.49

tblLook (Table Style Conditional Formatting Settings)

§2.4.51

tblOverlap (Floating Table Allows Other Tables to Overlap)

§2.4.53

tblpPr (Floating Table Positioning)

§2.4.54

tblStyle (Referenced Table Style)

§2.4.59

tblStyleColBandSize (Number of Columns in Column Band)

§2.7.5.5

tblStyleRowBandSize (Number of Rows in Row Band)

§2.7.5.7

tblW (Preferred Table Width)

§2.4.61

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

<complexType name="CT_TblPrBase">

   <sequence>

   <element name="tblStyle" type="CT_String" minOccurs="0"/>

   <element name="tblpPr" type="CT_TblPPr" minOccurs="0" maxOccurs="1"/>

   <element name="tblOverlap" type="CT_TblOverlap" minOccurs="0" maxOccurs="1"/>

   <element name="bidiVisual" type="CT_OnOff" minOccurs="0" maxOccurs="1"/>

   <element name="tblStyleRowBandSize" type="CT_DecimalNumber" minOccurs="0" maxOccurs="1"/>

   <element name="tblStyleColBandSize" type="CT_DecimalNumber" minOccurs="0" maxOccurs="1"/>

   <element name="tblW" type="CT_TblWidth" minOccurs="0" maxOccurs="1"/>

   <element name="jc" type="CT_Jc" minOccurs="0" maxOccurs="1"/>

   <element name="tblCellSpacing" type="CT_TblWidth" minOccurs="0" maxOccurs="1"/>

   <element name="tblInd" type="CT_TblWidth" minOccurs="0" maxOccurs="1"/>

   <element name="tblBorders" type="CT_TblBorders" minOccurs="0" maxOccurs="1"/>

   <element name="shd" type="CT_Shd" minOccurs="0" maxOccurs="1"/>

   <element name="tblLayout" type="CT_TblLayoutType" minOccurs="0" maxOccurs="1"/>

   <element name="tblCellMar" type="CT_TblCellMar" minOccurs="0" maxOccurs="1"/>

   <element name="tblLook" type="CT_ShortHexNumber" minOccurs="0" maxOccurs="1"/>

   </sequence>

</complexType>