public class FSFormletHandler
extends java.lang.Object
构造器和说明 |
---|
FSFormletHandler() |
限定符和类型 | 方法和说明 |
---|---|
static void |
dealWithElementcase(Form form,
FormSessionIDInfor formSessionIDInfor)
将结果表单的格子平移到新的表单里面
|
static ResultWorkBook |
executeForm(java.lang.String formPath,
java.util.Map<java.lang.String,java.lang.Object> para) |
static void |
generateFRR(java.io.OutputStream out,
java.lang.String formPath,
java.util.Map<java.lang.String,java.lang.Object> para)
表单输出frr文件(结果表单)
|
static JSONArray |
getFormParameters(java.lang.String formPath)
根据报表模板的路径获取指定模版的参数
|
static void |
traversalWidget(Widget widget,
java.util.Map<java.lang.String,java.awt.Rectangle> namePosition,
java.awt.Rectangle startPoint)
遍历Form中的所有widget(顺便删一下参数面板)
|
public static void generateFRR(java.io.OutputStream out, java.lang.String formPath, java.util.Map<java.lang.String,java.lang.Object> para) throws java.lang.Exception
out
- frr输出流formPath
- 表单路径para
- 表单参数java.lang.Exception
public static void dealWithElementcase(Form form, FormSessionIDInfor formSessionIDInfor)
form
- formSessionIDInfor
- public static void traversalWidget(Widget widget, java.util.Map<java.lang.String,java.awt.Rectangle> namePosition, java.awt.Rectangle startPoint)
widget
- 控件public static JSONArray getFormParameters(java.lang.String formPath)
formPath
- 报表模板的路径public static ResultWorkBook executeForm(java.lang.String formPath, java.util.Map<java.lang.String,java.lang.Object> para)