Class Annotation

java.lang.Object
org.apache.pdfbox.cos.COSBase
br.ufsc.labsec.signature.conformanceVerifier.pdf.incrementalupdate.structures.COSBaseWrapper<org.apache.pdfbox.cos.COSDictionary>
br.ufsc.labsec.signature.conformanceVerifier.pdf.incrementalupdate.structures.Annotation
All Implemented Interfaces:
org.apache.pdfbox.pdmodel.common.COSObjectable

public class Annotation extends COSBaseWrapper<org.apache.pdfbox.cos.COSDictionary>
  • Constructor Details

    • Annotation

      public Annotation(org.apache.pdfbox.cos.COSBase base)
  • Method Details

    • accept

      public void accept(IncrementalUpdateVisitor<?> visitor) throws IOException
      Computa os objetos de anotação.

      Appendix 1: Computation of Object Digests

      Section 1.2.5: Annotation Dictionaries

      For annotation dictionaries (see Table 8.44), the values of the following entries are digested, in order, if present

          * A) Contents, T, F, A, AA, Dest, QuadPoints, InkList, Name, FS, Sound.
          ** FS (If FS refers to the contents of a remote file, the contents of that file are not digested)
          * B) If Movie is present, the values of its F and Poster are also digested.
          * C) For stamp annotations, the value of AP is also digested.
          * Exception 1: The Rect entry is not included in the computation.
          However, we compute it to preserve the position of the annotation.
      
      Specified by:
      accept in class COSBaseWrapper<org.apache.pdfbox.cos.COSDictionary>
      Parameters:
      visitor - visitante que irá computar a anotação
      Throws:
      IOException - se ocorrer algum erro de I/O durante a computação da anotação
    • getInstance

      public static org.apache.pdfbox.cos.COSBase getInstance(org.apache.pdfbox.cos.COSBase base)