I'm new to docx4j. I use it to convert docx to pdf. I start by reading an existing docx, then adding a header to the wordMLPackage. Finally I convert it to pdf.
The problem is that the headers are missing in the pdfs. I tested my header addition by saving a test.docx file just before I do the conversion. The headers are there in the test.docx file.
I searched this forum, but didn't find any answers. Can someone provide some guidance please?