public class AcroFormsMerger extends Object
| Constructor and Description |
|---|
AcroFormsMerger(AcroFormPolicy policy,
org.sejda.sambox.pdmodel.PDDocument destination) |
| Modifier and Type | Method and Description |
|---|---|
org.sejda.sambox.pdmodel.interactive.form.PDAcroForm |
getForm()
Performs some cleanup task on the resulting
PDAcroForm and then returns it. |
void |
mergeForm(org.sejda.sambox.pdmodel.interactive.form.PDAcroForm originalForm,
LookupTable<org.sejda.sambox.pdmodel.interactive.annotation.PDAnnotation> annotationsLookup)
Merge the original form to the current one, considering only fields whose widgets are available in the given lookup table.
|
public AcroFormsMerger(AcroFormPolicy policy, org.sejda.sambox.pdmodel.PDDocument destination)
public void mergeForm(org.sejda.sambox.pdmodel.interactive.form.PDAcroForm originalForm,
LookupTable<org.sejda.sambox.pdmodel.interactive.annotation.PDAnnotation> annotationsLookup)
originalForm - the form to mergeannotationsLookup - lookup for relevant annotationspublic org.sejda.sambox.pdmodel.interactive.form.PDAcroForm getForm()
PDAcroForm and then returns it.Copyright © 2019 sejda. All rights reserved.