Paragraph

Overview

Paragraph is a class in Aspose.Words FOSS for Python. Inherits from: BaseModel.

A paragraph whose children — Run, BookmarkStart / End,

``FieldStart`` / ``Separator`` / ``End`` and inline ``ShapeNode`` —

sit in a single ordered collection in document order.

Properties: list_format, list_label, paragraph_format, runs, text, type.

Properties

NameTypeAccessDescription
runslist[Run]ReadTyped view over the paragraph’s Run children, in document
    order. |

| type | Literal["Paragraph"] | Read | Gets the type. | | paragraph_format | ParagraphFormat | Read | Gets the paragraph format. | | list_format | ListFormat \| None | Read | Gets the list format. | | list_label | Optional[ListLabel] | Read | Gets the list label. | | text | str | Read | Gets the text. |

See Also