mlreportgen.dom.docxpageheader类
包裹:mlreportgen.dom
超类:
页眉定义微软单词文档
描述
将标题添加到部分的第一页或奇数页面,偶数页面或两者。
建造
基于默认Word模板创建页眉。docxheader.
= docxpageheader()
为指定类型的页面创建页眉,即,基于默认Word模板,即奇数,甚至或首先。docxheader.
= docxpageheader(pagetype.
的)
基于指定的模板创建指定类型页面的页眉。docxheader.
= docxpageheader(pagetype.
那模板路径
的)
基于指定模板中的指定文档部分模板,为指定的页面创建页眉。docxheader.
= docxpageheader(pagetype.
那模板路径
那docparttemplatename.
的)
基于指定源使用的指定文档部分模板,为指定类型的页面创建页眉。源可以是文档或文档部分。docxheader.
= docxpageheader(pagetype.
那templatesrc.
那docparttemplatename.
的)
输入参数
输出参数
特性
方法
采用docxpageheader.
使用相应的方法文档
方法。
方法 |
目的 |
---|---|
将其中一个DOM对象附加到标题:
|
|
近地标。 |
|
填充模板孔。 |
|
移动到下一个模板孔。 |
|
打开标题。 |