This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

FOP Vs IText

 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which one is the super set in generating PDF on the fly.. iText or FOP.
Are there any limitations in iText that we dont have in FOP.?

A.B
 
author
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Awais Bajwa:
which one is the super set in generating PDF on the fly.. iText or FOP.
Are there any limitations in iText that we dont have in FOP.?


FOP and iText are two different libraries.
This being said: there is a Java5 port of FOP (called Folio) that uses iText as PDF engine.

You have read some negative remarks about iText elsewhere in this forum. You can also read negative remarks on FOP. In general these remarks come from people who don't know anything about the purpose of FOP and/or iText.

FOP is good for small PDF files (less than 100 pages) generated from an XML source. On the FOP site, you will see that iText is promoted for post processing; for instance: you can use iText to encrypt a PDF file generated by FOP.

iText is more feature rich than FOP as far as PDF is concerned: you can add annotations, create AcroForms, digitally sign a PDF document. Also iText is the only solution if you need to generate PDF documents containing thousands or ten thousands of pages.

A user once replied that this isn't a very common request, but... well, let's remain friendly and say that this user hasn't a lot of experience in the real world. Banks, the DoD, insurance companies, even the University where I work, produce documents with thousands of pages on a daily basis.

A few examples of what iText can do and FOP can't do:
- manipulate an existing PDF document (fill in an AcroForm, add a digital signature, add watermarks,...)
- work with Optional Content layers
- render a Java Swing component to PDF (translating everything drawn to a Graphics2D object to PDF syntax)
- create an encrypted PDF file
- ...
 
Awais Bajwa
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your detaild explanation.. I have alredy worked with FOP and I agree with you in what you said.
 
No holds barred. And no bars holed. Except this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!