
Microsoft Word File Import/Export (Book)
This plugin supports importing a Microsoft Word docx-formatted file as chapters to a book. The file is split into chapters and subchapters based on the built-in heading styles "Heading 1" and "Heading 2" in Word. Embedded images are also imported if they are in web-compatible format (GIF, PNG, JPEG).
It imports .docx files only, not the older .doc format. The following Word versions support this format: Word 2007, Word 2010 and Word 2013 (on Windows); Word 2011 and Word 2016 (on MacOS). Note that files in.docm format (i.e. including macros) are not supported.
LibreOffice 5.x can also save files in .docx format, and they will import too, but generally the quality is not as good as those files saved from the native Word editor, even if the document uses the same built-in "Heading 1" and "Heading 2" styles well. Your mileage may vary.
Note also that the PHP XSL extension must be enabled on your webserver, and the plugin requires Moodle 2.7 or higher.
After installation, the Book administration menu should have a new item added, similar to the screenshot below. You must create a new book, or turn editing an existing book on, in order to see this menu.
The plugin can also be used to export books, or chapters from books, back into Word .doc format. In general heading elements in HTML are converted back into corresponding heading styles in Word, and so on with other styles. The goal is to make books that are round-trip editable in Word, although it is not quite there yet.
I've been trying to get the Image Converter to work on Windows 7 with Office 2016. When I run the Image converter, it appears to run for about 30-60s and ends with a notification that it's been disabled to avoid issues with Windows Defender. Windows Defender is disabled, but we are using Microsoft Security Essentials, which I did have an exception in to allow the file.
Would you have any suggestions?
Thanks,
John
Is there any easy/quick solution for editing bullets and numbers to ++L and ++S, as it is taking long time for 50+ pages word files.
Thanks.
I can't install the Microsoft Word file Import / Export (Book) update, I use Moodle 3.10. Currently the version that is installed on my Moodle is version 1.4.2 (Build: 2021040500) and it says that version 1.4.3 (Build: 2021040501) is available, but I can't install it.
Thanks for any answer!
I tested the new 1.4.6 version, but the export still a .doc file (not docx) without pictures.
Do I have to change something to get an export file with pictures?
TIA!
Csaba
On version 1.4.6, you must open exported Word files using Word 2020 on your PC, or else using the Word 365 web app. You will then see the pictures, and can save the file to .docx format. Previous versions of the plugin require you to install a custom Word template containing a VBA macro in order to post-process exported files so that you can see the images. The new mechanism in 1.4 is simpler and safer.