MailMergeDataType

Inheritance: java.lang.Object

public class MailMergeDataType

Specifies the type of an external mail merge data source.

Fields

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

Methods

MethodDescription
fromName(String mailMergeDataTypeName)
getName(int mailMergeDataType)
getValues()
toString(int mailMergeDataType)

DATABASE

public static int DATABASE

Specifies that a given document has been connected to an Access database via the Dynamic Data Exchange (DDE) system.

DEFAULT

public static int DEFAULT

Equals to NONE.

NATIVE

public static int NATIVE

Specifies that a given document has been connected to an external data source via the Office Data Source Object (ODSO) interface.

NONE

public static int NONE

No mail merge data source is specified.

ODBC

public static int ODBC

Specifies that a given document has been connected to an external data source via the Open Database Connectivity interface.

QUERY

public static int QUERY

Specifies that a given document has been connected to an external data source using an external query tool.

SPREADSHEET

public static int SPREADSHEET

Specifies that a given document has been connected to an Excel spreadsheet via the Dynamic Data Exchange (DDE) system.

TEXT_FILE

public static int TEXT_FILE

Specifies that a given document has been connected to a text file via the Dynamic Data Exchange (DDE) system.

length

public static int length

fromName(String mailMergeDataTypeName)

public static int fromName(String mailMergeDataTypeName)

Parameters:

ParameterTypeDescription
mailMergeDataTypeNamejava.lang.String

Returns: int

getName(int mailMergeDataType)

public static String getName(int mailMergeDataType)

Parameters:

ParameterTypeDescription
mailMergeDataTypeint

Returns: java.lang.String

getValues()

public static int[] getValues()

Returns: int[]

toString(int mailMergeDataType)

public static String toString(int mailMergeDataType)

Parameters:

ParameterTypeDescription
mailMergeDataTypeint

Returns: java.lang.String