Class PdfAnnotationsImp
java.lang.Object
com.aowagie.text.pdf.internal.PdfAnnotationsImp
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAnnotation(PdfAnnotation annot) voidaddCalculationOrder(PdfFormField formField) voidaddPlainAnnotation(PdfAnnotation annot) static PdfAnnotationconvertAnnotation(PdfWriter writer, Annotation annot, Rectangle defaultRect) Gets the AcroForm object.booleanbooleanChecks if the AcroForm is valid.voidrotateAnnotations(PdfWriter writer, Rectangle pageSize) voidsetSigFlags(int f)
-
Constructor Details
-
PdfAnnotationsImp
-
-
Method Details
-
hasValidAcroForm
public boolean hasValidAcroForm()Checks if the AcroForm is valid.- Returns:
trueif the AcroForm is valid,falseotherwise.
-
getAcroForm
Gets the AcroForm object.- Returns:
- the PdfAcroform object of the PdfDocument
-
setSigFlags
public void setSigFlags(int f) -
addCalculationOrder
-
addAnnotation
-
addPlainAnnotation
-
hasUnusedAnnotations
public boolean hasUnusedAnnotations() -
resetAnnotations
public void resetAnnotations() -
rotateAnnotations
-
convertAnnotation
public static PdfAnnotation convertAnnotation(PdfWriter writer, Annotation annot, Rectangle defaultRect) throws IOException - Throws:
IOException
-