17.4.42 tblCellMar

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

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:start w:w="144" w:type="dxa"/>
    <w:bottom w:w="144" w:type="dxa"/>
    <w:end 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]

[Note: The W3C XML Schema definition of this element’s content model (CT_TblCellMar) is located in A.1. end note]

Last updated on