com.lowagie.text.pdf.interfaces

Interface PdfAnnotations

public interface PdfAnnotations

Method Summary
voidaddAnnotation(PdfAnnotation annot)
Use this methods to add a PdfAnnotation or a PdfFormField to the document.
voidaddCalculationOrder(PdfFormField annot)
Use this method to adds the PdfAnnotation to the calculation order array.
PdfAcroFormgetAcroForm()
Use this methods to get the AcroForm object.
voidsetSigFlags(int f)
Use this method to set the signature flags.

Method Detail

addAnnotation

public void addAnnotation(PdfAnnotation annot)
Use this methods to add a PdfAnnotation or a PdfFormField to the document. Only the top parent of a PdfFormField needs to be added.

Parameters: annot the PdfAnnotation or the PdfFormField to add

addCalculationOrder

public void addCalculationOrder(PdfFormField annot)
Use this method to adds the PdfAnnotation to the calculation order array.

Parameters: annot the PdfAnnotation to be added

getAcroForm

public 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

setSigFlags

public void setSigFlags(int f)
Use this method to set the signature flags.

Parameters: f the flags. This flags are ORed with current ones