[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
tblPr (Style Table Properties)
This element specifies the set of table properties which shall be applied to the table. These properties are not conditional and shall always be applied (although they are applied before all conditional formatting properties).
[Example: Consider a table style defined as follows:
<w:style w:type="table" w:styleId="exampleTableStyle">
<w:tblPr>
<w:tblCellSpacing w:w="15" w:type="dxa"/>
</w:tblPr>
…
<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 style element specifies the set of table properties which shall be applied to all parts of the table. In this example, the single table property applied is a default table cell spacing value of 0.01 inches via the tblCellSpacing element (§2.4.43). end example]
Parent Elements |
style (§2.7.3.17) |
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>