Linux.com

Feature

Two OpenXML translators compared

By Dmitri Popov on March 19, 2007 (7:00:00 AM)

Share    Print    Comments   

If you need to convert word processor documents to and from Microsoft's OpenXML format, you have at least two choices. A new utility from Novell work as an OpenOffice.org extension, while a separate project makes an add-in for Microsoft Word. One is clearly better than the other.

Novell's recent release of its OpenXML Translator is good news for OpenOffice.org users who wish to stay compatible with their Microsoft Office 2007 colleagues. In theory, the translator installs into OOo as a conventional .oxt extension. It's supposed to add the Microsoft Word 2007 (docx) option to the Save dialog and seamlessly open docx documents in OpenOffice.org Writer. In practice, however, it turned out to be a different kettle of fish.

To test the translator, I installed it in OpenOffice.org 2.1 on Windows XP SP2 -- a typical setup for a fair share of OpenOffice.org users. During the installation, the Extension Manager threw multiple error messages, but installed the translator nevertheless. While I was able to save .odt files in the docx format, the resulting documents weren't of much use. Word 2007 refused to open the converted documents, insisting that they were corrupted. Attempts to repair them failed as well. OpenOffice.org, on the other hand, had no problems opening the converted files, revealing near-perfectly formatted documents.

Things weren't much better when I tried to open the docx files created with Word 2007 in OpenOffice.org. For test purposes, I downloaded a few random docx files, including those available at the Ecma Office Open XML File Formats Standard Web site. While Word 2007 had no problems opening these files, OpenOffice.org refused to deal with them, complaining about possible corruption.

As a last resort, I downloaded and installed Novell's version of OpenOffice.org 2.0.4. Here things got rather interesting. For starters, the translator installed without any errors, and it had no problems saving Writer documents in the docx format. More importantly, Word 2007 opened the converted documents without a hitch, though there were some formatting quirks in documents with complex formatting. Opening the downloaded docx files in Novell's OpenOffice.org was less successful. The application was stuck at the "waiting for external application" stage until I killed it.

All in all, my experiences with the OpenXML translator were less than positive, and reports on OpenOffice.org-related newsgroups and forums indicate that I'm not alone. The translator is useless when installed in a stock version of OpenOffice.org; Novell apparently focused on making the translator work with its own flavor of OpenOffice.org. Even then, the translator's performance is far from perfect. While Novell's attempts to improve compatibility between OpenOffice.org and Office 2007 are commendable, the current result of the company's endeavors are less than impressive.

OpenXML Translator (the other one)

I also tried another OpenXML translator. This one is available as an add-in for Word XP, 2003, and 2007. It installed nicely into Word 2007 and added an ODF menu item that contained two commands: Open ODF and Save ODF.

The add-in fared well when dealing with relatively simple native ODT files. As expected, the translator had some issues converting complex ODF files; still, the final result was perfectly usable. Better yet, once the translator finished opening the file, it displayed a list of elements that weren't converted properly, which made further troubleshooting much easier. As a final stress test, I tried to save a complex 152-page docx file in the ODF format. The translator was surprisingly fast, and did a pretty good job converting the document. Most of the formatting survived, as did things like the table of contents, cross-references, and pagination. I had to adjust a few things manually, but the overall result was not bad at all.

There is absolutely no doubt that the OpenXML add-in for Word is currently the better solution.

Dmitri Popov is a freelance writer whose articles have appeared in Russian, British, US, German, and Danish computer magazines.

Dmitri Popov is a freelance writer whose articles have appeared in Russian, British, US, German, and Danish computer magazines.

Share    Print    Comments   

Comments

on Two OpenXML translators compared

Note: Comments are owned by the poster. We are not responsible for their content.

I thought XML was the answer

Posted by: Anonymous Coward on March 19, 2007 10:31 PM
As I read this article I could not help thinking about all the hype articles I have read about the wonders of XML. It looks like the reality at least for complex document formatting is somewhat different.
I have had similar fun opening and saving documents back and forth between OOo and Koffice both supposedly using the same standard.
I hope this can be worked out soon or all these standards are going to be nothing more than a pipe dream and we will be in same place we have been with no interoperability between software only kludge upon kludge added on later to bring partial functionality.

#

Open?

Posted by: Anonymous Coward on March 19, 2007 10:43 PM
So, the open source/Novell version of the OpenXML converter is such crap that it's virtually unusable but, Microsoft's proprietary OpenXML converter for Office 2003 works great.

Who'd have guessed that would happen?

#

Re:Open?

Posted by: Administrator on March 19, 2007 11:35 PM
It isn't Microsoft's, nor is it proprietary:
<a href="http://sourceforge.net/projects/odf-converter" title="sourceforge.net">http://sourceforge.net/projects/odf-converter</a sourceforge.net>

#

It is Microsoft's

Posted by: Administrator on March 20, 2007 05:53 PM

Microsoft paid for it to be developed. Redmond outsourced most of the actual work to a French company called CleverAge. The details are
<a href="http://www.clever-age.com/references/microsoft/convertisseur-entre-les-formats-openxml-et-opendocument.html" title="clever-age.com">
on CleverAge's website</a clever-age.com>. It's in French, here's a translation of the relevant bit:


"Under pressure from a growing number of institutions, primarily European, Microsoft has chosen to make its suite compatible with the OpenDocument format. To do this, the Redmond company has entrusted CleverAge with the development of a plug-in enabling Word (XP, 2003 and 2007) to open and save files in ODF format.


CleverAge has been given the task of leading the development of the converter between OpenXML and OpenDocument format."


