I’m having a very similar issue using Aspose.Pdf.InteractiveFeatures.Forms. Except there, I only get the “topmostSubform[0]” portion as a field name. Can I assume this is a related issue?
Hi Lee,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thank you for considering Aspose.Pdf.
Please share your template PDF file and sample code to help us replicate your issue at our end. This will help us identify whether this is the same issue or different then the above issue.
Sorry for the inconvenience,
Attached is the code I was using that appears to have a problem with Adobe LiveCycle documents. I’ve also attached two example PDFs, both acquired from the IRS web site.
Hi Lee,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thank you for sharing the sample application and template files.
We have found your mentioned issue after an initial test. Your issue has been registered in our issue tracking system with issue id: PDFNEWNET-32679. You will be notified via this forum thread regarding any updates against your reported issue.
Sorry for the inconvenience,
Hi Lee,
Private Sub GetFields(ByVal fld As Field, ByRef lstFormFields As List(Of CNGPdfFormField))
If (fld.IsGroup) Then
For Each child As Field In fld
GetFields(child, lstFormFields)
Next
Else
Dim FormField As CNGPdfFormField
FormField.Type = GetCNGFieldType(fld)
If FormField.Type <> CNGPdfFieldType.PushButton And _
FormField.Type <> CNGPdfFieldType.SignatureField Then
FormField.Name = fld.FullName
FormField.Value = fld.Value
lstFormFields.Add(FormField)
End If
End If
End Sub
Public Sub GetFields(ByRef lstFormFields As List(Of CNGPdfFormField))
For Each fld As Field In PdfDoc.Form
GetFields(fld, lstFormFields)
Next
End Sub
Certainly several code lines must be also adjusted because function GetFields turned to procedure.
The issues you have found earlier (filed as PDFNEWNET-32679) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.