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

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

Introduction

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

Prototype

public PDAnnotationText(COSDictionary field) 

Source Link

Document

Creates a Text annotation from a COSDictionary, expected to be a correct object definition.

Usage

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

License:Apache License

public TextAnnotationValidator(DocumentHandler handler, COSDictionary annotDictionary) {
    super(handler, annotDictionary);
    this.pdText = new PDAnnotationText(annotDictionary);
    this.pdAnnot = this.pdText;
}