Package com.pd4ml.pdf.xfdf
Class XfdfImporter.Result
- java.lang.Object
-
- com.pd4ml.pdf.xfdf.XfdfImporter.Result
-
- Enclosing class:
- XfdfImporter
public static final class XfdfImporter.Result extends java.lang.ObjectThe imported PDF, plus bookkeeping on what the import actually did.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAnnotationsAdded()How many<annots>entries became brand-new PDF annotations (counting a nested<popup>as its own annotation).intgetAnnotationsUpdated()How many<annots>entries updated an annotation already in the PDF (XfdfImporter.Options.updateIfExists(boolean)).java.util.List<java.lang.String>getFieldsNotFound()Fully-qualified names from<fields>that matched no existing AcroForm field -- see class docs.intgetFieldsUpdated()How many<fields>entries matched and updated an existing AcroForm field.byte[]getPdf()The imported PDF's bytes -- optimized and/or encrypted already, ifXfdfImporter.Options.optimizeOutput/XfdfImporter.Options.encryptOutput(java.lang.String, java.lang.String)was used.
-
-
-
Method Detail
-
getPdf
public byte[] getPdf()
The imported PDF's bytes -- optimized and/or encrypted already, ifXfdfImporter.Options.optimizeOutput/XfdfImporter.Options.encryptOutput(java.lang.String, java.lang.String)was used.
-
getAnnotationsAdded
public int getAnnotationsAdded()
How many<annots>entries became brand-new PDF annotations (counting a nested<popup>as its own annotation).
-
getAnnotationsUpdated
public int getAnnotationsUpdated()
How many<annots>entries updated an annotation already in the PDF (XfdfImporter.Options.updateIfExists(boolean)).
-
getFieldsUpdated
public int getFieldsUpdated()
How many<fields>entries matched and updated an existing AcroForm field.
-
getFieldsNotFound
public java.util.List<java.lang.String> getFieldsNotFound()
Fully-qualified names from<fields>that matched no existing AcroForm field -- see class docs.
-
-