Hi,
I'm making a header in my document using the code from the example http://www.docx4java.org/trac/docx4j/br ... reate.java with the following code added in main():
wordMLPackage.save(new File(filename + ".docx"));
// mainDocumentPart.marshal(new FileOutputStream(new File(System
// .getProperty("user.dir"), "headerfooter.xml")));
// PDF export starts here
Mapper font_mapper = new IdentityPlusMapper();
wordMLPackage.setFontMapper(font_mapper);
org.docx4j.convert.out.pdf.PdfConversion c = new org.docx4j.convert.out.pdf.viaXSLFO.Conversion(wordMLPackage);
c.output(new java.io.FileOutputStream(filename + ".pdf"), new org.docx4j.convert.out.pdf.viaXSLFO.PdfSettings());
System.out.println("done");
In the resulting PDF the header image is not present. What to do to generate a proper header ?