public class PagePainter extends java.lang.Object implements Converter, PagePainterProvider
限定符和类型 | 字段和说明 |
---|---|
protected java.awt.Graphics2D |
g2d |
protected int |
resolution |
XML_TAG, XML_TAG_4_PDF
构造器和说明 |
---|
PagePainter() |
PagePainter(ReportPageProvider reportPage,
java.awt.Graphics2D g2d,
int resolution,
boolean isPrint) |
PagePainter(ReportPageProvider reportPage,
java.awt.Graphics2D g2d,
int resolution,
boolean isPrint,
boolean isShowAsImageInWeb) |
限定符和类型 | 方法和说明 |
---|---|
void |
convert()
转化
|
protected void |
paintCellContent(CellGUIAttr cellGUIAttr,
boolean isPrint,
PageExportCellElement ce,
java.awt.Rectangle paintRectangle,
java.awt.Rectangle clipRectangle) |
void |
prepareCell(ClippedPageProvider page,
DynamicNumberList columnWidthList,
DynamicNumberList rowHeightList,
int offsetX,
int offsetY)
画与snippet这个矩形区域相交的单元格
|
void |
prepareFloat(ClippedPageProvider page,
DynamicNumberList columnWidthList,
DynamicNumberList rowHeightList,
int offsetX,
int offsetY)
画与snippet这个矩形区域相交的悬浮元素
|
protected void |
prepareHF(int hfWidth,
ReportSettingsProvider reportSettings) |
protected void |
preparePaint() |
public PagePainter()
public PagePainter(ReportPageProvider reportPage, java.awt.Graphics2D g2d, int resolution, boolean isPrint)
public PagePainter(ReportPageProvider reportPage, java.awt.Graphics2D g2d, int resolution, boolean isPrint, boolean isShowAsImageInWeb)
public void convert()
convert
在接口中 PagePainterProvider
convert
在接口中 Converter
protected void preparePaint()
protected void prepareHF(int hfWidth, ReportSettingsProvider reportSettings)
public void prepareCell(ClippedPageProvider page, DynamicNumberList columnWidthList, DynamicNumberList rowHeightList, int offsetX, int offsetY)
prepareCell
在接口中 PagePainterProvider
page
- 报表页columnWidthList
- 列rowHeightList
- 行offsetX
- 横向偏移offsetY
- 纵向偏移protected void paintCellContent(CellGUIAttr cellGUIAttr, boolean isPrint, PageExportCellElement ce, java.awt.Rectangle paintRectangle, java.awt.Rectangle clipRectangle)
public void prepareFloat(ClippedPageProvider page, DynamicNumberList columnWidthList, DynamicNumberList rowHeightList, int offsetX, int offsetY)
prepareFloat
在接口中 PagePainterProvider
page
- 报表页columnWidthList
- 列rowHeightList
- 行offsetX
- 横向偏移offsetY
- 纵向偏移