User`s guide
mlreportgen.dom.DOCXPageHeader class
12-91
This read-only property is the type (inline or block) of the current template hole.
• An inline hole is for document elements that a paragraph element can contain: Text,
Image, LinkTarget, ExternalLink, InternalLink, CharEntity, AutoNumber.
• A block hole can contain a Paragraph, Table, OrderedList, UnorderedList,
DocumentPart, and Group.
CurrrentDOCXSection — The current section of Word document
mlreportgen.dom.DOCXSection object
This read-only property for a Word document is a mlreportgen.dom.DOCXSection
object that specifies the properties, as well as the headers and footers, of the current
document section. In HTML documents, the value of this property is always [].
Id — ID for document element
string
A session-unique ID is generated as part of document element creation. You can specify
an ID to replace the generated ID.
PageType — Type of pages on which header appears
[] (default) | string
Specify the type of page on which the header appears.
• default— header appears on odd pages in a section and the first page, if there are
no page headers defined with pageType set to first
• first— header appears only on the first page of a section
• even— header appears on even pages in a section
For example, to have a header appear on the first page and on even pages, define two
separate headers, one with pageType set to first and the other with pageType set to
even.
Parent — Parent of document element
DOM object
This read-only property lists the parent of this document element.
Tag — Tag for document element
string