public class PdfAnnotationsImp extends Object
Modifier and Type | Field and Description |
---|---|
protected PdfAcroForm |
acroForm
This is the AcroForm object for the complete document.
|
protected ArrayList<PdfAnnotation> |
annotations
This is the array containing the references to annotations that were added to the document.
|
protected 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 and Description |
---|
PdfAnnotationsImp(PdfWriter writer) |
Modifier and Type | Method and 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 ArrayList<PdfAnnotation> annotations
protected 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 IOException
IOException
Copyright © 1998–2019. All rights reserved.