MailMergeDestination
Inheritance: java.lang.Object
public class MailMergeDestination
Specifies the possible results which may be generated when a mail merge is carried out on a document.
Fields
Field | Description |
---|---|
DEFAULT | Equals to the NEW_DOCUMENT value. |
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. |
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. |
length |
Methods
Method | Description |
---|---|
fromName(String mailMergeDestinationName) | |
getName(int mailMergeDestination) | |
getValues() | |
toString(int mailMergeDestination) |
DEFAULT
public static int DEFAULT
Equals to the NEW_DOCUMENT value.
public static int 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
public static int 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.
NEW_DOCUMENT
public static int 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
public static int 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.
length
public static int length
fromName(String mailMergeDestinationName)
public static int fromName(String mailMergeDestinationName)
Parameters:
Parameter | Type | Description |
---|---|---|
mailMergeDestinationName | java.lang.String |
Returns: int
getName(int mailMergeDestination)
public static String getName(int mailMergeDestination)
Parameters:
Parameter | Type | Description |
---|---|---|
mailMergeDestination | int |
Returns: java.lang.String
getValues()
public static int[] getValues()
Returns: int[]
toString(int mailMergeDestination)
public static String toString(int mailMergeDestination)
Parameters:
Parameter | Type | Description |
---|---|---|
mailMergeDestination | int |
Returns: java.lang.String