Skip to content

Provide api to access footnote, endnote #860

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

br-rkdrnf
Copy link

This PR aims to provide API to access and manipulate footnotes and endnotes.

Tests are not implemented yet but if it is determined to be acceptable, I will implement tests for those new APIs.

Mainly, it adds footnotes and endnotes getter to run proxy class to provide access to footnotes and endnotes.

@BayooG
Copy link

BayooG commented Sep 8, 2020

I really like what you did
keep the good work 💪

@animebing
Copy link

@br-rkdrnf Thanks for your great work. I have tried your footnote version, I find that it can access the footnotes which have already existed in the document, but I can't add a new footnote for a run, which is the right behavior or I just miss something from your code?

@cnhuijiang
Copy link

May i ask how to add footnote in run level? Like run.add_footnote()

@mszulc913
Copy link

Any update on merging this one?

Copy link

@epicfaace epicfaace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great -- can you also update the docs?

@deantajohn
Copy link

I'm expecting this to be released soon in docx

@tobidae
Copy link

tobidae commented Jul 17, 2023

Hey, what's the status on this PR? 😀

FranciscoPereira9 added a commit to ml6team/python-docx that referenced this pull request Nov 2, 2023
@Cerebex
Copy link

Cerebex commented Oct 28, 2024

@scanny Any updates on merging footnote support into the library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants