exporting/converting moodle's HTML content to WORD (.doc/.docx) file

exporting/converting moodle's HTML content to WORD (.doc/.docx) file

by Di Juwel -
Number of replies: 0

Hi

I have a large chunk of HTML code, including user uploaded images (stored in the "filedir" folder with data in "files" database table), styles from styles.css file and other CSS files and of course various HTML tags like italic, strong, href etc.

I want to generate a word file from this chunk.

does moodle have a built in way to do this? some kind of export function?

I know there is a MoodleExcellWorkbook class in /lib/excellib.php for exporting to excell.
is there something similar for word?

I've searched the "Plugins" section https://moodle.org/plugins/ and found only an export plugin for Question: https://moodle.org/plugins/qformat_wordtable

I have moodle 3.5.1 installed.

Average of ratings: -