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.21k stars 371 forks source link

odt to pdf with AbstractProcessXDocReportServlet #151

Open abdoah77 opened 8 years ago

abdoah77 commented 8 years ago

Hi, I created MyServlet implements AbstractProcessXDocReportServlet for generate a report with OpenOffice odt ,MyServlet works fine and generates report .odt but I want to convert the file generated to PDF format with XDocReport API ,my question is what is the "HTTP parameter converter" to add to the URL ? for example to convert DOCX to PDF we add "converter=PDF_XWPF"

Thanks.

angelozerr commented 8 years ago

If you have added required JARs for ODT->PDF converter (based on ODFDOM), you can do the same thing than DOCX-> PDF with converter=PDF_ODFDOM

abdoah77 commented 8 years ago

Thanks.