public abstract class AbstractTemplateWorkBook extends AbstractFineBook implements TemplateWorkBook
AbstractFineBook.ReportWriter
限定符和类型 | 字段和说明 |
---|---|
protected ReportParameterAttr |
reportParameterAttr |
fitAttr, mobileAttr, reportExportAttr, reportWebAttr
ANA_PREVIEW_TYPE, DEFAULT_PREVIEW_TYPE, WRITE_ENHANCE_PREVIEW_TYPE, WRITE_PREVIEW_TYPE
tableDataList, XML_TAG
KEY
XML_TAG
构造器和说明 |
---|
AbstractTemplateWorkBook() |
限定符和类型 | 方法和说明 |
---|---|
void |
addReport(java.lang.String reportName,
TemplateReport report)
增加一个指定名称的Report
|
void |
addReport(TemplateReport report)
增加一个Report
|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object o) |
ResultWorkBook |
execute(java.util.Map<java.lang.String,java.lang.Object> parameterMap,
Actor actor,
int sheetIndex)
根据给定的参数集和预览方式执行后获取结果报表簿
|
ReportFitAttr |
getReportFitAttr() |
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 |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setReport(int index,
java.lang.String reportName,
TemplateReport report)
设置指定位置的带Name的Report
|
void |
setReport(int index,
TemplateReport report)
设置指定位置的Report
|
void |
setReportFitAttr(ReportFitAttr reportFitAttr) |
void |
setReportParameterAttr(ReportParameterAttr reportParameterAttr)
设置参数属性
|
void |
setReportWebAttr(ReportWebAttr reportWebAttr)
Sets report web attributes.
|
protected void |
setWorkBook(Report report,
FineBook book) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
addReport, addReport, addReport, getCSSImport, getElementCaseReport, getJSImport, getReport, getReportCount, getReportExportAttr, getReportIndex, getReportMobileAttr, getReportName, getReportWebAttr, isElementCaseBook, isElementCaseBook, mainContent, mainContentWriteXML, removeReport, removeReport, removeReports, setReport, setReport, setReportExportAttr, setReportMobileAttr, setReportName, writeXML
addAttrMark, export, getAllMarkName, getAttrMark, getDesignerVersion, getPreviewType, getTemplateID, getXMLDesignerVersion, getXmlVersion, isHigherThanCurrent, openTag, readDesign, readExtra, readStream, setDesignerVersion, setPreviewType, setTemplateID, setXmlVersion, suffix, writeDesign, writeExtra
clearAllTableData, copyDataSourceAttr, getTableData, getTableDataNameIterator, putTableData, removeTableData, renameTableData
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply4Parameters, execute
getElementCaseReport, getReport, getReportCount, getReportExportAttr, getReportMobileAttr, getReportName, getReportWebAttr, isElementCaseBook, isElementCaseBook, removeReport, removeReport, removeReports, setReportExportAttr, setReportMobileAttr, setReportName
clearAllTableData, getTableData, getTableDataNameIterator, putTableData, removeTableData, renameTableData
addAttrMark, getAllMarkName, getAttrMark
getCSSImport, getJSImport
getParameters
protected ReportParameterAttr reportParameterAttr
public void addReport(TemplateReport report)
TemplateWorkBook
addReport
在接口中 TemplateWorkBook
report
- 增加的Reportpublic void addReport(java.lang.String reportName, TemplateReport report)
TemplateWorkBook
addReport
在接口中 TemplateWorkBook
reportName
- 指定的名称report
- 增加的Reportpublic void setReport(int index, TemplateReport report)
TemplateWorkBook
setReport
在接口中 TemplateWorkBook
index
- 指定的indexreport
- 设置过去的reportpublic void setReport(int index, java.lang.String reportName, TemplateReport report)
TemplateWorkBook
setReport
在接口中 TemplateWorkBook
index
- 指定位置reportName
- 新增的Report的Namereport
- 新增的reportpublic TemplateReport getTemplateReport(int index)
TemplateWorkBook
getTemplateReport
在接口中 TemplateWorkBook
index
- 指定的索引public WorkSheet getTemplateElementCaseReport(int index)
TemplateWorkBook
getTemplateElementCaseReport
在接口中 TemplateWorkBook
public int getReportIndex(TemplateReport report)
TemplateWorkBook
getReportIndex
在接口中 TemplateWorkBook
report
- 给定的reportprotected void setWorkBook(Report report, FineBook book)
setWorkBook
在类中 AbstractFineBook
public ReportParameterAttr getReportParameterAttr()
TemplateWorkBook
getReportParameterAttr
在接口中 TemplateWorkBook
public void setReportParameterAttr(ReportParameterAttr reportParameterAttr)
TemplateWorkBook
setReportParameterAttr
在接口中 TemplateWorkBook
public void setReportWebAttr(ReportWebAttr reportWebAttr)
FineBook
setReportWebAttr
在接口中 FineBook
setReportWebAttr
在类中 AbstractFineBook
public ReportFitAttr getReportFitAttr()
getReportFitAttr
在接口中 FitProvider
getReportFitAttr
在类中 AbstractFineBook
public void setReportFitAttr(ReportFitAttr reportFitAttr)
setReportFitAttr
在接口中 FitProvider
setReportFitAttr
在类中 AbstractFineBook
public ResultWorkBook execute(java.util.Map<java.lang.String,java.lang.Object> parameterMap, Actor actor, int sheetIndex)
TemplateWorkBook
execute
在接口中 TemplateWorkBook
parameterMap
- 参数集actor
- 预览方式sheetIndex
- 要计算的sheet索引public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 AbstractFineBook
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public void writeXML(XMLPrintWriter writer)
XMLWriter
writeXML
在接口中 XMLWriter
writeXML
在类中 AbstractFineBook
writer
- XML写入对象public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
readXML
在类中 AbstractFineBook
reader
- XML读取对象XMLableReader
public boolean equals(java.lang.Object o)
equals
在类中 AbstractFineBook