klyn.io.docx.DocxParagraph.DocxParagraph
constructor
public DocxParagraph(text as String, style as String, isHeading as Boolean, headingLevel as Int, isListItem as Boolean)
Description

Initializes a new DocxParagraph.

Parameters
ParameterDescription
textExtracted paragraph text.
styleOpenXML style identifier (e.g. "Heading1", "ListParagraph").
isHeadingTrue if this paragraph is formatted as a section heading.
headingLevelNumeric level of the heading (1 to 6), or 0 for non-headings.
isListItemTrue if this paragraph belongs to a bulleted or numbered list.
Example
p = DocxParagraph("Chapter 1", "Heading1", true, 1, false)