|
|||||||||
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.lang.String |
getCode()
Gets or sets the field code. |
DocumentObjectType |
getDocumentObjectType()
Gets the type of the document object. |
FieldMark |
getEnd()
Gets or sets the field end. |
java.lang.String |
getFieldText()
Gets or Sets Filed Displays text information. |
java.lang.String |
getPattern()
Returns or sets field pattern. |
FieldMark |
getSeparator()
Gets or sets the field separator. |
TextFormat |
getTextFormat()
Gets or sets regular text format. |
FieldType |
getType()
Returns or sets 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)
Gets or sets the field code. |
void |
setEnd(FieldMark value)
Gets or sets the field end. |
void |
setFieldText(java.lang.String value)
Gets or Sets Filed Displays text information. |
void |
setPattern(java.lang.String value)
Returns or sets field pattern. |
void |
setTextFormat(TextFormat value)
Gets or sets regular text format. |
void |
setType(FieldType value)
Returns or sets field type |
void |
update()
Update the result of the field. |
Methods inherited from class com.spire.doc.fields.TextRange |
---|
getCharacterFormat, getText, setText |
Methods inherited from class com.spire.doc.fields.ParagraphBase |
---|
applyCharacterFormat, applyStyle, getChildObjects, getDeleteRevision, getInsertRevision, getNextWidgetSibling, getOwnerParagraph, getPreviousWidgetSibling, getStyleName, isDeleteRevision, isInsertRevision |
Methods inherited from class com.spire.doc.DocumentObject |
---|
deepClone, getFirstChild, getLastChild, getNextSibling, getOwner, getPreviousSibling, isComposite, prependChild, 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 |
Constructor Detail |
---|
public Field(IDocument doc)
Method Detail |
---|
public boolean isLocked()
public void isLocked(boolean value)
value
- booleanpublic TextFormat getTextFormat()
public void setTextFormat(TextFormat value)
public DocumentObjectType getDocumentObjectType()
getDocumentObjectType
in interface IDocumentObject
getDocumentObjectType
in class TextRange
public java.lang.String getPattern()
public void setPattern(java.lang.String value)
public java.lang.String getValue()
public FieldType getType()
getType
in interface IField
public void setType(FieldType value)
setType
in interface IField
value
- FieldTypepublic java.lang.String getCode()
public void setCode(java.lang.String value)
public FieldMark getSeparator()
public FieldMark getEnd()
public void setEnd(FieldMark value)
public java.lang.String getFieldText()
public void setFieldText(java.lang.String value)
public void update()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |