Hi bruno, Earlier we used PDFPtTable. But There was problem of row spaning in PDFPCell.
In tables there there is one cell whose text can be of any length. Depending on that length the predessesor column needed to be span for few rows. But using nested PDFPTables that was not solved.Also the cell alingment was wrong. to counter this, I counted the \n in the text add added those \n to the previosos cell. But Sometimes the text doesn't have \n(new lines) and there is where the problem arised. Can there be any way to span a PDFPCell? Bruno Lowagie (iText) wrote: > > Sunil. Belurgikar wrote: >>> >Hi bruno, >>>>I am using com.lowagie.text.Table because there is a rowspan for a >>>>Perticulaer cell. > > Table is problematic. Different bugs have been fixed in different > iText versions, but I can't guarantee everything works as it should > in the most recent version. It's a known issue. > You're better of with PdfPTable and nested tables to simulate rowspan. > >>>>I am not adding table on onEndPage. > > OK, because that's not allowed. > >>>>I am adding footer on onEndPage. > > Probably using PdfContentByte.showTextAligned; that's OK. > >>>>I am adding Tables after document.open() is called. I am adding table > >>>using Documents add() method. > > OK, > br, > Bruno > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ > > -- View this message in context: http://www.nabble.com/PageEvent-Problem-tf3831955.html#a10850015 Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
