Page 1 of 1

Edit an existing footer

PostPosted: Tue Nov 11, 2014 9:46 pm
by udayakumar_p
Hi,
I have followed the link

http://blog.iprofs.nl/2012/11/19/adding ... ts-part-2/

to add footer to word document with docx4j. However I am not able to edit existing footer(The code works only for adding new footer). Can anyone help me with getting the existing footer and modifying it. The footer will be containing page number and the document version number(may be asked to add other details in the footer in future).

Re: Edit an existing footer

PostPosted: Tue Nov 11, 2014 11:34 pm
by jason
See https://github.com/plutext/docx4j/blob/ ... rList.java

The getXXXFooter methods in the code return footer parts.