17.4.85 wAfter

This element specifies the preferred width for the total number of grid columns after this table row as specified in the gridAfter element (17.4.14). This preferred width is used as part of the table layout algorithm specified by the tblLayout element (17.4.52; 17.4.53) - full description of the algorithm in the ST_TblLayout simple type (17.18.87).

All widths in a table are considered preferred because:

  • The table shall satisfy the shared columns as specified by the tblGrid element (17.4.48)
  • Two or more widths can have conflicting values for the width of the same grid column
  • The table layout algorithm (17.18.87) can require a preference to be overridden

This value is specified in the units applied via its type attribute. Any width value of type pct for this element shall be calculated relative to the text extents of the page (page width excluding margins).

If this element is omitted, then the cell width shall be of type auto.

[Example: Consider a WordprocessingML table row defined as follows:

<w:tr>
  <w:trPr>
    <w:gridAfter w:val="2"/>
    <w:wAfter w:type="dxa" w:w="1440"/>
  </w:trPr>
</w:tr>

This table specifies that it has a preferred table width of 1440 twentieths of a point (one inch) for the two grid columns after the end of that row. The resulting table would therefore be sized such that that set of grid columns is one inch whenever possible, for example the second row in this table:

end example]

This element’s content model is defined by the common table measurement definition in 17.4.87.

Last updated on