|
|||||||||
| prev class next class | frames no frames | ||||||||
| summary: nested | field | constr | method | detail: field | constr | method | ||||||||
java.lang.objectcom.spire.doc.ownerholder
com.spire.doc.documents.xml.documentserializable
com.spire.doc.documentobject
com.spire.doc.documentbase
com.spire.doc.fields.paragraphbase
com.spire.doc.fields.textrange
com.spire.doc.fields.field
public class field
| constructor summary | |
|---|---|
field(idocument doc)
creates field object for specified document |
|
| method summary | |
|---|---|
java.awt.image.bufferedimage |
downloadimage(java.lang.string url)
get the image from the url |
java.lang.string |
getcode()
gets the field code. |
documentobjecttype |
getdocumentobjecttype()
gets the type of the document object. |
fieldmark |
getend()
gets the field end. |
java.lang.string |
getfieldtext()
gets filed displays text information. |
java.lang.string |
getpattern()
returns field pattern. |
fieldmark |
getseparator()
gets the field separator. |
textformat |
gettextformat()
gets regular text format. |
fieldtype |
gettype()
returns field type |
java.lang.string |
getvalue()
gets the field value. |
boolean |
islocked()
gets the lock property of the filed.if the field is locked,the field can't be updated. |
void |
islocked(boolean value)
sets the lock property of the filed.if the field is locked,the field can't be updated. |
void |
setcode(java.lang.string value)
sets the field code. |
void |
setend(fieldmark value)
sets the field end. |
void |
setfieldtext(java.lang.string value)
sets filed displays text information. |
void |
setpattern(java.lang.string value)
sets field pattern. |
void |
settextformat(textformat value)
sets regular text format. |
void |
settype(fieldtype value)
sets field type |
| 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 |
|---|
public field(idocument doc)
doc - the document| method detail |
|---|
public boolean islocked()
public void islocked(boolean value)
value - booleanpublic textformat gettextformat()
public void settextformat(textformat value)
value - textformatpublic documentobjecttype getdocumentobjecttype()
getdocumentobjecttype in interface idocumentobjectgetdocumentobjecttype in class textrangepublic java.lang.string getpattern()
public void setpattern(java.lang.string value)
value - field pattern.public java.lang.string getvalue()
public fieldtype gettype()
gettype in interface ifieldpublic void settype(fieldtype value)
settype in interface ifieldvalue - field typepublic java.lang.string getcode()
public void setcode(java.lang.string value)
value - the field code.public fieldmark getseparator()
public fieldmark getend()
public void setend(fieldmark value)
value - the field mark,type of fieldend.public java.lang.string getfieldtext()
public void setfieldtext(java.lang.string value)
value - stringpublic java.awt.image.bufferedimage downloadimage(java.lang.string url)
url - the url
|
|||||||||
| prev class next class | frames no frames | ||||||||
| summary: nested | field | constr | method | detail: field | constr | method | ||||||||