您的位置:首页 > 编程语言

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();
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  design option