|
|||||||||
| 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 |
| 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 | ||||||||