public class FieldMergeField extends Field
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFieldName()
Gets the name of a data field.
|
java.lang.String |
getFieldNameNoPrefix()
Returns just the name of the data field.
|
int |
getSwitchType(java.lang.String switchName) |
java.lang.String |
getTextAfter()
Gets the text to be inserted after the field if the field is not blank.
|
java.lang.String |
getTextBefore()
Gets the text to be inserted before the field if the field is not blank.
|
int |
getType()
Gets the Microsoft Word field type.
|
boolean |
isMapped()
Gets whether this field is a mapped field.
|
void |
isMapped(boolean value)
Sets whether this field is a mapped field.
|
boolean |
isVerticalFormatting()
Gets whether to enable character conversion for vertical formatting.
|
void |
isVerticalFormatting(boolean value)
Sets whether to enable character conversion for vertical formatting.
|
void |
setFieldName(java.lang.String value)
Sets the name of a data field.
|
void |
setTextAfter(java.lang.String value)
Sets the text to be inserted after the field if the field is not blank.
|
void |
setTextBefore(java.lang.String value)
Sets the text to be inserted before the field if the field is not blank.
|
getDisplayResult, getEnd, getFieldCode, getFieldCode, getFormat, getLocaleId, getResult, getSeparator, getStart, isDirty, isDirty, isLocked, isLocked, needStoreOldResultNodes, remove, setLocaleId, setResult, unlink, update, updatepublic int getType()
public int getSwitchType(java.lang.String switchName)
public java.lang.String getFieldNameNoPrefix()
public java.lang.String getFieldName()
public void setFieldName(java.lang.String value)
throws java.lang.Exception
value - The name of a data field.java.lang.Exceptionpublic java.lang.String getTextBefore()
public void setTextBefore(java.lang.String value)
throws java.lang.Exception
value - The text to be inserted before the field if the field is not blank.java.lang.Exceptionpublic java.lang.String getTextAfter()
public void setTextAfter(java.lang.String value)
throws java.lang.Exception
value - The text to be inserted after the field if the field is not blank.java.lang.Exceptionpublic boolean isMapped()
public void isMapped(boolean value)
throws java.lang.Exception
value - Whether this field is a mapped field.java.lang.Exceptionpublic boolean isVerticalFormatting()
public void isVerticalFormatting(boolean value)
throws java.lang.Exception
value - Whether to enable character conversion for vertical formatting.java.lang.Exception