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 have moodle 3.5.1 installed.