Freigeben über


FieldCodes-Klasse

WordprocessingML Field Switches.When the object is serialized out as xml, its qualified name is o:FieldCodes.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.OpenXmlLeafTextElement
        DocumentFormat.OpenXml.Vml.Office.FieldCodes

Namespace:  DocumentFormat.OpenXml.Vml.Office
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class FieldCodes _
    Inherits OpenXmlLeafTextElement
'Usage
Dim instance As FieldCodes
public class FieldCodes : OpenXmlLeafTextElement

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

14.2.2.12 FieldCodes (WordprocessingML Field Switches)

This element specifies the WordprocessingML field switches which shall be stored with an embedded object, using the set of field switches defined by the LINK field, as specified in Part 1, §17.16. This element shall only be used within a WordprocessingML document, and shall specify the exact field switches for the field which represents the object..

[Rationale: Legacy word processors used fields to represent embedded objects - this element stores the field switches not explicitly defined using individual Office VML Drawing elements for embeddings so as not to use the fidelity of their contents. end rationale]

[Example: The following example inserts an embedded object and specifies additional properties as defined by the LINK field.

<o:OLEObject …>
<o:FieldCodes>\f 0</o:FieldCodes>
</o:OLEObject>

This embedded object specifies additional LINK field code values of \f 0, which specifies that the embedded object shall retain its source formatting (as defined in Part 1, §17.16).

end example]

The possible values for this element are defined by the W3C XML Schema string datatype.

Parent Elements

OLEObject (§14.2.2.20)

© 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

FieldCodes-Member

DocumentFormat.OpenXml.Vml.Office-Namespace