Class PDUnknownField
java.lang.Object
org.apache.pdfbox.pdmodel.interactive.form.PDField
org.apache.pdfbox.pdmodel.interactive.form.PDUnknownField
- All Implemented Interfaces:
COSObjectable
This class represents a form field with an unknown type.
- Version:
- $Revision: 1.4 $
- Author:
- Ben Litchfield
-
Field Summary
Fields inherited from class org.apache.pdfbox.pdmodel.interactive.form.PDField
FLAG_NO_EXPORT, FLAG_READ_ONLY, FLAG_REQUIRED
-
Constructor Summary
Constructors -
Method Summary
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, getWidgets, importFDF, isNoExport, isReadonly, isRequired, setAcroForm, setActions, setAlternateFieldName, setFieldFlags, setFieldType, setKids, setNoExport, setParent, setPartialName, setReadonly, setRequired, toString
-
Constructor Details
-
PDUnknownField
- Parameters:
theAcroForm
- The acroForm for this field.field
- The field's dictionary.- See Also:
-
-
Method Details
-
setValue
setValue sets the fields value to a given string.- Specified by:
setValue
in classPDField
- Parameters:
value
- the string value- Throws:
IOException
- If there is an error creating the appearance stream.
-
getValue
getValue gets the fields value to as a string.- Specified by:
getValue
in classPDField
- Returns:
- The string value of this field.
- Throws:
IOException
- If there is an error getting the value.
-