|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.pdf.fields.pdfform
com.spire.pdf.widget.pdfformwidget
public class pdfformwidget
represents loaded form.
constructor summary | |
---|---|
pdfformwidget( crosstable)
|
|
pdfformwidget( formdictionary,
crosstable)
|
method summary | |
---|---|
void |
exportdata(java.io.inputstream stream,
dataformat dataformat,
java.lang.string formname)
export the form data to a file. |
void |
exportdata(java.lang.string filename,
dataformat dataformat,
java.lang.string formname)
export the form data to a file. |
com.spire.ms.system.drawing.image[] |
extractinnersignatureasimages()
extract images from signature |
java.awt.image[] |
extractsignatureasimages()
extract images from signature |
pdfformfieldwidgetcollection |
getfieldswidget()
gets the field collection. |
boolean |
getneedappearances()
gets a value indicating whether need appearances. |
boolean |
getreadonly()
gets a value indicating whether the form is read only. |
xfaform |
getxfaform()
gets xfa data of the form. |
void |
highlightfields(boolean highlight)
sets/resets the form field highlight option. |
void |
importdata(java.lang.string filename,
dataformat dataformat)
imports the data. |
[] |
importdata(java.lang.string filename,
dataformat dataformat,
boolean errorflag)
imports the data. |
[] |
importdatafdf(java.io.inputstream stream,
boolean continueimportonerror)
import form data from fdf file. |
void |
importdataxfdf(java.lang.string filename)
imports xfdf data |
boolean |
onlyhexinstring(java.lang.string test)
called when [hex in string]. |
boolean |
setfieldvalueforxfaform(pdffield field,
java.lang.string value)
|
void |
setneedappearances(boolean value)
sets a value indicating whether need appearances. |
void |
setreadonly(boolean value)
sets a value indicating whether the form is read only. |
methods inherited from class com.spire.pdf.fields.pdfform |
---|
getfields, isflatten, isflatten |
constructor detail |
---|
public pdfformwidget( formdictionary, crosstable)
public pdfformwidget( crosstable)
method detail |
---|
public java.awt.image[] extractsignatureasimages()
public pdfformfieldwidgetcollection getfieldswidget()
public boolean getreadonly()
getreadonly
in class pdfform
public void setreadonly(boolean value)
setreadonly
in class pdfform
public xfaform getxfaform()
public boolean getneedappearances()
getneedappearances
in class pdfform
public void setneedappearances(boolean value)
setneedappearances
in class pdfform
public boolean setfieldvalueforxfaform(pdffield field, java.lang.string value)
public void exportdata(java.lang.string filename, dataformat dataformat, java.lang.string formname)
filename
- name of the document which is need to export.dataformat
- the format of exported data.formname
- the name of the pdf file the data is exported from.public void exportdata(java.io.inputstream stream, dataformat dataformat, java.lang.string formname)
stream
- the stream where form data will be exported.dataformat
- the format of exported dataformname
- the name of the pdf file the data is exported frompublic void importdata(java.lang.string filename, dataformat dataformat)
filename
- name of the file.dataformat
- the data format.public [] importdata(java.lang.string filename, dataformat dataformat, boolean errorflag)
filename
- name of the file.dataformat
- the data format.errorflag
- if it is error flag, set to true.
public [] importdatafdf(java.io.inputstream stream, boolean continueimportonerror)
stream
- the fdf file streamcontinueimportonerror
- false if the import should stop on the first field that generates an error, or true if the import should ignore the error and continue with the next field.
public void highlightfields(boolean highlight)
public boolean onlyhexinstring(java.lang.string test)
test
- the test.
public void importdataxfdf(java.lang.string filename)
filename
- public com.spire.ms.system.drawing.image[] extractinnersignatureasimages()
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |