Skip to main content



      Home
Home » Archived » 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 08:02 Go to next message
Eclipse UserFriend
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 02:45 Go to previous message
Eclipse UserFriend
where to write this code in birt report?
Previous Topic:Excel print - fit all columns in one page
Next Topic:How to create tagged PDF in BIRT
Goto Forum:
  


Current Time: Sat Mar 15 04:46:50 EDT 2025

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

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

Back to the top