Class PdfAnnotationsImp


  • public class PdfAnnotationsImp
    extends java.lang.Object
    • Field Detail

      • acroForm

        protected PdfAcroForm acroForm
        This is the AcroForm object for the complete document.
      • annotations

        protected java.util.ArrayList<PdfAnnotation> annotations
        This is the array containing the references to annotations that were added to the document.
      • delayedAnnotations

        protected java.util.ArrayList<PdfAnnotation> delayedAnnotations
        This is an array containing references to some delayed annotations (that were added for a page that doesn't exist yet).
    • Constructor Detail

      • PdfAnnotationsImp

        public PdfAnnotationsImp​(PdfWriter writer)
    • Method Detail

      • hasValidAcroForm

        public boolean hasValidAcroForm()
        Checks if the AcroForm is valid.
      • getAcroForm

        public PdfAcroForm getAcroForm()
        Gets the AcroForm object.
        Returns:
        the PdfAcroform object of the PdfDocument
      • setSigFlags

        public void setSigFlags​(int f)
      • addCalculationOrder

        public void addCalculationOrder​(PdfFormField formField)
      • addAnnotation

        public void addAnnotation​(PdfAnnotation annot)
      • addPlainAnnotation

        public void addPlainAnnotation​(PdfAnnotation annot)
      • addFormFieldRaw

        void addFormFieldRaw​(PdfFormField field)
      • hasUnusedAnnotations

        public boolean hasUnusedAnnotations()
      • resetAnnotations

        public void resetAnnotations()