We are using Aspose.Pdf (java), below is the version infomation:
=== version information begin===
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 1.4.2-b28 (Sun Microsystems Inc.)
Name: Aspose.Pdf.Kit for Java
Specification-Title: Aspose.Pdf.Kit for Java
Specification-Version: 2.0.0.0
Specification-Vendor: Aspose Pty Ltd
Implementation-Title: Aspose.Pdf.Kit for Java
Implementation-Version: 2.0.0.0
Implementation-Vendor: Aspose Pty Ltd
Copyright: Copyright 2005 Aspose Pty Ltd
Release-Date: 2008.02.01
=== version information end===
We use the AutoFiller to fill the Pdf form data. As the AutoFiller has been removed from 22.9.
If we upgrade the version to 23.4 or 23.5, is there a class to implement the function of the AutoFiller? That is, we should how to implement the same function that do with the AutoFiller. Or we can only upgrade to the version before 22.9 if we need upgrade the version?
AutoFiller class is not implemented yet and will be not implemented in nearest versions. Furthermore, we always recommend to use the latest version as it contains maximum fixes and the improvements. You can use other ways to fill the form data using the latest version of the API. For example:
If we have below data, and want put them to three pages. (Refer to below figures), how we define the PDF template and how to organize the XML file with these data?
In order to use the mentioned method, you need to form your XML like in this sample and PDF template should have form fields with the same names as specified in the XML file.
I do a PdfTemplate (pdfTemplate.pdf) and organize the data as (Data1.xml, Data2.xml and Data3.xml) .
I can only get the first page (output.pdf) with below codes.
com.aspose.pdf.facades.Form form = new com.aspose.pdf.facades.Form(“pdfTemplate.pdf”);
form.importXml(“Data1.xml”);
form.save(“output.pdf”);
form.close();
Would you help check how to write the code to get the second, third… pages?
(these files, please refer to attachment “resource.zip”)