Hello, All.

  I'm newbie here. I'm sorry for my terrible English.
  So, how can I make rowspan when I'm using PdfPTable? The answer: "Use
  nested tables" is not absolutely correct. I'll try to illustrate
  this.

private static final Font bold = new Font(Font.HELVETICA, 10, Font.BOLD);

document.open();
PdfPTable intTable = new PdfPTable(1);

PdfPCell cell = new PdfPCell(new Phrase("Test 1", bold));
intTable.addCell(cell);
intTable.addCell(cell);

PdfPTable intTable1 = new PdfPTable(1);

PdfPCell cell1 = new PdfPCell(new Phrase("Test with\n new line", bold));
intTable1.addCell(cell1);
intTable1.addCell(cell1);

PdfPCell bigCell = new PdfPCell(intTable);
PdfPCell bigCell1 = new PdfPCell(intTable1);

PdfPTable table = new PdfPTable(4);
table.setWidthPercentage(100);
table.addCell(bigCell);
table.addCell(cell);
table.addCell(bigCell1);
document.add(table);
document.close();

The bottom border of "cell" in "bigCell" has another level than bottom
border of "cell1" in "bigCell1".
Please help me to solve this proplem.

-- 
Let 'Em Burn,
 inVader                          mailto:[EMAIL PROTECTED]
np: System Of A Down (2002) - Innervision



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to