java.lang.Object
com.aspose.words.OdsoFieldMapData
- All Implemented Interfaces:
- java.lang.Cloneable
public class OdsoFieldMapData
- extends java.lang.Object
Specifies how a column in the external data source shall be mapped to the predefined merge fields within the document.
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.
- See Also:
- OdsoFieldMapDataCollection, Odso
Constructor Summary |
OdsoFieldMapData()
Initializes a new instance of this class.
|
Property Getters/Setters Summary |
int | getColumn() | |
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.
The default value is 0.
|
java.lang.String | getMappedName() | |
void | setMappedName(java.lang.String value) | |
|
Specifies the predefined merge field name which shall be mapped to the column number
specified by the Column property within this field mapping.
The default value is an empty string.
|
java.lang.String | getName() | |
void | setName(java.lang.String value) | |
|
Specifies the column name within an external data source for the column whose
index is specified by the Column property.
The default value is an empty string.
|
int | getType() | |
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.
The default value is OdsoFieldMappingType.DEFAULT.
The value of the property is OdsoFieldMappingType integer constant. |
OdsoFieldMapData
public OdsoFieldMapData()
-
Initializes a new instance of this class.
Property Getters/Setters Detail |
getColumn/setColumn | |
public int getColumn() / public 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.
The default value is 0.
getMappedName/setMappedName | |
public java.lang.String getMappedName() / public void setMappedName(java.lang.String value)
|
-
Specifies the predefined merge field name which shall be mapped to the column number
specified by the Column property within this field mapping.
The default value is an empty string.
getName/setName | |
public java.lang.String getName() / public void setName(java.lang.String value)
|
-
Specifies the column name within an external data source for the column whose
index is specified by the Column property.
The default value is an empty string.
getType/setType | |
public int getType() / public 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.
The default value is OdsoFieldMappingType.DEFAULT.
The value of the property is OdsoFieldMappingType integer constant.
-
Returns a deep clone of this object.
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.