Document Viewer
- Moodle 1.9–5.1
- 更新 2026-03-06
Moodle plugin that converts office documents to PDF and displays them as inline previews. Teachers can control preview and download settings per resource.
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
- 1.1.1Moodle 4.5, 5.0