ParagraphBase module

class ParagraphBase.ParagraphBase

Bases: DocumentBase, IParagraphBase

Base class for paragraphs in a document.

ApplyCharacterFormat(charFormat: CharacterFormat)

Sets the character format.

ApplyStyle(styleName: str)

Applies the specified style to the paragraph.

property CharacterFormat: CharacterFormat

Gets the character format.

property ChildObjects: DocumentObjectCollection

Gets the child objects of the entity.

property DeleteRevision: EditRevision

Gets the delete revision for this object. Note: This can be null. If null, it does not have a delete revision.

GetNextWidgetSibling() IDocumentObject

Gets the next widget sibling of the paragraph.

GetPreviousWidgetSibling() IDocumentObject

Gets the previous widget sibling of the paragraph.

property InsertRevision: EditRevision

Gets the insert revision for this object. Note: This can be null. If null, it does not have an insert revision.

property IsDeleteRevision: bool

Gets or sets a value indicating whether this item was deleted from the document, when “Track Changes” is or was set to “true”.

property IsInsertRevision: bool

Gets a value indicating whether this item was inserted to the document, when “Track Changes” is or was set to “true”.

property OwnerParagraph: Paragraph

Gets the owner paragraph.

property StyleName: str

Gets the style name.