Class FormField

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.FormField
All Implemented Interfaces:
org.apache.pdfbox.pdmodel.common.COSObjectable

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

    • FormField

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

    • accept

      public void accept(IncrementalUpdateVisitor<?> visitor) throws IOException
      Computa os campos de formulário.

      Appendix 1: Computation of Object Digests

      Section 1.2.6: Form Fields

      For form fields (see Table 8.69), the values of the following entries are digested, in order, if present:

          * T, FT (inheritable), DV (inheritable), V, A (inheritable), AA (inheritable), F, Lock, SV
          * Exception 1: The F entry is not included in the computation for signature fields. Since the insertion of a signature field may change the flags to lock the field, we compute it.
      
      Specified by:
      accept in class COSBaseWrapper<org.apache.pdfbox.cos.COSDictionary>
      Parameters:
      visitor - visitante que irá computar o campo de formulário
      Throws:
      IOException - se ocorrer algum erro de I/O durante a computação do campo de formulário
    • getInstance

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