The list number work great. But in most documents, the list number is a heading followed by a block of text. But once I'm in a List Number format, it's hard to get out of it.
I tried this, but each NewLine creates another List Number.
paragraph = section.AddParagraph();
paragraph.AppendText("A sub-sub-item" + Environment.NewLine);
paragraph.ApplyStyle(BuiltinStyle.Heading5);
paragraph.ListFormat.ListLevelNumber = 2;
paragraph.ListFormat.ApplyStyle("levelstyle");
Here's basically what I am trying to do . . .
1.2.3 Overview
........Block of text describing the overview.
........Should display over multiple lines without causing more List Numbers to display.
........Then after the Overview, I want List Numbering to continue.
1.2.4 Scope of Work
(I used ........ because the Forum can't display leading spaces.)
Is there any documentation on the order in which the functions should be called? And/or any documentation on how to turn on/off List Numbers properly to achieve my example?
Thanks!