Page 1 of 1

Docx to Pdf - Missing Headers

PostPosted: Mon Jun 27, 2011 7:02 am
by sirbob
Hi,

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?

Many thanks,

Re: Docx to Pdf - Missing Headers

PostPosted: Mon Jun 27, 2011 11:15 pm
by jason
Are you using 2.6.0, or something more recent?

If the former, please try http://dev.plutext.org/docx4j/docx4j-ni ... 620.tar.gz

If this doesn't help, you'll need to post a docx exhibiting the issue.