Package com.itextpdf.kernel.pdf
Class StampingProperties
java.lang.Object
com.itextpdf.kernel.pdf.DocumentProperties
com.itextpdf.kernel.pdf.StampingProperties
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
Fields inherited from class com.itextpdf.kernel.pdf.DocumentProperties
metaInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDisables MAC token in the output PDF-2.0 document.Defines if the encryption of the original document (if it was encrypted) will be preserved.Defines if the document will be edited in append mode.Methods inherited from class com.itextpdf.kernel.pdf.DocumentProperties
isEventCountingMetaInfoSet, registerDependency, setEventCountingMetaInfo
-
Field Details
-
appendMode
protected boolean appendMode -
preserveEncryption
protected boolean preserveEncryption -
disableMac
protected boolean disableMac
-
-
Constructor Details
-
StampingProperties
public StampingProperties() -
StampingProperties
-
-
Method Details
-
useAppendMode
Defines if the document will be edited in append mode.- Returns:
-
this
StampingProperties
instance
-
preserveEncryption
Defines if the encryption of the original document (if it was encrypted) will be preserved. By default, the resultant document doesn't preserve the original encryption.- Returns:
-
this
StampingProperties
instance
-
disableMac
Disables MAC token in the output PDF-2.0 document. By default, MAC token will be embedded. This property does not remove MAC token from existing document in append mode because it removes MAC protection from all previous revisions also.- Returns:
-
this
StampingProperties
instance
-