Moodle Plugins directory: Microsoft Word file Import/Export (Lesson) | Moodle.org
Microsoft Word file Import/Export (Lesson)
This plugin allows you to import Word files into a Lesson as pages, and export a Lesson into a Word file for offline review. On import, a separate page is created at each Heading 1 style in the Word file. When exporting lessons that include images, you must use Word 2020 or Word 365 to open the exported file, as images are embedded in a format that is not suitable for earlier versions of Word.
Only Lesson content pages can be imported, but question pages are exported in a readable format.
Thank you and appreciate your support!
thanks for providing this plugin.
I'm not really able to get it working. I can see the import and Export to Word Option, but when I try to import a Word document, I get a database error ans when I try to export an existing Lesson, I get an "XSLT transformation failed".
Any hints what's wrong?
Thank you and appreciate your support!
By comparison, the upgrade to "Microsoft Word file Import/Export (Book) booktool_wordimport 1.4.14 (Build: 2025042300)" did not complain about the qformat_wordtable's 3.9.7 (Build: 2025042300) version.
I get this fatal error:
Fatal error: Trait "local_lesson_wordimport\privacy\core_privacy\local\legacy_polyfill" not found in /var/www/html/moodle/local/lesson_wordimport/classes/privacy/provider.php on line 33
and the report page completely fails to load.
I believe the right fix is here https://github.com/ecampbell/moodle-local_lesson_wordimport/issues/3 , and should be merged and released.