MailMergeDestination

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

ValueDescription
NEW_DOCUMENTSpecifies that conforming hosting applications shall generate new documents by populating the fields within a given document with data from the specified external data source.
PRINTERSpecifies 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.
EMAILSpecifies 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.
FAXSpecifies 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.
DEFAULTEquals to the NEW_DOCUMENT value.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of MailMergeDestination values.

Methods

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

See Also