MailMergeCleanupOptions enumeration

MailMergeCleanupOptions enumeration

Specifies options that determine what items are removed during mail merge.

Members

NameDescription
NONESpecifies a default value.
REMOVE_EMPTY_PARAGRAPHSSpecifies whether paragraphs that contained mail merge fields with no data should be removed from the document. When this option is set, paragraphs which contain region start and end merge fields which are otherwise empty are also removed.
REMOVE_UNUSED_REGIONSSpecifies whether unused mail merge regions should be removed from the document.
REMOVE_UNUSED_FIELDSSpecifies whether unused merge fields should be removed from the document.
REMOVE_CONTAINING_FIELDSSpecifies whether fields that contain merge fields (for example, IFs) should be removed from the document if the nested merge fields are removed.
REMOVE_STATIC_FIELDSSpecifies whether static fields should be removed from the document. Static fields are fields, which results remain the same upon any document change. Fields, which do not store their results in a document and are calculated on the fly (like FieldType.FIELD_LIST_NUM, FieldType.FIELD_SYMBOL, etc.) are not considered to be static.
REMOVE_EMPTY_TABLE_ROWSSpecifies whether empty rows that contain mail merge regions should be removed from the document.
REMOVE_EMPTY_TABLESSpecifies whether to remove from the document tables that contain mail merge regions that were removed using either the MailMergeCleanupOptions.REMOVE_UNUSED_REGIONS or the MailMergeCleanupOptions.REMOVE_EMPTY_TABLE_ROWS option.

See Also