ResetFormAction
Overview
ResetFormAction is a class in Aspose.Pdf FOSS for Java.
Inherits from: PdfAction.
ResetForm action — resets form fields to default values (ISO 32000-1:2008, §12.6.4.15).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
flags | int | Read | Returns the flags (bit 0 = include/exclude semantics). |
fields | COSArray | Read | Returns the field list, or {@code null} for all fields. |
FLAG_INCLUDE_EXCLUDE | int | Read | Include/Exclude flag (bit 1 of /Flags). |
cOSDictionary | COSDictionary | Read | Returns the underlying action dictionary. |
type | String | Read | Returns the action type (/S entry). |
next | PdfAction | Read | Returns the next action (/Next), if any. |
Methods
| Signature | Description |
|---|---|
ResetFormAction(dict: COSDictionary) | Parses a ResetFormAction from an existing dictionary. |
ResetFormAction() | Creates a ResetFormAction that resets all fields. |
getFlags() → int | Returns the flags (bit 0 = include/exclude semantics). |
setFlags(flags: int) | Sets the flags. |
getFields() → COSArray | Returns the field list, or {@code null} for all fields. |
setFields(fields: COSArray) | Sets the field list. |
getCOSDictionary() → COSDictionary | Returns the underlying action dictionary. |
getType() → String | Returns the action type (/S entry). |
getNext() → PdfAction | Returns the next action (/Next), if any. |
fromDictionary(dict: COSDictionary, doc: Document) → PdfAction | Factory: creates the appropriate PdfAction subclass from a dictionary. |