public DocxParagraph(text as String, style as String, isHeading as Boolean, headingLevel as Int, isListItem as Boolean)
Initializes a new DocxParagraph.
| Parameter | Description |
|---|---|
text | Extracted paragraph text. |
style | OpenXML style identifier (e.g. "Heading1", "ListParagraph"). |
isHeading | True if this paragraph is formatted as a section heading. |
headingLevel | Numeric level of the heading (1 to 6), or 0 for non-headings. |
isListItem | True if this paragraph belongs to a bulleted or numbered list. |
p = DocxParagraph("Chapter 1", "Heading1", true, 1, false)