since i use
open.office and, unfortunately, many of my students computers are now being delivered with ms.office.2007 -- on occasion, i find myself unable to open some of their documents.
luckily, you can obtain a copy of an
odfconverter.
unluckily, it doesn't directly install in my
mandriva.2008.1 build. so, thanks to a
clever solution by open.office.ninja :
begin by making sure '
alien' is installed. it is included in mandriva.2008, but not installed by default. alien allows conversions among the rpm, dpkg, stampede slp, and
slackware tgz file formats.
take the odfconverter.rpm file and make tgz file.
alien -ct odf-converter-1.1-7.i586.rpm
extract resulting file, odf-converter-1.1.tgz, via your favorite method.
then, use the 'su' command to become root and execute the following commands.
[notice that i have been working in my 'Download' subdirectory.][root@localhost Download]# cp usr/lib/ooo-2.0/program/OdfConverter /usr/bin
[root@localhost Download]# cp usr/lib/ooo-2.0/program/OdfConverter /usr/lib/openoffice/program/
to make openoffice use the odfconverter automatically
(per http://wvarner.blogspot.com/2008/02/microsoft-docx-files-on-ubuntu-gusty.html ) but with directory structures ever-so-slightly modified for mandriva 2008.1:
[root@localhost Download]# cp usr/lib/ooo-2.0/program/OdfConverter
/usr/lib/ooo-2.2/program/
[root@localhost Download]# cp usr/lib/ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Filter/MOOXFilter_cpp.xcu /usr/lib/ooo-2.2/share/registry/modules/org/openoffice/TypeDetection/Filter/
[root@localhost Download]# cp usr/lib/ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Types/MOOXTypeDetection.xcu /usr/lib/ooo-2.2/share/registry/modules/org/openoffice/TypeDetection/Types/
and.... we're off!!!