Converting HTML to odt, doc, docx

拥有回忆 提交于 2019-12-03 12:35:56
Zsolt Botykai

To convert to odt it's pretty easy after installing pandoc.

After the relatively hard part: from odt (or even html) you can script (Open|Libre)Office via e.g. unoconv

Or you can like:

abiword --to=doc filename.odt

Also see this thread, and this blog post.

HTH

I found soultion - is abiword in console variant.

If you want to convert HTML into docx you may use a solution like PHPDocX. You need to get the PRO version though because the free one does not include the conversion functionality.

If you're on ruby there is a gem based on libreoffice headless (with pyod/jod converter) and pdf tools

https://github.com/itkin/proselytism.git

Post with your issues to the pandoc GoogleGroup, John is very responsive in every way.

You may even find the latest release v1.9 may fix your problem, or maybe you just need to get to know the toolset in more detail.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!