public class PdfAnnotationsImp
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected PdfAcroForm |
acroForm |
This is the AcroForm object for the complete document.
|
protected java.util.ArrayList<PdfAnnotation> |
annotations |
This is the array containing the references to annotations
that were added to the document.
|
protected java.util.ArrayList<PdfAnnotation> |
delayedAnnotations |
This is an array containing references to some delayed annotations
(that were added for a page that doesn't exist yet).
|
Constructor | Description |
---|---|
PdfAnnotationsImp(PdfWriter writer) |
Modifier and Type | Method | Description |
---|---|---|
void |
addAnnotation(PdfAnnotation annot) |
|
void |
addCalculationOrder(PdfFormField formField) |
|
void |
addPlainAnnotation(PdfAnnotation annot) |
|
static PdfAnnotation |
convertAnnotation(PdfWriter writer,
Annotation annot,
Rectangle defaultRect) |
|
PdfAcroForm |
getAcroForm() |
Gets the AcroForm object.
|
boolean |
hasUnusedAnnotations() |
|
boolean |
hasValidAcroForm() |
Checks if the AcroForm is valid.
|
void |
resetAnnotations() |
|
PdfArray |
rotateAnnotations(PdfWriter writer,
Rectangle pageSize) |
|
void |
setSigFlags(int f) |
protected PdfAcroForm acroForm
protected java.util.ArrayList<PdfAnnotation> annotations
protected java.util.ArrayList<PdfAnnotation> delayedAnnotations
public PdfAnnotationsImp(PdfWriter writer)
public boolean hasValidAcroForm()
public PdfAcroForm getAcroForm()
public void setSigFlags(int f)
public void addCalculationOrder(PdfFormField formField)
public void addAnnotation(PdfAnnotation annot)
public void addPlainAnnotation(PdfAnnotation annot)
public boolean hasUnusedAnnotations()
public void resetAnnotations()
public static PdfAnnotation convertAnnotation(PdfWriter writer, Annotation annot, Rectangle defaultRect) throws java.io.IOException
java.io.IOException
Copyright © 1998–2018. All rights reserved.