[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

tblCellMar (Table Cell Margin Defaults)

This element specifies the default cell margin settings for all cells in the current table. These setting may be overridden by the table cell margin definition specified by the tcMar element contained within the table cell's properties (§2.4.65) or by a set of table-level property exceptions (§2.4.40).

If this element is omitted, then it shall inherit the table cell margins from the associated table style. If table margins are never specified in the style hierarchy, then each margin shall use its default margin size (see child element definitions).

[Example: Consider a table defined to have default cells margins of 0.1 inches for all sides, as follows:

R1C1

R1C2

R2C1

R2C2

 

This set of default table cell margins would be specified using the following WordprocessingML:

<w:tblPr>
<w:tblCellMar>
<w:top w:w="144" w:type="dxa"/>
<w:left w:w="144" w:type="dxa"/>
<w:bottom w:w="144" w:type="dxa"/>
<w:right w:w="144" w:type="dxa"/>
</w:tblCellMar>

</w:tblPr>

The tblCellMar element as a child of tblPr specifies the set of default cell margins for all cells in the current table, in this case, 144 twentieths of a point. end example]

Parent Elements

tblPr2.7.5.3); tblPr2.7.5.4); tblPr2.4.55); tblPr2.4.56)

 

Child Elements

Subclause

bottom (Table Cell Bottom Margin Default)

§2.4.5

left (Table Cell Left Margin Default)

§2.4.26

right (Table Cell Right Margin Default)

§2.4.29

top (Table Cell Top Margin Default)

§2.4.72

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

<complexType name="CT_TblCellMar">

   <sequence>

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

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

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

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

   </sequence>

</complexType>