Page 1 of 1

Editing Footnotes

PostPosted: Thu May 10, 2012 9:59 pm
by SmithaRSanthosh
Can I edit footnotes dynamically using code.

For the main document , I was replacing sample values with Actuals using getJAXBNodesViaXPath.
I want to do something similar with Footnotes. Some of the text in the footnote has to be generated runtime.

Can you suggest some ways of doing it?

Re: Editing Footnotes

PostPosted: Fri May 18, 2012 2:50 pm
by jason
Following https://github.com/plutext/docx4j/commi ... 8a16bdf47e you should be able to use getJAXBNodesViaXPath with footnotes & endnotes.

Otherwise of course, there is always TraversalUtil (see Getting Started)