public class PDFSubmitFormAction extends PDFAction
Modifier and Type | Field and Description |
---|---|
static long |
FLAGS_CANONICALFORMAT
Bit 10.
|
static long |
FLAGS_EMBEDFORM
Bit 14.
|
static long |
FLAGS_EXCLFKEY
Bit 12.
|
static long |
FLAGS_EXCLNONUSERANNOTS
Bit 11.
|
static long |
FLAGS_EXPORTFORMAT
Bit 3.
|
static long |
FLAGS_GETMETHOD
Bit 4.
|
static long |
FLAGS_INCLUDE
Bit 1.
|
static long |
FLAGS_INCLUDEANNOTATIONS
Bit 8.
|
static long |
FLAGS_INCLUDEAPPENDSAVES
Bit 7.
|
static long |
FLAGS_INCLUDENOVALUEFIELDS
Bit 2.
|
static long |
FLAGS_SUBMITCOORDINATES
Bit 5.
|
static long |
FLAGS_SUBMITPDF
Bit 9.
|
static long |
FLAGS_XFDF
Bit 6.
|
TYPE_EMBEDDEDGOTO, TYPE_GOTO, TYPE_HIDE, TYPE_IMPORTDATA, TYPE_JAVASCRIPT, TYPE_LAUNCH, TYPE_NAMED, TYPE_REMOTEGOTO, TYPE_RENDITION, TYPE_RESETFORM, TYPE_SUBMITFORM, TYPE_UNSUPPORTED, TYPE_URI
Modifier and Type | Method and Description |
---|---|
PDFAttachment |
getAttachment()
Get attachment which the form data is submitted.
|
java.lang.String[] |
getFields()
Get an array which are names of fields.
|
long |
getFlags()
Get flags specifying various characteristics of the action.
|
void |
setAttachment(PDFAttachment attachment)
Set the attachment which the form data is submitted.
|
void |
setFields(java.lang.String[] fields)
Set action's fields.
|
void |
setFlags(int flags)
Set flags to specify various characteristics of the action.
|
createEmbeddedGotoAction, createEmbeddedGotoAction, createGotoAction, createHideAction, createImportDataAction, createJavascriptAction, createLaunchAction, createNamedAction, createRemoteGotoAction, createRemoteGotoAction, createResetFormAction, createSubmitFormAction, createURIAction, getHandle, getType, release
public static final long FLAGS_INCLUDE
public static final long FLAGS_INCLUDENOVALUEFIELDS
public static final long FLAGS_EXPORTFORMAT
public static final long FLAGS_GETMETHOD
FLAGS_EXPORTFORMAT
flag is set.public static final long FLAGS_SUBMITCOORDINATES
public static final long FLAGS_XFDF
public static final long FLAGS_INCLUDEAPPENDSAVES
public static final long FLAGS_INCLUDEANNOTATIONS
public static final long FLAGS_SUBMITPDF
public static final long FLAGS_CANONICALFORMAT
public static final long FLAGS_EXCLNONUSERANNOTS
public static final long FLAGS_EXCLFKEY
public static final long FLAGS_EMBEDFORM
public PDFAttachment getAttachment() throws PDFException
PDFAttachment
object which the form data is
submitted.PDFException
- For more exception information please see definitions
PDFException.ERRCODE_XXX
.PDFException
,
PDFAttachment
public void setAttachment(PDFAttachment attachment) throws PDFException
attachment
- The attachment which the form data is submitted.PDFException
- For more exception information please see definitions
PDFException.ERRCODE_XXX
.PDFException
,
PDFAttachment
public java.lang.String[] getFields() throws PDFException
String
objects array which are names of fields.PDFException
- For more exception information please see definitions
PDFException.ERRCODE_XXX
.PDFException
public void setFields(java.lang.String[] fields) throws PDFException
fields
- A String
objects array which are names of fields.PDFException
- For more exception information please see definitions
PDFException.ERRCODE_XXX
.PDFException
public long getFlags() throws PDFException
SUBMITFORMFLAGS_XXX
and this can be one or a combination of these constants.PDFException
- For more exception information please see definitions
PDFException.ERRCODE_XXX
.PDFException
public void setFlags(int flags) throws PDFException
flags
- A set of flags specifying various characteristics of the
action.PDFException
- For more exception information please see definitions
PDFException.ERRCODE_XXX
.PDFException