Its not possible for me to add the table to the document before the table
has any data. As this table is getting generated at the run time and
displayed in pdf doc.
want to pick up the page number and put some conditions on it for data
placement in that table.
Thanks.
On Wed, Sep 9, 2009 at 5:12 PM, 1T3XT info <[email protected]> wrote:
> Deepa Thakur wrote:
> > 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.
>
> Of course, that's elementary logic!
>
> > But i want to pick up the pagenumber while the data
> > is getting added into table
>
> That's impossible.
>
> > as i'm adding the table to document once the
> > whole data is processed.
>
> Add it BEFORE the data is processed.
> --
> This answer is provided by 1T3XT BVBA
> http://www.1t3xt.com/ - http://www.1t3xt.info
>
>
> ------------------------------------------------------------------------------
> 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/
>
------------------------------------------------------------------------------
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/