SubmitFormAction

SubmitFormAction

Overview

SubmitFormAction is a class in Aspose.Pdf FOSS for Java. Inherits from: PdfAction.

SubmitForm action — submits form data to a URL (ISO 32000-1:2008, §12.6.4.14).

Properties

NameTypeAccessDescription
urlStringReadReturns the submission URL.
flagsintReadReturns the submission flags.
fieldsCOSArrayReadReturns the field name/reference list, or {@code null} if all fields.
FLAG_INCLUDE_EXCLUDEintReadInclude/Exclude flag (Table 237, bit 1).
FLAG_INCLUDE_NO_VALUE_FIELDSintReadInclude fields with no value (bit 2).
FLAG_EXPORT_FORMATintReadExport as HTML form (bit 3).
FLAG_GET_METHODintReadUse HTTP GET (bit 4).
FLAG_SUBMIT_COORDINATESintReadSubmit mouse coordinates (bit 5).
FLAG_XFDFintReadSubmit as XFDF (bit 6).
FLAG_INCLUDE_APPEND_SAVESintReadInclude append-saves (bit 7).
FLAG_INCLUDE_ANNOTATIONSintReadInclude annotations (bit 8).
FLAG_SUBMIT_PDFintReadSubmit as PDF (bit 9).
FLAG_CANONICAL_FORMATintReadCanonical date format (bit 10).
FLAG_EXCL_NON_USER_ANNOTSintReadExclude non-user annotations (bit 11).
FLAG_EXCL_F_KEYintReadExclude F key (bit 12).
FLAG_EMBED_FORMintReadEmbed form in submission (bit 14).
cOSDictionaryCOSDictionaryReadReturns the underlying action dictionary.
typeStringReadReturns the action type (/S entry).
nextPdfActionReadReturns the next action (/Next), if any.

Methods

SignatureDescription
SubmitFormAction(dict: COSDictionary)Parses a SubmitFormAction from an existing dictionary.
SubmitFormAction(url: String)Creates a SubmitFormAction for the given URL.
getUrl()StringReturns the submission URL.
getFlags()intReturns the submission flags.
setFlags(flags: int)Sets the submission flags.
getFields()COSArrayReturns the field name/reference list, or {@code null} if all fields.
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