Moodle plugins directory: Microsoft Word File Import (Atto) | Moodle.org
Microsoft Word File Import (Atto)
This plugin allows users import the entire contents of a Word 2010 (or later) file as clean HTML, retaining formatting such as headings, lists, bold and italic. The heading styles in Word such as "Heading 1" are mapped to corresponding tags in HTML such as h3, h4 (the "Heading 1" style is mapped to h3, etc.). For best results, the imported Word files should be well-styled, i.e. use standard Word named styles (e.g. "Heading 1", "List Bullet") as much as possible.
It supports .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 native Word files, even if the document uses styles well.
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 Atto editing toolbar should have a new Word icon added to the files group, similar to the screenshot below.
You can click on the link to open the file selection dialog, or alternatively, just drag a file over the text area and it will be imported and converted.
table { margin-bottom:1.5em;box-shadow:0.8em 0.8em 0.8em 0.4em #888;table-layout:fixed}
table, td, th { border:1px solid blue}
tr { vertical-align:top;}
thead tr { background-color:blue;color:white;}
tbody > tr:nth-child(2n+1) {background-color:gray}
I have somehow been managing it by aligning the text to the left after importing, even though all punctuation marks are aligned to the left. I can’t continue any further because all texts with bullets are RLT and there’s no way to rearrange them.
What should I do to fix this? I need help! It will take forever to type in lesson contents. How do I go about this please?
1. Import into the Atto field
2. Expand the Atto edit field toolbar and turn on the source HTML view, (the icon with ">").
3. Copy all the text and paste to an external editor.
4. Search for and delete the strings 'direction:rtl;' and ' dir="rtl"'. These strings are telling the browser to display as RTL.
5. Copy and paste the text back into the Atto edit field, and then revert to the normal WYSIWYIG view.
A larger issue is that the conversion process retains formatting but doesn't seem to use the native Word styles such as Headings, List Bullet, etc. The results will be relatively poor unless you reformat the Word document to use these styles. Another issue is that importing large Word files into a single Moodle Page resource is not the best way to present long narrative text. The Moodle Book resource is better for long documents, and you can use the Microsoft Word file Import/Export (Book) plugin (cf. https://moodle.org/plugins/booktool_wordimport) to import convert Word files and split them into sub-pages by heading.
I can’t thank you enough for sparing your time to help me make this work. Thank you Again!