[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

gridAfter (Grid Columns After Last Cell)

This element specifies the number of grid columns in the parent table's table grid (§2.4.44; §2.4.45) which shall be left after the last cell in the table row.

If this element conflicts with the remaining size of the document grid after all table cells in this row have been added to the grid, then it shall be ignored. If this element is not specified, then its value shall be assumed to be zero grid units.

[Example: Consider a table whose second row ends before the first row by one grid unit:

 

 

 

 

 

In this table, the second row leaves one grid unit after its cell contents, which is represented using the following WordprocessingML:

<w:tr>

<w:trPr>

<w:gridAfter w:val="1" />

</w:trPr>

</w:tr>

The gridAfter element specifies that 1 grid unit remains after the row's contents. end example]

Parent Elements

trPr2.7.5.10); trPr2.7.5.11); trPr2.4.78); trPr2.4.79)

 

Attributes

Description

val (Decimal Number Value)

Specifies that the contents of this attribute will contain a decimal number.

 

The contents of this decimal number are interpreted based on the context of the parent XML element.

 

[Example: Consider the following numeric WordprocessingML property of type ST_DecimalNumber:

 

<w:… w:val="1512645511" />

The value of the val attribute is a decimal number whose value must be interpreted in the context of the parent element. 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_DecimalNumber">

   <attribute name="val" type="ST_DecimalNumber" use="required"/>

</complexType>