ParagraphData

Overview

ParagraphData is a class in Aspose.Words for Python.

Paragraph with style and content.

Properties

NameTypeAccessDescription
textstrReadReturns the plain text content of the paragraph
style_namestrReadProvides the name of the paragraph’s applied style
runslist[RunData]ReadIs a list of RunData objects representing the paragraph’s text runs
is_list_itemboolReadIndicates whether the paragraph is part of a list
list_levelintReadGives the nesting level of the list item
list_idOptional[int]ReadReturns the identifier of the list the paragraph belongs to, or None
alignmentstrReadSpecifies the paragraph’s text alignment (e.g., left, right, center)
has_bottom_borderboolReadReports if the paragraph has a bottom border
border_sizeintReadProvides the thickness of the paragraph’s border in points