[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

ADVANCE

Syntax:

ADVANCE [ switches ]

Description: Moves the starting point of text that follows the field to the right or left, up or down, or to a specific horizontal or vertical position. The switches used by this field can cause text to overlap. Text will not display if it is moved to the previous or next page, or beyond the print margins of the current page.

Field Value: None.

Switches: Zero or more of the following field-specific-switches.

\d field-argument

Moves the text that follows the field down by the integral number of points specified by text in this switch's field-argument.

\l field-argument

Moves the text that follows the field left by the integral number of points specified by text in this switch's field-argument.

\r field-argument

Moves the text that follows the field right by the integral number of points specified by text in this switch's field-argument.

\u field-argument

Moves the text that follows the field up by the integral number of points specified by text in this switch's field-argument.

\x field-argument

Moves the text that follows the field the integral number of points specified by text in this switch's field-argument from the left edge of the column, frame, or text box.

\y field-argument

Moves the text that follows the field the integral number of points specified by text in this switch's field-argument. This shift is the vertical position relative to the page. The entire line of text that contains the field is moved. This switch is ignored if it specifies a location outside the page margins or if the switch is used inside any of the following: table, text box, footnote, endnote, annotation, header, or footer.

 

[Example: When the following fields are updated:

XX ADVANCE \u 6 XX ADVANCE \d 12 XX ADVANCE \l 20 + ADVANCE \x 150 ZZ

The results are:

XXXXXXX+ZZ

end example]