<tblCellSpacing>
(Table Cell Spacing Default)
This element specifies the default table cell spacing (the spacing between adjacent cells and the edges of the table) for all cells in the parent table. If specified, this element specifies the minimum amount of space which shall be left between all cells in the table including the width of the table borders in the calculation. This setting shall be superseded by a table-level exception (§2.4.41) or the row cell spacing value (§2.4.42) in that order. It is important to note that table-level cell spacing shall be added outside of the text margins, which shall be aligned with the innermost starting edge of the text extents in a table cell.
This value is specified in the units applied via its @type
attribute. Any width value of @type
pct
or auto
for this element shall be ignored.
R1C1 |
R1C2 |
R2C1 |
R2C2 |
If this element is omitted, then the table shall inherit the table cell spacing from the associated table style. If table cell spacing is never specified in the style hierarchy, no cell spacing shall be added to the parent table.
R1C1 |
R1C2 |
R2C1 |
R2C2 |
This table cell spacing deafult is specified using the following WordprocessingML:
<w:tblPr> <w:tblCellSpacing w:w="144" w:type="dxa"> … </w:tblPr>
The <tblCellSpacing>
element as a child of <tblPr>
specifies the default cell spacing between all cells in the current table, in this case 144
twentieths of a point. ]
Attributes |
Description |
---|---|
|
Specifies the units of the width property being defined by the parent element’s If this attribute is omitted, then its value shall be assumed to be <w:bottom ... w:type="dxa" /> This The possible values for this attribute are defined by the ST_TblWidth simple type (§2.18.97). |
|
Specifies the value of the width property being defined by the parent element. This property is used to define various properties of a table, including: cell spacing, preferred widths, and table margins. If this attribute is omitted, then its value shall be assumed to be <w:bottom w:w="302" w:type="dxa" /> The value in the The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_TblWidth">
<attribute name="w" type="ST_DecimalNumber"/>
<attribute name="type" type="ST_TblWidth"/>
</complexType>