Wordprocessing Fields
Field | Description | Switches | Examples |
---|---|---|---|
AUTHOR | Retrieves and optionally sets the document author's name as recorded in the Creator element of the Core File Porperties part. To update the field, add an argument. E.g., AUTHOR "Tony Danza" causes the Creator element to take the value "Tony Danza". | AUTHOR \* Caps displays: |
|
CREATEDATE | Retrieves the date and time at which the document was created (using the Gregorian calendar by default), as recorded in the DateCreated element of the Core File Properties part. | Use a date and time formatting switch. | CREATEDATE displays: CREATEDATE \@ "dddd, MMMM dd,yyyy HH:mm:ss" displays: |
DATE | Retrieves the current date and time (using the Gregorian calendar by default). | Use a date and time formatting switch. There is also a \l switch which specifies that if no date and time switch is used, then use the date and time formatting switch last used. |
DATE displays: DATE \@ "dddd, MMMM dd,yyyy HH:mm:ss" displays: |
FILESIZE | Retrieves the size of the WordprocessingML package in bytes. | Use a numeric formatting switch or a general formatting switch. There is also a \k switch, which rounds to the nearest thousand bytes and a \m switch, which rounds to the nearest million bytes. |
FILESIZE \# #,##0 displays: FILESIZE \#k displays: FILESIZE \#m displays: |
PAGE | Retrieves the number of the current page. | Use the general formatting switchs. |
PAGE displays: PAGE \* ArabicDash displays: PAGE \# roman displays: |
SAVEDATE | Retrieves the date and time on which the document was last saved (using the Gregorian calendar by default), as recorded in the DateModified element of the Core File Properties part. For a document that has never been saved, the date and time are 0000-00-00T00:00:00 and each text component is XXX. | SAVEDATE displays: SAVEDATe \@ "dddd, MMMM dd,yyyy HH:mm:ss" displays: For a document that has not been saved, the same formatting options would display |
|
SECTION | Retrieves the number of the current section. | Use the general formatting switches. |
SECTION displays: SECTION "My Life, the Fantasy" \* Upper sets the value to My Life, the Fantasy and the result is SECTION \* ArabicDash displays: SECTION \# roman displays: |
SEQ identifier field argument | Sequentially numbers chapters, tables, figures and other user-defined lists of items; it is similar to the LISTNUM field. The identifier is the name assigned to the items to be numbers--e.g., Figure, or Table. The field argument specifies a bookmark name that refers to an item elsewhere in the document. | Uses a numeric formatting switch or one of the following: \c repeats the closest preceding number; \h hides the result unless a genera formatting switch is also present; \n insets the next sequence number (the default); \r field argument resets the sequence number to the integer specified by the field argument; and \s resets the sequence number to the built-iin heading level specified by the field argument. |
SEQ Figure displays: SEQ Figure \* roman displays: |
TIME | Retrieves the current date and time. | TIME displays: TIME \@ "dddd, MMMM dd,yyyy HH:mm:ss" displays: |
|
TITLE | Retrieves and optionally sets the document's title as recorded in the Title element of the Core File Properties part. Set the field by specifying a field argument. | Use a general formatting switch. |
TITLE displays: TITLE "My Life, the Fantasy" \* Upper sets the value to My Life, the Fantasy and the result is |
TOC | See Table of Contents. | ||
USERNAME | Retrieves the current user's name or the name specified by a field argument. | USERNAME \* Lower displays: USERNAME "John Jones" displays: USERNAME "Mary Smith" \* Upper displays: |