Class XFAFlattenerProperties

java.lang.Object
com.itextpdf.tool.xml.xtra.xfa.XFAFlattenerProperties

public class XFAFlattenerProperties extends Object
  • Field Details

  • Constructor Details

    • XFAFlattenerProperties

      public XFAFlattenerProperties()
      Default constructor of the XFAFlattenerProperties class. Doesn't initialize any field.
  • Method Details

    • setOutputIntent

      public XFAFlattenerProperties setOutputIntent (InputStream iccInputStream, String outputConditionIdentifier, String outputCondition, String registryName, String info)
    • getConformanceLevel

      public PdfALevel getConformanceLevel()
    • setConformanceLevel

      public XFAFlattenerProperties setConformanceLevel (PdfALevel conformanceLevel)
    • isTagged

      public boolean isTagged()
    • setTagged

      public XFAFlattenerProperties setTagged()
    • needsXmpMetaData

      public boolean needsXmpMetaData()
    • createXmpMetaData

      public XFAFlattenerProperties createXmpMetaData()
    • getPfdVersion

      public char getPfdVersion()
    • setPdfVersion

      public XFAFlattenerProperties setPdfVersion (char pdfVersion)
    • getMetaData

      public MetaData getMetaData()
    • setMetaData

      public XFAFlattenerProperties setMetaData (MetaData metaData)
    • setOpenPassword

      public XFAFlattenerProperties setOpenPassword (byte[] password)
      Defines the password which will be used if the document is encrypted with standard encryption. This could be either user or owner password.
      Parameters:
      password - the password to use in order to open the document.
      Returns:
      current XFAFlattenerProperties with the password set
    • setOpenPublicKeySecurityParams

      public XFAFlattenerProperties setOpenPublicKeySecurityParams (Certificate certificate, Key certificateKey, String certificateKeyProvider, com.itextpdf.kernel.security.IExternalDecryptionProcess externalDecryptionProcess)
      Defines the certificate which will be used if the document is encrypted with public key encryption.
      Parameters:
      certificate - the certificate which will be used to open the document
      certificateKey - certificate public key
      certificateKeyProvider - certificate key provider
      externalDecryptionProcess - external decryption process
      Returns:
      current XFAFlattenerProperties with the certificate set
    • setOpenPublicKeySecurityParams

      public XFAFlattenerProperties setOpenPublicKeySecurityParams (Certificate certificate, com.itextpdf.kernel.security.IExternalDecryptionProcess externalDecryptionProcess)
      Defines the certificate which will be used if the document is encrypted with public key encryption.
      Parameters:
      certificate - certificate to be defined
      externalDecryptionProcess - external decryption process
      Returns:
      current XFAFlattenerProperties with the certificate set
    • isSkipFormStateChecksumCheck

      public boolean isSkipFormStateChecksumCheck()
      Getter for skipFormStateChecksumCheck property.
      Returns:
      value of skipFormStateChecksumCheck.
    • setSkipFormStateChecksumCheck

      public void setSkipFormStateChecksumCheck (boolean skipFormStateChecksumCheck)
      Setter for property skipFormStateChecksumCheck.
      Parameters:
      skipFormStateChecksumCheck - new value of skipFormStateChecksumCheck.