Share via


fldSimple element (pElt complexType) [Word 2003 XML Reference] --  Microsoft Office Word 2003 XML Software Development Kit

fldSimple element (pElt complexType) [Word 2003 XML Reference]

Represents a simple Word field (with plain text instructions). Simple fields are run-time calculated entities in Word (for example, page numbers).

Usage

<fldSimple
    instr="stringType"
    fldLock="onOffType"
/>

Element Information

Element type simpleFieldType
Namespace http://schemas.microsoft.com/office/word/2003/wordml
Schema name XML Document 2003

Elements and Attributes

Parent Elements

Element Description
p Represents a paragraph element; analogous to the HTML <p> tag.

Child Elements

Element Description
fldData Represents field data.
r Represents the run element. This is the leaf container for data in a Word document -- text, pictures, and so on.
fldSimple Represents simple Word field (with plain text instructions). These fields are run-time calculated entities in Word (for example, page numbers).
hlink Represents hyperlink element (analogous to HTML <a href=...> tag).

Attributes

Attribute Type Required Description Possible Values
instr stringType required Gets or sets instruction text for a field.
fldLock onOffType optional Gets or sets whether the field is locked from being recalculated.
  • on
  • off

Definition

<xsd:element name="fldSimple" type="simpleFieldType" minOccurs="0" maxOccurs="unbounded" >
</xsd:element>

©2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp