File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generate dynamic PDF

 
Suhel Sayyed
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I would like to know if its possible to print a table in PDF using Java code, where in number of rows or columns may vary. I mean there can be different number of columns or rows everytime a report is generated.

My application reads columns and rows from mainframe database in form of an XML structure. Suppose if XML tells me x,x then there should be x columns in table and x rows printed under them. XML parsing logic I already have written, which is working good.

If someone could please tell me if this is possible in PDF. Had been using Elixir tool for reporting, but was not able to find any way to do this is Elixir. Now lookig forward to do it via PDF.


Thanks in advance.

Suhel Sayyed.
 
Tim Moores
Bartender
Pie
Posts: 2495
9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're prepared to use a reporting engine, have a look at JasperReports. A more pedestrian approach would be via Apache FOP or the iText library.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic