create word doc file from linux command line

前端 未结 2 413
情深已故
情深已故 2021-01-24 01:44

I have some HTML files that I need to distribute in MS Word doc format (don\'t ask!). I can manually open each in OpenOffice and then save as a doc file. But I have quite a few

2条回答
  •  醉酒成梦
    2021-01-24 02:23

    Havn't tested but there is pyuno package to access OpenOffice API and following program show some ways to do like that.

    ooextract.py

    A command line tool, that extracts the text, html or pdf content from a StarWriter document and writes it to a different file or (optionally) prints it to stdout (grep your office documents).

提交回复
热议问题