Menu

Issue in Generating the Tables using iText

Help
Kalyan
2011-10-24
2012-09-01
  • Kalyan

    Kalyan - 2011-10-24

    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

     
  • Kalyan

    Kalyan - 2011-10-24

    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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.