I need to convert PDF or HTML+CSS into DOC or DOCX under Linux, it can be from the command line or with a scripting language.
Any idea?
|
feedback
|
This question came from our site for professional and enthusiast programmers.
|
You might be able to do the latter using OpenOffice from the command line. There are also bridges for Scripting languages - find out more on OpenOffice's website. There is one for PHP called PUNO, however I have no personal experience with it yet. | |||
feedback
|
|
You can convert HTML into .doc using an OpenOffice macro, see this thread: http://www.oooforum.org/forum/viewtopic.phtml?p=44367#44367 converting pdf to .doc is much harder, due the multitude of different content that could be inside a PDF - quite often PDFs are used for things such as scanned text. | |||
|
feedback
|
|
You can use Word can open html files directly. | |||
|
feedback
|