When converting an XFA to Standard Pdf, the resulting file has values in fields which are expected to be empty, the values are duplicated from other fields within the same file.This corrupts the entire pdf with incorrect data in fields where the data is not supposed to be present.
This is an urgent issue that needs resolved.
Thanks
@KasturiMohan Could you please specify which of Aspose produced you use for conversion and provide your code along with problematic input and output documents. We will check the issue and provide you more information.
Documents below are the documents used and converted.
Code used is as below:
Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document(pdfFile.FullName);
// For complete examples and data files, please go to https://github.com/aspose-pdf/Aspose.PDF-for-.NET
// The path to the documents directory.
// Load dynamic XFA form
// Set the form fields type as standard AcroForm
try
{
//var names = pdfDocument.Form.XFA.FieldNames;
pdfDocument.Form.Type = FormType.Standard;
}
catch (Exception ex)
{
string sss = ex.ToString();
}
// Save the resultant PDF
pdfDocument.Save(crashFileTempDirectory + pdfFile.Name.Split('.')[0] + "_standard.pdf");
200000275_XFA.pdf (1.6 MB)
200000275_standard.pdf (2.1 MB)
@KasturiMohan Your question is related to Aspose.PDF. I will move it to the appropriate forum category. My colleagues from Aspose.PDF team will help you shortly.
Would you kindly share an annotated screenshot showing the actual issue in the output PDF? We will log an issue in our issue management system and share the ID with you.
The attached screenshots shows the difference. This is urgent and critical, please let us know a solution.
XFAVersion.jpg (254.1 KB)
StandardVersion.jpg (343.8 KB)
@KasturiMohan
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): PDFNET-56512
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.