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

NameTypeAccessDescription
typeLiteral["Paragraph"]ReadIs a literal string identifying the object as a Paragraph
paragraph_formatParagraphFormatReadProvides formatting settings for the paragraph
list_formatListFormat | NoneReadHolds list formatting details if the paragraph is part of a list, otherwise None
runslist[Run]ReadIs a list of Run objects representing the text runs in the paragraph
inline_extraslist[InlineExtra]ReadContains InlineExtra objects such as images or fields within the paragraph
content_sequencelist[Union["Run", "ShapeNode"]]ReadLists the ordered inline content, including runs and shapes
textstrReadReturns the concatenated plain text of the paragraph