Hi PDFBox Team,

I introduce to me. I'm Angelo ZERR, one of developer of XDocRepor
<http://code.google.com/p/xdocreport/>It's Java API to merge XML document
created with MS Office <http://office.microsoft.com/fr-fr/> (docx) or
OpenOffice <http://www.openoffice.org/> (odt),
LibreOffice<http://www.libreoffice.org/>(odt) with a Java model to
generate report and convert it if you need to
another format (PDF, XHTML...).

* To convert ODT -> PDF, process is to load ODT with ODFDOM and loop for
each Java ODFDOM structure to create iText widget. Please read
http://code.google.com/p/xdocreport/wiki/ODFDOMConverter
* To convert Docx -> PDF, process is to load docx with POI (HWPF) and loop
for each Java HWPF structure to create iText widget. Please read
http://code.google.com/p/xdocreport/wiki/XWPFConverter

You can play with XDocReport at
http://xdocreport.opensagres.cloudbees.net/processReport.jsp where you can
generate report and convert it to XHTML:PDF (select the converter combo). An
iframe display the result of the report converted. If you change the data
model of the form, iframe is refreshed at runtime. So you can evaluate the
performance of the XDocReport.

XDocReport provides Java converter for docx and odt. We wish gives our 2
converter for POI and ODFDOM (soon Apache) but problem is itext license. So
we tell us if we could replace itext with PDFBox to manage converter for odt
and docx. odt and docx can be complex like Table, image in a table cell,
etc... and it seems that PDFPox doesn't support widget Table (just find this
article
http://fahdshariff.blogspot.com/2010/10/creating-tables-with-pdfbox.html but
if we wish manage images in a table cell, etc...I would like avoid
implementing my own widgets).

For performance have you doen benchmark (itext VS PDFBox).

Thank a lot for your answer.

Regards Angelo

Reply via email to