Merge pull request #4509 from owncloud/add-odf-templates-master
adding file templates for ods, odt and odp
This commit is contained in:
commit
a1d5aba5fd
4 changed files with 3 additions and 1 deletions
|
@ -24,4 +24,6 @@ OC_Search::registerProvider('OC_Search_Provider_File');
|
|||
|
||||
$templateManager = OC_Helper::getFileTemplateManager();
|
||||
$templateManager->registerTemplate('text/html', 'core/templates/filetemplates/template.html');
|
||||
|
||||
$templateManager->registerTemplate('application/vnd.oasis.opendocument.presentation', 'core/templates/filetemplates/template.odp');
|
||||
$templateManager->registerTemplate('application/vnd.oasis.opendocument.text', 'core/templates/filetemplates/template.odt');
|
||||
$templateManager->registerTemplate('application/vnd.oasis.opendocument.spreadsheet', 'core/templates/filetemplates/template.ods');
|
||||
|
|
BIN
core/templates/filetemplates/template.odp
Normal file
BIN
core/templates/filetemplates/template.odp
Normal file
Binary file not shown.
BIN
core/templates/filetemplates/template.ods
Normal file
BIN
core/templates/filetemplates/template.ods
Normal file
Binary file not shown.
BIN
core/templates/filetemplates/template.odt
Normal file
BIN
core/templates/filetemplates/template.odt
Normal file
Binary file not shown.
Loading…
Reference in a new issue