public class MailMergeWorkObjectSource extends Object implements com.aspose.words.IMailMergeDataSource
Constructor and Description |
---|
MailMergeWorkObjectSource(String tableName,
com.edorasware.commons.core.entity.WorkObject<?,?,?> workObject,
Map<String,String> definitionPlaceholders) |
Modifier and Type | Method and Description |
---|---|
com.aspose.words.IMailMergeDataSource |
getChildDataSource(String tableName) |
String |
getTableName()
The name of the data source.
|
boolean |
getValue(String fieldName,
Object[] objects) |
boolean |
moveNext() |
public String getTableName() throws Exception
getTableName
in interface com.aspose.words.IMailMergeDataSource
Exception
public boolean moveNext() throws Exception
moveNext
in interface com.aspose.words.IMailMergeDataSource
Exception
- Generic exception.public boolean getValue(String fieldName, Object[] objects) throws Exception
getValue
in interface com.aspose.words.IMailMergeDataSource
fieldName
- the name of the field in template documentobjects
- the array to fill with object valueException
- Generic exception.public com.aspose.words.IMailMergeDataSource getChildDataSource(String tableName) throws Exception
getChildDataSource
in interface com.aspose.words.IMailMergeDataSource
tableName
- the name of the "forEach" variable in mustache templateException
- Generic exception.Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.