mlreportgen.dom.DOCXPageFooter class
Package: mlreportgen.dom
Superclasses:
Page footer definition for Microsoft Word document
Description
Add a footer to the first page of a Word document layout or to odd pages, even pages, or both.
Construction
creates a page footer
based on the default Word template.docxFooter
= DOCXPageFooter()
creates a page footer for the specified type of page, that is, odd, even, or first,
based on the default Word template.docxFooter
= DOCXPageFooter(pageType
)
creates a page footer for the specified type of page based on the specified
template.docxFooter
= DOCXPageFooter(pageType
,templatePath
)
creates a page footer for the specified type of page, based on the specified document
part template in the specified template.docxFooter
= DOCXPageFooter(pageType
,templatePath
,docPartTemplateName
)
creates a page footer for the specified type of page, based on the specified document
part template from the specified source. The source can be a document or a document
part.docxFooter
= DOCXPageFooter(pageType
,templateSrc
,docPartTemplateName
)
Input Arguments
Output Arguments
Properties
Methods
Use DocumentPageFooter
methods as you use
the corresponding Document
methods.
Method | Purpose |
---|---|
Append one of these DOM objects to the footer:
| |
Close the footer. | |
Fill the template hole. | |
Move to the next template hole. | |
Open the footer. |