public abstract class AbstractResWorkBook extends AbstractFineBook implements ResultWorkBook
AbstractFineBook.ReportWriter
fitAttr, mobileAttr, reportExportAttr, reportWebAttr
ANA_PREVIEW_TYPE, DEFAULT_PREVIEW_TYPE, WRITE_ENHANCE_PREVIEW_TYPE, WRITE_PREVIEW_TYPE
tableDataList, XML_TAG
KEY
XML_TAG
限定符 | 构造器和说明 |
---|---|
protected |
AbstractResWorkBook(java.util.Map executeParamMap) |
protected |
AbstractResWorkBook(ResultReport report,
java.util.Map executeParamMap) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
PageSetChainProvider |
generateReportPageSet(java.util.List settings)
模板生成PageIterator,传入纸张大小(-1,-1 表示使用模板定义的大小)
|
PageSetChainProvider |
generateReportPageSet(java.util.List settings,
int sheetIndexStart,
int sheetIndexEnd)
模板生成PageIterator,传入纸张大小(-1,-1 表示使用模板定义的大小)
返回 sheet 过滤后的结果,范围为 [sheetIndexStart, sheetIndexEnd]
|
java.util.Map |
getExecuteParameters()
生成此结果所采用的参数
|
ResultReport |
getResultReport(int index)
获取结果报表簿中指定位置上的结果报表
|
XMLVersion |
getXMLVersion() |
JSONArray |
parseToJSONArray()
结果报表转成json数组
|
void |
readStream(java.io.InputStream in)
读取输入流
|
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setCumulatePageNumber(boolean b) |
protected void |
setWorkBook(Report report,
FineBook book) |
void |
setXMLVersion(XMLVersion version) |
void |
writeCommonXML(XMLPrintWriter writer)
写结果报表簿的基本属性
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
addReport, addReport, addReport, equals, getCSSImport, getElementCaseReport, getJSImport, getReport, getReportCount, getReportExportAttr, getReportFitAttr, getReportIndex, getReportMobileAttr, getReportName, getReportWebAttr, isElementCaseBook, isElementCaseBook, mainContent, mainContentWriteXML, removeReport, removeReport, removeReports, setReport, setReport, setReportExportAttr, setReportFitAttr, setReportMobileAttr, setReportName, setReportWebAttr, writeXML
addAttrMark, export, getAllMarkName, getAttrMark, getDesignerVersion, getPreviewType, getTemplateID, getXMLDesignerVersion, getXmlVersion, isHigherThanCurrent, openTag, readDesign, readExtra, setDesignerVersion, setPreviewType, setTemplateID, setXmlVersion, suffix, writeDesign, writeExtra
clearAllTableData, copyDataSourceAttr, getTableData, getTableDataNameIterator, putTableData, removeTableData, renameTableData
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addReport
getElementCaseReport, getReport, getReportCount, getReportExportAttr, getReportMobileAttr, getReportName, getReportWebAttr, isElementCaseBook, isElementCaseBook, removeReport, removeReport, removeReports, setReportExportAttr, setReportMobileAttr, setReportName, setReportWebAttr
clearAllTableData, getTableData, getTableDataNameIterator, putTableData, removeTableData, renameTableData
addAttrMark, getAllMarkName, getAttrMark
getCSSImport, getJSImport
getReportFitAttr, setReportFitAttr
protected AbstractResWorkBook(java.util.Map executeParamMap)
protected AbstractResWorkBook(ResultReport report, java.util.Map executeParamMap)
public void setCumulatePageNumber(boolean b)
public ResultReport getResultReport(int index)
ResultWorkBook
getResultReport
在接口中 ResultWorkBook
index
- 指定的位置protected void setWorkBook(Report report, FineBook book)
setWorkBook
在类中 AbstractFineBook
public XMLVersion getXMLVersion()
getXMLVersion
在接口中 ResultWorkBook
public void setXMLVersion(XMLVersion version)
setXMLVersion
在接口中 ResultWorkBook
public PageSetChainProvider generateReportPageSet(java.util.List settings)
generateReportPageSet
在接口中 ResultWorkBook
settings
- 纸张设置public PageSetChainProvider generateReportPageSet(java.util.List settings, int sheetIndexStart, int sheetIndexEnd)
generateReportPageSet
在接口中 ResultWorkBook
settings
- 纸张设置sheetIndexStart
- 初始 sheetsheetIndexEnd
- 结束 sheetpublic void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
readXML
在类中 AbstractFineBook
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter
writeXML
在接口中 XMLWriter
writeXML
在类中 AbstractFineBook
writer
- XML写入对象public void writeCommonXML(XMLPrintWriter writer)
writeCommonXML
在接口中 ResultWorkBook
writer
- XML写出器public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 AbstractFineBook
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public java.util.Map getExecuteParameters()
ResultWorkBook
getExecuteParameters
在接口中 ResultWorkBook
public void readStream(java.io.InputStream in) throws java.lang.Exception
readStream
在类中 IOFile
in
- 指定的输入流java.lang.Exception
public JSONArray parseToJSONArray() throws JSONException
ResultWorkBook
parseToJSONArray
在接口中 ResultWorkBook
JSONException