public interface TemplateWorkBook extends FineBook, ParameterHolder, ScheduleTemplateWorkBookProvider
KEY
XML_TAG
限定符和类型 | 方法和说明 |
---|---|
void |
addReport(java.lang.String reportName,
TemplateReport report)
增加一个指定名称的Report
|
void |
addReport(TemplateReport report)
增加一个Report
|
void |
apply4Parameters(java.util.Map<java.lang.String,java.lang.Object> parameterMap)
处理参数值
|
ResultWorkBook |
execute(java.util.Map<java.lang.String,java.lang.Object> parameterMap,
Actor actor)
根据给定的参数集和预览方式执行后获取结果报表簿
|
ResultWorkBook |
execute(java.util.Map<java.lang.String,java.lang.Object> parameterMap,
Actor actor,
int sheetIndex)
根据给定的参数集和预览方式执行后获取结果报表簿
|
int |
getReportIndex(TemplateReport report)
获取给定report的index
|
ReportParameterAttr |
getReportParameterAttr()
获取参数属性
|
WorkSheet |
getTemplateElementCaseReport(int index)
当isElementCaseBook返回true时,即该FineBook中包含的都是ECReport时
调用此方法来获取相应位置上的TemplateECReport
使用同getECReport(int)
非此情况下调用,将抛出RuntimeException
|
TemplateReport |
getTemplateReport(int index)
获取指定位置的TemplateReport
|
void |
setReport(int index,
java.lang.String reportName,
TemplateReport report)
设置指定位置的带Name的Report
|
void |
setReport(int index,
TemplateReport report)
设置指定位置的Report
|
void |
setReportParameterAttr(ReportParameterAttr reportParameterAttr)
设置参数属性
|
getElementCaseReport, getReport, getReportCount, getReportExportAttr, getReportMobileAttr, getReportName, getReportWebAttr, isElementCaseBook, isElementCaseBook, removeReport, removeReport, removeReports, setReportExportAttr, setReportMobileAttr, setReportName, setReportWebAttr
clearAllTableData, getTableData, getTableDataNameIterator, putTableData, removeTableData, renameTableData
readXML
clone
addAttrMark, getAllMarkName, getAttrMark
getCSSImport, getJSImport
getReportFitAttr, setReportFitAttr
getParameters
void addReport(TemplateReport report)
report
- 增加的Reportvoid addReport(java.lang.String reportName, TemplateReport report)
reportName
- 指定的名称report
- 增加的Reportvoid setReport(int index, TemplateReport report)
index
- 指定的indexreport
- 设置过去的reportvoid setReport(int index, java.lang.String reportName, TemplateReport report)
index
- 指定位置reportName
- 新增的Report的Namereport
- 新增的reportTemplateReport getTemplateReport(int index)
index
- 指定的索引WorkSheet getTemplateElementCaseReport(int index)
int getReportIndex(TemplateReport report)
report
- 给定的reportvoid apply4Parameters(java.util.Map<java.lang.String,java.lang.Object> parameterMap)
parameterMap
- 参数mapResultWorkBook execute(java.util.Map<java.lang.String,java.lang.Object> parameterMap, Actor actor)
parameterMap
- 参数集actor
- 预览方式ResultWorkBook execute(java.util.Map<java.lang.String,java.lang.Object> parameterMap, Actor actor, int sheetIndex)
parameterMap
- 参数集actor
- 预览方式sheetIndex
- 要计算的sheet索引ReportParameterAttr getReportParameterAttr()
void setReportParameterAttr(ReportParameterAttr reportParameterAttr)