[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
fldData (Custom Field Data)
This element specifies custom field data which shall be associated with the parent field. No information or semantics are applied to the contents of this data by this Office Open XML Standard, and therefore this field may be used as desired to store additional application-specific data with the field. However, applications should not lose the contents of this custom data if they do not understand or utilize it (i.e. the information should continue to be saved with the file).
If this element is omitted, then no custom field data is stored with the parent field. If the type attribute of the current field character is not start, then his setting may be ignored.
[Example: Consider the following WordprocessingML fragment for a complex field:
<w:fldChar w:type="start">
<w:fldData xml:space="preserve">///3645ERKJHE</w:fldData>
</w:fldChar>
<w:r>
<w:instrText>PRIVATE</w:instrText>
</w:r>
<w:fldChar w:type="separate" />
…
The fldData element contains custom data stored with this PRIVATE field (§2.16.5.55), the contents of which are determined by a hosting application. end example]
Parent Elements |
fldChar (§2.16.18) |
Attributes |
Description |
space (Content Contains Significant Whitespace)
Namespace: http://www.w3.org/XML/1998/namespace |
Specifies how white space should be handled for the contents of this element using the W3C space preservation rules.
[Example: Consider the following run contained within a WordprocessingML document:
<w:r>
Although there are three spaces on each side of the text content in the run, that whitespace has not been specifically marked as significant, therefore it is removed when this run is added to the document. end example]
The possible values for this attribute are defined by the type in the namespace. |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_Text">
<simpleContent>
<extension base="ST_String">
<attribute ref="xml:space" use="optional"/>
</extension>
</simpleContent>
</complexType>