|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.reporting.MailMerge
public class MailMerge
Field Summary | |
---|---|
MergeFieldEventHandler |
MergeField
Occurs during mail merge when a text merge field processing. |
MergeGroupEventHandler |
MergeGroup
Occurs during mail merge when group/table processing. |
MergeImageFieldEventHandler |
MergeImageField
Occurs during mail merge when an image merge field processing. |
Method Summary | |
---|---|
void |
execute(DataRow row)
Performs mail merge from a DataRow into the document |
void |
execute(DataTable table)
Performs mail merge from a DataTable |
void |
execute(java.lang.Iterable dataSource)
Performs mail merge operation. |
void |
execute(java.lang.String[] fieldNames,
java.lang.String[] fieldValues)
Performs mail merge operation. |
void |
executeGroup(MailMergeDataTable dataSource)
Performs mail merge operation. |
void |
executeWidthNestedRegion(MailMergeDataSet dataSource,
java.util.List<java.util.Map.Entry> filters)
Performs mail merge operation. |
void |
executeWidthNestedRegion(java.lang.String xmlFile,
java.util.List<java.util.Map.Entry> commands)
Executes the nested region. |
void |
executeWidthRegion(DataTable table)
Performs Mail Merge within a region from a DataTable. |
void |
executeWidthRegion(java.io.InputStream stream)
Performs Mail Merge within a region from a DataTable. |
void |
executeWidthRegion(java.lang.String xmlFile)
Performs Mail Merge within a region from a DataTable. |
boolean |
getClearFields()
Gets or sets a value indicating whether [clear fields]. |
boolean |
getClearGroupTag()
Gets or sets a value indicating whether [clear group tag]. |
boolean |
getHideEmptyGroup()
Gets or sets a value indicating whether to remove groups which contain empty merge fields |
boolean |
getHideEmptyParagraphs()
Gets or sets a value indicating whether to remove paragraphs which contain empty merge fields |
MailMergeMainDocumentType |
getMailMergeMainDocumentType()
|
com.spire.ms.System.Collections.Generic.Dictionary |
getMappedFields()
Gets the collection of mapped fields. |
java.lang.String[] |
getMergeFieldNames()
Returns a collection of mergefield names found in the document. |
java.lang.String[] |
getMergeFieldNames(java.lang.String groupName)
Gets the merge field names. |
java.lang.String[] |
getMergeGroupNames()
Gets the merge field names. |
void |
setClearFields(boolean value)
Gets or sets a value indicating whether [clear fields]. |
void |
setClearGroupTag(boolean value)
Gets or sets a value indicating whether [clear group tag]. |
void |
setHideEmptyGroup(boolean value)
Gets or sets a value indicating whether to remove groups which contain empty merge fields |
void |
setHideEmptyParagraphs(boolean value)
Gets or sets a value indicating whether to remove paragraphs which contain empty merge fields |
void |
setMailMergeMainDocumentType(MailMergeMainDocumentType value)
|
Field Detail |
---|
public MergeFieldEventHandler MergeField
public MergeImageFieldEventHandler MergeImageField
public MergeGroupEventHandler MergeGroup
Method Detail |
---|
public boolean getClearFields()
public void setClearFields(boolean value)
public MailMergeMainDocumentType getMailMergeMainDocumentType()
public void setMailMergeMainDocumentType(MailMergeMainDocumentType value)
public boolean getClearGroupTag()
public void setClearGroupTag(boolean value)
public boolean getHideEmptyParagraphs()
public void setHideEmptyParagraphs(boolean value)
public boolean getHideEmptyGroup()
public void setHideEmptyGroup(boolean value)
public com.spire.ms.System.Collections.Generic.Dictionary getMappedFields()
public void execute(java.lang.String[] fieldNames, java.lang.String[] fieldValues)
fieldNames
- fieldValues
- public void execute(DataRow row)
row
- public void execute(java.lang.Iterable dataSource)
dataSource
- IEnumerable data sourcepublic void execute(DataTable table)
table
- public void executeWidthRegion(DataTable table)
table
- public void executeWidthRegion(java.lang.String xmlFile)
xmlFile
- the xml file.
java.lang.Exception
public void executeWidthRegion(java.io.InputStream stream)
stream
- the xml file inputStream.
java.lang.Exception
public void executeWidthNestedRegion(MailMergeDataSet dataSource, java.util.List<java.util.Map.Entry> filters)
dataSource
- MailMergeDataSetfilters
- Commands listpublic void executeWidthNestedRegion(java.lang.String xmlFile, java.util.List<java.util.Map.Entry> commands)
xmlFile
- the xml file.commands
- the commands.public java.lang.String[] getMergeFieldNames()
public java.lang.String[] getMergeFieldNames(java.lang.String groupName)
groupName
- Name of the region.
public java.lang.String[] getMergeGroupNames()
public void executeGroup(MailMergeDataTable dataSource)
dataSource
- MailMergeDataTable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |