|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pdfbox.pdmodel.interactive.form.PDField
org.apache.pdfbox.pdmodel.interactive.form.PDSignatureField
public class PDSignatureField
A class for handling the PDF field as a signature.
| Field Summary |
|---|
| Fields inherited from class org.apache.pdfbox.pdmodel.interactive.form.PDField |
|---|
FLAG_NO_EXPORT, FLAG_READ_ONLY, FLAG_REQUIRED |
| Constructor Summary | |
|---|---|
PDSignatureField(PDAcroForm theAcroForm)
|
|
PDSignatureField(PDAcroForm theAcroForm,
COSDictionary field)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.pdfbox.pdmodel.interactive.form.PDField |
|---|
findFieldType, findKid, getAcroForm, getActions, getAlternateFieldName, getCOSObject, getDictionary, getFieldFlags, getFieldType, getFullyQualifiedName, getKids, getParent, getPartialName, getWidget, importFDF, isNoExport, isReadonly, isRequired, setAcroForm, setActions, setAlternateFieldName, setFieldFlags, setKids, setNoExport, setParent, setPartialName, setReadonly, setRequired |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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)| Method Detail |
|---|
@Deprecated
public void setValue(String value)
throws IOException
PDField
setValue in class PDFieldvalue - 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 PDFieldIOException - If there is an error creating the appearance stream.PDField.setValue(java.lang.String)public String toString()
toString in class PDFieldpublic 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 PDSeedValue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||