<suppressSpacingAtTopOfPage>
(Ignore Minimum Line Height for First Line on Page)
This element specifies whether the minimum line height specified using the <spacing>
element (§2.3.1.33) with a @lineRule
attribute value of atLeast
shall be ignored for the first line on each page.
Typically, if a minimum line height has been specified using the <spacing>
element, then all lines within that paragraph have the necessary line spacing added to them in order to meet this constraint. This element, when present with a @val
attribute value of true
(or equivalent), specifies that no additional spacing shall be added above the first line on each page as a result of this line spacing requirements - the top of the text characters on the first line shall be at the top edge of the page.
<w:p> <w:pPr> <w:spacing w:line="500" w:lineRule="atLeast" /> </w:pPr> … </w:p>
The default presentation would have the necessary amount of space added between each line such that all lines in the paragraph are centered within 25 points of spacing (highlighting has been added to the image below in order to illustrate the additional spacing above the first line):
However, if this compatibility setting is turned on:
<w:compat> <w:suppressSpacingAtTopOfPage /> </w:compat>
Then no additional line spacing shall be added above the first line on the page (although all other lines are unaffected), resulting in the following output:
However, if this line spacing constraint was exactly 25 points, then this setting would have no effect:
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>