Hi All,
I am using itext-rtf-2.1.7.jar for generating RTF file.
I am able to generate the Images and also normal text. But could not generate the Tables and also colored Text.
Please help me to generate tables in the RTF file.
regards,
Kalyan
I used this code for adding the Table in the RTF file. But its not displaying any table in the document.
Cell rCell = new Cell("Column1");
Table table = new Table(1);
table.addCell(rCell);
table.complete();
table.setComplete(true);
document.add(table);
Log in to post a comment.
Hi All,
I am using itext-rtf-2.1.7.jar for generating RTF file.
I am able to generate the Images and also normal text. But could not generate
the Tables and also colored Text.
Please help me to generate tables in the RTF file.
regards,
Kalyan
I used this code for adding the Table in the RTF file. But its not displaying
any table in the document.
Cell rCell = new Cell("Column1");
Table table = new Table(1);
table.addCell(rCell);
table.complete();
table.setComplete(true);
document.add(table);