HeadersFooters module

class HeadersFooters.HeadersFooters

Bases: DocumentSerializable, IEnumerable

Represents a collection of headers and footers in a document.

property EvenFooter: HeaderFooter

Gets the even footer.

property EvenHeader: HeaderFooter

Gets the even header.

property FirstPageFooter: HeaderFooter

Gets the first page footer.

property FirstPageHeader: HeaderFooter

Gets the first page header.

property Footer: HeaderFooter

Gets the default footer.

GetEnumerator() IEnumerator

Returns an enumerator that iterates through the collection.

property Header: HeaderFooter

Gets the default header.

property IsEmpty: bool

Detects whether all headers/footers are empty.

property LinkToPrevious: bool

If set to True, this header or footer is linked to the previous section.

property OddFooter: HeaderFooter

Gets the odd footer (This is also the default footer).

property OddHeader: HeaderFooter

Gets the odd header (This is also the default header).

get_Item

Gets the header/footer at the specified index.