The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

kunalg (1) [Avatar] Offline

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
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?