Niklas Pettersson wrote:
Thank you for such a quick response...
See the attached file for an example of the "misbeahaviour".
I meant I needed something like this before I could start debugging:
public static void main(String[] args) {
try {
Document doc = new Document();
PdfWriter.getInstance(doc, new FileOutputStream("test.pdf"));
doc.open();
Table table = new Table(3);
Cell single_cell = new Cell("single cell");
single_cell.setGrayFill(0.2f);
Cell rowspan_cell = new Cell("rowspan 3");
rowspan_cell.setGrayFill(0.1f);
rowspan_cell.setRowspan(3);
table.addCell(single_cell);
table.addCell(single_cell);
table.addCell(single_cell);
table.addCell(rowspan_cell);
table.addCell(single_cell);
table.addCell(single_cell);
table.addCell(rowspan_cell);
table.addCell(single_cell);
table.addCell(single_cell);
table.addCell(single_cell);
table.addCell(single_cell);
table.addCell(single_cell);
table.addCell(single_cell);
table.addCell(single_cell);
doc.add(table);
doc.close();
} catch (Exception e) {
e.printStackTrace();
}
}
I see there is indeed a problem with one of the rowspans.
I'll try to debug it, but I can't guarantee anything because
I didn't write the new Table code.
br,
Bruno
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions