MailMergeDestination
Overview
MailMergeDestination is an enum in Aspose.Words FOSS for Java.
Specifies the possible results which may be generated when a mail merge is carried out on a document.
Edition status of its 10 listed members (a property and its accessor methods are listed separately, overloads once): 10 not yet exercised by a verified example.
This enum declares 4 methods for MailMergeDestination 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
| Value | Description |
|---|---|
NEW_DOCUMENT | Specifies that conforming hosting applications shall generate new documents by populating the fields within a given document with data from the specified external data source. |
PRINTER | Specifies that conforming hosting applications shall print the documents that result from populating the fields within a given document with external data from the specified external data source. |
EMAIL | Specifies that conforming hosting applications shall generate emails using the documents that result from populating the fields within a given document with data from the specified external data source. |
FAX | Specifies that conforming hosting applications shall generate faxes using the documents that result from populating the fields within a given document with data from the specified external data source. |
DEFAULT | Equals to the NEW_DOCUMENT value. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of MailMergeDestination values. |
Methods
| Signature | Description |
|---|---|
getName(mailMergeDestination: int) → String | Returns JAVA_STYLE string representation of integer MailMergeDestination value. |
toString(mailMergeDestination: int) → String | Returns DotNetStyle string representation of integer MailMergeDestination value. |
fromName(mailMergeDestinationName: String) → int | Returns integer representation by MailMergeDestination name. |
getValues() → int[] | Returns array of MailMergeDestination values. |