|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.pdf.cos.COSBasedObject
de.intarsys.pdf.pd.PDObject
de.intarsys.pdf.pd.PDAcroFormNode
de.intarsys.pdf.pd.PDAcroFormField
de.intarsys.pdf.pd.PDAFSignatureField
public class PDAFSignatureField
A logical signature field within an AcroForm.
Nested Class Summary | |
---|---|
static class |
PDAFSignatureField.MetaClass
|
Field Summary | |
---|---|
static COSName |
DK_Lock
|
static COSName |
DK_SV
|
static PDAFSignatureField.MetaClass |
META
The meta class instance |
Fields inherited from class de.intarsys.pdf.pd.PDAcroFormField |
---|
ACROFORMFIELD_ACTION_TRIGGERS, ALIGNMENT_CENTER, ALIGNMENT_LEFT, ALIGNMENT_RIGHT, CN_FT_Btn, CN_FT_Ch, CN_FT_Sig, CN_FT_Tx, DK_DS, DK_DV, DK_Ff, DK_FT, DK_Kids, DK_MaxLen, DK_Parent, DK_RV, DK_T, DK_TM, DK_TU, DK_V |
Fields inherited from class de.intarsys.pdf.pd.PDAcroFormNode |
---|
DK_DA, DK_DR, DK_Encoding, DK_Font, DK_Q |
Fields inherited from class de.intarsys.pdf.pd.PDObject |
---|
DK_Subtype, DK_Type |
Fields inherited from interface de.intarsys.pdf.pd.IAdditionalActionSupport |
---|
DK_AA |
Method Summary | |
---|---|
void |
clearSignature()
|
COSName |
cosGetExpectedFieldType()
The AcroForm field type expected for this. |
COSObject |
cosSetValue(COSObject newValue)
Sets the /V entry in this node and removes all /V entries in child nodes. |
PDSignature |
getSignature()
The associated PDSignature if available. |
void |
invalidateCaches()
Invalidate all local caches as the base object may have changed. |
boolean |
isSigned()
true if this field is already signed. |
boolean |
isTypeSig()
Return true if this is a field of type "Sig". |
void |
setSignature(PDSignature newSignature)
Assign a new signature value. |
Methods inherited from class de.intarsys.pdf.pd.PDObject |
---|
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, setGenericParent |
Methods inherited from class de.intarsys.pdf.cos.COSBasedObject |
---|
changed, cosGetArray, cosGetDict, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final COSName DK_Lock
public static final COSName DK_SV
public static final PDAFSignatureField.MetaClass META
Method Detail |
---|
public COSName cosGetExpectedFieldType()
PDAcroFormField
cosGetExpectedFieldType
in class PDAcroFormField
public COSObject cosSetValue(COSObject newValue)
PDAcroFormField
cosSetValue
in class PDAcroFormField
public PDSignature getSignature()
PDSignature
if available.
PDSignature
if available.public boolean isSigned()
true
if this field is already signed.
true
if this field is already signed.public boolean isTypeSig()
PDAcroFormField
"Sig" means this is a text style object.
isTypeSig
in class PDAcroFormField
public void setSignature(PDSignature newSignature)
newSignature
- The new signature value.public void invalidateCaches()
COSBasedObject
invalidateCaches
in class PDAcroFormField
public void clearSignature()
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |