docx.add_footnote
docx.add_footnote(doc, i, text, [on=])
Input: doc, i, text, on · Output: no output
What it is
Creates a footnote with text (\n starts a new paragraph in it) anchored after the first occurrence of on in body paragraph i, or at the end of the paragraph. Word numbers footnotes by position. Creates the footnotes part, its separator notes and the note styles when the document has none; docx.footnotes reads them back. *Added in v0.4.7*
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
docx.add_footnote(doc, i, text, [on=]) | doc —not documented yeti —Creates a footnote with text (\n starts a new paragraph in it) anchored after the first occurrence of on in body paragraph i, or at the end of the paragraph.text —Creates a footnote with text (\n starts a new paragraph in it) anchored after the first occurrence of on in body paragraph i, or at the end of the paragraph.on optionalCreates a footnote with text (\n starts a new paragraph in it) anchored after the first occurrence of on in body paragraph i, or at the end of the paragraph. | not documented yet | Word numbers footnotes by position. Creates the footnotes part, its separator notes and the note styles when the document has none; docx.footnotes reads them back. *Added in v0.4.7*. |
Examples
No documentation example calls this form yet. The File I/O chapter is where one belongs.