[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
tcMar (Single Table Cell Margins)
This element specifies a set of cell margins for a single table cell in the parent table.
This setting, if present, shall override the table cell margins from the table-level cell margins (§2.4.39).
[Example: Consider a table whose first cell is defined to have default cell margins of 0.5 inches for all sides rather then the table defaults, as follows:
R1C1 |
R2C1 |
This set of table cell margins is specified using the following WordprocessingML:
<w:tcPr>
<w:tcMar>
<w:top w:w="720" w:type="dxa"/>
<w:left w:w="720" w:type="dxa"/>
<w:bottom w:w="720" w:type="dxa"/>
<w:right w:w="720" w:type="dxa"/>
</w:tcMar>
…
</w:tcPr>
The tcMar element as a child of tcPr specifies the set of table cell margins used for the first table cell, in this case, 720 twentieths of a point on all sides. end example]
Parent Elements |
tcPr (§2.7.5.8); tcPr (§2.4.66); tcPr (§2.7.5.9); tcPr (§2.4.67) |
Child Elements |
Subclause |
bottom (Table Cell Bottom Margin Exception) |
§2.4.2 |
left (Table Cell Left Margin Exception) |
§2.4.25 |
right (Table Cell Right Margin Exception) |
§2.4.31 |
top (Table Cell Top Margin Exception) |
§2.4.73 |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_TcMar">
<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>