[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

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.212.4.222.4.23), then this property shall be ignored.

[Example: Consider a table which shall be indented one inch from the left margin, as follows:

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

 

end example]

Parent Elements

tblPr2.7.5.3); tblPr2.7.5.4); tblPr2.4.55); tblPr2.4.56)

 

Attributes

Description

type (Table Width Type)

Specifies the units of the width property being defined by the parent element’s w attribute. This property is used to define various properties of a table, including: cell spacing, preferred width, and table margins.

 

If this attribute is omitted, then its value shall be assumed to be dxa (twentieths of a point).

 

[Example: Consider a table with a table cell bottom cell spacing with a type of dxa, as follows:

 

<w:bottom ... w:type="dxa" />

 

This type shall therefore be used to interpret the width specified in the w attribute as a value in twentieths of a point. end example]

 

The possible values for this attribute are defined by the ST_TblWidth simple type2.18.97).

w (Table Width Value)

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 0.

 

[Example: Consider a table with a bottom margin with a width of 302, as follows:

 

<w:bottom w:w="302" w:type="dxa" />

 

The value in the w attribute shall therefore be used to determine the width being specified in the context of the units specified in the type attribute. In this case, the type is twentieths of a point (dxa), so the width is 302 twentieths of a point (.2097 inches). end example]

 

The possible values for this attribute are defined by the ST_DecimalNumber simple type2.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>