public class OdsoFieldMapData
extends java.lang.Object
implements java.lang.Cloneable
To learn more, visit the Mail Merge and Reporting documentation article.
Remarks:
Microsoft Word provides some predefined merge field names that it allows to insert into a document as MERGEFIELD or use in the ADDRESSBLOCK or GREETINGLINE fields. The information specified in OdsoFieldMapData allows to map one column in the external data source to a single predefined merge field.
OdsoFieldMapDataCollection,
Odso| Modifier and Type | Method and Description |
|---|---|
OdsoFieldMapData |
deepClone()
Returns a deep clone of this object.
|
int |
getColumn()
Specifies the zero-based index of the column within an external data source which shall be mapped to the local name of a specific MERGEFIELD field.
|
java.lang.String |
getMappedName()
Specifies the predefined merge field name which shall be mapped to the column number specified by the
getColumn() / setColumn(int) property within this field mapping. |
java.lang.String |
getName()
Specifies the column name within an external data source for the column whose index is specified by the
getColumn() / setColumn(int) property. |
int |
getType()
Specifies if a given mail merge field has been mapped to a column in the given external data source or not.
|
protected java.lang.Object |
memberwiseClone() |
void |
setColumn(int value)
Specifies the zero-based index of the column within an external data source which shall be mapped to the local name of a specific MERGEFIELD field.
|
void |
setMappedName(java.lang.String value)
Specifies the predefined merge field name which shall be mapped to the column number specified by the
getColumn() / setColumn(int) property within this field mapping. |
void |
setName(java.lang.String value)
Specifies the column name within an external data source for the column whose index is specified by the
getColumn() / setColumn(int) property. |
void |
setType(int value)
Specifies if a given mail merge field has been mapped to a column in the given external data source or not.
|
public OdsoFieldMapData deepClone()
public int getColumn()
int value.public void setColumn(int value)
value - The corresponding int value.public java.lang.String getMappedName()
getColumn() / setColumn(int) property within this field mapping. The default value is an empty string.String value.public void setMappedName(java.lang.String value)
getColumn() / setColumn(int) property within this field mapping. The default value is an empty string.value - The corresponding String value.public java.lang.String getName()
getColumn() / setColumn(int) property. The default value is an empty string.String value.public void setName(java.lang.String value)
getColumn() / setColumn(int) property. The default value is an empty string.value - The corresponding String value.public int getType()
OdsoFieldMappingType.DEFAULT.int value. The returned value is one of OdsoFieldMappingType constants.public void setType(int value)
OdsoFieldMappingType.DEFAULT.value - The corresponding int value. The value must be one of OdsoFieldMappingType constants.protected java.lang.Object memberwiseClone()