Qu

docx.header_text

Builtin index · File I/O

docx.header_text(doc, [section=0], [kind="default"])

Input: doc, section, kind · Output: no output

What it is

The text of a section's header (following inheritance from earlier sections), one line per paragraph, or none if it has none. docx.footer_text reads footers. Fields show their last computed value. *Added in v0.4.5*

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
docx.header_text(doc, [section=0], [kind="default"])
doc —not documented yet
section optional (default 0)The text of a section's header (following inheritance from earlier sections), one line per paragraph, or none if it has none.
kind optional (default "default")not documented yet
not documented yetdocx.footer_text reads footers. Fields show their last computed value. *Added in v0.4.5*.

Examples

No documentation example calls this form yet. The File I/O chapter is where one belongs.