Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java API for PDF generation.

 
Rajkamal Pillai
Ranch Hand
Posts: 445
1
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

In need for an API for generating PDF docs. Would like a comparison among them.

Anybody who has used should be able to give a pointers.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See the AccessingFileFormats page.
 
Rajkamal Pillai
Ranch Hand
Posts: 445
1
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thank you.

I would be using this for a commercial purpose so that basically rules out iText.

As about the rest I'm looking for one which is configurable, not too complex and permits a fair share of features.

FOP looka interesting but what are its known drawbacks?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would be using this for a commercial purpose so that basically rules out iText.

iText is available under a business-friendly license as well; check their web site.

FOP looka interesting but what are its known drawbacks?

FOP makes sense if the data is in XML format already, or can be transformed into XML w/o much effort. But you'll need XSL-FO skills, and not many people have those since it's not used all that much.
 
Shahzad Latif
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Raj,

You may use Aspose.Pdf for Java to create PDF files from scratch. This component is written in Java and can be easily used in Java applications. It provides quite flexible API to create PDF files with various features. The details along with working examples can be found in the documentation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic