Answer the question
In order to leave comments, you need to log in
How to overtake HTML to DOC - do you need suggestions (php-scripts / unix-utilities)?
The user in the admin panel edits the text in a WYSIWYG editor (TinyMCE), then clicks the Save to Word button and receives a doc (docx) file with the same text inside.
What do you recommend for converting html to doc format? Moreover, it is not necessary to consider only the php implementation, you can use some Unix utilities, if they are better)
ps: by the way, the option to save the html code to a file with the .doc extension is not considered, because this is not a full-fledged Word file .
Answer the question
In order to leave comments, you need to log in
Google search: "convert html to docx linux".
Here we find:
soffice -headless -convert-to pdf -outdir pdfs/ *.html
soffice -headless -convert-to doc -outdir docs/ *.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question