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).

This class provides 5 methods for working with XfdfExporter objects in Java programs. Available methods include: escapeXml, export, flagsToString. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.

Methods

SignatureDescription
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)StringConverts annotation flags bitmask to comma-separated string names per XFDF spec.
escapeXml(s: String)StringEscapes special XML characters in a string for safe use in XML attributes or text.

See Also

 English