ResetFormAction

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

NameTypeAccessDescription
flagsintReadReturns the flags (bit 0 = include/exclude semantics).
fieldsCOSArrayReadReturns the field list, or {@code null} for all fields.
FLAG_INCLUDE_EXCLUDEintReadInclude/Exclude flag (bit 1 of /Flags).
cOSDictionaryCOSDictionaryReadReturns the underlying action dictionary.
typeStringReadReturns the action type (/S entry).
nextPdfActionReadReturns the next action (/Next), if any.

Methods

SignatureDescription
ResetFormAction(dict: COSDictionary)Parses a ResetFormAction from an existing dictionary.
ResetFormAction()Creates a ResetFormAction that resets all fields.
getFlags()intReturns the flags (bit 0 = include/exclude semantics).
setFlags(flags: int)Sets the flags.
getFields()COSArrayReturns the field list, or {@code null} for all fields.
setFields(fields: COSArray)Sets the field list.
getCOSDictionary()COSDictionaryReturns the underlying action dictionary.
getType()StringReturns the action type (/S entry).
getNext()PdfActionReturns the next action (/Next), if any.
fromDictionary(dict: COSDictionary, doc: Document)PdfActionFactory: creates the appropriate PdfAction subclass from a dictionary.

See Also