XfdfImporter

Overview

XfdfImporter is a class in Aspose.Pdf FOSS for Java.

Imports annotations and form field data from XFDF (XML Forms Data Format) into a PDF document, per XFDF Specification Version 3.0 (August 2009).

Methods

SignatureDescription
importXfdf(document: Document, filePath: String)Imports annotations and form fields from an XFDF file into the document.
importXfdf(document: Document, input: InputStream)Imports annotations and form fields from an XFDF input stream into the document.
importXfdf(document: Document, input: InputStream, allowedTypes: Set<String>)Imports annotations from an XFDF input stream, optionally filtering by type.
parseFlagsString(flagsStr: String)intParses XFDF flags string (“print,nozoom,norotate”) to integer bitmask.
parseHexColor(hex: String)ColorParses a hex color string like “#RRGGBB” into a Color.
unescapeXml(s: String)StringUnescapes XML entities in a string.

See Also