Field Name

Functionality

Switches

CREATEDATE

Inserts the current date and time. After a mail merge, the field is replaced with the date and time of the mail merge operation.

None

DATE

Inserts the current date and time.

None

TIME

Inserts the current time.

None

HYPERLINK

Enables you to navigate to another location or to a bookmark.

None

IF

Compares two values, and inserts text according to the results of the comparison.

None

INCLUDEPICTURE

Inserts the specified picture.

  • \d - this switch prevents you from storing the image in a document file.

For example, the {INCLUDEPICTURE "C:\\TMP\\Mypicture.png" \d} field retains a link to the picture, but the picture itself is not included in the saved document.

NUMPAGES

Inserts the total number of pages.

None

PAGE

Inserts the number of the page containing the field.

None

SEQ

Provides sequential numbering in the document.

  • \c - repeats the closest preceding sequence number.
  • \h - hides the field result.
  • \n - inserts the next sequence number for the specified item. This mode is used by default.
  • \r - resets the sequence number to the specified integer number.

TC

Defines entries for the table of contents.

  • \f - specifies the type of items collected in a particular content list. Use a unique type identifier for each type of list. This switch is required for including an entry into the corresponding table of contents.
  • \l - the level of the TC entry. If no level is specified, level 1 is used.

TOC

Builds a table of contents. Without switches, the table of contents is built upon styles with set outline levels. Outline levels assigned to individual paragraphs are disregarded unless the \u switch is specified.

  • \b - only includes entries from the portion of the document marked by the bookmark named by text specified in a field argument.
  • \h - inserts table of contents entries as hyperlinks.
  • \n - omits page numbers from the table of contents. Page numbers are omitted from all levels unless a range of entry levels is specified. For example, { TOC \n 1-1 } omits page numbers from level 1.
  • \u - uses the applied paragraph outline level.
  • \o - builds a table of contents from paragraphs with specified outline levels. For example, { TOC \o "1-3" } only lists paragraphs with outline levels 1 through 3.
  • \t - builds a table of contents from paragraphs formatted with specified styles. For example, {TOC \t"Title,1,subtitle,2,customtitle,3"} builds a table of contents from paragraphs formatted with the styles "Title", "subtitle" and "customtitle". The number after each style name indicates the entry level corresponding to that style.
  • \c - builds a table of contents from items that are numbered by an SEQ field. The sequence identifier designated by text in this switch's field-argument shall match the identifier in the corresponding SEQ field.
  • \s - for entries numbered with an SEQ field, adds a prefix to the page number. The prefix depends on the type of entry.
  • \d - when used with \s, defines the separator between sequence and page numbers. The default separator is a hyphen (-).
  • \f - builds a table of contents from TC fields. The TC field identifier must match the text exactly in this switch's field-argument.
  • \l - used with the \f key. Includes TC fields that assign entries to one of the specified levels.