barik wrote: > I want to set different headers for PdfTable in each new pages.The conditions > are not fixed....
Add (a) member variable(s) with getter(s)/setter(s) to your page event. Change the(se) member variable(s) with the setter(s) if the conditions change. Use the getter(s) in the onEndPage event to decide what the header must look like. This is not an iText specific question; this is a simple Java(bean) problem. -- This answer is provided by 1T3XT BVBA ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar
