public class AcroFormSigFlags extends AbstractBitFlags
The flags are bits of an integer.
The following bits are defined (more may exist).
| Modifier and Type | Field and Description |
|---|---|
static int |
Bit_AppendOnly |
static int |
Bit_SignatureExists |
| Constructor and Description |
|---|
AcroFormSigFlags(int value) |
AcroFormSigFlags(PDAcroForm form) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAppendOnly() |
boolean |
isSignatureExists() |
void |
setAppendOnly(boolean appendOnly)
excerpt from PDF 1.7 spec (p. 674):
If set, the document contains signatures that may be invalidated if the
file is saved (written) in a way that alters its previous contents, as
opposed to an incremental update.
|
void |
setSignatureExists(boolean signatureExists)
excerpt from PDF 1.7 spec (p. 674):
If set, the document contains at least one signature field.
|
public static int Bit_SignatureExists
public static int Bit_AppendOnly
public AcroFormSigFlags(int value)
public AcroFormSigFlags(PDAcroForm form)
public boolean isAppendOnly()
setAppendOnly(boolean)public boolean isSignatureExists()
setSignatureExists(boolean)public void setAppendOnly(boolean appendOnly)
If set, the document contains signatures that may be invalidated if the file is saved (written) in a way that alters its previous contents, as opposed to an incremental update. Merely updating the file by appending new information to the end of the previous version is safe (see Section G.6, “Updating Example”). Viewer applications can use this flag to present a user requesting a full save with an additional alert box warning that signatures will be invalidated and requiring explicit confirmation before continuing with the operation.
appendOnly - public void setSignatureExists(boolean signatureExists)
If set, the document contains at least one signature field. This flag allows a viewer application to enable user interface items (such as menu items or pushbuttons) related to signature processing without having to scan the entire document for the presence of signature fields.
signatureExists - Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.