StimVinsh / xdocreport

Automatically exported from code.google.com/p/xdocreport
0 stars 0 forks source link

Develop PDF converter with FOP (without XML-FO but Just with Java code) #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
XDocReport provides sereveral PDF converter (docx->PDF an dodt->PDF) based on 
itext and wish gives those converter to Apache Fondation. But for license 
reason, itext cannot be accepted by Apache.

http://pdfbox.apache.org/ could be used. I have posted a question on PDFBox 
forum at 
http://mail-archives.apache.org/mod_mbox/pdfbox-users/201108.mbox/%3CCAKLdLg-9w3
gu9Hx0BX1iYiCJmT9EEzkv9Vxq7sk6=gKn=DkqhA@mail.gmail.com%3E

Original issue reported on code.google.com by angelo.z...@gmail.com on 29 Aug 2011 at 8:40

GoogleCodeExporter commented 8 years ago

Original comment by angelo.z...@gmail.com on 29 Aug 2011 at 8:41

GoogleCodeExporter commented 8 years ago
After studying PDFBox and having a lot of discussion with a FOP developer, we 
decided to use FOP (BUT not with XML- FO)instead of PDFBox. FOP provides the 
capability to generate PDF with Java code only. The only thing to manage is the 
layout. We decided to create new projects about that (develop an API with FOP 
like iText with Paragrpah, Document structure) and develop converter by using 
this new FOP API DOM-like.

Original comment by angelo.z...@gmail.com on 1 Nov 2011 at 3:57

GoogleCodeExporter commented 8 years ago

Original comment by angelo.z...@gmail.com on 1 Nov 2011 at 3:57

GoogleCodeExporter commented 8 years ago
FOP guys answer very interesting 
http://mail-archives.apache.org/mod_mbox/pdfbox-users/201110.mbox/%3C20111015145
837.89A5.60BA733C@jeremias-maerki.ch%3E

Sample with FOP with Just Java 
:http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/embedding/java/embe
dding/ExampleJava2D2PDF.java?view=markup

Use this sample (where x and y are setted) by managing layout to develop 
project like DOM-like than iText.

Original comment by angelo.z...@gmail.com on 1 Nov 2011 at 6:58

GoogleCodeExporter commented 8 years ago
I close this issue because it's a too big task and PDFBox/FOP seems not 
interested by this topic.

Original comment by angelo.z...@gmail.com on 23 Mar 2013 at 9:17

GoogleCodeExporter commented 8 years ago
cleanup

Original comment by pascal.leclercq on 10 Oct 2014 at 7:37