Lanz Yannick wrote: > Hello, > > I want to create a table of article with the price in the last column. > If the table overflow the page, how to calcul and insert an intermediate row > with the sum ? Have you idea ? > I have try with the onEndPage event but I don't know how to get the position > and the situation of the table at this > moment.
I would use a footer row with a cell that has a cell event attached to it. Make sure the cell event has a member variable to keep track of the sum. Each time the cell event is triggered, draw this sum into the cell. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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/