public abstract class AbstractPolyReport extends java.lang.Object implements Report
CellElement
) and FloatElement(
FloatElement
),CellElement
) includes the row and column
information of its left top corner, and the merged cell element number.; Each
FloatElement(FloatElement
) includes the row and column
information of its left top corner.
WorkSheet
implement it.
限定符和类型 | 类和说明 |
---|---|
protected static interface |
AbstractPolyReport.BlockWriter |
构造器和说明 |
---|
AbstractPolyReport() |
限定符和类型 | 方法和说明 |
---|---|
void |
addBlock(Block block)
添加指定块
|
java.lang.Object |
clone() |
void |
copyReportAttr(AbstractPolyReport toReport)
复制指定报表设置属性到当前对象, 包括页眉页脚和页面设置.
|
boolean |
equals(java.lang.Object o) |
Block |
getBlock(int index) |
Block |
getBlockByName(java.lang.String name)
通过BlockName得到Block
|
int |
getBlockCount() |
FineBook |
getBook()
获取当前报表页对象所在的报表簿
|
ReportHFProvider |
getFooter(int reportPageType)
返回页脚,具体的了解页脚的用法,可以查看
ReportHF 这个类 |
ReportHFProvider |
getHeader(int reportPageType)
返回页眉,具体的了解页眉的用法,可以查看
ReportHF 这个类 |
ReportAttrSet |
getReportAttrSet() |
ReportSettingsProvider |
getReportSettings()
获取页面属性
|
TableDataSource |
getTableDataSource()
获取当前报表页对象所使用的数据源
|
WorkSheetPrivilegeControl |
getWorkSheetPrivilegeControl() |
boolean |
isElementCaseReport()
已过时。
|
java.util.Iterator |
iteratorOfElementCase()
获取当前聚合报表中报表块的迭代器
|
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
removeBlock(Block block)
删除指定块
|
protected void |
setBook(FineBook book) |
void |
setFooter(int reportPageType,
ReportHF reportHF)
设置页脚,具体的了解页脚的用法,可以查看
ReportHF 这个类 |
void |
setHeader(int reportPageType,
ReportHF reportHF)
设置页眉,具体的了解页脚的用法,可以查看
ReportHF 这个类 |
void |
setReportSettings(ReportSettingsProvider reportSettings)
设置报表的页面属性
|
void |
setWorkSheetPrivilegeControl(WorkSheetPrivilegeControl workSheetPrivilegeControl) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
protected void |
writeXML(XMLPrintWriter writer,
AbstractPolyReport.BlockWriter blockWriter) |
public boolean isElementCaseReport()
isElementCaseReport
在接口中 Report
public TableDataSource getTableDataSource()
Report
getTableDataSource
在接口中 Report
public void addBlock(Block block)
block
- 指定的块public int getBlockCount()
public Block getBlock(int index)
public Block getBlockByName(java.lang.String name)
name
- BlockNamepublic void removeBlock(Block block)
block
- 指定的块public java.util.Iterator iteratorOfElementCase()
iteratorOfElementCase
在接口中 Report
protected void setBook(FineBook book)
public ReportSettingsProvider getReportSettings()
PageAttributeGetter
getReportSettings
在接口中 PageAttributeGetter
public void setReportSettings(ReportSettingsProvider reportSettings)
Report
setReportSettings
在接口中 Report
reportSettings
- 报表页的页面属性public ReportHFProvider getHeader(int reportPageType)
Report
ReportHF
这个类public void setHeader(int reportPageType, ReportHF reportHF)
Report
ReportHF
这个类public ReportHFProvider getFooter(int reportPageType)
Report
ReportHF
这个类public void setFooter(int reportPageType, ReportHF reportHF)
Report
ReportHF
这个类public WorkSheetPrivilegeControl getWorkSheetPrivilegeControl()
public void setWorkSheetPrivilegeControl(WorkSheetPrivilegeControl workSheetPrivilegeControl)
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
protected void writeXML(XMLPrintWriter writer, AbstractPolyReport.BlockWriter blockWriter)
public void copyReportAttr(AbstractPolyReport toReport)
toReport
- 被复制的对象public ReportAttrSet getReportAttrSet()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public boolean equals(java.lang.Object o)
equals
在类中 java.lang.Object