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).

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

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

Methods

SignatureDescription
ResetFormAction(dict: PdfDictionary)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()PdfArrayReturns the field list, or {@code null} for all fields.
setFields(fields: PdfArray)Sets the field list.
getPdfDictionary()PdfDictionaryReturns the underlying action dictionary.
getType()StringReturns the action type (/S entry).
getNext()PdfActionReturns the next action (/Next), if any.
fromDictionary(dict: PdfDictionary, doc: Document)PdfActionFactory: creates the appropriate PdfAction subclass from a dictionary.

See Also

 English