Closed 402Martin closed 8 months ago
I have been trying to implement this case but cant manage to solve the issues with the rest of the tests. @iulica could we add a label as enhancment/ feature to the issue?
I'll have to rework the main class for the cases where there is no section in the document.
I believe the same applies for headers and footers ?
I just did a quick test and it looks like this issue also happens on footers and headers
I believe the same applies for headers and footers ?
I did a commit just now, adding the footnotes support and test for it. Currently, only document.merge() is supported, namely one document at a time, and not merge_templates() and variants. It should work for header/footer as well.
Please install directly from github and check if it works. When confirmed, I will release a new version.
Tested it up with various docx files and seems to be working fine!
thanks @iulica !
Perfect, I will make a new release after adding some more features in the next couple of days.
Currently mail merged fields on footnotes are not getting replaced.
Expected Behavior
Current Behavior
Currently mail merged fields on footnotes are not getting replaced.
Possible Solution
also attempting to just add
"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml"
on CONTENT_TYPES_PARTS broke several testsSteps to Reproduce (for bugs)
Your Environment