[sushi] src/js/viewers/evince.js: add docx/pptx/xlsx MIME types



commit 882d7972e782b9c7ae966da134c9e529561ca34b
Author: Robert McQueen <rob endlessm com>
Date:   Wed Apr 18 21:48:42 2018 +0100

    src/js/viewers/evince.js: add docx/pptx/xlsx MIME types
    
    Allow previewing of MS Office docs from this century.

 src/js/viewers/evince.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/js/viewers/evince.js b/src/js/viewers/evince.js
index 4c2be88..cb0c35b 100644
--- a/src/js/viewers/evince.js
+++ b/src/js/viewers/evince.js
@@ -183,6 +183,9 @@ let officeTypes = [
     'application/vnd.oasis.opendocument.text',
     'application/vnd.oasis.opendocument.presentation',
     'application/vnd.oasis.opendocument.spreadsheet',
+    'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
+    'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
+    'application/vnd.openxmlformats-officedocument.presentationml.presentation',
     'application/msword',
     'application/vnd.ms-excel',
     'application/vnd.ms-powerpoint',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]