MailMergeMainDocumentType

Inheritance: java.lang.Object

public class MailMergeMainDocumentType

Specifies the possible types for a mail merge source document.

Fields

FieldDescription
CATALOGSpecifies that the mail merge source document is of the catalog type.
DEFAULTEquals to NOT_A_MERGE_DOCUMENT
EMAILSpecifies that the mail merge source document is of the e-mail message type.
ENVELOPESSpecifies that the mail merge source document is of the envelope type.
FAXSpecifies that the mail merge source document is of the fax type.
FORM_LETTERSSpecifies that the mail merge source document is of the form letter type.
MAILING_LABELSSpecifies that the mail merge source document is of the mailing label type.
NOT_A_MERGE_DOCUMENTThis document is not a mail merge document.
length

Methods

MethodDescription
fromName(String mailMergeMainDocumentTypeName)
getName(int mailMergeMainDocumentType)
getValues()
toString(int mailMergeMainDocumentType)

CATALOG

public static int CATALOG

Specifies that the mail merge source document is of the catalog type.

DEFAULT

public static int DEFAULT

Equals to NOT_A_MERGE_DOCUMENT

EMAIL

public static int EMAIL

Specifies that the mail merge source document is of the e-mail message type.

ENVELOPES

public static int ENVELOPES

Specifies that the mail merge source document is of the envelope type.

FAX

public static int FAX

Specifies that the mail merge source document is of the fax type.

FORM_LETTERS

public static int FORM_LETTERS

Specifies that the mail merge source document is of the form letter type.

MAILING_LABELS

public static int MAILING_LABELS

Specifies that the mail merge source document is of the mailing label type.

NOT_A_MERGE_DOCUMENT

public static int NOT_A_MERGE_DOCUMENT

This document is not a mail merge document.

length

public static int length

fromName(String mailMergeMainDocumentTypeName)

public static int fromName(String mailMergeMainDocumentTypeName)

Parameters:

ParameterTypeDescription
mailMergeMainDocumentTypeNamejava.lang.String

Returns: int

getName(int mailMergeMainDocumentType)

public static String getName(int mailMergeMainDocumentType)

Parameters:

ParameterTypeDescription
mailMergeMainDocumentTypeint

Returns: java.lang.String

getValues()

public static int[] getValues()

Returns: int[]

toString(int mailMergeMainDocumentType)

public static String toString(int mailMergeMainDocumentType)

Parameters:

ParameterTypeDescription
mailMergeMainDocumentTypeint

Returns: java.lang.String