Formatting errors when converting Table.docx to PDF
Posted: Wed Nov 26, 2008 5:22 am
Hi there -
I've just started playing with docx4j since I'm thinking of using it on a project we are working on.
I tried out the samples.CreatePdf.java class using the sample-docs/Table.docx file as test input (since it looks uncannily like the file we need to convert to pdf).
The resulting pdf document looks ok - but the major problem seems to be the text
appearing just below the table.
There is also some slight spacing differences and the PDF is missing the heading underline that is in the Table.docx
Does anyone experience a similar result? Or am I using the library incorrectly?
Unfortunately I cannot attach the generated doc as the pdf file extension is not allowed.
Thanks -
I've just started playing with docx4j since I'm thinking of using it on a project we are working on.
I tried out the samples.CreatePdf.java class using the sample-docs/Table.docx file as test input (since it looks uncannily like the file we need to convert to pdf).
The resulting pdf document looks ok - but the major problem seems to be the text
<![if
!supportMisalignedColumns]>
<![endif]>
appearing just below the table.
There is also some slight spacing differences and the PDF is missing the heading underline that is in the Table.docx
Does anyone experience a similar result? Or am I using the library incorrectly?
Unfortunately I cannot attach the generated doc as the pdf file extension is not allowed.
Thanks -