MailMergeDataType
Inheritance: java.lang.Object
public class MailMergeDataType
Specifies the type of an external mail merge data source.
Fields
Field | Description |
---|---|
DATABASE | Specifies that a given document has been connected to an Access database via the Dynamic Data Exchange (DDE) system. |
DEFAULT | Equals to NONE. |
NATIVE | Specifies that a given document has been connected to an external data source via the Office Data Source Object (ODSO) interface. |
NONE | No mail merge data source is specified. |
ODBC | Specifies that a given document has been connected to an external data source via the Open Database Connectivity interface. |
QUERY | Specifies that a given document has been connected to an external data source using an external query tool. |
SPREADSHEET | Specifies that a given document has been connected to an Excel spreadsheet via the Dynamic Data Exchange (DDE) system. |
TEXT_FILE | Specifies that a given document has been connected to a text file via the Dynamic Data Exchange (DDE) system. |
length |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
mailMergeDataTypeName | java.lang.String |
Returns: int
getName(int mailMergeDataType)
public static String getName(int mailMergeDataType)
Parameters:
Parameter | Type | Description |
---|---|---|
mailMergeDataType | int |
Returns: java.lang.String
getValues()
public static int[] getValues()
Returns: int[]
toString(int mailMergeDataType)
public static String toString(int mailMergeDataType)
Parameters:
Parameter | Type | Description |
---|---|---|
mailMergeDataType | int |
Returns: java.lang.String