diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-02-05 23:22:37 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-02-05 23:22:37 +0300 |
commit | dcdebbae00a2bfed9b0969b0138c1b2693ce6df2 (patch) | |
tree | 152d6a60afd04026c8c5f0eb5c2df9f125875094 | |
parent | 5c38800f79ebd18cc9271cdc099615b5a982b02f (diff) |
Use the proper old templates
else creating a new file leads to a non saveable template on 3.x
collabora
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
-rw-r--r-- | appinfo/app.php | 6 | ||||
-rw-r--r-- | assets/template.odp | bin | 0 -> 13090 bytes | |||
-rw-r--r-- | assets/template.ods | bin | 0 -> 7134 bytes | |||
-rw-r--r-- | assets/template.odt | bin | 0 -> 7938 bytes |
4 files changed, 3 insertions, 3 deletions
diff --git a/appinfo/app.php b/appinfo/app.php index cfecd257..b996505e 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -58,9 +58,9 @@ if (class_exists('\OC\Files\Type\TemplateManager')) { $manager->registerTemplate('application/vnd.openxmlformats-officedocument.wordprocessingml.document', dirname(__DIR__) . '/assets/docxtemplate.docx'); $manager->registerTemplate('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', dirname(__DIR__) . '/assets/xlsxtemplate.xlsx'); $manager->registerTemplate('application/vnd.openxmlformats-officedocument.presentationml.presentation', dirname(__DIR__) . '/assets/pptxtemplate.pptx'); - $manager->registerTemplate('application/vnd.oasis.opendocument.presentation', dirname(__DIR__) . '/assets/presentation.otp'); - $manager->registerTemplate('application/vnd.oasis.opendocument.text', dirname(__DIR__) . '/assets/document.ott'); - $manager->registerTemplate('application/vnd.oasis.opendocument.spreadsheet', dirname(__DIR__) . '/assets/spreadsheet.ots'); + $manager->registerTemplate('application/vnd.oasis.opendocument.presentation', dirname(__DIR__) . '/assets/template.odp'); + $manager->registerTemplate('application/vnd.oasis.opendocument.text', dirname(__DIR__) . '/assets/template.odt'); + $manager->registerTemplate('application/vnd.oasis.opendocument.spreadsheet', dirname(__DIR__) . '/assets/template.ods'); } diff --git a/assets/template.odp b/assets/template.odp Binary files differnew file mode 100644 index 00000000..3800a491 --- /dev/null +++ b/assets/template.odp diff --git a/assets/template.ods b/assets/template.ods Binary files differnew file mode 100644 index 00000000..998ea21b --- /dev/null +++ b/assets/template.ods diff --git a/assets/template.odt b/assets/template.odt Binary files differnew file mode 100644 index 00000000..4717040f --- /dev/null +++ b/assets/template.odt |