public abstract class AbstractWorkBookExecutor extends java.lang.Object implements WorkBookExecutor
限定符和类型 | 字段和说明 |
---|---|
protected java.util.List<ResultReport> |
listForResultReport |
protected ListMap |
nameListMap |
protected java.util.Map<java.lang.String,java.lang.Object> |
parameterMap |
protected TemplateWorkBook |
workBook |
构造器和说明 |
---|
AbstractWorkBookExecutor(TemplateWorkBook workBook,
java.util.Map<java.lang.String,java.lang.Object> parameterMap) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
_execute() |
void |
addResult(int index,
ResultReport resEC)
添加sheet
|
protected void |
dealWithExecutedAttr(ResultWorkBook resultBook) |
ResultWorkBook |
execute()
生成结果报表
|
ResultReport |
execute(int currentIndex,
TemplateReport report)
生成结果报表
|
void |
executeReportName(ResultWorkBook result)
计算sheet名中存在的公式
|
ResultElementCase |
getResultByIndex(int index)
根据索引获取对应的报表块
|
ResultWorkBook |
result()
生成总的结果报表
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExeType, initResultBook
protected java.util.List<ResultReport> listForResultReport
protected ListMap nameListMap
protected TemplateWorkBook workBook
protected java.util.Map<java.lang.String,java.lang.Object> parameterMap
public AbstractWorkBookExecutor(TemplateWorkBook workBook, java.util.Map<java.lang.String,java.lang.Object> parameterMap)
public ResultReport execute(int currentIndex, TemplateReport report)
execute
在接口中 WorkBookExecutor
currentIndex
- 序号report
- 模板protected void _execute()
public ResultWorkBook execute()
execute
在接口中 WorkBookExecutor
public ResultWorkBook result()
result
在接口中 WorkBookExecutor
public void executeReportName(ResultWorkBook result)
result
- 结果报表public void addResult(int index, ResultReport resEC)
addResult
在接口中 WorkBookExecutor
index
- 序号resEC
- 报表protected void dealWithExecutedAttr(ResultWorkBook resultBook)
public ResultElementCase getResultByIndex(int index)
WorkBookExecutor
getResultByIndex
在接口中 WorkBookExecutor
index
- 索引