User`s guide
12 Classes – Alphabetical List
12-84
mlreportgen.dom.DOCXPageFooter class
Package: mlreportgen.dom
Page footer definition for Microsoft Word document
Description
Add a footer to the first page of a section or to odd pages, even pages, or both.
Construction
docxPageFooterObj = DOCXPageFooter() creates an empty page footer based on the
default Word template.
docxPageFooterObj = DOCXPageFooter(pageType,templatePath) creates an
empty page footer for the specified type of page based on the specified template.
docxPageFooterObj =
DOCXPageFooter(pageType,templatePath,embeddedTemplateName) creates
an empty page footer for the specified type of page, based on the specified template
embedded in the specified master template.
docxPageFooterObj =
DOCXPageFooter(pageType,templateSrc,embeddedTemplateName) creates
an empty page footer for the specified type of page, based on the specified embedded
template in the specified master template of the specified document or document part
(templateSrc).
Input Arguments
pageType — Type of pages on which footer appears
[] (default) | string
You can specify one of these settings:
• default— footer appears on odd pages in a section and the first page, if there are no
page footers defined with pageType set to first