SubmitFormAction

Inheritance: java.lang.Object, com.aspose.pdf.PdfAction com.aspose.pdf.SubmitFormAction, com.aspose.pdf.PdfAction, com.aspose.pdf.SubmitFormAction

All Implemented Interfaces: IAppointment

public final class SubmitFormAction extends PdfAction

Class which describes submit-form action.

Fields

FieldDescription
CANONICAL_FORMATIf set, any submitted field values representing dates shall be converted to the standard format.
EMBED_FORMIf set, the F entry of the submitted FDF shall be a file specification containing an embedded file stream representing the PDF file from which the FDF is being submitted.
EXCL_F_KEYIf set, the submitted FDF shall exclude the F entry.
EXCL_NON_USER_ANNOTSIf set, it shall include only those markup annotations whose T entry matches the name of the current user.
EXCLUDEIf clear, the Fields array specifies which fields to include in the submission.
EXPORT_FORMATIf set, field names and values shall be submitted in HTML Form format.
GET_METHODIf set, field names and values shall be submitted using an HTTP GET request.
INCLUDE_ANNOTATIONSIf set, the submitted FDF file shall include includes all markup annotations in the underlying PDF document.
INCLUDE_APPEND_SAVESIf set, the submitted FDF file shall include the contents of all incremental updates.
INCLUDE_NO_VALUE_FIELDSIf set, all fields designated by the Fields array and the Include/Exclude flag shall be submitted.
SUBMIT_COORDINATESIf set, the coordinates of the mouse click that caused the submit-form action shall be transmitted as part of the form data.
SUBMIT_PDFIf set, the document shall be submitted as PDF, using the MIME content type application/pdf.
XFDFIf set, field names and values shall be submitted as XFDF.

Constructors

ConstructorDescription
SubmitFormActionInitializes SubmitFormAction object.

Methods

MethodDescription
getFlagsGets flagas of submit action
getUrlDestination URL.
setFlagsSets flagas of submit action
setUrlDestination URL.

CANONICAL_FORMAT

public static final int CANONICAL_FORMAT

If set, any submitted field values representing dates shall be converted to the standard format.

EMBED_FORM

public static final int EMBED_FORM

If set, the F entry of the submitted FDF shall be a file specification containing an embedded file stream representing the PDF file from which the FDF is being submitted.

EXCL_F_KEY

public static final int EXCL_F_KEY

If set, the submitted FDF shall exclude the F entry.

EXCL_NON_USER_ANNOTS

public static final int EXCL_NON_USER_ANNOTS

If set, it shall include only those markup annotations whose T entry matches the name of the current user.

EXCLUDE

public static final int EXCLUDE

If clear, the Fields array specifies which fields to include in the submission.

EXPORT_FORMAT

public static final int EXPORT_FORMAT

If set, field names and values shall be submitted in HTML Form format.

GET_METHOD

public static final int GET_METHOD

If set, field names and values shall be submitted using an HTTP GET request.

INCLUDE_ANNOTATIONS

public static final int INCLUDE_ANNOTATIONS

If set, the submitted FDF file shall include includes all markup annotations in the underlying PDF document.

INCLUDE_APPEND_SAVES

public static final int INCLUDE_APPEND_SAVES

If set, the submitted FDF file shall include the contents of all incremental updates.

INCLUDE_NO_VALUE_FIELDS

public static final int INCLUDE_NO_VALUE_FIELDS

If set, all fields designated by the Fields array and the Include/Exclude flag shall be submitted.

SUBMIT_COORDINATES

public static final int SUBMIT_COORDINATES

If set, the coordinates of the mouse click that caused the submit-form action shall be transmitted as part of the form data.

SUBMIT_PDF

public static final int SUBMIT_PDF

If set, the document shall be submitted as PDF, using the MIME content type application/pdf.

XFDF

public static final int XFDF

If set, field names and values shall be submitted as XFDF.

SubmitFormAction

public SubmitFormAction()

Initializes SubmitFormAction object.

getFlags

public int getFlags()

Gets flagas of submit action

Returns: int value

getUrl

public FileSpecification getUrl()

Destination URL.

Returns: FileSpecification value

setFlags

public void setFlags(int value)

Sets flagas of submit action

Parameters:

ParameterTypeDescription
valueint value

setUrl

Destination URL.