Package com.lowagie.text.pdf.internal
Class PdfAnnotationsImp
java.lang.Object
com.lowagie.text.pdf.internal.PdfAnnotationsImp
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PdfAcroForm
This 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 TypeMethodDescriptionvoid
addAnnotation
(PdfAnnotation annot) void
addCalculationOrder
(PdfFormField formField) (package private) void
addFormFieldRaw
(PdfFormField field) void
addPlainAnnotation
(PdfAnnotation annot) static PdfAnnotation
convertAnnotation
(PdfWriter writer, Annotation annot, Rectangle defaultRect) Gets the AcroForm object.boolean
boolean
Checks if the AcroForm is valid.void
rotateAnnotations
(PdfWriter writer, Rectangle pageSize) void
setSigFlags
(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,
true
if valid elsefalse
-
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
-