Page 1 of 1

PDF: header and footer issue

PostPosted: Fri Nov 21, 2014 5:44 pm
by rabi
We are trying to convert docx with header and footer to pdf file but in the pdf file , the content is partially displayed .
we tried removing header and footer and converted to pdf .The pdf conversion is fine.
then we again added the header and footer manually to the docx , now the pdf is properly displayed with header and footer .
what is the solution to get it done automatically .kindly help.

Re: PDF: header and footer issue

PostPosted: Fri Nov 21, 2014 7:02 pm
by jason
You'll need to attach your problematic sample docx.

Re: PDF: header and footer issue

PostPosted: Fri Nov 21, 2014 8:24 pm
by rabi
After converting to pdf the content present in top right of the docx is not present in the pdf(half page is cut)
One thing we observered is ,after opening the docx give one blank space or edit any content in docx and save.
After editing ,if we convert the same docx to pdf ,the conversion is very good.
Kindly let us know what is the problem and how to over come this.

Re: PDF: header and footer issue

PostPosted: Fri Nov 21, 2014 11:57 pm
by rabi
I have used docx4j to craete the docx file which is shared.(using xhtmlimporter)

Re: PDF: header and footer issue

PostPosted: Tue Nov 25, 2014 3:25 pm
by rabi
Hi ,
Kindly provide some insights regarding the above issue .Thanks.

Re: PDF: header and footer issue

PostPosted: Fri Nov 28, 2014 10:40 pm
by jason
If you compare the 2 docx using the Open XML SDK 2.0 Productivity Tool, you'll see Word added various properties to the table (eg width), which the PDF output is relying on.