Paragraph List Formatting

Given a paragraph and its corresponding PAP, the following process must be followed to find out the paragraph's list information:

Using the pap.ilfo, look up the LFO record in the pllfo with that (1-based) index.

Using the LFO, and the pap.ilvl, check to see if there are any overrides for this particular level. If so, and if the override pertains to both formatting and start-at value, use the LVL record from the correct LFOLVL in the LFO, and skip to step 5.

If the override does not pertain to either formatting or start-at value, we must look up the LST for this list. Using the LFO's List ID, search the rglst for the LST with that List ID.

Now, take from this LST any information (formatting or start-at value) we still need after consulting the LFO.

Once we've got the correct LVL record, apply the lvl.grpprlPapx to the PAP. It may adjust the indents and tab settings for the paragraph.

Use the other information in the LVL, such as the start at, number text, and grpprlChpx, to determine the appearance of the actual paragraph number text.