seeker
seeker

Reputation: 7011

Generate PDF reports through Java(web applications) using iText/ any other library using ready made data

Before you down vote me, I'm not here to ask on how to use iText in Java. My query is about generate pdf's(reports) using iText. We currently have a set of reports that are prepared in html, is there any way that I could use the data being prepared here to directly generate a pdf rather than write Java code to manually write (Java)code to prepare a table line by line as in the case of iText. A link to an existing solution would suffice as well.

Upvotes: 0

Views: 3936

Answers (2)

Avil
Avil

Reputation: 453

try JasperReport. with this you can create templates and generate PDFs dynamically by passing just data. you can use iReport for designing jasper templates.

Upvotes: 2

duffymo
duffymo

Reputation: 308998

Another alternative to iText would be XSL-FO. You could create a Velocity template for the XSL-FO stylesheet and dynamically populate it with your data.

Upvotes: 0

Related Questions