Fill dynamically extendable PDF tables in java

Hi,


I have created a PDF template using adobe livecycle designer, which has a extendable table.
I was able to fill up the table using xml data.

FileInputStream xmlInputStream = new FileInputStream(XML);
form.importXml(xmlInputStream);

This automatically generates new rows in the table based on the data in xml.

I have java object representation of this XML data. I want to fill the table directly like:
for(i=0…)
form.fillField(“invoiceForm.invoice.itemTable.itemRow[”+i+"].desc", item.getDescription());
i++

I can’t fill beyond the first row. other rows are not added!


Hi Basivi,


Thanks for using our API’s.

Can you please share the resource files (resource PDF and XML) and the code snippet which you are using, so that we can test the scenario in our environment. We are sorry for this inconvenience.