[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
gridBefore (Grid Columns Before First 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 skipped before the contents of this table row (its table cells) are added to the parent table. [Note: This property is used to specify tables whose leading edge (left for left-to-right tables, right for right-to-left tables) does not start at the first grid column (the same shared edge). end note]
If this element is omitted, then its value shall be assumed to be zero grid units. If this element's value is larger than the size of the table grid, then the value shall be ignored and the first cell in the row may span the full table grid (i.e. the second cell, if one exists, should start at the last shared edge in the table).
[Example: Consider a table whose second row starts after the first grid unit:
|
| |
|
|
In this table, the second row skips one grid unit at the beginning which is represented by the following WordprocessingML:
<w:tr>
<w:trPr>
<w:gridBefore w:val="1" />
…
</w:trPr>
…
</w:tr>
end example]
Parent Elements |
trPr (§2.7.5.10); trPr (§2.7.5.11); trPr (§2.4.78); trPr (§2.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 type (§2.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>