Page 1 of 1

docx to pdf problem with text both on 1 and on 2 columns.

PostPosted: Thu Mar 29, 2018 9:17 pm
by bs_dellacqua
Hi all,
I'm using docx4j 3.3.6.
I've a docx file which contains both text on one column and text on two columns (OneColumnAndTwoColumns.docx).
When I try to convert docx into pdf using FO library (see Java code in docx2pdfFO.txt) the produced pdf file is contained into OneColumnAndTwoColumns_FO.pdf and the text that in docx was on one column is now on two columns.
When I try to convert docx into pdf using http://converter-eval.plutext.com:80 converter instance (see Java code in docx2pdfPDF.txt) the produced pdf file is contained into OneColumnAndTwoColumns_PDF.pdf and the text has the same layout so as contained into docx.
Any suggestion about how to solve this problem using FO ?
Thanks and best regards.