mlreportgen.dom.DOCXPageHeader Class
Namespace: mlreportgen.dom
Page header definition for Microsoft Word document
Description
Use an object of the mlreportgen.dom.DOCXPageHeader class to add a header to the first page of a section or to odd pages, even pages,
or both.
This class is only compatible with this MATLAB®
Report Generator™ output type: "docx".
The mlreportgen.dom.DOCXPageHeader class is a handle class.
Creation
Description
creates a page header based on the default Word template.docxHeader = DOCXPageHeader
creates a page header for the specified type of page, that is, odd, even, or
first, based on the default Word template.docxHeader = DOCXPageHeader(pageType)
creates a page header for the specified type of page based on the specified
template.docxHeader = DOCXPageHeader(pageType,templatePath)
creates a page header for the specified type of page, based on the specified
document part template in the specified template.docxHeader = DOCXPageHeader(pageType,templatePath,docPartTemplateName)
creates a page header for the specified type of page, based on the specified
document part template used by the specified source. The source can be a
document or a document part.docxHeader = DOCXPageHeader(pageType,templateSrc,docPartTemplateName)
Input Arguments
Properties
Methods
More About
Version History
Introduced in R2014b