Add optional converter for assignment submission attachment types
GENERAL
TESTING
GENERAL
TESTING
Description
is related to
relates to
Activity
Show:

Adrian Fish April 13, 2020 at 2:20 PM
Yes, I think it does. The fidelity of the POI conversion isn't great, it's what we're using for converting docx at the moment, in grader. It's just not great. Using LibreOffice seems to be a common approach, used by Moodle and Canvas (I think). The results of convering complex doc and docx files to PDF are pretty accurate.
Earle Nietzel April 13, 2020 at 1:50 PM
Does this solve and issue that a library like POI can't perform?
Add optional converter for assignment submission attachment types. Grader needs a way to preview document types, such as docx and doc, with a reasonable accuracy. The current document preview way of converting them to html on the fly is not satisfactory. The strategy will be to use LibreOffice Online to do the conversion. This service will either be available as a docker container on the same host as your Sakai installation, or available as a standalone service. If no service is enabled, fall back to link previewing, ie : downloading.