Package com.itextpdf.text.pdf.interfaces
Interface PdfAnnotations
-
- All Known Implementing Classes:
FdfWriter.Wrt
,PdfACopy
,PdfASmartCopy
,PdfAStamperImp
,PdfAWriter
,PdfCopy
,PdfCopyFieldsImp
,PdfCopyFormsImp
,PdfSmartCopy
,PdfStamperImp
,PdfWriter
public interface PdfAnnotations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addAnnotation(PdfAnnotation annot)
Use this methods to add aPdfAnnotation
or aPdfFormField
to the document.void
addCalculationOrder(PdfFormField annot)
Use this method to adds thePdfAnnotation
to the calculation order array.PdfAcroForm
getAcroForm()
Use this methods to get the AcroForm object.void
setSigFlags(int f)
Use this method to set the signature flags.
-
-
-
Method Detail
-
getAcroForm
PdfAcroForm getAcroForm()
Use this methods to get the AcroForm object. Use this method only if you know what you're doing- Returns:
- the PdfAcroform object of the PdfDocument
-
addAnnotation
void addAnnotation(PdfAnnotation annot)
Use this methods to add aPdfAnnotation
or aPdfFormField
to the document. Only the top parent of aPdfFormField
needs to be added.- Parameters:
annot
- thePdfAnnotation
or thePdfFormField
to add
-
addCalculationOrder
void addCalculationOrder(PdfFormField annot)
Use this method to adds thePdfAnnotation
to the calculation order array.- Parameters:
annot
- thePdfAnnotation
to be added
-
setSigFlags
void setSigFlags(int f)
Use this method to set the signature flags.- Parameters:
f
- the flags. This flags are ORed with current ones
-
-