Women in Technology

Hear us Roar



Article:
  Dynamically Creating PDFs in a Web Application
Subject:   Big table generation problem
Date:   2003-10-11 10:18:19
From:   anonymous2
Hi,
I am trying to generate one table. table is around has 2500 rows and 6 column and each column has its own alignment. I am getting only I can use
Cell cell = new Cell(data[i][j]);
if(j == 0||j == 3||j == 5)
cell.setHorizontalAlignment(Element.ALIGN_CENTER);
else
cell.setHorizontalAlignment(Element.ALIGN_LEFT);
table.addCell(cell,new Point(i,j));


But I am not very comfertable as it is genarating too many objects. Can you suggest me any alternative way so that I do not need to generate these many objects.


-Sanju

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • Big table generation problem
    2004-03-24 01:12:45  jms_knaack [View]

    Hello,

    I am confronted with a similar problem and I wonder if you could move forward with your problem

    Any feedbac would be very much appreciated
    Jose
    • Big table generation problem
      2006-10-29 22:16:50  abetme [View]

      hello,

      i am facing the same problem of generating big tables, and i am very new to this itext, is it possible to initialize the number of rows and columns in the beginning of the creation of the table, and how to point to a specific cell in a table.
  • Big table generation problem
    2003-10-18 14:39:17  anonymous2 [View]

    Ask this question on the itext-questions mailing list

    http://lists.sourceforge.net/lists/listinfo/itext-questions