Hello,
First of all sorry for my bad English. I just started using docx4j and overall it's amazing and very usefull; thank you very much! I got stuck with trying to convert a docx file with an image in the header to pdf, the same problem Alan had, resulting with the header overlapping with the body of the document. I don't understand the last post of this thread; do I have to use LayoutMasterSetBuilder in some way to stop the overlapping?
I hope this is the correct place to post my question and if not, really sorry for the inconvenience.
jason wrote:alan wrote:2. The height allocated to the header in PDF is not as big as that in docx, hence the header image overlays the PDF body content . Is there any way to configure the PDF header height ?.
The relevant code is in
http://dev.plutext.org/trac/docx4j/brow ... ilder.javaIts the last method, called createSimplePageMaster. It may need to be revisited.