<ulTrailSpace> (Underline All Trailing Spaces)
This element specifies whether applications shall display underlining beneath all trailing spaces in the contents of a line when those contents are underlined. Trailing spaces are all space characters which are not followed by non-space characters on the same line.
Typically, applications do not display underlining on all trailing spaces which have the underline property applied to them. This element, when present with a @val attribute value of true (or equivalent), specifies that all characters with underline applied, including trailing spaces, shall display underlining if it is applied to that content.
<w:r>
<w:rPr>
<w:u w:val="single"/>
</w:rPr>
<w:t>Example text. Example text. Example text. Example text. Example text. </w:t>
</w:r>
The default presentation would have no underlining on those trailing spaces:
![]()
However, if this compatibility setting is turned on:
<w:compat> <w:ulTrailSpace /> </w:compat>
Then all trailing spaces would be underlined, 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>