Moodle Plugins directory: Document Viewer | Moodle.org
Document Viewer
Document Viewer automatically converts office documents (Word, Excel, PowerPoint, OpenDocument, RTF) to PDF using LibreOffice and displays them as inline previews directly within Moodle. Students can view documents without downloading them.
Features:
- Automatic interception of resource file clicks on course pages — documents open in the built-in viewer instead of downloading.
- Per-resource controls for teachers to toggle preview and download visibility.
- Content-hash based PDF caching to avoid repeated conversions.
- Scheduled task for automatic cache cleanup.
- Privacy compliant — no personal data is stored.
Requirements:
- Moodle 4.5 or later
- LibreOffice installed on the server
Comments