public class PDAFSignatureField extends PDAcroFormField
| Modifier and Type | Class and Description |
|---|---|
static class |
PDAFSignatureField.MetaClass |
| Modifier and Type | Field and Description |
|---|---|
static COSName |
DK_Lock |
static COSName |
DK_SV |
static PDAFSignatureField.MetaClass |
META
The meta class instance
|
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_VDK_DA, DK_DR, DK_Encoding, DK_Font, DK_QDK_Subtype, DK_TypeDK_AA| Modifier and Type | Method and Description |
|---|---|
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.
|
PDSignatureLock |
getLock() |
PDSignatureSeedValue |
getSeedValue() |
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 |
setLock(PDSignatureLock lock) |
void |
setSeedValue(PDSignatureSeedValue value) |
void |
setSignature(PDSignature newSignature)
Assign a new signature value.
|
addAnnotation, addField, basicGetFieldFlags, basicSetFieldFlags, copy, cosGetDefaultValue, cosGetFieldType, cosGetValue, dispose, getAcroForm, getAdditionalActions, getAlternateFieldName, getAnyAnnotation, getDefaultValueString, getFieldFlags, getGenericChildren, getGenericParent, getKids, getLocalName, getLocalName, getLogicalParent, getLogicalRoot, getMaxLen, getParent, getQualifiedName, getQualifiedName, getSupportedTriggerEvents, getValueString, isAlignmentCenter, isAlignmentLeft, isAlignmentRight, isAnnotation, isComb, isDoNotScroll, isMultiline, isNoExport, isReadOnly, isTypeBtn, isTypeCh, isTypeTx, removeField, reset, setAdditionalActions, setAlignmentCenter, setAlignmentLeft, setAlignmentRight, setAlternateFieldName, setComb, setDefaultValue, setDoNotScroll, setLocalName, setMaxLength, setMultiline, setNoExport, setReadOnly, setValueString, setValueStrings, toStringcanonicalize, collectLeafFields, getAnnotation, getAnnotations, getDefaultAppearanceContent, getDefaultAppearanceFont, getDefaultAppearanceFontColor, getDefaultAppearanceFontName, getDefaultAppearanceFontSize, getField, getField, getQuadding, setDefaultAppearanceContent, setDefaultAppearanceFont, setDefaultAppearanceFontColor, setDefaultAppearanceFontSize, setQuaddingcosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, setGenericParentchanged, 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, setFieldStringpublic static final COSName DK_Lock
public static final COSName DK_SV
public static final PDAFSignatureField.MetaClass META
public void clearSignature()
public COSName cosGetExpectedFieldType()
PDAcroFormFieldcosGetExpectedFieldType in class PDAcroFormFieldpublic COSObject cosSetValue(COSObject newValue)
PDAcroFormFieldcosSetValue in class PDAcroFormFieldpublic PDSignatureLock getLock()
public PDSignatureSeedValue getSeedValue()
public PDSignature getSignature()
PDSignature if available.PDSignature if available.public void invalidateCaches()
COSBasedObjectinvalidateCaches in class PDAcroFormFieldpublic 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 PDAcroFormFieldpublic void setLock(PDSignatureLock lock)
public void setSeedValue(PDSignatureSeedValue value)
public void setSignature(PDSignature newSignature)
newSignature - The new signature value.Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.