Freigeben über


SelectFieldWithFirstOrLastChar-Klasse

Select Field When First or Last Character Is Selected.When the object is serialized out as xml, its qualified name is w:selectFldWithFirstOrLastChar.

Vererbungshierarchie

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

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

Syntax

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

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

9.7.3.34 selectFldWithFirstOrLastChar (Select Field When First or Last Character Is Selected)

This element specifies whether applications should automatically select the entire contents of a field in a WordprocessingML document when the first or last character is selected.

Typically, users can select any character individually within the result of a field in the document. This element, when present with a val attribute value of true (or equivalent), specifies that selecting the first or last character of that field result shall automatically result in the selection of the entire field.

[Example: Consider a WordprocessingML document which contains the following (with a field marked in gray shading):

DocumentFormat.OpenXml.Wordprocessing.SelectFieldW

The default presentation would allow the first character of that field to be selected:

DocumentFormat.OpenXml.Wordprocessing.SelectFieldW

However, if this compatibility setting is turned on:

<w:compat>
<w:selectFldWithFirstOrLastChar />
</w:compat>

Then that selection would automatically result in the entire field being selected, resulting in the following:

DocumentFormat.OpenXml.Wordprocessing.SelectFieldW

end example]

Parent Elements

compat (Part 1, §17.15.1.21)

This element's content model is defined by the common boolean property definition in Part 1, §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

SelectFieldWithFirstOrLastChar-Member

DocumentFormat.OpenXml.Wordprocessing-Namespace