public abstract class DataAction
extends java.lang.Object
构造器和说明 |
---|
DataAction() |
限定符和类型 | 方法和说明 |
---|---|
static void |
__write_boder__(Tag sheet_container_tag,
Repository repo,
java.lang.String tagName)
构造黑框
|
static void |
__write_editor__with_EditComp(Tag sheet_container_tag,
Repository repo)
构造x-editor
|
protected void |
buildContent(java.io.PrintWriter writer,
javax.servlet.http.HttpServletRequest req,
ECReport report,
int reportIndex,
Repository repo,
Tag sheet_container_tag,
HTMLWriter htmlWriter,
AbstractWebReportCase reportCase,
CellHtmlWriter cellWriter,
int margin) |
protected abstract CellHtmlWriter |
createCellWriter(Repository repo,
int reportIndex,
Report report) |
static void |
dealWithFloatItems(ECReport report,
Repository repo,
int reportWidth,
int reportHeight,
Tag backgroundTag)
处理悬浮元素
|
static void |
dealWithFloatItems(ECReport report,
Repository repo,
int reportWidth,
int reportHeight,
Tag backgroundTag,
int margin) |
protected abstract void |
decorateBackgroundTag(Tag backgroundTag) |
protected void |
doElse(CellHtmlWriter cellWriter,
Calculator c) |
protected Tag |
generateTableTag(javax.servlet.http.HttpServletRequest req,
int reportIndex,
Repository repo,
HTMLWriter htmlWriter,
AbstractWebReportCase reportCase,
CellHtmlWriter cellWriter) |
protected abstract ColumnRow |
getFrozenColumnRow(Report report) |
protected HTMLWriter |
getHtmlWriterInstance(java.io.PrintWriter writer) |
protected HTMLWriter |
getHtmlWriterInstance(java.io.PrintWriter writer,
Repository repo) |
protected abstract void |
miscellaneous(Tag sheet_container_tag,
Repository repo) |
protected void |
printWithWatermark(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
ReportSessionIDInfor sessionIDInfor,
java.lang.String responseText) |
protected void |
setBackgroundTagSize(Tag backgroundTag,
int reportWidth,
int reportHeight) |
protected void |
setIsShowWidgets2RepCase(AbstractWebReportCase repCase,
boolean isShowWidgets) |
protected void |
writeContent(java.io.PrintWriter writer,
ECReport report,
int reportIndex,
int pn,
Repository repo,
Calculator c,
Tag sheet_container_tag,
int totalPage,
CellHtmlWriter cellWriter) |
void |
writeECPane(javax.servlet.http.HttpServletRequest req,
java.io.PrintWriter writer,
ECReport report,
int reportIndex,
java.lang.String cutPage,
int pn,
Repository repo,
boolean isPosAtLeft,
boolean isShowWidgets,
boolean useLightHeavyTD)
构造报表内容
|
protected void |
writeWebPage(java.io.PrintWriter writer,
int reportIndex,
int currentPage,
int totalPage) |
protected abstract CellHtmlWriter createCellWriter(Repository repo, int reportIndex, Report report)
protected abstract void decorateBackgroundTag(Tag backgroundTag)
protected abstract void miscellaneous(Tag sheet_container_tag, Repository repo)
public void writeECPane(javax.servlet.http.HttpServletRequest req, java.io.PrintWriter writer, ECReport report, int reportIndex, java.lang.String cutPage, int pn, Repository repo, boolean isPosAtLeft, boolean isShowWidgets, boolean useLightHeavyTD)
req
- http请求writer
- 输出report
- 报表reportIndex
- sheet序号cutPage
- 是否分页pn
- 页码repo
- 信息isPosAtLeft
- 是否居左isShowWidgets
- 是否直接显示控件protected void setIsShowWidgets2RepCase(AbstractWebReportCase repCase, boolean isShowWidgets)
protected void writeContent(java.io.PrintWriter writer, ECReport report, int reportIndex, int pn, Repository repo, Calculator c, Tag sheet_container_tag, int totalPage, CellHtmlWriter cellWriter)
protected void buildContent(java.io.PrintWriter writer, javax.servlet.http.HttpServletRequest req, ECReport report, int reportIndex, Repository repo, Tag sheet_container_tag, HTMLWriter htmlWriter, AbstractWebReportCase reportCase, CellHtmlWriter cellWriter, int margin)
protected Tag generateTableTag(javax.servlet.http.HttpServletRequest req, int reportIndex, Repository repo, HTMLWriter htmlWriter, AbstractWebReportCase reportCase, CellHtmlWriter cellWriter)
protected void writeWebPage(java.io.PrintWriter writer, int reportIndex, int currentPage, int totalPage)
protected void printWithWatermark(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, ReportSessionIDInfor sessionIDInfor, java.lang.String responseText) throws java.lang.Exception
java.lang.Exception
public static void dealWithFloatItems(ECReport report, Repository repo, int reportWidth, int reportHeight, Tag backgroundTag)
report
- 报表repo
- 信息reportWidth
- 宽度reportHeight
- 高度backgroundTag
- 背景public static void dealWithFloatItems(ECReport report, Repository repo, int reportWidth, int reportHeight, Tag backgroundTag, int margin)
protected void doElse(CellHtmlWriter cellWriter, Calculator c)
protected void setBackgroundTagSize(Tag backgroundTag, int reportWidth, int reportHeight)
protected HTMLWriter getHtmlWriterInstance(java.io.PrintWriter writer)
protected HTMLWriter getHtmlWriterInstance(java.io.PrintWriter writer, Repository repo)
public static void __write_boder__(Tag sheet_container_tag, Repository repo, java.lang.String tagName)
sheet_container_tag
- sheet标签repo
- 信息tagName
- tag名称public static void __write_editor__with_EditComp(Tag sheet_container_tag, Repository repo)
sheet_container_tag
- sheet标签repo
- web信息