Aspose::Words::Settings::OdsoFieldMapData class
Contents
[
Hide
]OdsoFieldMapData class
Specifies how a column in the external data source shall be mapped to the predefined merge fields within the document. To learn more, visit the Mail Merge and Reporting documentation article.
class OdsoFieldMapData : public System::Object
Methods
Method | Description |
---|---|
Clone() | Returns a deep clone of this object. |
get_Column() const | 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. |
get_MappedName() const | 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. |
get_Name() const | 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. |
get_Type() const | 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 Default. |
GetType() const override | |
Is(const System::TypeInfo&) const override | |
OdsoFieldMapData() | |
set_Column(int32_t) | 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. |
set_MappedName(const System::String&) | 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. |
set_Name(const System::String&) | 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. |
set_Type(Aspose::Words::Settings::OdsoFieldMappingType) | 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 Default. |
static Type() |
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.
See Also
- Namespace Aspose::Words::Settings
- Library Aspose.Words for C++