public abstract class PackedReport extends java.lang.Object implements ResultECReport
限定符和类型 | 字段和说明 |
---|---|
protected ResultECReport |
packee |
EMPTY
FIT, KEY, PAPER_HEIGHT, PAPER_WHDTH, TOOLBAR_HEIGHT, WEB_PAGE, XML_TAG
构造器和说明 |
---|
PackedReport(ResultECReport packee) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone()
Clone.
|
FineBook |
getBook()
获取当前报表页对象所在的报表簿
|
int[] |
getColumnMappingArray() |
ReportHFProvider |
getFooter(int reportPageType)
返回页脚,具体的了解页脚的用法,可以查看
ReportHF 这个类 |
ReportHFProvider |
getHeader(int reportPageType)
返回页眉,具体的了解页眉的用法,可以查看
ReportHF 这个类 |
ResultReport |
getPackee() |
ReportSettingsProvider |
getReportSettings()
获取页面属性
|
ResultWorkBook |
getResultWorkBook()
获取结果报表
|
int[] |
getRowMappingArray() |
boolean |
isElementCaseReport()
是否为报表块
|
boolean |
isFiltered(CellElement cellElement)
单元格是否被过滤掉
|
java.util.Iterator |
iteratorOfElementCase()
获取报表块的迭代器
|
void |
prepare2ShrinkRealWidthOrHeight4Cell(CellElement cur_ce,
int mode)
计算单元格的真实大小
hugh:通过接口处理单元格实际高度,比如html,toimage,形态接口处理之后的真实单元格大小与原来直接计算的并不一样,需要调整
|
ResultECReport |
processWidgetAsImage(ResultECReport resultbook)
将结果报表中的控件处理成图片, 用于导出打印
|
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
recalculate(Report report,
java.util.Map parameterMap)
重新计算报表
|
void |
setFooter(int reportPageType,
ReportHF reportHF)
设置页脚,具体的了解页脚的用法,可以查看
ReportHF 这个类 |
void |
setHeader(int reportPageType,
ReportHF reportHF)
设置页眉,具体的了解页脚的用法,可以查看
ReportHF 这个类 |
void |
setReportSettings(ReportSettingsProvider reportSettings)
设置报表的页面属性
|
void |
setResultWorkBook(ResultWorkBook book) |
void |
shrinkToFitPaper(Calculator calculator)
自适应调整页面行高列宽
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateReportPageSet, getReportPageAttr, writeCommonXML
getTableDataSource
cellIterator, getColumnCount, getColumnWidthList_DEC, getRowCount, getRowHeightList_DEC
getResultCellElement
addColumnPrivilegeControl, addRowPrivilegeControl, getColumnPrivilegeControl, getColumnWidthList_DEC, getRowHeightList_DEC, getRowPrivilegeControl, removeColumnPrivilegeControl, removeRowPrivilegeControl, setColumnWidth, setReportPageAttr, setRowHeight, shrinkTOFitColumnWidthForCellElement, shrinkTOFitRowHeightForCellElement
getCellElement, getCellValue, getColumn, insertColumn, insertRow, intersect, merge, removeAllCellElements, removeCellElement, removeColumn, removeRow, setCellValue
addFloatElement, bringFloatElementForward, bringFloatElementToFront, getFloatElement, removeAllFloatElements, removeFloatElement, removeFloatElement, sendFloatElementBackward, sendFloatElementToBack
getReportPageAttr
cellIterator, getColumnCount, getColumnWidth, getRow, getRowCount, getRowHeight
floatIterator
protected ResultECReport packee
public PackedReport(ResultECReport packee)
public ResultReport getPackee()
public ReportHFProvider getFooter(int reportPageType)
Report
ReportHF
这个类public ReportHFProvider getHeader(int reportPageType)
Report
ReportHF
这个类public ReportSettingsProvider getReportSettings()
PageAttributeGetter
getReportSettings
在接口中 PageAttributeGetter
getReportSettings
在接口中 PageResultSheetProvider
getReportSettings
在接口中 ResultReportProvider
public ResultWorkBook getResultWorkBook()
ResultReport
getResultWorkBook
在接口中 ResultReport
public void setFooter(int reportPageType, ReportHF reportHF)
Report
ReportHF
这个类public void setHeader(int reportPageType, ReportHF reportHF)
Report
ReportHF
这个类public void setReportSettings(ReportSettingsProvider reportSettings)
Report
setReportSettings
在接口中 Report
reportSettings
- 报表页的页面属性public void setResultWorkBook(ResultWorkBook book)
setResultWorkBook
在接口中 ResultReport
public void recalculate(Report report, java.util.Map parameterMap)
recalculate
在接口中 ResultReport
report
- 源报表parameterMap
- 参数public int[] getRowMappingArray()
getRowMappingArray
在接口中 ResultElementCase
public int[] getColumnMappingArray()
getColumnMappingArray
在接口中 ResultElementCase
public boolean isElementCaseReport()
isElementCaseReport
在接口中 Report
public java.util.Iterator iteratorOfElementCase()
iteratorOfElementCase
在接口中 Report
public ResultECReport processWidgetAsImage(ResultECReport resultbook)
processWidgetAsImage
在接口中 ResultECReport
resultbook
- 结果报表public void shrinkToFitPaper(Calculator calculator)
shrinkToFitPaper
在接口中 ElementCase
calculator
- 算子public void writeXML(XMLPrintWriter writer)
XMLWriter
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public void prepare2ShrinkRealWidthOrHeight4Cell(CellElement cur_ce, int mode)
ElementCase
prepare2ShrinkRealWidthOrHeight4Cell
在接口中 ElementCase
cur_ce
- 单元格mode
- 自动调整的模式public boolean isFiltered(CellElement cellElement)
Filterable
isFiltered
在接口中 Filterable
cellElement
- 单元格