Excel rendered is of large size. [message #743376] |
Fri, 21 October 2011 08:02  |
Eclipse User |
|
|
|
Hi,
We are generating excel document and it's size turned out to be more, almost equivalent to rptdocument.
We used the below code to generate excel document.
document = birtReportEngine.openReportDocument("xyz.rptdocument");
EXCELRenderOption options = new EXCELRenderOption();
options.setHideGridlines(false);
options.setOfficeVersion("2007");
options.setWrappingText(true);
options.setOutputFormat(ReportingConstants.OUTPUT_TYPE_XLS);
options.setOutputFileName(buildDocumentName(workingFolder, jobBo, ReportingConstants.OUTPUT_TYPE_XLS));
task1 = birtReportEngine.createRenderTask(document);
task1.setRenderOption(options);
//task1.getAppContext().put(DataEngine.MEMORY_USAGE, DataEngine.MEMORY_USAGE_CONSERVATIVE);
task1.render();
Anyideas on how ot reduce the size of excel document.
Thanks,
Hari Priya
|
|
|
|
Powered by
FUDForum. Page generated in 0.03336 seconds