XfdfExporter
Overview
XfdfExporter is a class in Aspose.Pdf FOSS for Java.
Exports annotations and form field data from a PDF document to XFDF (XML Forms Data Format) per XFDF Specification Version 3.0 (August 2009).
Methods
| Signature | Description |
|---|---|
export(document: Document, filePath: String) | Exports all annotations and form fields from the document to an XFDF file. |
export(document: Document, output: OutputStream) | Exports all annotations and form fields from the document to an XFDF output stream. |
export(document: Document, output: OutputStream, filter: ExportFilter) | Exports annotations from the document to an XFDF output stream, |
| optionally filtering by page range and annotation type. | |
flagsToString(flags: int) → String | Converts annotation flags bitmask to comma-separated string names per XFDF spec. |
escapeXml(s: String) → String | Escapes special XML characters in a string for safe use in XML attributes or text. |