<tblInd>
(Table Indent from Leading Margin)
This element specifies the indentation which shall be added before the leading edge of the current table in the document (the left edge in a left-to-right table, and the right edge in a right-to-left table). This indentation should shift the table into the text margin by the specified amount.
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.
If this element is omitted, then the table shall inherit the table indentation from the associated table style. If table indentation is never specified in the style hierarchy, no indentation shall be added to the parent table. If the resulting justification on any table row is not left
after applying the value of the <jc>
element from the three levels of this property (§2.4.21;§2.4.22;§2.4.23), then this property shall be ignored.
R1C1 |
R1C2 |
R2C1 |
R2C2 |
This setting would be specified using the following WordprocessingML:
<w:tblPr> <w:jc w:val="left"/> <w:tblInd w:val="1440" w:type="dxa"/> </w:tblPr>
If the properties on this table were now modified to justify it on the right side by setting the value of the <jc>
element to right
, as follows:
<w:tblPr> <w:jc w:val="right"/> <w:tblInd w:val="1440" w:type="dxa"/> </w:tblPr>
This table would now have no indent, as the justification is no longer on the leading edge (left
):
R1C1 |
R1C2 |
R2C1 |
R2C2 |
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 example:
<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 example:
<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>