Bug 278313 - Support for OpenOffice
Summary: Support for OpenOffice
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement with 3 votes (vote)
Target Milestone: 3.7.0 M4   Edit
Assignee: Jun Ouyang CLA
QA Contact: Xiaoying Gu CLA
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2009-05-28 19:16 EDT by Ben Engbers CLA
Modified: 2011-03-03 04:53 EST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Engbers CLA 2009-05-28 19:16:44 EDT
When I view a report as .DOC on my Linux-machine, I can't open it with Word.
If I open it with OpenOffice, I see an xml-file (WPML?)

Is it open to view reports as ODT?
Comment 1 Zhiqiang Qian CLA 2009-05-30 22:35:11 EDT
Ben,

I know some third party has created an Open Document prototype emitter extension for BIRT. But I'm not sure if it's public available. You can get more information from this link: http://www.eclipsecon.org/2008/index.php?page=sub/&id=294. And we are also looking forward to community contributions for such extended BIRT functions.
Comment 2 Vincent Petry CLA 2010-09-05 23:55:32 EDT
There is a bug in OpenOffice when opening Word files in WPML format.
See http://www.openoffice.org/issues/show_bug.cgi?id=62492

The workaround is to rename the DOC file to XML and open it with OpenOffice, then it will display fine.
Comment 3 Scott Rosenbaum CLA 2010-09-13 11:42:23 EDT
We are working on an Eclipse Lab project for and ODT emitter.  

http://code.google.com/a/eclipselabs.org/p/birt-odt-emitter/

The code is pretty much complete, we will be working on testing, docs, downloads, etc. over the next two weeks.  If you are still interested in being able to create OpenOffice docs from BIRT, you may want to take a look.
Comment 4 Nikolai Raitsev CLA 2010-11-04 07:34:36 EDT
Hi Scott,

I'm interested on your BIRT-ODF-Emitter and I wanted to look at it. But the page does not seem to exist anymore, or they can not be reached because "Your client does not have permission to get URL /a/eclipselabs.org/p/birt-odt-emitter/ from this server."

How can I get this component?

Best regards,

Nikolai
Comment 5 Scott Rosenbaum CLA 2010-11-04 09:36:59 EDT
Nikolai,

Sorry, I forgot that I linked to the the bug from here.  We shut down the ODT project because ODT made it into the core code.  We had a look at the code and it is in reasonable shape, and in fact looks like it would be possible to backport into 2.5.
Comment 6 Nikolai Raitsev CLA 2010-11-04 11:35:04 EDT
Hi Scott,

than you for the answer, but I've not understand it. What do you mean with " looks like it would be possible to backport into 2.5"? Do you mean, that BIRT can generate ODT-Files "out of the box"? I have not found that possibility. IReportEngine#getSupportedFormats() gets only this possible output formats:

 *  xls
 *  postscript
 *  pdf
 *  doc
 *  html
 *  ppt
Comment 7 Scott Rosenbaum CLA 2010-11-04 14:11:51 EDT
The next version of BIRT will have ODT out of box (4.0).  

To back-port into an existing version you would need to pull the source for the ODT emitter plugins, compile, and then place into your plugins directory.  Once you have done that, you would have the option of using ODT in your existing version.

There is not guarantee that it will work, but our initial investigation indicates that it should work.
Comment 8 Nikolai Raitsev CLA 2010-11-04 15:17:24 EDT
Scott,

many thanks for your comment and the hint. I have understand it now:)
I have checked the sources out (found at http://dev.eclipse.org/viewcvs/index.cgi/source/org.eclipse.birt.report.engine.emitter.odt/?root=BIRT_Project) compiled it as your described. And now it works with BIRT 2.6 (my current BIRT installation).

Best regards,

Nikolai
Comment 9 Xiaoying Gu CLA 2011-03-03 04:53:31 EST
This bug was fixed with the fix of #292158