Freigeben über


UnderlineTrailingSpaces-Klasse

Underline All Trailing Spaces.When the object is serialized out as xml, its qualified name is w:ulTrailSpace.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffType
        DocumentFormat.OpenXml.Wordprocessing.UnderlineTrailingSpaces

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class UnderlineTrailingSpaces _
    Inherits OnOffType
'Usage
Dim instance As UnderlineTrailingSpaces
public class UnderlineTrailingSpaces : OnOffType

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

17.15.3.8 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.

[Example: Consider a WordprocessingML document with the following line of Latin alphabetical character and punctuation, trailed by a series of spaces:

<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:

DocumentFormat.OpenXml.Wordprocessing.UnderlineTra

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:

DocumentFormat.OpenXml.Wordprocessing.UnderlineTra

end example]

Parent Elements

compat (§17.15.1.21)

This element's content model is defined by the common boolean property definition in §17.17.4.

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

UnderlineTrailingSpaces-Member

DocumentFormat.OpenXml.Wordprocessing-Namespace