Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Cannot generate xlsx using birt runtime version 4.4.2(Using the birt runtime to generate xlsx file.)
Cannot generate xlsx using birt runtime version 4.4.2 [message #1708951] Tue, 22 September 2015 18:08
yusuf nazir is currently offline yusuf nazirFriend
Messages: 1
Registered: September 2015
Junior Member
I have implemented the birt runtime 4.4.2 into a java webapp.
I do not use the webviewer.

The code is pretty simple
EXCELRenderOption options = new EXCELRenderOption();
options.setEmitterID("uk.co.spudsoft.birt.emitters.excel.XlsxEmitter");
options.setOutputFileName(fullName);
options.setOutputStream(outputStream);


The outputstream contains the filename with the format is should be exported to, eg. myexcel.xlsx.
The fullName contains the path and the filename.
The options is given to:
 runAndRenderTask.setRenderOption(options);


When i run the application, exports work for xls, pdf and doc, but not for xlsx.
There is no exception thrown by the birt engine. The engine does not create the output file.

Can anyone help me with the code for generating an xlsx output file or at least point me in a direction of something that works.
Previous Topic:Itemnum below the barcode when displayed vertically in BIRT 232 getting truncated at the bottom
Next Topic:Make everything in a dataset only show one letter?
Goto Forum:
  


Current Time: Tue Apr 16 20:09:13 GMT 2024

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

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

Back to the top