MailMergeDataType

MailMergeDataType

Overview

MailMergeDataType is an enum in Aspose.Words FOSS for Java.

Specifies the type of an external mail merge data source.

Edition status of its 13 listed members (a property and its accessor methods are listed separately, overloads once): 13 not yet exercised by a verified example.

This enum declares 4 methods for MailMergeDataType objects in Java programs. Available methods include: fromName, getName, getValues, toString. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: values.

Values

ValueDescription
NONENo mail merge data source is specified.
TEXT_FILESpecifies that a given document has been connected to a text file via the Dynamic Data Exchange (DDE) system.
DATABASESpecifies that a given document has been connected to an Access database via the Dynamic Data Exchange (DDE) system.
SPREADSHEETSpecifies that a given document has been connected to an Excel spreadsheet via the Dynamic Data Exchange (DDE) system.
QUERYSpecifies that a given document has been connected to an external data source using an external query tool.
ODBCSpecifies that a given document has been connected to an external data source via the Open Database Connectivity interface.
NATIVESpecifies that a given document has been connected to an external data source via the Office Data Source Object (ODSO) interface.
DEFAULTEquals to NONE.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of MailMergeDataType values.

Methods

SignatureDescription
getName(mailMergeDataType: int) → StringReturns JAVA_STYLE string representation of integer MailMergeDataType value.
toString(mailMergeDataType: int) → StringReturns DotNetStyle string representation of integer MailMergeDataType value.
fromName(mailMergeDataTypeName: String) → intReturns integer representation by MailMergeDataType name.
getValues() → int[]Returns array of MailMergeDataType values.

See Also