[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

tblLayout (Table Layout)

This element specifies the algorithm which shall be used to lay out the contents of this table within the document. When a table is displayed in a document, it can either be displayed using a fixed width or autofit layout algorithm (each discussed in the simple type referenced by the val attribute).

If this element is omitted, then the value of this element shall be assumed to be auto.

[Example: Consider a table which shall use the fixed width table layout algorithm. This requirement is specified using the following WordprocessingML:

<w:tblPr>
<w:tblLayout w:type="fixed"/>
</w:tblPr>

The tblLayout element specifies that the table shall use the fixed layout algorithm. end example]

Parent Elements

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

 

Attributes

Description

type (Table Layout Setting)

Specifies the algorithm which shall be used to lay out the contents of the parent table (see simple type definition for details on each algorithm used).

 

[Example: Consider a table which shall use the AutoFit width table layout algorithm. This requirement is specified using the following WordprocessingML:

 

<w:tblPr>
<w:tblLayout w:type="auto"/>
</w:tblPr>

 

The tblLayout element specifies that the table shall use the auto layout algorithm. end example]

 

The possible values for this attribute are defined by the ST_TblLayoutType simple type2.18.94).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_TblLayoutType">

   <attribute name="type" type="ST_TblLayoutType"/>

</complexType>