Autonumber Level Descriptor (ANLV)

b10

b16

field

type

size

bitfield

comments

0

0

nfc

unsigned char

number format code
0 Arabic numbering
1 Upper case Roman
2 Lower case Roman
3 Upper case Letter
4 Lower case letter
5 Ordinal

1

1

cxchTextBefore

unsigned char

offset into anld.rgxch that is the limit of the text that will be displayed as the prefix of the autonumber text

2

2

cxchTextAfter

unsigned char

anld.cxchTextBefore will be the beginning offset of the text in the anld.rgxch that will be displayed as the suffix of an autonumber. The sum of anld.cxchTextBefore + anld.cxchTextAfter will be the limit of the autonumber suffix in anld.rgxch

3

3

jc

uns char

:2

03

justification code
0 left justify
1 center
2 right justify
3 left and right justify

fPrev

uns char

:1

04

when ==1, number generated will include previous levels (used for legal numbering)

fHang

uns char

:1

08

when ==1, number will be displayed using a hanging indent

fSetBold

uns char

:1

10

when ==1, boldness of number will be determined by anld.fBold.

fSetItalic

uns char

:1

20

when ==1, italicness of number will be determined by anld.fItalic

fSetSmallCaps

uns char

:1

40

when ==1, anld.fSmallCaps will determine whether number will be displayed in small caps or not.

fSetCaps

uns char

:1

80

when ==1, anld.fCaps will determine whether number will be displayed capitalized or not

4

4

fSetStrike

uns char

:1

01

when ==1, anld.fStrike will determine whether the number will be displayed using strikethrough or not.

fSetKul

uns char

:1

02

when ==1, anld.kul will determine the underlining state of the autonumber.

fPrevSpace

uns char

:1

04

when ==1, autonumber will be displayed with a single prefixing space character

fBold

uns char

:1

08

determines boldness of autonumber when anld.fSetBold == 1.

FItalic

uns char

:1

10

determines italicness of autonumber when anld.fSetItalic == 1.

fSmallCaps

uns char

:1

20

determines whether autonumber will be displayed using small caps when anld.fSetSmallCaps == 1.

fCaps

uns char

:1

40

determines whether autonumber will be displayed using caps when anld.fSetCaps == 1.

fStrike

uns char

:1

80

determines whether autonumber will be displayed using caps when anld.fSetStrike == 1.

5

5

kul

uns char

:3

07

determines whether autonumber will be displayed with underlining when anld.fSetKul == 1.

ico

uns char

:5

F1

color of autonumber

6

6

ftc

short

font code of autonumber

8

8

hps

uns short

font half point size (or 0=auto)

10

A

iStartAt

uns short

starting value (0 to 65535)

12

C

dxaIndent

width of prefix text (same as indent)

14

E

dxaSpace

uns short

minimum space between number and paragraph


cbANLV (count of bytes of ANLV) is 16 bytes (decimal), 10 bytes (hex).