Hi,
I'm using writer.getPageNumber() in my file to get the current page number
but its returing the same value though in actual pdf the data is getting
written to different pages. I have used table to display the data which i'm
fetching from database. In one of the mail threads on iText i read that i
can only get the current page number after i add the table to document. But
i want to pick up the pagenumber while the data is getting added into table
as i'm adding the table to document once the whole data is processed.
Please let me know how can i resolve this issue.
(I have also tried writer.getCurrentPageNumber() but both works in same way)

Thanks in advance.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to