unoconv converts between any document format that OpenOffice
understands. It uses OpenOffice's UNO bindings for non-interactive
conversion of documents.
Supported document formats include Open Document Format (.odt),
MS Word (.doc), MS Office Open/MS OOXML (.xml), Portable
Document Format (.pdf), HTML, XHTML, RTF, Docbook (.xml), and
more.