kunalg (1) [Avatar] Offline
#1
Hi

i have one template which contains some text fields and one table which needs to be inserted at run time by retrieving data from the database.

Now i can insert data for text fields by using stamper class. But how should i read the table and add new cell correspond to the number of rows retrieved from the database.

Is there any method by which i can find the table from the pdf template and then modify it by adding new cell or by changing information in the cell.
blowagie (284) [Avatar] Offline
#2
Re: Insert pdfcell in a table dynamically
Please read the book. As explained on many places (for instance in section 3.2.1), you make some assumptions in your question that are completely wrong. I can only answer with a counter question: are there any fields in your PDF?