Is there Anything Like Catdocs for reading .docx files?

Lars Bjørndal lars.bjorndal at broadpark.no
Mon Apr 20 06:38:55 UTC 2009


Daniel Dalton <d.dalton at iinet.net.au> writes:

> On Tue, Apr 14, 2009 at 09:40:57AM -0500, Martin McCormick wrote:
>> Daniel Dalton writes:
>> > unoconv -- converts between all openoffice formats from a quick scan of
>> > the man page. Generated a nice html file of a .doc file for me before,
>> > so this looks promising considering oo is always updated to stay current
>> > with microsofts new formats!
>> 
>> Do you have to run an X desktop like gnome and buy unoconv? My
>> primary linux system is great in the command line world but I am
>> not sure it can handle the extra load. When playing quicktime
>
> No. The software is free and gnome doesn't have to be running to use it!
> Here is the output of aptitude show unoconv (including dependencies,
> doesn't look too bad):
>
> Package: unoconv
> New: yes
> State: installed
> Automatically installed: no
> Version: 0.3-3
> Priority: extra
> Section: text
> Maintainer: Vincent Bernat <bernat at luffy.cx>
> Uncompressed Size: 66.6k
> Depends: python, python-uno
> Conflicts: odt2txt (<= 0.3-1)
> Description: converter between OpenOffice.org document formats
>  This package provides a commandline utility which can convert from any document
>  format that OpenOffice can import to any document format it can export. It uses
>  OpenOffice's UNO bindings for non-interactive conversion of documents. 
>  
>  Supported document formats include Open Document format, MS Word, MS Office
>  Open/MS OOXML, PDF, HTML, XHTML, RTF, Docbook, and more.
> Homepage: http://dag.wieers.com/home-made/unoconv/
...

I just tried to install unoconv on my machine, which does not have any
GNOME. Every time I run unoconv, I get the following oerror:

unoconv: UnoException during conversion: URL seems to be an unsupported one.
The provided document cannot be converted to the desired format.

The installed packages that I think makes sense here, is:

openoffice.org-pyuno-2.4.2-18.3.fc9.i386
unoconv-0.3-2.rf.noarch
openoffice.org-pyuno-2.4.2-18.3.fc9.i386
openoffice.org-base-2.4.2-18.3.fc9.i386
openoffice.org-headless-2.4.2-18.3.fc9.i386
openoffice.org-core-2.4.2-18.3.fc9.i386

My purpose right now, was to extract an logo (an image) from a doc
file. Not sure if this is supported by unoconv.

After installing openoffice.org-base, I was able to do unoconv --show,
it gives a huge list of formats. Still I get this error message
mentioned above.

Lars




More information about the Blinux-list mailing list