Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 350844

Summary: The export dialog not show "Open Office" as format export option (birt-runtime-3_7_0)
Product: z_Archived Reporter: gako <gakovic.s>
Component: BIRTAssignee: Yong Jiang <yjiang>
Status: CLOSED FIXED QA Contact: Xiaoying Gu <bluesoldier>
Severity: normal    
Priority: P3 CC: adominguez, bluesoldier, cdravi.4u
Version: 3.7.0   
Target Milestone: 3.7.1   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description gako CLA 2011-06-30 10:31:27 EDT
Build Identifier: 

The BirtPOJO Viewer "birt-runtime-3_7_0.zip" does not seem to be able to export to openoffice format (ODT, ODS,...).
The options are present in the WEB-INF/viewer.properties but are not show in the export dialog.
I have the message "org.eclipse.birt.report.service.api.ReportServiceException: The output format odt is not supported." if i try to force the odt format (__format=odt).

Reproducible: Always

Steps to Reproduce:
1.Deploy the BIRT POJO Viewer under tomcat (from birt.war or WebViewerExample directory)
2.Test the sample report
3.Try to export the report, the OpenOffice formats are not present
Comment 1 Xiaoying Gu CLA 2011-07-01 03:46:11 EDT
*** Bug 350890 has been marked as a duplicate of this bug. ***
Comment 2 Xiaoying Gu CLA 2011-07-12 22:43:58 EDT
*** Bug 351907 has been marked as a duplicate of this bug. ***
Comment 3 Yong Jiang CLA 2011-08-17 22:21:58 EDT
Fixed in Birt 3.7.1 RC1
Comment 4 gako CLA 2011-08-22 09:45:52 EDT
The runtime 3.7.1 RC1, allow now to select open office format when user want export. But the result of the export is a html file with a stack trace that said "Report engine fails to initialize odt emitter, please make sure required libraries for this emitter are installed". 
To avoid this, i have add odt emitter jar's in the WEB-INF/lib directory. The jar's can be found in the plugins directory of the birt rpc report designer for example (org.eclipse.birt.report.engine.odf_3.7.0.v20110815.jar, org.eclipse.birt.report.engine.emitter.odt.config_3.7.0.v20110815.jar, org.eclipse.birt.report.engine.emitter.odt_3.7.0.v20110815.jar,...)
Thanks to Yong Jiang for the fix
Comment 5 Yong Jiang CLA 2011-09-08 23:14:55 EDT
Fixed again, generate correct Open Office format file in birt-runtime-3_7_1.
Please try in Birt 3.7.1 RC3.