The website goes on to describe the international team that worked on the development and testing, with people in Poland, India, and in Microsoft offices in France and the USA.


So, yes, this is definitely a Microsoft product. And although it's open source for now, the license is BSD, not GPL, so Microsoft can take it proprietary (including any improvements that naive members of the community may make to it) any time it changes it - for example when it releases Word 2008 or Excel 2008.

#

What's OpenXML?

Posted by: Anonymous Coward on March 19, 2007 11:47 PM
Please check your terms before writing an article.

#

Re:Open?

Posted by: Anonymous Coward on March 20, 2007 02:25 AM
It is microsoft's but they are pretending it is an open effort. The project is hosted on sourceforge but all the key developers are microsoft employees. This allows them to claim they are doing a proper open effort, while simultaneously ensuring it is a second class citizen in the Microsoft Office interface.

I can guarantee you a truly independent effort would not have such a usable result by now, since the Word programming environment is extremely baroque. By the same token, this effort will have all kinds of internal knowledge assumptions that will make external users hard-pressed to reuse the code.

In other words, there are reasonable doubts about the effective openness about this code, and cautious planners should be careful about their assumptions until it is demonstrated that this code is maintainable by parties outside Microsoft.

It _is_ true that the license on the code is not a proprietary license, but this is sometimes a useslessly narrow definition.

#

I believe you, but can you point to evidence?

Posted by: Anonymous Coward on March 20, 2007 05:05 PM

all the key developers are microsoft employees.


Seems very likely to me - the add-in is written in C#, a most unlikely choice for programmers who want to put a dent in Microsoft's monopoly. And (a less telling point, but still relevant) the license is BSD, not GPL. (Microsoft likes BSD because it can make later versions it generates proprietary, if it wants).


So, yes, I'd have suspected this anyway, but I wouldn't have felt confident enough to come out and say it without something more concrete. Can you point us to evidence?

#

a third option

Posted by: Anonymous Coward on March 20, 2007 02:26 AM
there is also a plug-in from sun.

<a href="http://www.sun.com/software/star/staroffice/index.jsp" title="sun.com">http://www.sun.com/software/star/staroffice/index<nobr>.<wbr></nobr> jsp</a sun.com>

#

OpenXML

Posted by: Anonymous Coward on March 20, 2007 03:18 AM
The Novell and Microsoft translators use exactly the same code from the odf-convertor project, and yes it only works with the Novell edition of OpenOffice because the patch would almost certainly be refused upstream. The patch is available in the ooo-build module for other distributions.

JP, a novell guy
jpr at novell com

#

What? Why?

Posted by: Anonymous Coward on March 20, 2007 04:11 AM
because the patch would almost certainly be refused upstream.

Why is this? Assuming that the patch works properly and is unencumbered, then there is no excuse for not accepting it. If the patch is encumbered, well then, shame on Novell.

#

Re:OpenXML

Posted by: Anonymous Coward on March 20, 2007 06:52 PM
Well, it was filed with no response:
<a href="http://www.openoffice.org/issues/show_bug.cgi?id=71939" title="openoffice.org">http://www.openoffice.org/issues/show_bug.cgi?id=<nobr>7<wbr></nobr> 1939</a openoffice.org>

#

Ok so use ODF more likely to open in everything.

Posted by: Anonymous Coward on March 20, 2007 03:59 AM
Not like this is not a handy out come.

#

moron

Posted by: Anonymous Coward on March 21, 2007 05:56 AM
This is what is says on the download page:
The odfconverter-1.0.0-2.oxt file works only with Windows, and the odf-converter-1.0.0-5.i586.rpm file works only on SUSE® Linux Enterprise, SUSE Linux, and openSUSE. On both platforms, the OpenXML Translator works only with the latest Novell® edition of OpenOffice.org.

So, maybe you should read it first before installing and writing crap based on your own misinformation.

#

Talking for nothing

Posted by: Anonymous Coward on March 30, 2007 05:48 PM
I do not get the point of your comment: The article says exactly what your comment is saying. You both agree: Windows and Suse gets more and more compatible, but leaves out the rest of the Free Software community.

There's no use calling names like "moron" or "crap" when you both agree.

#

No it is not :-)

Posted by: Anonymous Coward on March 22, 2007 05:40 AM
I'd like to clarify all these licenses / ownership questions (I am the former leader of the ODF-converter project).

The project was actually funded by Microsoft, but the property of the code is Clever Age's (that's what is called sponsorship). Microsoft also provided technical assistance (1 guy part time to solve MS specific issues). All the developers are from Clever Age (France and Poland).

The license is actually BSD, so yes, Microsoft is allowed to take the code and do whatever it likes with it - as well as anybody else can do.

You can get more information on the project team blog : <a href="http://odf-converter.sourceforge.net/blog" title="sourceforge.net">http://odf-converter.sourceforge.net/blog</a sourceforge.net>.

Best regards,

Jean Goffinet

#

Two OpenXML translators compared ??

Posted by: Anonymous [ip: 153.110.137.9] on October 29, 2007 07:38 PM
It all makes perfectly sense
- Plugins to open and save .odf files in MS Word works great.
- Plugins to save or open Office OpenXML in other application doesn't.
Wonder why one is an ISO standard and the other not. Don't use .docx (Office OpenXML) seems to be the moral here.)

#

Two OpenXML translators compared

Posted by: Anonymous [ip: 155.144.251.120] on February 12, 2008 04:43 AM
Try using Novell on the platform it was intended to run on (openSUSE) for a fair comparison. The issues experienced may have been Windows related.

#

This story has been archived. Comments can no longer be posted.



 
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya