Hello all,
I've just started using docx4j and I am highly impressed. My application edits a .docx template, and I would like to convert the edited result to pdf. I can edit the template just fine, and I've even gotten the conversion to work using org.docx4j.convert.out.pdf.viaXSLFO.Conversion. However, my .docx orientation is Landscape and the pdf conversion keeps coming out Portrait. I've found the enum STPageOrientation in the JavaDocs, but I can't figure out where or how to set it for the conversion. I'm essentially using CreatePdf.java from the samples. So, my question is: How do I set the page orientation while converting from .docx to .pdf using viaXSLFO?
Thanks in advance