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).
This class provides 10 methods for working with ResetFormAction objects in Java programs.
Available methods include: ResetFormAction, fromDictionary, getFields, getFlags, getNext, getPdfDictionary, getType, setFields, setFlags.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: FLAG_INCLUDE_EXCLUDE, fields, flags, next, pdfDictionary, type.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
flags | int | Read | Returns the flags (bit 0 = include/exclude semantics). |
fields | PdfArray | Read | Returns the field list, or {@code null} for all fields. |
FLAG_INCLUDE_EXCLUDE | int | Read | Include/Exclude flag (bit 1 of /Flags). |
pdfDictionary | PdfDictionary | 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: PdfDictionary) | 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() → PdfArray | Returns the field list, or {@code null} for all fields. |
setFields(fields: PdfArray) | Sets the field list. |
getPdfDictionary() → PdfDictionary | Returns the underlying action dictionary. |
getType() → String | Returns the action type (/S entry). |
getNext() → PdfAction | Returns the next action (/Next), if any. |
fromDictionary(dict: PdfDictionary, doc: Document) → PdfAction | Factory: creates the appropriate PdfAction subclass from a dictionary. |