Thanks for your help, It works perfectly !
-----Original Message----- From: 1T3XT info [mailto:[email protected]] Sent: lundi 14 juin 2010 18:02 To: Post all your questions about iText here Subject: Re: [iText-questions] Cell spliting over page break François Miermont wrote: > Hi, > > > > Im using iTextSharp v4.1.2. > > I create a PDF which is a big listing in a table. My problem is that > some cells are really big (lots of line in it) and split over many > pages. Im trying, when splitting occurs, to add a text at the top left > of the cell as a reminder. > > > > Problem is I dont have any idea if it is possible ? I'd use a Cell event to do this. Add a boolean member variable to your implementation of PdfPCellEvent, for instance cellIsAdded = false; Check this variable in the layout() method. If it's false, set it to true; if it's truee, add the reminder. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ---------------------------------------------------------------------------- -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ 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/ ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ 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/
