public class HTMLWriter
extends java.lang.Object
限定符 | 构造器和说明 |
---|---|
protected |
HTMLWriter() |
限定符和类型 | 方法和说明 |
---|---|
protected static int |
_GENERATE_ID() |
Tag |
clipReport2Html(WebReportCase reportCase,
java.awt.Rectangle clip,
int reportIndex,
CellHtmlWriter cellWriter,
Repository repo)
alex:从Report中根据columnFT & rowFT切一块写成
出去
|
protected Tag |
clipReport2Html(WebReportCase reportCase,
java.awt.Rectangle clip,
int reportIndex,
CellHtmlWriter cellWriter,
Repository repo,
boolean containRepeatCell) |
protected Tag |
clipReport2Html(WebReportCase reportCase,
java.awt.Rectangle clip,
int reportIndex,
CellHtmlWriter cellWriter,
Repository repo,
boolean containRepeatCell,
boolean addBlankTR) |
protected Tag |
clipReport2Html(WebReportCase reportCase,
java.awt.Rectangle clip,
int reportIndex,
CellHtmlWriter cellWriter,
Repository repo,
boolean containRepeatCell,
boolean addBlankTR,
boolean addHiddenTRAhead) |
protected Tag |
clipReport2Html(WebReportCase reportCase,
java.awt.Rectangle clip,
int reportIndex,
CellHtmlWriter cellWriter,
Repository repo,
boolean containRepeatCell,
boolean addBlankTR,
boolean addHiddenTRAhead,
java.lang.String ids) |
protected Tag |
clipReport2Html(WebReportCase reportCase,
java.awt.Rectangle clip,
int reportIndex,
CellHtmlWriter cellWriter,
Repository repo,
boolean containRepeatCell,
java.lang.String ids) |
protected Tag |
createTableTag(CellHtmlWriter cellWriter,
WebReportCase reportCase,
java.awt.Rectangle clip,
Repository repo,
java.lang.String ids) |
protected void |
dealWithTdTag(Tag td,
java.awt.Rectangle clip,
int columnIndex,
int rowIndex) |
protected void |
dealWithTrTag(Tag tr,
int rowIndex) |
protected void |
fillBlankTD(Tag parentTag,
boolean[][] planar,
int row,
int column,
int sheetIndex,
int tableID,
java.awt.Rectangle clip,
WebReportCase reportCase,
Repository repo) |
protected Tag |
fillBlankTR(int rowHeight) |
protected void |
fillFrozenContentTD(boolean[][] planar,
int row,
int column,
int rowSpan,
int columnSpan) |
static HTMLWriter |
getInstance() |
void |
writeFrozenContent(Tag parentTag,
WebReportCase reportCase,
ColumnRow frozenCR,
int reportIndex,
CellHtmlWriter cellWriter,
Repository repo)
冻结
|
void |
writeFrozenContent(Tag parentTag,
WebReportCase reportCase,
ColumnRow frozenCR,
int reportIndex,
CellHtmlWriter cellWriter,
Repository repo,
java.lang.String ids)
冻结输出tag
|
Tag[] |
writeFrozenContentWithCenterCornerNW(Tag parentTag,
WebReportCase reportCase,
ColumnRow frozenCR,
int reportIndex,
CellHtmlWriter cellWriter,
Repository repo,
java.lang.String ids)
写冻结报表成html标签
|
protected Tag |
writeNewLine(WebReportCase reportCase,
java.awt.Rectangle clip,
Repository repo,
Tag tbody,
Tag tr,
boolean[][] planar,
int[] rowData,
int planarRowIndex,
int reportIndex,
CellHtmlWriter cellWriter) |
Tag |
writeReportToHtml(WebReportCase reportCase,
int reportIndex,
CellHtmlWriter cellWriter,
Repository repo,
java.lang.String ids)
将报表生成为html标签
|
public static HTMLWriter getInstance()
protected static int _GENERATE_ID()
public Tag writeReportToHtml(WebReportCase reportCase, int reportIndex, CellHtmlWriter cellWriter, Repository repo, java.lang.String ids)
reportCase
- 单元格集合类reportIndex
- 要画的报表的sheet索引cellWriter
- 单元格html生成类repo
- 报表上下文ids
- 报表块名public Tag[] writeFrozenContentWithCenterCornerNW(Tag parentTag, WebReportCase reportCase, ColumnRow frozenCR, int reportIndex, CellHtmlWriter cellWriter, Repository repo, java.lang.String ids)
parentTag
- 父标签reportCase
- 单元格集合类frozenCR
- 冻结行列reportIndex
- 当前正在画的sheet索引cellWriter
- 单元格html生成类repo
- 报表上下文ids
- 报表块名称public void writeFrozenContent(Tag parentTag, WebReportCase reportCase, ColumnRow frozenCR, int reportIndex, CellHtmlWriter cellWriter, Repository repo, java.lang.String ids)
parentTag
- 父标签reportCase
- 单元格集合类frozenCR
- 冻结行列reportIndex
- 当前正在画的sheet索引cellWriter
- 单元格html生成类repo
- 报表上下文ids
- 报表块名public void writeFrozenContent(Tag parentTag, WebReportCase reportCase, ColumnRow frozenCR, int reportIndex, CellHtmlWriter cellWriter, Repository repo)
parentTag
- 父标签reportCase
- 单元格集合类frozenCR
- 冻结行列reportIndex
- 当前正在画的sheet索引cellWriter
- 单元格html生成类repo
- 报表上下文public Tag clipReport2Html(WebReportCase reportCase, java.awt.Rectangle clip, int reportIndex, CellHtmlWriter cellWriter, Repository repo)