odf & docx in OpenOffice

July 20, 2007
By ikd
Microsoft Office Word 2007

Image via Wikipedia

AddThis Social Bookmark Button

Unless you have been cast away in some remote island or hiding under some rock or in some cave (btw, of all three choices, the first one does not seem that bad :) in my opinion), the battle between open document format promoted by several open source supporters and the ooxml format promoted by MS has been raging. Most recently, ooxml was not accepted as a national standard and then as an international standard.

In plain words, what it means, is that if you use Word 2007 and save it as docx (not doc format) you may end up with lots of documents nobody can access (unless they part with a sizable amount of money to buy Office 2007). Anyone knows that OpenOffice saves and opens office documents (doc, xls, ppt). What about docx documents?

UPDATE #2: Also check out this updated post from this blog.

UPDATE: The following link is dead and gets you the error page at Novel. Instead, follow this new link and the instructions provided in the destination page. Enjoy!!!

OLD stuff :)
The answer is a converter available at this address compliments of the good guys at Novell. If you follow the link you can download either a solution for windows platforms or an rpm archive for linux platforms. From there (the rpm platform) some work is necessary if your setup does not use rpms. In most cases, the command “alien” will take the rpm and translate it into a deb archive or a tar.gz archive (your choice).

I prefer the tar.gz approach and then completed the following:
1) translate rpm to tar.gz
2) unpack tar.gz archive
3) copy the /usr/lib/ooo-2.0 directory (and its subdirectories) to where openoffice is located in my box.
4) restart openoffice
5) Find under the Open or Save menu choices for docx files

NB. It works for both x86 and 64bit boxes.

Enjoy!

I.

AddThis Social Bookmark Button

Powered by ScribeFire.

Related articles

Zemanta Pixie

Print

Related posts:

  1. odf & docx in OpenOffice
  2. docx in openoffice revisited
  3. xlsx & openoffice
  4. xlsx & openoffice

Tags: , , , , , , , , ,

11 Responses to “ odf & docx in OpenOffice ”

  1. [...] λειτουργούν τόσο σε linux όσο και σε MS πλατφόρμες.  Στο άρθρο αυτό θα βρείτε αναλυτικές οδηγίες για το πώς θα [...]

  2. [...] 4. Convert using the OpenOffice.org : You can also open the DOCX file in OpenOffice.org but that too with the help of the converter. You’ll need to download this extension and then only you’ll be able to convert the file. Found via thedailyblahblah blog. [...]

  3. stew schneider on October 5, 2007 at 4:22 am

    OK…I’m a bit confused. In step 3, could you clarify what you mean by “to where openoffice is located in my box”?

    OpenOffice is in /usr/lib/openoffice. soffice is located in /usr/bin/openoffice/programs. I copied /usr/lib/ooo-2.0 and its subdirectories to /usr/bin/openoffice and /usr/bin/openoffice/programs, but don’t see .docx in my open dialog. which soffice yields /usr/bin/soffice, which is a link to ../lib/openoffice/programs/soffice.

  4. ikd on October 5, 2007 at 8:46 am

    @stew

    Unless it is a typo, maybe you should have copied the files to /usr/lib/openoffice/ and not /usr/bin/openoffice?

    I mentioned “to where openoffice is located” because apart from the “default” installation that came with the distro, I have usually a much newer openoffice in /opt/openoffice and change the symlink in /usr/bin/openoffice to point to the new install.

    I

  5. stew schneider on October 5, 2007 at 4:50 pm

    I must have been tired. Yes, it is a typo. ooo-2.0 and its subfolders are located in /usr/lib/openoffice. /usr/lib/openoffice/ooo-2.0 contains two subdirectories: share and program.

    Your note made me think, though — do I perhaps have two installations here? My K menu is calling ooffice. I was looking for soffice. locate doesn’t find an ooffice. I’ll have to dig a little more.

  6. stew schneider on October 6, 2007 at 1:28 pm

    OK. Now that I’m a little more awake, either soffice or ooffice will run v 2.2 of openoffice. ooffice is located in /usr/bin. Also in /usr/bin is a link called openoffice->ooo-wrapper. So, I guess my question is: where to put ooo-2.0?

  7. ikd on October 8, 2007 at 10:46 am

    Perhaps I was not clear enough (in which case, my apologies). When you unpack the Odfconv archive, a directory is created, whose contents have to be copied in the system directories (where you have installed openoffice). Usually, this is the /usr/lib/openoffice, or if you use another location (as is my case), /opt/openoffice.

    In my case, all downloads go to the directory ~/Downloads. There, I find:
    ~/Downloads/OdfConv/usr/ with two subdirectories: lib and share.

    These are the directories which you have to copy to the location of your choice.

    HTH,

    I

  8. xlsx & openoffice « Blah blah blah on November 11, 2007 at 1:58 pm

    [...] & openoffice In an earlier posting, I wrote about a filter to open docx files in open office. Unfortunately, this is half the story in this world of digital, paperless office. What happens in [...]

  9. [...] odf & docx in OpenOffice « Blah blah blah odf & docx in OpenOffice [...]

  10. Andrew Z on February 16, 2008 at 8:57 am

    The download link is dead. Here is a newer version and instructions on how to use it if you do not have Ubuntu/SUSE. The mainstream and Fedora versions of OpenOffice.org do not integrate with this tool.

  11. ikd on July 27, 2008 at 7:41 pm

    Hi Dan,

    An excellent question, albeit one that I don’t believe in. Let me clarify: Despite the rpm v. tgz. v. deb package differences, the docx converter is an openoffice.org extension and as such you install it from within Openoffice and not your linux version of choice. I have tested it in various platforms: Linux ubuntu, fedora, winxp and mac os x’s neooffice (that closely resembles openoffice).

    Check the update of this post, here from the pages of this blog. It has newer information. And thanks for stopping by.

    I.

Leave a Reply

Get Adobe Flash playerPlugin by wpburn.com wordpress themes

Seek and you shall find the truth

UA-10937991-1