Skip to main content


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 Go to next message
harip kaligo is currently offline harip kaligoFriend
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
Re: Excel rendered is of large size. [message #1787285 is a reply to message #743376] Wed, 23 May 2018 06:45 Go to previous message
asmita shinkar is currently offline asmita shinkarFriend
Messages: 4
Registered: May 2018
Junior Member
where to write this code in birt report?
Previous Topic:Excel print - fit all columns in one page
Next Topic:multiple data sets in data cube
Goto Forum:
  


Current Time: Fri Jun 22 15:39:11 GMT 2018

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

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

Back to the top