Microsoft Word File Import/Export (Question Format)
Maintained by
Eoin Campbell
Import questions (including images and equations) from structured tables in a Word file (.docx format) into a course question bank, and also export questions to a Word file, allowing for round-trip editing.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
PHP Warning: DOMDocument::load(): Opening and ending tag mismatch: td line 11 and font in file:///D:/moodle2/data/temp/wt26E31.tmp, line: 11 in D:\moodle2\www\question\format\wordtable\xsl_emulate_xslt.inc on line 46
PHP Warning: DOMDocument::load(): Opening and ending tag mismatch: tr line 11 and span in file:///D:/moodle2/data/temp/wt26E31.tmp, line: 11 in D:\moodle2\www\question\format\wordtable\xsl_emulate_xslt.inc on line 46
PHP Warning: DOMDocument::load(): Opening and ending tag mismatch: tbody line 10 and p in file:///D:/moodle2/data/temp/wt26E31.tmp, line: 11 in D:\moodle2\www\question\format\wordtable\xsl_emulate_xslt.inc on line 46
PHP Warning: DOMDocument::load(): Opening and ending tag mismatch: font line 11 and td in file:///D:/moodle2/data/temp/wt26E31.tmp, line: 11 in D:\moodle2\www\question\format\wordtable\xsl_emulate_xslt.inc on line 46
Any ideas on how we can fix it?
Validation failed!Help with Validation failed!
Status Message Info
OK Name of the add-on to be installedHelp with Name of the add-on to be installed
wordtable
Error Add-on does not declare its version
Any hints?
Thanks, Giancarlo
i install plugin in my server but After exporting quiz it shows only blank word file.
I cannot seem to be able to import or export from the moodlequiz course in www.moodle2word.net. I get the error below:
Sorry, but you do not currently have permissions to do that (access question edit tab import)
More information about this error
Debug info:
Error code: nopermissions
Stack trace:
line 463 of /lib/setuplib.php: moodle_exception thrown
line 1697 of /lib/questionlib.php: call to print_error()
line 1674 of /question/editlib.php: call to question_edit_contexts->require_one_edit_tab_cap()
line 33 of /question/import.php: call to question_edit_setup()
Do you have the option to import and export from that course for free removed?
Thank you
1. Exported Word file format
When you export questions to Word format, the file has a '.doc' suffix, but inside, it's really HTML, with some extra Word-specific content that helps Word format it nicely. However, the plugin cannot re-import this format directly, you must first save it in true Word 2003 (.doc) format, which is a non-text binary format.
If you save the file using the "File > Save" command, or using +S, Word automatically saves it in the original HTML format. You must manually override this by saving the file using the "File > Save As..." command instead. Word detects that it is really HTML, and so it sets the "Save as type" field to HTML by default. You must manually override this setting and choose "Word 97-2003 Document" instead. Ideally, I should write some VBA code to do this automatically, but it isn't that easy.
2. Question import limited to 5 questions
When you install the plugin on your own server, there is a default limit of 5 questions that can be imported in a single Word file. To remove this limit, you must purchase an annual subscription which costs €200 for your whole site. To avoid this subscription, you could use the public www.moodle2word.net Moodle server instead.
The question import facility relies on a commercial web-based Word to XML conversion service, so cannot be made free.
3. Question import errors
The error messages are caused by the fact that you are using a "Heading 3" style inside the table cell intended for the question stem. The "Heading 3" style is reserved for the question name. If you set the "Stop on error" flag to "No" when importing the questions, then they will all import correctly.
Incorrect Word format: please use File>Save As... to save questions-EXP001-Default for 6530Spr11-20140212-1713.doc in native Word (.doc) format and import again
The only way I am able to import it properly is if I open it in word and save it as a .doc file. When I do a save as on the document in word it initially shows it as a .htm file.
When I do change it to a .doc and try to import it I am running into problems with it properly importing all of the questions. In multiple tests on a set of 10 questions it only imported 5 of the questions during both tests.
In another tests I ran into this error:
Error importing question Question type {$a} is not supported by XML import
Error importing question Question type {$a} is not supported by XML import
Error importing question Question type {$a} is not supported by XML import
The only types of questions on the exam were essay and description questions which are both default Moodle question types. There were 3 of the description question types so I imagine it has a hard time with these.
I can't imagine what I am doing wrong with the plugin. I am using it according to the documentation. I am using it on a 2.4.6+ portal (Build: 20131018)
I just wanted to offer my feedback on here to see if anyone else was experiencing the same issues or if I was alone on this one.
Could you please update the link for 'More documentation on this plugin' to point to http://docs.moodle.org/25/en/Word_table_format ?
Thanks in advance.