Hello,
i want to modify an existing docx document from a Servlet.
The original document have an header for the first page and one for other pages.
The other pages header contains a text box with an background color.
I can take the original document five times and replace text of an org.docx4j.wml.Text element inside the header text box. Everything runs fine.
The sixt run fails, docx4j creates the document, but the header text box is gone.
Why does it work for five runs and fails at the sixt run? After tomcat restart, it works 5 times than fails and so on.
Can someone help?
Regards
Christian