opensagres / xdocreport

XDocReport means XML Document reporting. It's Java API to merge XML document created with MS Office (docx) or OpenOffice (odt), LibreOffice (odt) with a Java model to generate report and convert it if you need to another format (PDF, XHTML...).
https://github.com/opensagres/xdocreport
1.23k stars 373 forks source link

Docx to PDF - Table breaks across pdf pages. #363

Open kan2008tnptc opened 5 years ago

kan2008tnptc commented 5 years ago

HI,

I have source Docx which has lot of tables while converting into pdf, the tables are getting splitted across pages. But the source docx seems fine.

I hope some of you have faced this issue before.. Do we have any solution yet. ?

mrevenga commented 5 years ago

I am experiencing same issue with odt converter and pdf output. In OpenOffice I forced (I marked the checkbox) not to split table in template file and the generated pdf has the table splitted.

I have changed paragraph options, table options (table and lines options about get together or not to split). I tested all I can figure out to solve the issue (make the trick) changing parameters and combinations of them. No succed :(

I am using xdocreport 2.0.0 and OpenOffice 4.1.1.

KnyGoo commented 5 years ago

Also dealing with this problem.

WENPIN1 commented 2 years ago

Do we have an option like 'Allow row to break across pages & columns' ? The table item on the converted pdf doesn't break continuously to utilize the blank area of a page. But the source document is working. image

Thanks !