21.1.2.2.4 fld
This element specifies a text field which contains generated text that the application should update periodically. Each piece of text when it is generated is given a unique identification number that is used to refer to a specific field. At the time of creation the text field indicates the kind of text that should be used to update this field. This update type is used so that all applications that did not create this text field can still know what kind of text it should be updated with. Thus the new application can then attach an update type to the text field id for continual updating.
[Example: Consider a slide within a presentation that needs to have the slide number placed on the slide. The following DrawingML can be used to describe such a situation.
<p:txBody>
<a:bodyPr/>
<a:lstStyle/>
<a:p>
<a:fld id="{424CEEAC-8F67-4238-9622-1B74DC6E8318}" type="slidenum">
<a:rPr lang="en-US" smtClean="0"/>
<a:pPr/>
<a:t>3</a:t>
</a:fld>
<a:endParaRPr lang="en-US"/>
</a:p>
</p:txBody>
end example]
Attributes
type (Field Type)
Specifies the type of text that should be used to update this text field. This is used to inform the rendering application what text it should use to update this text field. There are no specific syntax restrictions placed on this attribute. The generating application can use it to represent any text that should be updated before rendering the presentation.
Reserved Values:
id (Field ID)
Specifies the unique to this document, host specified token that is used to identify the field. This token is generated when the text field is created and persists in the file as the same token until the text field is removed. Any application should check the document for conflicting tokens before assigning a new token to a text field.
The possible values for this attribute are defined by the ST_Guid simple type (22.9.2.4).
Value
Description
presentation slide number
default date time format for the rendering application
MM/DD/YYYY date time format [Example: 10/12/2007 end example]
Day, Month DD, YYYY date time format [Example: Friday, October 12, 2007 end example]
DD Month YYYY date time format [Example: 12 October 2007 end example]
Month DD, YYYY date time format [Example: October 12, 2007 end example]
DD-Mon-YY date time format [Example: 12-Oct-07 end example]
Month YY date time format [Example: October 07 end example]
Mon-YY date time format [Example: Oct-07 end example]
MM/DD/YYYY hh:mm AM/PM date time format [Example: 10/12/2007 4:28 PM end example]
MM/DD/YYYY hh:mm:ss AM/PM date time format [Example: 10/12/2007 4:28:34 PM end example]
hh:mm date time format [Example: 16:28 end example]
Attributes
[Note: The W3C XML Schema definition of this element’s content model (CT_TextField) is located in A.4.1. end note]