Page 1 of 1

PDF output with Layout issue

PostPosted: Sat Oct 25, 2014 11:11 am
by qq955166
Hi Guys,

I am using MS2013 to build my word file and using docx4j-3.2.0.jar to convert my word file to PDF file.

But the layout of my word file is different with the PDF output. Please see attachments.

Both page size are the same, but in the PDF output, I don't know why there is some spacing at the bottom of first page,

and because of that, the content of second page will printed on the first page.

Could anyone tell me how to fix this?

Thank you.

Re: PDF output with Layout issue

PostPosted: Sat Oct 25, 2014 12:05 pm
by jason
Since in this particular case the PDF layout uses less vertical space than Word's layout, you could solve the problem by inserting a hard page break in the docx between the hotel copy and the guest copy.

Re: PDF output with Layout issue

PostPosted: Sat Oct 25, 2014 4:08 pm
by qq955166
This works!

Thank you, Jason.