| Article: |
Dynamically Creating PDFs in a Web Application | |
| Subject: | FOP | |
| Date: | 2003-06-20 02:29:33 | |
| From: | anonymous2 | |
|
Response to: FOP
|
||
|
There is some experimental XML2PDF functionality in iText, but if you need to generate PDF from XML, I guess you're better of with FOP. On the FOP-site, they recommend iText as post-processor to merge, encrypt,... FOP generated PDF files. If you are generating PDF from code, you should use iText instead of FOP because it's much easier and you need less code. For instance: you have a database table you access with JDBC and you want to put everything in a PDF, RTF or HTML report simultaneously. (I don't think FOP generates RTF, but I'm not 100% sure about this.) Also if you have written code for a java.awt.Graphic2D object already, you can reuse that code to paint directly to a PDF page.
|
||
Showing messages 1 through 1 of 1.
-
FOP
2004-02-04 06:32:50 kercadio [View]



iText has a lot of functionalities using directly the Java libraries, but less ones using the Cocoon iText Serializer. You can however use the Serializer with Cocoon, like FOP: FOP uses XSL:FO, iText uses its own format (iText-xml)