java.lang.Object
org.openpdf.text.pdf.internal.PdfAnnotationsImp
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PdfAcroFormThis is the AcroForm object for the complete document.protected List<PdfAnnotation> This is the array containing the references to annotations that were added to the document.protected List<PdfAnnotation> This 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
-
convertAnnotation
public static PdfAnnotation convertAnnotation(PdfWriter writer, Annotation annot, Rectangle defaultRect) throws IOException - Throws:
IOException
-
hasValidAcroForm
public boolean hasValidAcroForm()Checks if the AcroForm is valid.- Returns:
- boolean,
trueif valid elsefalse
-
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
-