<fldSimple>
(Simple Field)
This element specifies the presence of a simple field at the current location in the document. The semantics of this field are defined via its field codes (§2.16.5).
<w:fldSimple w:instr="FILENAME"> <w:r> <w:t>Example Document.docx</w:t> </w:r> </w:fldSimple>
The <fldSimple>
element defines a FILENAME
field (§2.16.5.23) using the simple field syntax. The current field result for the field is Example Document.docx
. ]
Parent Elements |
---|
|
Child Elements |
Subclause |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Attributes |
Description |
---|---|
|
Specifies that this field has been flagged by an application to indicate that its current results are invalid (stale) due to other modifications made to the document, and these contents should be updated before they are displayed if this functionality is supported by the next processing application. [: This functionality allows applications with limited subsets of the full functionality of this Office Open XML Standard to process Word Open XML documents without needing to understand and update all fields based on the semantics for their field codes. For example, an application can add a new paragraph and flag the table of contents as dirty, without needing to understand anything about how to recalculate that field's content. ] If this attribute is omitted, then its value shall be assumed to be <w:fldSimple w:instr="AUTHOR" w:dirty="true"/> The The possible values for this attribute are defined by the ST_OnOff simple type (§2.18.67). |
|
Specifies that the parent field shall not have its field result recalculated, even if an application attempts to recalculate the results of all fields in the document or a recalculation is explicitly requested. If this attribute is omitted, then its value shall be assumed to be <w:fldSimple w:instr="AUTHOR" w:fldLock="true"> <w:r> <w:t>Rex Jaeschke</w:t> </w:r> </w:fldSimple> The The possible values for this attribute are defined by the ST_OnOff simple type (§2.18.67). |
|
Specifies the field codes for the simple field. The possible field codes are defined in §2.16.5. <w:fldSimple w:instr="AUTHOR" w:fldLock="true"> <w:r> <w:t>Rex Jaeschke</w:t> </w:r> </w:fldSimple> The The possible values for this attribute are defined by the ST_String simple type (§2.18.89). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_SimpleField">
<sequence>
<element name="fldData" type="CT_Text" minOccurs="0" maxOccurs="1"/>
<group ref="EG_PContent" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="instr" type="ST_String" use="required"/>
<attribute name="fldLock" type="ST_OnOff"/>
<attribute name="dirty" type="ST_OnOff"/>
</complexType>