Example usage for org.apache.pdfbox.pdmodel.interactive.annotation PDAnnotationWidget PDAnnotationWidget

List of usage examples for org.apache.pdfbox.pdmodel.interactive.annotation PDAnnotationWidget PDAnnotationWidget

Introduction

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

Prototype

public PDAnnotationWidget(COSDictionary field) 

Source Link

Document

Creates a PDWidget from a COSDictionary, expected to be a correct object definition for a field in PDF.

Usage

From source file:net.padaf.preflight.annotation.WidgetAnnotationValidator.java

License:Apache License

public WidgetAnnotationValidator(DocumentHandler handler, COSDictionary annotDictionary) {
    super(handler, annotDictionary);
    this.pdWidget = new PDAnnotationWidget(annotDictionary);
    this.pdAnnot = this.pdWidget;
}