IBody module

class IBody.IBody

Bases: ICompositeObject, IDocumentObject

Interface for the body of a document.

abstract AddParagraph() Paragraph

Adds a new paragraph to the body and returns it.

abstract AddTable() Table

Adds a new table to the body and returns it.

abstract EnsureMinimum()

Ensures that the body has a minimum structure.

abstract property FormFields: FormFieldCollection

Returns the collection of form fields in the body.

InsertXHTML

Inserts the given XHTML into the body.

abstract property LastParagraph: IParagraph

Returns the last paragraph in the body.

abstract property Paragraphs: ParagraphCollection

Returns the collection of paragraphs in the body.

abstract property Tables: TableCollection

Returns the collection of tables in the body.