Class PdfAnnotationsImp
java.lang.Object
com.aowagie.text.pdf.internal.PdfAnnotationsImp
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PdfAcroFormThis is the AcroForm object for the complete document.private ArrayListThis is the array containing the references to annotations that were added to the document.private ArrayListThis is an array containing references to some delayed annotations (that were added for a page that doesn't exist yet). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAnnotation(PdfAnnotation annot) voidaddCalculationOrder(PdfFormField formField) private voidaddFormFieldRaw(PdfFormField field) 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)
-
Field Details
-
acroForm
This is the AcroForm object for the complete document. -
annotations
This is the array containing the references to annotations that were added to the document. -
delayedAnnotations
This is an array containing references to some delayed annotations (that were added for a page that doesn't exist yet).
-
-
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
-
addFormFieldRaw
-
hasUnusedAnnotations
public boolean hasUnusedAnnotations() -
resetAnnotations
public void resetAnnotations() -
rotateAnnotations
-
convertAnnotation
public static PdfAnnotation convertAnnotation(PdfWriter writer, Annotation annot, Rectangle defaultRect) throws IOException - Throws:
IOException
-