Package com.aowagie.text.pdf.interfaces
Interface PdfAnnotations
- All Known Implementing Classes:
FdfWriter.Wrt,PdfCopy,PdfCopyFieldsImp,PdfStamperImp,PdfWriter
public interface PdfAnnotations
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAnnotation(PdfAnnotation annot) Use this methods to add aPdfAnnotationor aPdfFormFieldto the document.Use this methods to get the AcroForm object.voidsetSigFlags(int f) Use this method to set the signature flags.
-
Method Details
-
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
Use this methods to add aPdfAnnotationor aPdfFormFieldto the document. Only the top parent of aPdfFormFieldneeds to be added.- Parameters:
annot- thePdfAnnotationor thePdfFormFieldto add
-
setSigFlags
void setSigFlags(int f) Use this method to set the signature flags.- Parameters:
f- the flags. This flags are ORed with current ones
-