Example usage for org.apache.pdfbox.pdmodel.interactive.form PDAcroForm PDAcroForm

List of usage examples for org.apache.pdfbox.pdmodel.interactive.form PDAcroForm PDAcroForm

Introduction

In this page you can find the example usage for org.apache.pdfbox.pdmodel.interactive.form PDAcroForm PDAcroForm.

Prototype

public PDAcroForm(PDDocument doc) 

Source Link

Document

Constructor.

Usage

From source file:at.gv.egiz.pdfas.lib.impl.stamping.pdfbox.PDFAsVisualSignatureBuilder.java

License:EUPL

public void createAcroForm(PDDocument template) {
    PDAcroForm theAcroForm = new PDAcroForm(template);
    template.getDocumentCatalog().setAcroForm(theAcroForm);
    getStructure().setAcroForm(theAcroForm);
    logger.debug("Acro form page has been created");
}