[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

tblCellMar (Table Cell Margin Exceptions)

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

If this element is omitted, then it shall inherit the table cell margins from the table-level cell margins (§2.4.39).

[Example: Consider a table whose final two rows are defined to have default cell margins of 0.1 inches for all sides via a table-level property exception, as follows:

 

 

 

 

 

 

 

 

 

 

 

 

 

This set of table cell margin exceptions is specified using the following WordprocessingML:

<w:tblPrEx>
<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:tblPrEx>

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

Parent Elements

tblPrEx2.4.57); tblPrEx2.4.58)

 

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>