public interface EFormUtils
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
DOC_ENCRYPTION_MASTER_PASSWORD
Optional parameter identifier for concatenateEForms() used to indicate
the master password as a String.
|
static java.lang.String |
DOC_ENCRYPTION_PERMISSIONS
Optional parameter identifier for concatenateEForms() used to indicate generated
document permissions.
|
static java.lang.String |
DOC_ENCRYPTION_STRENGTH
Optional parameter identifier for concatenateEForms() used to indicate the
encryption strength that will be used (acceptable values are "40" (default)or "128").
|
static java.lang.String |
DOC_ENCRYPTION_USER_PASSWORD
Optional parameter identifier for concatenateEForms() used to indicate
the user password as a string.
|
static int |
EFORM_DOC_PERMISSION_ALLOW_ASSEMBLY |
static int |
EFORM_DOC_PERMISSION_ALLOW_COPY |
static int |
EFORM_DOC_PERMISSION_ALLOW_DEGRADEDPRINTING |
static int |
EFORM_DOC_PERMISSION_ALLOW_FILL_IN |
static int |
EFORM_DOC_PERMISSION_ALLOW_MODIFY_ANNOTATIONS |
static int |
EFORM_DOC_PERMISSION_ALLOW_MODIFY_CONTENTS |
static int |
EFORM_DOC_PERMISSION_ALLOW_PRINTING |
static int |
EFORM_DOC_PERMISSION_ALLOW_SCREENREADERS |
static java.lang.String |
PERFORM_DOC_ENCRYPTION
Optional parameter identifier for concatenateEForms() that is used
to indicate that document encryption should be performed after eForm documents
have been concatenated.
|
static java.lang.String |
PERFORM_FORM_FIELD_FLATTENING
Optional parameter identifier for concatenateEForms() that is used
to indicate that form field flattening should be performed after eForm documents
have been concatenated.
|
static java.lang.String |
VERSION |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
concatenateEForms(java.util.List aEFormDocuments,
java.util.Map aOptionalParameters)
Concatenates several eForm documents into a single document.
|
int |
extractDataFromEForm(byte[] aEFormBytes,
java.lang.String aEFormMappingRule,
ClipboardPage aPage)
Extracts eForm form field values and maps them to the clipboard.
|
int |
extractDataFromEForm(java.io.File aEFormFile,
java.lang.String aEFormMappingRule,
ClipboardPage aPage)
Extracts eForm field values and maps them to the clipboard.
|
int |
extractDataFromEForm(java.io.InputStream aEFormInputStream,
java.lang.String aEFormMappingRule,
ClipboardPage aPage)
Extracts eForm field values and maps them to the clipboard.
|
int |
extractDataFromEForm(java.lang.String aEFormMappingRule,
ClipboardPage aPage)
Extracts eForm field values and maps them to the clipboard.
|
int |
extractDataFromEForm(java.net.URL aEFormUrl,
java.lang.String aEFormMappingRule,
ClipboardPage aPage)
Extracts eForm field values and maps them to the clipboard.
|
byte[] |
generateLabeledEForm(byte[] aEFormBytes)
Create an eForm in which the value of each field is the field's name.
|
byte[] |
generateLabeledEForm(java.io.File aEFormFile)
Create an eForm in which the value of each field is the field's name.
|
byte[] |
generateLabeledEForm(java.io.InputStream aEFormInputStream)
Create an eForm in which the value of each field is the field's name.
|
byte[] |
generateLabeledEForm(java.net.URL aEFormUrl)
Create an eForm in which the value of each field is the field's name.
|
byte[] |
generatePopulatedEForm(byte[] aEFormBytes,
java.lang.String aEFormMappingRule,
ClipboardPage aPage)
Merge clipboard data into a eForm.
|
byte[] |
generatePopulatedEForm(java.io.File aEFormFile,
java.lang.String aEFormMappingRule,
ClipboardPage aPage)
Merge clipboard data into a eForm.
|
byte[] |
generatePopulatedEForm(java.io.InputStream aEFormInputStream,
java.lang.String aEFormMappingRule,
ClipboardPage aPage)
Merge clipboard data into a eForm.
|
byte[] |
generatePopulatedEForm(java.lang.String aEFormMappingRule,
ClipboardPage aPage)
Merge clipboard data into a eForm.
|
byte[] |
generatePopulatedEForm(java.net.URL aEFormUrl,
java.lang.String aEFormMappingRule,
ClipboardPage aPage)
Merge clipboard data into a eForm.
|
java.util.List |
getEFormFieldList(byte[] aEFormBytes)
Retrieve eForm form field names from a byte[].
|
java.util.List |
getEFormFieldList(java.io.File aEFormFile)
Retrieve eForm form field names from a byte[].
|
java.util.List |
getEFormFieldList(java.io.InputStream aEFormInputStream)
Retrieve eForm form field names from a byte[].
|
java.util.List |
getEFormFieldList(java.lang.String aClassName,
java.lang.String aFileName,
java.lang.String aExtension)
Retrieve eForm form field names from a Rule-File-eForm instance.
|
java.util.List |
getEFormFieldList(java.net.URL aEFormUrl)
Retrieve eForm field names from a byte[].
|
byte[] |
markAllEFormFieldsReadOnly(byte[] aPdfBytes)
Mark all form fields read only.
|
byte[] |
performOptionalProcessing(byte[] aSourceDoc,
java.util.Map aParams)
Perform form flattening and document encryption..
|
static final java.lang.String VERSION
static final java.lang.String COPYRIGHT
static final int EFORM_DOC_PERMISSION_ALLOW_ASSEMBLY
static final int EFORM_DOC_PERMISSION_ALLOW_COPY
static final int EFORM_DOC_PERMISSION_ALLOW_DEGRADEDPRINTING
static final int EFORM_DOC_PERMISSION_ALLOW_FILL_IN
static final int EFORM_DOC_PERMISSION_ALLOW_MODIFY_ANNOTATIONS
static final int EFORM_DOC_PERMISSION_ALLOW_MODIFY_CONTENTS
static final int EFORM_DOC_PERMISSION_ALLOW_PRINTING
static final int EFORM_DOC_PERMISSION_ALLOW_SCREENREADERS
static final java.lang.String PERFORM_FORM_FIELD_FLATTENING
static final java.lang.String PERFORM_DOC_ENCRYPTION
static final java.lang.String DOC_ENCRYPTION_PERMISSIONS
static final java.lang.String DOC_ENCRYPTION_STRENGTH
static final java.lang.String DOC_ENCRYPTION_USER_PASSWORD
static final java.lang.String DOC_ENCRYPTION_MASTER_PASSWORD
byte[] generatePopulatedEForm(java.lang.String aEFormMappingRule,
ClipboardPage aPage)
aEFormMappingRule - pyName portion of the rule keyaPage - The primary page of the mapping rule.byte[] generatePopulatedEForm(byte[] aEFormBytes,
java.lang.String aEFormMappingRule,
ClipboardPage aPage)
aEFormBytes - byte[] containing the eForm documentaEFormMappingRule - pyName portion of the rule keyaPage - The primary page of the mapping rule.byte[] generatePopulatedEForm(java.io.InputStream aEFormInputStream,
java.lang.String aEFormMappingRule,
ClipboardPage aPage)
aEFormInputStream - InputStream object to read the eForm from.aEFormMappingRule - pyPurpose portion of the rule keyaPage - The primary page of the mapping rule.byte[] generatePopulatedEForm(java.io.File aEFormFile,
java.lang.String aEFormMappingRule,
ClipboardPage aPage)
aEFormFile - File object from which to read the eForm.aEFormMappingRule - pyPurpose portion of the rule keyaPage - The primary page of the mapping rule.byte[] generatePopulatedEForm(java.net.URL aEFormUrl,
java.lang.String aEFormMappingRule,
ClipboardPage aPage)
aEFormUrl - The URL from which to retrieve the eForm.aEFormMappingRule - pyPurpose portion of the rule keyaPage - The primary page of the mapping rule.byte[] generateLabeledEForm(byte[] aEFormBytes)
aEFormBytes - byte[] containing the eForm documentbyte[] generateLabeledEForm(java.io.InputStream aEFormInputStream)
aEFormInputStream - InputStream object to read the eForm from.byte[] generateLabeledEForm(java.io.File aEFormFile)
aEFormFile - File object from which to read the eForm.byte[] generateLabeledEForm(java.net.URL aEFormUrl)
aEFormUrl - The URL from which to retrieve the eForm.int extractDataFromEForm(java.lang.String aEFormMappingRule,
ClipboardPage aPage)
aEFormMappingRule - pyPurpose portion of the rule keyaPage - The primary page of the mapping rule.int extractDataFromEForm(byte[] aEFormBytes,
java.lang.String aEFormMappingRule,
ClipboardPage aPage)
aEFormBytes - byte[] containing the eForm documentaEFormMappingRule - pyPurpose portion of the rule keyaPage - The primary page of the mapping rule.int extractDataFromEForm(java.io.InputStream aEFormInputStream,
java.lang.String aEFormMappingRule,
ClipboardPage aPage)
aEFormInputStream - InputStream object to read the eForm from.aEFormMappingRule - pyPurpose portion of the rule keyaPage - The primary page of the mapping rule.int extractDataFromEForm(java.io.File aEFormFile,
java.lang.String aEFormMappingRule,
ClipboardPage aPage)
aEFormFile - File object from which to read the eForm.aEFormMappingRule - pyPupose portion of the rule keyaPage - The primary page of the mapping rule.int extractDataFromEForm(java.net.URL aEFormUrl,
java.lang.String aEFormMappingRule,
ClipboardPage aPage)
aEFormUrl - The URL from which to retrieve the eForm.aEFormMappingRule - pyPurpose portion of the rule keyaPage - The primary page of the mapping rule.byte[] concatenateEForms(java.util.List aEFormDocuments,
java.util.Map aOptionalParameters)
aEFormDocuments - A list of byte[]s containing eForm documentsaOptionalParameters - A Map of optional parameter.java.util.List getEFormFieldList(java.lang.String aClassName,
java.lang.String aFileName,
java.lang.String aExtension)
aClassName - Class name Rule-File-eForm key part.aFileName - File name Rule-File-eForm key part.aExtension - File extension Rule-File-eForm key partjava.util.List getEFormFieldList(byte[] aEFormBytes)
aEFormBytes - byte[] containing the eForm document.java.util.List getEFormFieldList(java.io.InputStream aEFormInputStream)
aEFormInputStream - InputStream object from which to read the eForm.java.util.List getEFormFieldList(java.io.File aEFormFile)
aEFormFile - A File object to retrieve the eForm from.java.util.List getEFormFieldList(java.net.URL aEFormUrl)
aEFormUrl - The URL from shich to retrieve the eForm.byte[] performOptionalProcessing(byte[] aSourceDoc,
java.util.Map aParams)
aSourceDoc - eForm as a byte[]aParams - parameter mapbyte[] markAllEFormFieldsReadOnly(byte[] aPdfBytes)
aPdfBytes - byte array containin the eForm documentCopyright © 2014 Pegasystems Inc. All Rights Reserved.