Hi all,
I'm not sure if I'm using itext correctly, but the following 2 pieces of
code work differently for me:
PdfPCell cell = new PdfPCell();
cell.addElement(par);
table.addCell(cell);
and
PdfPCell cell = new PdfPCell(par);
table.addCell(cell);I've attached the test java program and the resulting PDF created using the latest version of itext. Please let me know what I'm doing wrong, and how I can fix this, because I really need to be able to add multiple paragraphs to a table cell. Thanks in advance, - Rustam -
in_cell.pdf
Description: Adobe PDF document
in_cell.java
Description: Binary data
No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.4 - Release Date: 12/22/2004
