Page 1 of 1

Page nubering fails after field update in headers and footer

PostPosted: Thu Jun 05, 2014 12:23 am
by scastle
Version 3.1.0.jar

I have some CustomDocProps in a footer that I want to update with FieldUpdater.update(true)
which works fine, howerver after calling this the PDF created by Docx4J.toPDF() fails
to update the page number/numpages properties correctly I have looked into it slightly and
the report states its "Ignoring" the two fields in the updater.

I have fileds in the header which I also want to update so for now Im calling update(false)
and explicitly updating the header part and not the footer and removing the fileds from the footer for the time
being as a work around as the page numbering is fine if I don't update the footer.

Thanks for any work around.
.... Simon