We are using the export-fo API to convert a word document to PDF. If the word is a full page document with a header(The word document fits into a single page), the pdf generated fits into two pages instead of one page. Please advise if this I a known issue and if there is solution for this problem. Reducing the margin or using a smaller font are some of the workarounds, we are using to fit the word document into a single page PDF document. We have tried different versions of the doc4j software from 3.2.2 to 3.3.6 and the results are the same.