This was assumed that it do in PCLinuxOS 2007. If you use other distros, you still can do it with a little different commands.
Heres the steps for make the Ms. Word 2007 .docx files can be opened, edited and printed from your OpenOffice:
Make sure you have updated OOo, then go get the odf-converter rpm from here.
You also need software to get into the rpm. We prefer file-roller (aka Archive Manager), so in Synaptic, mark and install file-roller.
Right click on the odf-converter rpm --> Open With --> Archive Manager.
Navigate to and extract /usr/lib/ooo-2.0 from inside the rpm to your desktop.
You should now have a folder named “ooo-2.0” on your Desktop. There are 3 files buried in this folder that we want.
First one is located in /ooo-2.0/program, named OdfConverter.
In Konsole, as root, type:
cp /home/YourUsername/Desktop/ooo-2.0/program/OdfConverter /usr/lib/ooo-2.3/program
Second, there is a file named “MOOXFilter_cpp.xcu” located in /ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Filter.
Once again, as root, type:
cp /home/YourUsername/Desktop/ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Filter/MOOXFilter_cpp.xcu /usr/lib/ooo-2.3/share/registry/modules/org/openoffice/TypeDetection/Filter
Lastly, the file named “MOOXTypeDetection.xcu” located in /ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Types.
Type again as root:
cp /home/YourUsername/Desktop/ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Types/MOOXTypeDetection.xcu /usr/lib/ooo-2.3/share/registry/modules/org/openoffice/TypeDetection/Types
Now, (Re)Start OpenOffice and try and open or create .docx file. It works!
Source: PCLinuxOS Forum
Posted by FRIS at 12:32