Package com.itextpdf.tool.xml.xtra.xfa
Class XFAFlattenerProperties
java.lang.Object
com.itextpdf.tool.xml.xtra.xfa.XFAFlattenerProperties
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchar
boolean
Getter for skipFormStateChecksumCheck property.boolean
isTagged()
boolean
setConformanceLevel
(PdfALevel conformanceLevel) setMetaData
(MetaData metaData) setOpenPassword
(byte[] password) Defines the password which will be used if the document is encrypted with standard encryption.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.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.setOutputIntent
(InputStream iccInputStream, String outputConditionIdentifier, String outputCondition, String registryName, String info) setPdfVersion
(char pdfVersion) void
setSkipFormStateChecksumCheck
(boolean skipFormStateChecksumCheck) Setter for property skipFormStateChecksumCheck.
-
Field Details
-
PDF_1_0
public static final char PDF_1_0- See Also:
-
PDF_1_1
public static final char PDF_1_1- See Also:
-
PDF_1_2
public static final char PDF_1_2- See Also:
-
PDF_1_3
public static final char PDF_1_3- See Also:
-
PDF_1_4
public static final char PDF_1_4- See Also:
-
PDF_1_5
public static final char PDF_1_5- See Also:
-
PDF_1_6
public static final char PDF_1_6- See Also:
-
PDF_1_7
public static final char PDF_1_7- See Also:
-
-
Constructor Details
-
XFAFlattenerProperties
public XFAFlattenerProperties()Default constructor of theXFAFlattenerProperties
class. Doesn't initialize any field.
-
-
Method Details
-
setOutputIntent
public XFAFlattenerProperties setOutputIntent(InputStream iccInputStream, String outputConditionIdentifier, String outputCondition, String registryName, String info) -
getConformanceLevel
-
setConformanceLevel
-
isTagged
public boolean isTagged() -
setTagged
-
needsXmpMetaData
public boolean needsXmpMetaData() -
createXmpMetaData
-
getPfdVersion
public char getPfdVersion() -
setPdfVersion
-
getMetaData
-
setMetaData
-
setOpenPassword
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.
-