IDocumentObject module

class IDocumentObject.IDocumentObject

Bases: ABC

Abstract base class for document objects.

abstract Clone() → DocumentObject

Creates a clone of the object.

abstract property Document: Document

Returns the document that the object belongs to.

abstract property DocumentObjectType: DocumentObjectType

Returns the type of the document object.

abstract GetNextWidgetSibling() → IDocumentObject

Returns the next widget sibling of the object.

abstract GetPreviousWidgetSibling() → IDocumentObject

Returns the previous widget sibling of the object.

abstract property IsComposite: bool

Returns True if the object is composite, False otherwise.

abstract property NextSibling: IDocumentObject

Returns the next sibling of the object.

abstract property Owner: DocumentObject

Returns the owner of the object.

abstract property PreviousSibling: IDocumentObject

Returns the previous sibling of the object.