From 0d2e05a0b57723b9f3dddc3ef2ad59c1844d7697 Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Mon, 11 Oct 2021 09:03:01 +0200 Subject: Add OpenDocument flat mimetypes and x-office/drawing alias MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- core/img/filetypes/x-office-drawing.svg | 1 + core/js/mimetypelist.js | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 core/img/filetypes/x-office-drawing.svg (limited to 'core') diff --git a/core/img/filetypes/x-office-drawing.svg b/core/img/filetypes/x-office-drawing.svg new file mode 100644 index 00000000000..352347b6348 --- /dev/null +++ b/core/img/filetypes/x-office-drawing.svg @@ -0,0 +1 @@ + diff --git a/core/js/mimetypelist.js b/core/js/mimetypelist.js index bd9b2bd69f1..a891aeec95c 100644 --- a/core/js/mimetypelist.js +++ b/core/js/mimetypelist.js @@ -55,7 +55,13 @@ OC.MimeTypeList={ "application/vnd.oasis.opendocument.text": "x-office/document", "application/vnd.oasis.opendocument.text-master": "x-office/document", "application/vnd.oasis.opendocument.text-template": "x-office/document", + "application/vnd.oasis.opendocument.graphics": "x-office/drawing", + "application/vnd.oasis.opendocument.graphics-template": "x-office/drawing", "application/vnd.oasis.opendocument.text-web": "x-office/document", + "application/vnd.oasis.opendocument.text-flat-xml": "x-office/document", + "application/vnd.oasis.opendocument.spreadsheet-flat-xml": "x-office/spreadsheet", + "application/vnd.oasis.opendocument.graphics-flat-xml": "x-office/drawing", + "application/vnd.oasis.opendocument.presentation-flat-xml": "x-office/presentation", "application/vnd.openxmlformats-officedocument.presentationml.presentation": "x-office/presentation", "application/vnd.openxmlformats-officedocument.presentationml.slideshow": "x-office/presentation", "application/vnd.openxmlformats-officedocument.presentationml.template": "x-office/presentation", @@ -129,6 +135,7 @@ OC.MimeTypeList={ "text-vcard", "video", "x-office-document", + "x-office-drawing", "x-office-presentation", "x-office-spreadsheet" ], -- cgit v1.2.3