We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Process annotations via XFDF using Aspose.PDF Java - Unknown rotation angle of the text in free text annotation.java

Hello,

We are receiving an error “Unknown rotation angle of the text in free text annotation.java” when processing annotations in xfdf file. Xfdf file and related PDF form attached.

Product version - Aspose.PDF for Java 20.5

The method used to import annotations is PdfAnnotationEditor importAnnotationFromXfdf

Daily-Report.zip (73.3 KB)

@natalie.burnett.mcde

We have managed to replicate the issue in our environment using following code snippet:

com.aspose.pdf.facades.PdfAnnotationEditor annotationEditor = new com.aspose.pdf.facades.PdfAnnotationEditor();
annotationEditor.bindPdf(dataDir + "Daily-Report.pdf");

annotationEditor.importAnnotationsFromXfdf(new FileInputStream(dataDir + "118943919.xfdf"));
annotationEditor.save(dataDir + "output.20.5");

Hence, we have logged this issue under the ticket ID PDFJAVA-39473 in our issue tracking system. We will surely check and investigate this issue and keep you informed about its resolution status. Please be patient and spare us some time.

We are sorry for the convenience.