Paragraph
Overview
Paragraph is a class in Aspose.Words for Python.
Inherits from: BaseModel.
Paragraph, ParagraphFormat, ParagraphInfo, and ParagraphData expose properties for style name, alignment, indentation, spacing, list context, and border details, giving fine‑grained control over paragraph rendering.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
type | Literal["Paragraph"] | Read | Is a literal string identifying the object as a Paragraph |
paragraph_format | ParagraphFormat | Read | Provides formatting settings for the paragraph |
list_format | ListFormat | None | Read | Holds list formatting details if the paragraph is part of a list, otherwise None |
runs | list[Run] | Read | Is a list of Run objects representing the text runs in the paragraph |
inline_extras | list[InlineExtra] | Read | Contains InlineExtra objects such as images or fields within the paragraph |
content_sequence | list[Union["Run", "ShapeNode"]] | Read | Lists the ordered inline content, including runs and shapes |
text | str | Read | Returns the concatenated plain text of the paragraph |