[tools] unoconv to convert ODT to XHTML
Dag Wieers
dag at wieers.com
Mon Oct 8 18:10:12 CEST 2007
On Mon, 8 Oct 2007, Dave Crossland wrote:
> I hoped to use unoconv to convert ODT documents to XHTML, since the
> standard HTML "save as" functionality is so awful. But it doesn't
> work:
>
> $ unoconv -f xhtml -d document document.odt
> unoconv: UnoException during conversion:
> The provided document cannot be converted to the desired format.
> $
>
> I'm unclear if its possible at all, though. Any tips? :-)
Can you do it from within OpenOffice ?
We are just using the UNO bindings so we cannot convert things that
OpenOffice cannot do either.
Besides, it is written in Python, so you can simply debug what is going on
yourself. The script is pretty straightforward.
--
-- dag wieers, dag at wieers.com, http://dag.wieers.com/ --
[Any errors in spelling, tact or fact are transmission errors]
More information about the tools
mailing list