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.rpmextract 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/binto make openoffice use the odfconverter automatically
[root@localhost Download]# cp usr/lib/ooo-2.0/program/OdfConverter /usr/lib/openoffice/program/
(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/OdfConverterand.... we're off!!!
/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/
No comments:
Post a Comment