Package com.lowagie.text.pdf.internal
Class PdfAnnotationsImp
java.lang.Object
com.lowagie.text.pdf.internal.PdfAnnotationsImp
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PdfAcroFormThis is the AcroForm object for the complete document.protected ArrayListThis is the array containing the references to annotations that were added to the document.protected 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) 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. -
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
-