• Post Reply Bookmark Topic Watch Topic
  • New Topic

itext beginners tutorial  RSS feed

 
Pratik Lohia
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Need to generate pdf reports from a JTable.
Need an itext tutrial for the same.

Any assistance

Thanks and Regards
Pratik Lohia
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A very extensive tutorial can be found here. There's nothing in iText to create PDFs from JTables, though, so you'll have to write the conversion code yourself. That would make a good addition, so maybe you might consider donating code that does this to the iText project once you have something up and running (hint hint).
 
Pratik Lohia
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well ... though as of now I have not been able to get a generic program for a report from a JTable, I have developed one for a TableModel. If that can be any help, I would love to contribute it to the itext community. Just tell me how i can do that.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could submit it as a patch on the SourceForge iText project.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!