An exception was thrown and ignored. You must set first the
PdfPTable.setTotalWidth().
Best Regards,
Paulo Soares
> -----Original Message-----
> From: Kenny G. Dubuisson, Jr. [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, December 13, 2002 16:05
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Generating a test PdfPTable problem
>
> I'm trying to generate a test PdfPTable to add to my ContentByte document.
> From the docs, I would think that the following lines would work (where
> "cb"
> is my ContentByte object):
>
> PdfPTable table = new PdfPTable(4);
> table.addCell("Test Cell 1");
> table.addCell("Test Cell 2");
> table.addCell("Test Cell 3");
> table.addCell("Test Cell 4");
> table.writeSelectedRows(0, -1, 100, 100, cb);
>
> But when I add those lines to my servlet, it stops working (I just get an
> empty browser window). Any ideas on what I'm doing wrong/missing?
> Thanks,
> Kenny
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:
> With Great Power, Comes Great Responsibility
> Learn to use your power at OSDN's High Performance Computing Channel
> http://hpc.devchannel.org/
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions