File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes itext table sub totals and grand totals Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "itext table sub totals and grand totals" Watch "itext table sub totals and grand totals" New topic

itext table sub totals and grand totals

ozay duman

Joined: Jan 22, 2012
Posts: 2
i want to generate a pdf and show page totals and grand total on each page when table data splitting How can i implement this

5 1


Page Total 13 3
Total 13 3

5 9


Page Total 8 11
Total 21 14
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39537
You can find a simple iText code example at It shows how to create a table, amongst other things. Be careful to consider which iText version you want to use - 2 or 5. They have different licenses, and iText 5 may require you to pay for it.

Ping & DNS - updated with new look and Ping home screen widget
I agree. Here's the link:
subject: itext table sub totals and grand totals
Similar Threads
Multithreading: How can total be nearly 5,000 even though loop is up to 100?
list values
Array stuff again...
Help please, due in 1 hour. Does not compile
Show total of each column