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
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?
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
>>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
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
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
-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
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
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
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
:
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
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.
12 matches
Mail list logo