public class PDSignatureField extends PDField
FLAG_NO_EXPORT, FLAG_READ_ONLY, FLAG_REQUIRED
Constructor and Description |
---|
PDSignatureField(PDAcroForm theAcroForm) |
PDSignatureField(PDAcroForm theAcroForm,
COSDictionary field) |
Modifier and Type | Method and Description |
---|---|
PDSeedValue |
getSeedValue()
(Optional; PDF 1.5) A seed value dictionary containing information
that constrains the properties of a signature that is applied to the
field.
|
PDSignature |
getSignature()
Get the signature dictionary.
|
String |
getValue()
Deprecated.
use getSignature() instead
|
void |
setSeedValue(PDSeedValue sv)
(Optional; PDF 1.)
|
void |
setSignature(PDSignature value)
Add a signature dictionary to the signature field.
|
void |
setValue(String value)
Deprecated.
use setSignature(PDSignature) instead
|
String |
toString()
Return a string rep of this object.
|
findFieldType, findKid, getAcroForm, getActions, getAlternateFieldName, getCOSObject, getDictionary, getFieldFlags, getFieldType, getFullyQualifiedName, getKids, getParent, getPartialName, getWidget, getWidgets, importFDF, isNoExport, isReadonly, isRequired, setAcroForm, setActions, setAlternateFieldName, setFieldFlags, setFieldType, setKids, setNoExport, setParent, setPartialName, setReadonly, setRequired
public PDSignatureField(PDAcroForm theAcroForm, COSDictionary field) throws IOException
theAcroForm
- The acroForm for this field.field
- The dictionary for the signature.IOException
- If there is an error while resolving partital name for the signature fieldPDField.PDField(PDAcroForm,COSDictionary)
public PDSignatureField(PDAcroForm theAcroForm) throws IOException
theAcroForm
- The acroForm for this field.IOException
- If there is an error while resolving partial name for the signature field
or getting the widget object.PDField.PDField(PDAcroForm)
@Deprecated public void setValue(String value) throws IOException
PDField
setValue
in class PDField
value
- The new value for the field.IOException
- If there is an error creating the appearance stream.PDField.setValue(java.lang.String)
@Deprecated public String getValue() throws IOException
PDField
getValue
in class PDField
IOException
- If there is an error creating the appearance stream.PDField.setValue(java.lang.String)
public String toString()
public void setSignature(PDSignature value)
value
- is the PDSignaturepublic PDSignature getSignature()
public PDSeedValue getSeedValue()
(Optional; PDF 1.5) A seed value dictionary containing information that constrains the properties of a signature that is applied to the field.
public void setSeedValue(PDSeedValue sv)
(Optional; PDF 1.) A seed value dictionary containing information that constrains the properties of a signature that is applied to the field.
sv
- is the seed value dictionary as PDSeedValueCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.