Best way to export html to Word without having MS Word installed?

后端 未结 11 2272
执笔经年
执笔经年 2020-12-10 03:13

Is there a way to export a simple HTML page to Word (.doc format, not .docx) without having Microsoft Word installed?

11条回答
  •  独厮守ぢ
    2020-12-10 03:30

    If you have only simple HTML pages as you said, it can be opened with Word.

    Otherwise, there are some libraries which can do this, but I don't have experience with them.

    My last idea is that if you are using ASP.NET, try to add application/msword to the header and you can save it as a Word document (it won't be a real Word doc, only an HTML renamed to doc to be able to open).

提交回复
热议问题