ParagraphData
Overview
ParagraphData is a class in Aspose.Words for Python.
Paragraph with style and content.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
text | str | Read | Returns the plain text content of the paragraph |
style_name | str | Read | Provides the name of the paragraph’s applied style |
runs | list[RunData] | Read | Is a list of RunData objects representing the paragraph’s text runs |
is_list_item | bool | Read | Indicates whether the paragraph is part of a list |
list_level | int | Read | Gives the nesting level of the list item |
list_id | Optional[int] | Read | Returns the identifier of the list the paragraph belongs to, or None |
alignment | str | Read | Specifies the paragraph’s text alignment (e.g., left, right, center) |
has_bottom_border | bool | Read | Reports if the paragraph has a bottom border |
border_size | int | Read | Provides the thickness of the paragraph’s border in points |