Hi,

I have a problem regarding adding multiple paragraphs to a single table
cell. It seem like the indentations and spacing of the different
paragraphs are lost.

Cell cell = new Cell();

Paragraph p1 = new Paragraph("Text in first p");
p1.setIndentationLeft(20);
p1.setSpacingBefore(30);
cell.addElement(p1);

Paragraph p2 = new Paragraph("Text in second p");
p2.setIndentationLeft(50);
p2.setSpacingBefore(10);
cell.addElement(p2);

table.addCell(cell);


What am I doing wrong?

regards Gustaf



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to