修改手册显示

This commit is contained in:
翟林帆 2022-07-01 21:01:57 +08:00
parent 89c840b1e2
commit 0f36c19a03

View File

@ -30,9 +30,6 @@ public class Plugins implements PluginListener {
Map<String, Object> params1 = new HashMap<String, Object>();
params1.put("groupName", "表达手册");
params1.put("title", "表单-手册");
/* params1.put("targetMethodScope", PrReportComment.TARGET_METHOD_SCOPE);// 建模大类建模方法多个用逗号隔开如果为空表示全部
params1.put("targetMethodType", "");// 建模方法中的图元为空表示只选择文件不选择图元"-"表示所有类型图元
params1.put("relationMethodScope", "-");// 如果设置-表示不需要用户选择关联范围向导页被忽略*/
params1.put("targetMethodScope", "data.form");// 建模大类建模方法多个用逗号隔开如果为空表示全部 org.normal
params1.put("targetMethodType", "");// 建模方法中的图元为空表示只选择文件不选择图元"-"表示所有类型图元
params1.put("relationMethodScope", "-");// 如果设置-表示不需要用户选择关联范围向导页被忽略
@ -46,57 +43,6 @@ public class Plugins implements PluginListener {
array3.add("表单-手册.xml");
params1.put("templates", array3.toString());
list.add(new AppExtensionProfile("PAL报告->表单-手册", "aslp://com.actionsoft.apps.coe.pal/registerOutputApp", params1));
// 注册应用扩展点
/*Map<String, Object> params1 = new HashMap<String, Object>();
params1.put("groupName", "流程手册");
params1.put("title", "步骤横表");
params1.put("targetMethodScope", PrReportComment.TARGET_METHOD_SCOPE);// 建模大类建模方法多个用逗号隔开如果为空表示全部
params1.put("targetMethodType", "");// 建模方法中的图元为空表示只选择文件不选择图元"-"表示所有类型图元
params1.put("relationMethodScope", "-");// 如果设置-表示不需要用户选择关联范围向导页被忽略
params1.put("lang", "cn");// 该App支持的语言多个用逗号隔开
params1.put("optionClass", Report1WizardOption.class.getName());// 附加的报表选项如果该值没有向导页被忽略
params1.put("generClass", Report1Gener.class.getName());// 生成报告
// 模版上传下载参数
params1.put("isDownload", true);
JSONArray array1 = new JSONArray();
array1.add("步骤横表-流程手册.doc");
array1.add("步骤横表-流程手册.xml");
params1.put("templates", array1.toString());
list.add(new AppExtensionProfile("PAL报告->步骤横表", "aslp://com.actionsoft.apps.coe.pal/registerOutputApp", params1));
Map<String, Object> params2 = new HashMap<String, Object>();
params2.put("groupName", "流程手册");
params2.put("title", "步骤竖表");
params2.put("targetMethodScope", PrReportComment.TARGET_METHOD_SCOPE);// 建模大类建模方法多个用逗号隔开如果为空表示全部
params2.put("targetMethodType", "");// 建模方法中的图元为空表示只选择文件不选择图元"-"表示所有类型图元
params2.put("relationMethodScope", "-");// 如果设置-表示不需要用户选择关联范围向导页被忽略
params2.put("lang", "cn");// 该App支持的语言多个用逗号隔开
params2.put("optionClass", Report2WizardOption.class.getName());// 附加的报表选项如果该值没有向导页被忽略
params2.put("generClass", Report2Gener.class.getName());// 生成报告
// 模版上传下载参数
params2.put("isDownload", true);
JSONArray array2 = new JSONArray();
array2.add("步骤竖表-流程手册.doc");
array2.add("步骤竖表-流程手册.xml");
params2.put("templates", array2.toString());
list.add(new AppExtensionProfile("PAL报告->步骤竖表", "aslp://com.actionsoft.apps.coe.pal/registerOutputApp", params2));
Map<String, Object> params4 = new HashMap<String, Object>();
params4.put("groupName", "流程手册");
params4.put("title", "流程手册");
params4.put("targetMethodScope", PrReportComment.TARGET_METHOD_SCOPE);// 建模大类建模方法多个用逗号隔开如果为空表示全部
params4.put("targetMethodType", "");// 建模方法中的图元为空表示只选择文件不选择图元"-"表示所有类型图元
params4.put("relationMethodScope", "-");// 如果设置-表示不需要用户选择关联范围向导页被忽略
params4.put("lang", "cn");// 该App支持的语言多个用逗号隔开
params4.put("optionClass", Report4WizardOption.class.getName());// 附加的报表选项如果该值没有向导页被忽略
params4.put("generClass", Report4Gener.class.getName());// 生成报告
list.add(new AppExtensionProfile("PAL报告->流程手册", "aslp://com.actionsoft.apps.coe.pal/registerOutputApp", params4));*/
return list;
}