IParagraphBase module

class IParagraphBase.IParagraphBase

Bases: IDocumentObject

Represents a base interface for paragraphs in a document.

abstract ApplyStyle(styleName: str)

Applies the character style to the paragraph.

Parameters:

styleName – The name of the style to apply.

abstract property OwnerParagraph: Paragraph

Gets the owner paragraph of the current paragraph.

abstract property StyleName: str

Gets the style name of the paragraph.