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
-
Field Summary
Fields inherited from class COSBaseWrapper
base -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(IncrementalUpdateVisitor<?> visitor) Computa os objetos de anotação.static org.apache.pdfbox.cos.COSBasegetInstance(org.apache.pdfbox.cos.COSBase base) Methods inherited from class COSBaseWrapper
accept, expectArray, expectDictionary, getCOSObject, getKey, isDirect, setDirect, setKey, wrapObject
-
Constructor Details
-
Annotation
public Annotation(org.apache.pdfbox.cos.COSBase base)
-
-
Method Details
-
accept
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:
acceptin classCOSBaseWrapper<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)
-