17.16.5.6 AUTOTEXTLIST
Description: Creates a shortcut menu based on AutoText entries in the active template. The list can vary based on the styles applied to the AutoText entries. text in field-argument is inserted into the document.
A complex field XML implementation shall be used, and the field-argument text shall be placed in one or more runs between the separate and end parts of the fldChar element.
Field Value: text in field-argument.
Switches: Zero or more of the following field-specific-switches.
\s
\t
[Example: The field:
Specifies that the list is to contain entries based on the style specified by text in this switch’s field-argument. Without this switch, entries of the current paragraph style appear. If there are no entries for the current style, all entries appear. The style can be a paragraph style or a character style.
{ AUTOTEXTLIST "List of salutations"
causes the following to be displayed: In the document, the Salutation list; in the ScreenTip, Choose salutation, and on the shortcut menu, the list of entries whose style is Salutation.
end example]
Syntax: