public abstract class PageGenerator extends PG
| 限定符和类型 | 字段和说明 |
|---|---|
protected DynamicUnitList |
columnWidthList |
protected DynamicUnitList |
rowHeightList |
protected ResultECReport |
showReport |
calculator, pageCount, paperSetting, reportPageList, reportSettingsXML_TAG_PAGE, XML_TAG_POLY, XML_TAG_SHEET| 构造器和说明 |
|---|
PageGenerator(ResultECReport showReport,
PaperSettingProvider setting)
初始化一个PageGenerator
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract void |
calcPageCount(int rowCount,
int columnCount,
UNIT paperPaintHeight,
UNIT paperPaintWidth)
分页信息,记录哪些行列处要分页
|
protected void |
collectBreaks(IntList breakColumnIndexList,
IntList breakRowIndexList,
IntList cannotBreakOnRowPage,
IntList canotBreakOnColPage)
计算分页中断开的地方
|
protected void |
dealWithPageInforByPaperSize(UNIT paperPaintHeight,
UNIT paperPaintWidth)
根据纸张大小处理分页信息
|
protected void |
generatePages()
生成分页
|
protected abstract java.util.List |
get_page_column_ft_LL()
页面中列数的From --> to组成的List, 例如0-->9
|
protected abstract java.util.List |
get_page_row_ft_LL()
页面中行数的From --> to组成的List, 例如0-->55
|
addReportPage2List, dealWithPageInfor, getReportPagesprotected ResultECReport showReport
protected DynamicUnitList columnWidthList
protected DynamicUnitList rowHeightList
public PageGenerator(ResultECReport showReport, PaperSettingProvider setting)
showReport - 展现的报表setting - 纸张设置protected void collectBreaks(IntList breakColumnIndexList, IntList breakRowIndexList, IntList cannotBreakOnRowPage, IntList canotBreakOnColPage)
breakColumnIndexList - 断开的列breakRowIndexList - 断开的行cannotBreakOnRowPage - 分页中不可断开的行canotBreakOnColPage - 分页中不可断开的列protected void dealWithPageInforByPaperSize(UNIT paperPaintHeight, UNIT paperPaintWidth)
dealWithPageInforByPaperSize 在类中 PGpaperPaintHeight - 纸张高度paperPaintWidth - 纸张宽度protected abstract void calcPageCount(int rowCount,
int columnCount,
UNIT paperPaintHeight,
UNIT paperPaintWidth)
rowCount - 总行数columnCount - 总列数paperPaintHeight - 页面高度paperPaintWidth - 页面宽度protected void generatePages()
generatePages 在类中 PGprotected abstract java.util.List get_page_column_ft_LL()
protected abstract java.util.List get_page_row_ft_LL()