[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
Syntax:
LISTNUM [ field-argument ] [ switches ]
Description: Computes the next integral number from the current or a specific series, or a specific number from the next or specific series. This field can be used anywhere in a paragraph, not just at its start. A LISTNUM field can be incorporated into numbering from a simple or outline-numbered list. text in field-argument is used to associates a LISTNUM field with a specific list. To emulate the behavior of the AUTONUM (§2.16.5.5), AUTONUMLGL (§2.16.5.6), and AUTONUMOUT (§2.16.5.7) fields, use the list names NumberDefault, LegalDefault, and OutlineDefault names, respectively. By default, the NumberFormat list is used.
The XML generated for a complex field implementation shall not have the optional field value stored.
There are nine levels of list, and, assuming \s 1 for each, the result style used for each is as follows:
1 |
1) |
4 |
(1) |
7 |
1. |
2 |
a) |
5 |
(a) |
8 |
a. |
3 |
iii) |
6 |
(iii) |
9 |
iii. |
Field Value: The next integral number from the current or a specific series, or a specific number from the next or specific series.
Switches: Zero or more of the following field-specific-switches.
\l field-argument |
text in this switch's field-argument is an integer that specifies the level in the list, overriding the default behavior of the field. If \l is omitted, for a new series, the default value is 3; otherwise, the current level is continued. |
\s field-argument |
text in this switch's field-argument is an integer that specifies the starting value for this field. If \s is omitted, for a new series, the default value is 1; otherwise, the current series numbering is continued. |
[Example: When the following fields are updated:
We need to perform the following functions: LISTNUM NumberDefault \l 3 \s 1 Get approval for the project. LISTNUM Arrange for funding. LISTNUM Hire staff.
The results are:
We need to perform the following functions: i) Get approval for the
project. ii) Arrange for funding. iii) Hire staff.
When the following fields are updated:
LISTNUM NumberDefault \l 3 \s 1
LISTNUM
LISTNUM NumberDefault
LISTNUM NumberDefault \s 3
LISTNUM
LISTNUM NumberDefault \l 1
LISTNUM
LISTNUM NumberDefault \l 1 \s 1
LISTNUM LegalDefault \1 1 \s 1
LISTNUM LegalDefault
LISTNUM LegalDefault \l 1
LISTNUM LegalDefault \s 4
LISTNUM LegalDefault
The results are:
i)
ii)
iii)
iii)
iv)
2)
3)
1)
1.1.1.
1.1.2.
2.
2.1.4.
2.1.5.
end example]