Re: [iText-questions] PageEvent Problem

2007-05-29 Thread sunil.belurgikar
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 ce

Re: [iText-questions] PageEvent Problem

2007-05-29 Thread sunil.belurgikar
Sunil. Belurgikar wrote: > There is inconsitestency of table .(some cells are drawn in one page and > their data is written in next page ) > > Can anybody pls help me why this happens? 1. Are you using com.lowagie.text.Table or com.lowagie.text.pdf.PdfPTable? 2. What happens in onEndPage?

Re: [iText-questions] PageEvent Problem

2007-05-29 Thread Bruno Lowagie (iText)
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

Re: [iText-questions] PageEvent Problem

2007-05-29 Thread Sunil. Belurgikar
>>Hi bruno, >>I am using com.lowagie.text.Table because there is a rowspan for a >>Perticulaer cell. >>I am not adding table on onEndPage. >>I am adding footer on onEndPage. >>I am adding Tables after document.open() is called. I am adding table using Documents >>add() method. 1

Re: [iText-questions] PageEvent Problem

2007-05-29 Thread Bruno Lowagie (iText)
Sunil. Belurgikar wrote: > There is inconsitestency of table .(some cells are drawn in one page and > their data is written in next page ) > > Can anybody pls help me why this happens? 1. Are you using com.lowagie.text.Table or com.lowagie.text.pdf.PdfPTable? 2. What happens in onEndPage? Ar

[iText-questions] PageEvent Problem

2007-05-28 Thread Sunil. Belurgikar
I am creating a PDF document using iText and writing some tables to it. On page end event of PDFWriter I am creating footer. method :onEndPage(PdfWriter pdfwriter, Document document) My problem is that this event is getting called twice. so some tables are cut even if whole page is available and th

Re: [iText-questions] PageEvent use within a Tomcat container?

2006-12-14 Thread Paulo Soares
-questions@lists.sourceforge.net Subject: [iText-questions] PageEvent use within a Tomcat container? My use of PageEvents, either interface or subclassed, has been very successful within an IDE application (Netbeans 5.0). Such PageEvent usage causes the app to fail in our production environm

[iText-questions] PageEvent use within a Tomcat container?

2006-12-14 Thread Reed, Paul A.
My use of PageEvents, either interface or subclassed, has been very successful within an IDE application (Netbeans 5.0). Such PageEvent usage causes the app to fail in our production environment - EMC/Documentum Method Server (Tomcat). Any attempt to instantiate a class using PdfPageEvent or PdfPa

Re: [iText-questions] PageEvent

2006-04-18 Thread Bruno Lowagie
Ken wrote: Here's the handler: private class EventHandler extends PdfPageEventHelper { public void onStartPage(PdfWriter writer, Document document) { ... document.add(para); } } Wow, don't ever use document.add in a PageEvent! Th

[iText-questions] PageEvent

2006-04-18 Thread Ken
Here's the handler:private class EventHandler extends PdfPageEventHelper     {     public void onStartPage(PdfWriter writer, Document document)     {     if (sensitivity != null)     {     Chunk ch = new Chunk("\n\n " + sensitivity.toUpperC

RE: [iText-questions] PageEvent

2006-04-18 Thread Paulo Soares
: itext-questions@lists.sourceforge.netSubject: [iText-questions] PageEvent Is there some problem with PageEvents in landscape mode? I set up a handler to print a line when onStartPage was encountered. It works fine on the first page, but then prints again in the middle of the second page. Is

[iText-questions] PageEvent

2006-04-18 Thread Ken
Is there some problem with PageEvents in landscape mode? I set up a handler to print a line when onStartPage was encountered. It works fine on the first page, but then prints again in the middle of the second page. Is there something I need to do to tell it it's in landscape? Talk is cheap.