Skip to content

Phase A.5: Endnotes support (mirror footnotes API) #5

@loadfix

Description

@loadfix

Add endnotes support mirroring the footnotes implementation. Depends on #1-#4.

  • EndnotesPart, CT_Endnotes, CT_Endnote
  • document.endnotes.add(paragraph, run, text)
  • Endnotes collection, Endnote object with .paragraphs
  • Default endnotes.xml with separator/continuation separator
  • Relationship type: http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes
  • Content type: application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml
  • endnoteReference in runs

Files: docx/oxml/endnotes.py, docx/parts/endnotes.py, docx/endnotes.py, docx/document.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestphase-aFootnotes & Endnotes

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions