Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Excel rendered is of large size.(Excel rendered is of large size.)
Excel rendered is of large size. [message #743376] Fri, 21 October 2011 12:02
harip kaligo is currently offline harip kaligo
Messages: 74
Registered: July 2011
Member
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
Previous Topic:Custom emitter
Next Topic:fonts in birt generated pdf reports.
Goto Forum:
  


Current Time: Sun Oct 26 01:24:30 GMT 2014

Powered by FUDForum. Page generated in 0.01534 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software