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
| Signature | Description |
|---|---|
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) → int | Parses XFDF flags string (“print,nozoom,norotate”) to integer bitmask. |
parseHexColor(hex: String) → Color | Parses a hex color string like “#RRGGBB” into a Color. |
unescapeXml(s: String) → String | Unescapes XML entities in a string. |