public class FormToWorkBookExecutor
extends java.lang.Object
Created by Administrator on 2016-2-23 0018.
构造器和说明 |
---|
FormToWorkBookExecutor() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
addChart(java.util.Map<java.lang.String,BaseChartEditor> chartsMap,
UnitRectangle unitRectangle,
java.lang.String widgetName,
PolyWorkSheet workSheet) |
protected void |
addChart(UnitRectangle unitRectangle,
PolyWorkSheet workSheet,
BaseChartEditor chartEditor) |
protected void |
addElementCase(java.util.Map<java.lang.String,ElementCaseEditorProvider> elemsMap,
PolyWorkSheet workSheet,
UnitRectangle unitRectangle,
java.lang.String widgetName) |
protected void |
addReport(PolyWorkSheet workSheet,
UnitRectangle unitRectangle,
java.lang.String widgetName,
ElementCaseEditorProvider elementCaseEditor) |
protected UnitRectangle |
addTitle(PolyWorkSheet workSheet,
UnitRectangle unitRectangle,
LayoutBorderStyle style) |
ResultWorkBook |
execute(Form form,
Calculator ca,
java.util.Map<java.lang.String,java.lang.Object> para,
Repository repo)
导出表单中组件到excel中的一个sheet
|
protected java.util.Map<java.lang.String,BaseChartEditor> |
getAllBaseChartEditors(Form form,
Calculator cal,
Repository repo) |
protected java.util.Map<java.lang.String,ElementCaseEditorProvider> |
getAllElementCaseEditorMap(Form form) |
protected UnitRectangle |
getUnitRectangle(java.awt.Rectangle rectangle) |
protected void |
iteratorFitLayout(WFitLayout fitLayout,
java.util.Map<java.lang.String,ElementCaseEditorProvider> elemsMap,
PolyWorkSheet workSheet,
java.util.Map<java.lang.String,BaseChartEditor> chartsMap,
java.util.Map<java.lang.String,java.awt.Rectangle> namePosition) |
protected void |
setTitleWidthHeight(UNIT oriWidth,
UNIT titleHeight,
PolyECBlock ecBlock) |
protected void |
setUpPapersetting(Widget widget,
PolyWorkSheet workSheet,
java.util.Map<java.lang.String,java.lang.Object> para) |
void |
traversalWidget(Widget widget,
java.util.Map<java.lang.String,java.awt.Rectangle> namePosition,
java.awt.Rectangle startPoint)
遍历Form中的所有widget
|
public ResultWorkBook execute(Form form, Calculator ca, java.util.Map<java.lang.String,java.lang.Object> para, Repository repo)
public void traversalWidget(Widget widget, java.util.Map<java.lang.String,java.awt.Rectangle> namePosition, java.awt.Rectangle startPoint)
widget
- 控件protected void setUpPapersetting(Widget widget, PolyWorkSheet workSheet, java.util.Map<java.lang.String,java.lang.Object> para)
protected void iteratorFitLayout(WFitLayout fitLayout, java.util.Map<java.lang.String,ElementCaseEditorProvider> elemsMap, PolyWorkSheet workSheet, java.util.Map<java.lang.String,BaseChartEditor> chartsMap, java.util.Map<java.lang.String,java.awt.Rectangle> namePosition)
protected void addChart(java.util.Map<java.lang.String,BaseChartEditor> chartsMap, UnitRectangle unitRectangle, java.lang.String widgetName, PolyWorkSheet workSheet)
protected void addChart(UnitRectangle unitRectangle, PolyWorkSheet workSheet, BaseChartEditor chartEditor)
protected void addElementCase(java.util.Map<java.lang.String,ElementCaseEditorProvider> elemsMap, PolyWorkSheet workSheet, UnitRectangle unitRectangle, java.lang.String widgetName)
protected UnitRectangle addTitle(PolyWorkSheet workSheet, UnitRectangle unitRectangle, LayoutBorderStyle style)
protected void setTitleWidthHeight(UNIT oriWidth, UNIT titleHeight, PolyECBlock ecBlock)
protected void addReport(PolyWorkSheet workSheet, UnitRectangle unitRectangle, java.lang.String widgetName, ElementCaseEditorProvider elementCaseEditor)
protected java.util.Map<java.lang.String,ElementCaseEditorProvider> getAllElementCaseEditorMap(Form form)
protected UnitRectangle getUnitRectangle(java.awt.Rectangle rectangle)
protected java.util.Map<java.lang.String,BaseChartEditor> getAllBaseChartEditors(Form form, Calculator cal, Repository repo)