formfield-ag凯发旗舰厅



com.spire.doc.fields
class formfield

java.lang.object
  extended by com.spire.doc.ownerholder
      extended by com.spire.doc.documents.xml.documentserializable
          extended by com.spire.doc.documentobject
              extended by com.spire.doc.documentbase
                  extended by com.spire.doc.fields.paragraphbase
                      extended by com.spire.doc.fields.textrange
                          extended by com.spire.doc.fields.field
                              extended by com.spire.doc.fields.formfield
all implemented interfaces:
irunattrsource, idocumentobject, ifield, iparagraphbase, itextrange
direct known subclasses:
checkboxformfield, dropdownformfield, textformfield

public abstract class formfield
extends field

constructor summary
protected formfield(formfield formfield, idocument doc)
          initializes a new instance of the formfield class.
  formfield(idocument doc)
          initializes a new instance of the formfield class.
 
method summary
 boolean getcalculateonexit()
          gets calculate on exit property.
 boolean getenabled()
          get enabled property (true if form field enabled).
 formfieldtype getformfieldtype()
          gets type of this form field.
 java.lang.string gethelp()
          gets form field help.
 java.lang.string getmacroonend()
          returns the name of macros on end
 java.lang.string getmacroonstart()
          returns the name of macros on start
 java.lang.string getname()
          gets form field title name (bookmark name).
 java.lang.string getstatusbarhelp()
          gets the status bar help.
 void setcalculateonexit(boolean value)
          sets calculate on exit property.
 void setenabled(boolean value)
          sets enabled property (true if form field enabled).
 void sethelp(java.lang.string value)
          sets form field help.
 void setmacroonend(java.lang.string value)
          sets the name of macros on end
 void setmacroonstart(java.lang.string value)
          sets the name of macros on start
 void setname(java.lang.string value)
          sets form field title name (bookmark name).
 void setstatusbarhelp(java.lang.string value)
          sets the status bar help.
 
methods inherited from class com.spire.doc.fields.field
downloadimage, getcode, getdocumentobjecttype, getend, getfieldtext, getpattern, getseparator, gettextformat, gettype, getvalue, islocked, islocked, setcode, setend, setfieldtext, setpattern, settextformat, settype
 
methods inherited from class com.spire.doc.fields.textrange
getcharacterformat, gettext, settext
 
methods inherited from class com.spire.doc.fields.paragraphbase
applycharacterformat, applystyle, getancestor, getchildobjects, getownerparagraph, getstylename, isdeleterevision, isinsertrevision
 
methods inherited from class com.spire.doc.documentobject
deepclone, getfirstchild, getlastchild, getnextsibling, getowner, getprevioussibling, iscomposite, tostring
 
methods inherited from class com.spire.doc.ownerholder
getdocument
 
methods inherited from interface com.spire.doc.interfaces.itextrange
applycharacterformat, getcharacterformat, gettext, settext
 
methods inherited from interface com.spire.doc.interfaces.iparagraphbase
applystyle, getownerparagraph, getstylename
 
methods inherited from interface com.spire.doc.interfaces.idocumentobject
deepclone, getdocument, getnextsibling, getowner, getprevioussibling, iscomposite
 
methods inherited from interface com.spire.doc.documents.irunattrsource
clearrunattrs, fetchinheritedrunattr, getdirectrunattr, getdirectrunattrbyindex, getdirectrunattrscount, setrunattr
 
constructor detail

formfield

public formfield(idocument doc)
initializes a new instance of the formfield class.
parameters:
doc - doc

formfield

protected formfield(formfield formfield,
                    idocument doc)
initializes a new instance of the formfield class.
parameters:
formfield - the form field
doc - the doc.
method detail

getformfieldtype

public formfieldtype getformfieldtype()
gets type of this form field.
returns:
formfieldtype

getname

public java.lang.string getname()
gets form field title name (bookmark name).
returns:
the name is unique in the document.

setname

public void setname(java.lang.string value)
sets form field title name (bookmark name).
parameters:
value - the name is unique in the document.

gethelp

public java.lang.string gethelp()
gets form field help.
returns:
string

sethelp

public void sethelp(java.lang.string value)
sets form field help.
parameters:
value - string

getstatusbarhelp

public java.lang.string getstatusbarhelp()
gets the status bar help.
returns:
the status bar help.

setstatusbarhelp

public void setstatusbarhelp(java.lang.string value)
sets the status bar help.
parameters:
value - the status bar help.

getmacroonstart

public java.lang.string getmacroonstart()
returns the name of macros on start
returns:
string

setmacroonstart

public void setmacroonstart(java.lang.string value)
sets the name of macros on start
parameters:
value - string

getmacroonend

public java.lang.string getmacroonend()
returns the name of macros on end
returns:
string

setmacroonend

public void setmacroonend(java.lang.string value)
sets the name of macros on end
parameters:
value -

getenabled

public boolean getenabled()
get enabled property (true if form field enabled).
returns:
boolean

setenabled

public void setenabled(boolean value)
sets enabled property (true if form field enabled).
parameters:
value - boolean

getcalculateonexit

public boolean getcalculateonexit()
gets calculate on exit property.
returns:
boolean

setcalculateonexit

public void setcalculateonexit(boolean value)
sets calculate on exit property.
parameters:
value - boolean


网站地图