Hi All,
Using docx4j 2.8.1 and latest nightly
When we try to convert a docx document to PDF that has a bigger than normal footer (we add a quite large image in the footer) then the footer get "cut off". It seems like that the PDF conversion never change the size of the footer(only render the default size). We do the conversion in the simplest possible way:
WordprocessingMLPackage wp2 = WordprocessingMLPackage.load(new File("c:/testing23.docx"));
PdfConversion c = new org.docx4j.convert.out.pdf.viaXSLFO.Conversion(wp2);
FileOutputStream fos = null;
try {
fos = new FileOutputStream(new File("c:/testing.pdf"));
c.output(fos, null);
} catch(Exception e) {e.printStacktrace();}
Is there anyway we can make the PDF conversion output the actual footer size?
Regards
Niklas Olofsson