Benjamin Kuehnis wrote:
> Hi,
> I have a problem with iText and I don't know how to slow it wisely.  I
> have a PDF document witch has a header and a footer. In every new page
> I would like to display a new table (witch I know how to generate).
> The problem is, how do I add every new page a table, before I add the
> content?
> A method is use in the "PdfPageEventHelper" class was "onStartPage()"
> but I have read, that this is not the best way to do something like
> that.
> Has any one a better way to slow my problem?

Replace "slow" by "solve" twice in your question ;-)
and please give us some more info.

Is the table part of the content?
Is it part of the header/footer?
Is the table identical for every page?
Is there other content besides the header, footer and tables?

onStartPage() shouldn't be used to add content;
you should use onEndPage() instead.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
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

Reply via email to