Attached is a document. AmericanStyleFirstLineIndent-Prose Default-processed.zip (17.2 KB)
The first paragraph has
para->ParagraphFormat->LeftIndent: 0
para->ParagraphFormat->FirstLineIndent: 72
para->ListFormat->ListLevel->TabPosition: 90
, and that is reflected in Word with the number being at 72, and the text starting at 90.
The second paragraph however has
para->ParagraphFormat->LeftIndent: 72
para->ParagraphFormat->FirstLineIndent: -36
para->ListFormat->ListLevel->TabPosition: 144
however in Word the paragraph is lined up at 72.
So the question is, how does Word interpret and resolve the LeftIndent / TabPosition attributes? I am guessing that it does something like
if (ParagraphFormat->FirstLineIndent < 0) {
return ParagraphFormat->LeftIndent;
} else {
return ListFormat->ListLevel->TabPosition;
}
Do you happen to know what logic they use to determine where the text starts in a list?