birt 片段代码
2015-06-08 14:01
288 查看
protected IReportEngine reportEngine = null;
protected IReportRunnable design = null;
design = reportEngine.openReportDesign(reportFilePath);
task = reportEngine.createRunAndRenderTask(design);
task.addScriptableJavaObject("listBean",
pageList == null ? new ArrayList<Object[]>() : pageList);
HTMLRenderOption option = new HTMLRenderOption();
option.setOutputFormat(HTMLRenderOption.OUTPUT_FORMAT_HTML);
option.setOutputStream(response.getOutputStream());
task.setRenderOption(option);
task.run();
protected IReportRunnable design = null;
design = reportEngine.openReportDesign(reportFilePath);
task = reportEngine.createRunAndRenderTask(design);
task.addScriptableJavaObject("listBean",
pageList == null ? new ArrayList<Object[]>() : pageList);
HTMLRenderOption option = new HTMLRenderOption();
option.setOutputFormat(HTMLRenderOption.OUTPUT_FORMAT_HTML);
option.setOutputStream(response.getOutputStream());
task.setRenderOption(option);
task.run();
相关文章推荐
- 识设计大师(Logo Design Studio) v3.1.0.0 零售版 下载
- JS option location 页面跳转实现代码
- IE中鼠标经过option触发mouseout的解决方法
- JavaScript Select和Option列表元素上下左右移动
- 用jQuery解决IE不支持的option disable属性
- firefox下获取下列框选中option的text的代码
- javascript option onclick事件ie解决方案 兼容ie,firefox
- IE不支持option的display样式,只能使用remove和add
- javascript 动态创建 Option选项
- JS动态添加与删除select中的Option对象(示例代码)
- js获取select选中的option的text示例代码
- JS动态添加与删除select中的Option对象(示例代码)
- js添加select下默认的option的value和text的方法
- javascript各浏览器中option元素的表现差异
- js select option对象小结
- js 操作select与option(示例讲解)
- js动态改变select选择变更option的index值示例
- 【MaterialEditText】 Material Design 的 EditText 3ff8
- 开源硬件的价值评估