|
|||||||||
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(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
performs mail merge operation. |
void |
executewidthnestedregion(java.lang.string xmlfile,
java.util.list
executes the nested region. |
void |
executewidthregion(java.lang.string xmlfile)
performs mail merge within a region from a datatable. |
boolean |
getclearfields()
gets a value indicating whether [clear fields]. |
boolean |
getcleargrouptag()
gets a value indicating whether [clear group tag]. |
protected document |
getdocument()
gets the document. |
boolean |
gethideemptygroup()
gets a value indicating whether to remove groups which contain empty merge fields. |
boolean |
gethideemptyparagraphs()
gets a value indicating whether to remove paragraphs which contain empty merge fields. |
mailmergemaindocumenttype |
getmailmergemaindocumenttype()
|
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 group names. |
void |
setclearfields(boolean value)
sets a value indicating whether [clear fields]. |
void |
setcleargrouptag(boolean value)
sets a value indicating whether [clear group tag]. |
void |
sethideemptygroup(boolean value)
sets a value indicating whether to remove groups which contain empty merge fields. |
void |
sethideemptyparagraphs(boolean value)
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)
value
- if it clears the fields, set to true.public mailmergemaindocumenttype getmailmergemaindocumenttype()
public void setmailmergemaindocumenttype(mailmergemaindocumenttype value)
public boolean getcleargrouptag()
public void setcleargrouptag(boolean value)
value
- if it clears group tag, set to true.protected document getdocument()
public boolean gethideemptyparagraphs()
public void sethideemptyparagraphs(boolean value)
value
- the value.public boolean gethideemptygroup()
public void sethideemptygroup(boolean value)
value
- the value.public void execute(java.lang.string[] fieldnames, java.lang.string[] fieldvalues)
fieldnames
- the field names.fieldvalues
- the field values.
java.lang.exception
- exceptionpublic void execute(java.lang.iterable datasource)
datasource
- the data source.
java.lang.exception
public void executewidthregion(java.lang.string xmlfile)
xmlfile
- the xml file.
java.lang.exception
public void executewidthnestedregion(mailmergedataset datasource, java.util.listfilters)
datasource
- the data source.filters
- the filters.
java.lang.exception
public void executewidthnestedregion(java.lang.string xmlfile, java.util.listcommands)
xmlfile
- the xml file.commands
- the commands.public java.lang.string[] getmergefieldnames()
public java.lang.string[] getmergefieldnames(java.lang.string groupname)
groupname
- the group name.
public java.lang.string[] getmergegroupnames()
public void executegroup(mailmergedatatable datasource)
datasource
- the mailmergedatatable.
java.lang.exception
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |