public abstract class FieldMergingArgsBase
extends java.lang.Object
FieldMergingArgs and ImageFieldMergingArgs.
To learn more, visit the Mail Merge and Reporting documentation article.
FieldMergingArgs,
ImageFieldMergingArgs| Constructor and Description |
|---|
FieldMergingArgsBase() |
| Modifier and Type | Method and Description |
|---|---|
Document |
getDocument()
Returns the
getDocument() object for which the mail merge is performed. |
java.lang.String |
getDocumentFieldName()
Gets the name of the merge field as specified in the document.
|
FieldMergeField |
getField()
Gets the object that represents the current merge field.
|
java.lang.String |
getFieldName()
Gets the name of the merge field in the data source.
|
java.lang.Object |
getFieldValue()
Gets the value of the field from the data source.
|
int |
getRecordIndex()
Gets the zero based index of the record that is being merged.
|
java.lang.String |
getTableName()
Gets the name of the data table for the current merge operation or empty string if the name is not available.
|
void |
setFieldValue(java.lang.Object value)
Sets the value of the field from the data source.
|
public Document getDocument()
getDocument() object for which the mail merge is performed.getDocument() object for which the mail merge is performed.public java.lang.String getTableName()
public int getRecordIndex()
public java.lang.String getFieldName()
If you have a mapping from a document field name to a different data source field name, then this is the mapped field name.
If you specified a field name prefix, for example "Image:MyFieldName" in the document, then FieldName returns field name without the prefix, that is "MyFieldName".
public java.lang.String getDocumentFieldName()
If you have a mapping from a document field name to a different data source field name, then this is the original field name as specified in the document.
If you specified a field name prefix, for example "Image:MyFieldName" in the document, then DocumentFieldName returns field name without the prefix, that is "MyFieldName".
public java.lang.Object getFieldValue()
public void setFieldValue(java.lang.Object value)
value - The value of the field from the data source.public FieldMergeField getField()