2.9.149 LVL

Office

The LVL structure contains formatting information about a specific level in a list. When a paragraph is formatted as part of this level, each placeholder in xst is replaced with the inherited level number of the most recent or current paragraph in the same list that is in the zero-based level specified by that placeholder. The level number that replaces a placeholder is formatted according to the lvlf.nfc of the LVL structure that corresponds to the level that the placeholder specifies, unless the lvlf.fLegal of this LVL structure is nonzero.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

lvlf (28 bytes)

...

...

grpprlPapx (variable)

...

grpprlChpx (variable)

...

xst (variable)

...

lvlf (28 bytes):  An LVLF structure that specifies formatting information for this level.

grpprlPapx (variable): An array of Prl elements that specifies the paragraph formatting of a paragraph in this level. The size of grpprlPapx is specified by lvlf.cbGrpprlPapx.

grpprlChpx (variable): An array of Prl elements that specifies the character formatting of the number text that begins each paragraph in this level. The size of grpprlChpx is specified by lvlf.cbGrpprlChpx.

xst (variable):  An Xst that specifies the number text that begins each paragraph in this level. This can contain placeholders for level numbers that are inherited from the other paragraphs in the list. Any element in the rgtchar field of this Xst can be a placeholder. Each placeholder is an unsigned 2-byte integer that specifies the zero-based level that the placeholder is for. Each placeholder MUST have a value that is less than or equal to the zero-based level of the list that this LVL represents. The indexes of the placeholders are specified by lvlf.rgbxchNums. Placeholders that correspond to levels that do not have a number sequence (see lvlf.nfc) MUST be ignored. If this level uses bullets (see lvlf.nfc), the cch field of this Xst MUST be equal to 0x0001, and this MUST NOT contain any placeholders.

Show: