public class PdfAnnotationsImp extends Object
| 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) |
public PdfAnnotationsImp(PdfWriter writer)
public boolean hasValidAcroForm()
true if the AcroForm is valid, false otherwise.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
IOExceptionCopyright © 2021. All rights reserved.