Today I received a mail with a file attachment and the file extension was .docx.
.docx actually is a Microsoft word processor document and named OpenXML . Now .docx is by default format for Latest Microsoft word 2007.
Then I found very panic to open the file in Openoffice.
Now it is not a problem anymore to open .docx documents in any Linux distribution coming with OpenOffice suit.
With the help of my friend google I simply download (odf_filter.tar.bz2) import filter for OpenOffice to my home folder.
verman@verman-desktop:~$ sudo wget http://www.taufikraras.com/download/odf_filter.tar.bz2
[sudo] password for verman:
–2009-08-06 11:20:33– http://www.taufikraras.com/download/odf_filter.tar.bz2
Length: 2967411 (2.8M) [application/x-tar]
Saving to: `odf_filter.tar.bz2′
100%[======================================>] 29,67,411 55.4K/s in 86s
2009-08-06 11:22:03 (33.8 KB/s) – `odf_filter.tar.bz2′ saved [2967411/2967411]
verman@verman-desktop:~$
verman@verman-desktop:~$ pwd
/home/verman
verman@verman-desktop:~$
verman@verman-desktop:~$ ls
nsmail.tmp
odf_filter.tar.bz2
opera-9.64
OperaDownloads
part.png
Then Untar the odf_filter.tar.bz2
verman@verman-desktop:~$ sudo tar -xvjf odf_filter.tar.bz2
files/
files/README.txt
files/MOOXFilter_cpp.xcu
files/MOOXTypeDetection.xcu
files/OdfConverter
verman@verman-desktop:~$ ls
nsmail.tmp
odf_filter.tar.bz2
opera-9.64
OperaDownloads
part.png
files
verman@verman-desktop:~$
Change the directory to files
verman@verman-desktop:~$ cd files/
verman@verman-desktop:~/files$
Copied OdfConverter to /usr/lib/openoffice/program/
verman@verman-desktop:~/files$ sudo cp OdfConverter /usr/lib/openoffice/program/
[sudo] password for verman:
verman@verman-desktop:~/files$
Created a folder TypeDetection in /usr/lib/openoffice/share/registry/modules/org/openoffice
verman@verman-desktop:~/files$ sudo mkdir /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection
Then Created a folder Filter in /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection
verman@verman-desktop:~/files$ sudo mkdir /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Filter/
Then Copied MOOXFilter_cpp.xcu to /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Filter/
verman@verman-desktop:~/files$ sudo cp MOOXFilter_cpp.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Filter/
Created a Folder Types in /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection
verman@verman-desktop:~/files$ sudo mkdir /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Types
Then Copied MOOXTypeDetection.xcu to /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Types/
verman@verman-desktop:~/files$ sudo cp MOOXTypeDetection.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Types/
verman@verman-desktop:~/files$
Now open OpenOffice.org Word Processor
Click Applications > Office > OpenOffice.org Word Processor.
Then Press Ctrl+O to open and select Microsoft Word 2007 document (.docx) as the file type

That’s it .
Now You can read all .docx files in Openoffice Word Processor.
Thanks to taufikraras
- I did not understand the language but still managed to utilize the information by trying the command in my desktop.

