<adjustLineHeightInTable>
(Add Document Grid Line Pitch To Lines in Table Cells)
This element specifies whether a document grid defined using the <docGrid>
element (§2.6.5) that specifies a line grid (manually adding additional pitch to each line in the section) shall also be applied to lines within table cells in this section.
Typically, when additional line pitch is added to all lines in a section via the document grid, it is not applied to text in tables. This element, when present with a @val
attribute value of true
(or equivalent), specifies that additional line pitch shall be added to lines in table cells.
<w:docGrid w:type="lines" w:linePitch="518"/>
If text was entered into this section, the default behavior would have line pitch only added to lines which are not in a table cell:
However, if this compatibility setting is turned on:
<w:compat> <w:adjustLineHeightInTable /> </w:compat>
Then all lines in this document would have the line pitch from the document grid added to them, resulting in the following output:
Parent Elements |
---|
|
Attributes |
Description |
---|---|
|
Specifies a binary value for the property defined by the parent XML element. A value of A value of example:
<w:… w:val="off"/> The The possible values for this attribute are defined by the ST_OnOff simple type (§2.18.67). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_OnOff">
<attribute name="val" type="ST_OnOff"/>
</complexType>