public class FormResultHandler
extends java.lang.Object
Created by XiaXiang on 2018/3/26.
构造器和说明 |
---|
FormResultHandler() |
限定符和类型 | 方法和说明 |
---|---|
static void |
dealWithElementCase(Form form,
FormSessionIDInfor formSessionIDInfor)
将结果表单的格子平移到新的表单里面
|
static void |
dealWithWidgetsPosition(Widget widget,
java.util.Map<java.lang.String,java.awt.Rectangle> namePosition,
java.awt.Rectangle startPoint)
获取form中所有widget的位置
|
static void |
generateFormResult(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)
根据报表模板的路径获取指定模版的参数
|
public static void generateFormResult(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 dealWithWidgetsPosition(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
- 报表模板的路径