public interface IForm extends com.aspose.ms.System.IDisposable, Closeable

Class representing Acro form object.

Methods

MethodDescription
closeCloses opened files without any changes.
exportFdfExports the content of the fields of the pdf into the fdf stream.
exportXfdfExports the content of the fields of the pdf into the xml stream.
exportXmlExports the content of the fields of the pdf into the xml stream.
fillBarcodeFieldFill a barcode field according to its fully qualified field name.
fillFieldFills the check box field with a boolean value.
fillFieldFills the radio box field with a valid index value according to a fully qualified field name.
fillFieldFills the field with a valid value according to a fully qualified field name.
fillFieldFill a field with multiple selections.Note: only for AcroForm List Box Field.
fillFieldFillField
fillImageFieldOverloads function of FillImageField.
fillImageFieldPastes an image onto the existing button field as its appearance according to its fully qualified field name.
flattenAllFieldsFlattens all the fields.
flattenFieldFlattens a specified field with the fully qualified field name.
getAttachmentNameGets or sets name of attachment when result of operation is stored into HttpResponse objects as attachment.
getButtonOptionCurrentValueReturns the current value for radio button option fields.
getButtonOptionValuesGets the radio button option fields and related values based on the field name.
getButtonOptionValuesInternalGets the radio button option fields and related values based on the field name.
getContentDispositionGets or sets how content will be stored when result of operation is stored into HttpResponse object.
getDestFileNameGets destination file name.
getDestStreamGets destination stream.
getDocumentGets the document Form is working on.
getFieldGets the field’s value according to its field name.
getFieldFacadeReturns FrofmFieldFacade object containing all appearance attributes.
getFieldFlagReturns flags of the field.
getFieldLimitGet the limitation of text field.
getFieldNamesGets list of field names on the form.
getFieldTypeReturns type of field.
getFormSubmitButtonNamesGets all form submit button names.
getFullFieldNameGets the full field name according to its short field name.
getRichTextGet a Rich Text field’s value, including the formattinf information of every character.
getSaveOptionsGets or sets save options when result is stored as HttpResponse.
getSrcFileNameGets source file name.
getSrcStreamGets source stream.
getSubmitFlagsReturns the submit button’s submission flags
importFdfImports the content of the fields from the fdf file and put them into the new pdf.
importXfdfImports the content of the fields from the xfdf(xml) file and put them into the new pdf.
importXmlImports the content of the fields from the xml file and put them into the new pdf.
importXmlImports the content of the fields from the xml file and put them into the new pdf.
renameFieldRenames a field.
saveSaves the value of the filled fields and close the opened Pdf document.
setAttachmentNameSets name of attachment when result of operation is stored into HttpResponse objects as attachment.
setContentDispositionSets how content will be stored when result of operation is stored into HttpResponse object.
setConvertToSets PDF file format.
setDestFileNameSets destination file name.
setDestStreamGets destination stream.
setSaveOptionsGets or sets save options when result is stored as HttpResponse.
setSrcFileNameSets source file name.
setSrcStreamGets source stream.

close

void close()

Closes opened files without any changes.

exportFdf

Exports the content of the fields of the pdf into the fdf stream.

exportXfdf

Exports the content of the fields of the pdf into the xml stream.

exportXml

Exports the content of the fields of the pdf into the xml stream.

fillBarcodeField

Fill a barcode field according to its fully qualified field name.

fillField

Fills the check box field with a boolean value.

fillField

Fills the radio box field with a valid index value according to a fully qualified field name.

fillField

Fills the field with a valid value according to a fully qualified field name.

fillField

Fill a field with multiple selections.Note: only for AcroForm List Box Field.

fillField

FillField

fillImageField

Overloads function of FillImageField.

fillImageField

Pastes an image onto the existing button field as its appearance according to its fully qualified field name.

flattenAllFields

void flattenAllFields()

Flattens all the fields.

flattenField

Flattens a specified field with the fully qualified field name.

getAttachmentName

String getAttachmentName()

Gets or sets name of attachment when result of operation is stored into HttpResponse objects as attachment.

Returns: string object

getButtonOptionCurrentValue

Returns the current value for radio button option fields.

getButtonOptionValues

Gets the radio button option fields and related values based on the field name.

getButtonOptionValuesInternal

Gets the radio button option fields and related values based on the field name.

getContentDisposition

ContentDisposition getContentDisposition()

Gets or sets how content will be stored when result of operation is stored into HttpResponse object.

Returns: ContentDisposition element

getDestFileName

String getDestFileName()

Gets destination file name.

Returns: String object

getDestStream

OutputStream getDestStream()

Gets destination stream.

Returns: OutputStream object

getDocument

IDocument getDocument()

Gets the document Form is working on.

Returns: IDocument object

getField

Gets the field’s value according to its field name.

getFieldFacade

Returns FrofmFieldFacade object containing all appearance attributes.

getFieldFlag

Returns flags of the field.

getFieldLimit

Get the limitation of text field.

getFieldNames

String [] getFieldNames()

Gets list of field names on the form.

Returns: String[] object

getFieldType

Returns type of field.

getFormSubmitButtonNames

String [] getFormSubmitButtonNames()

Gets all form submit button names.

Returns: String[] object

getFullFieldName

Gets the full field name according to its short field name.

getRichText

Get a Rich Text field’s value, including the formattinf information of every character.

getSaveOptions

SaveOptions getSaveOptions()

Gets or sets save options when result is stored as HttpResponse.

Returns: SaveOptions object

getSrcFileName

String getSrcFileName()

Gets source file name.

Returns: String object

getSrcStream

InputStream getSrcStream()

Gets source stream.

Returns: InputStream object

getSubmitFlags

Returns the submit button’s submission flags

importFdf

Imports the content of the fields from the fdf file and put them into the new pdf.

importXfdf

Imports the content of the fields from the xfdf(xml) file and put them into the new pdf.

importXml

Imports the content of the fields from the xml file and put them into the new pdf.

importXml

Imports the content of the fields from the xml file and put them into the new pdf.

renameField

Renames a field.

save

void save()

Saves the value of the filled fields and close the opened Pdf document.

setAttachmentName

Sets name of attachment when result of operation is stored into HttpResponse objects as attachment.

setContentDisposition

Sets how content will be stored when result of operation is stored into HttpResponse object.

setConvertTo

Sets PDF file format.

setDestFileName

Sets destination file name.

setDestStream

Gets destination stream.

setSaveOptions

Gets or sets save options when result is stored as HttpResponse.

setSrcFileName

Sets source file name.

setSrcStream

Gets source stream.