Repository navigation
Conversation
|
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
|
@micbar the {
"mime_type": "application/vnd.oasis.opendocument.spreadsheet-template",
"target_ext": "xlsx",
"app_providers": [
{
"address": "com.owncloud.api.collaboration.OnlyOffice",
"name": "OnlyOffice",
"description": "Open office documents with Collabora",
"icon": "https://onlyoffice.owncloud.test/web-apps/apps/documenteditor/main/resources/img/favicon.ico",
"secure_view": false,
"template": true
}
]
}Maybe we should also rename |
We agreed to remove {
"mime_type": "application/vnd.oasis.opendocument.spreadsheet-template",
"app_providers": [
{
"address": "com.owncloud.api.collaboration.OnlyOffice",
"name": "OnlyOffice",
"description": "Open office documents with Collabora",
"icon": "https://onlyoffice.owncloud.test/web-apps/apps/documenteditor/main/resources/img/favicon.ico",
"secure_view": false,
"target_ext": "xlsx",
}
]
} |
4f466bc to
b760377
Compare
jvillafanez
left a comment
There was a problem hiding this comment.
just a couple of minor things from me.
Signed-off-by: Michael Barz <[email protected]>
|
Template Files for WebOffice

Description
Adds server-side template processing for WebOffice
We are supporting the following mime types:
OnlyOffice
MimeType:
application/vnd.ms-word.template.macroenabled.12TargetExtension:
docxMimeType:
application/vnd.oasis.opendocument.text-templateTargetExtension:
docxMimeType:
application/vnd.openxmlformats-officedocument.wordprocessingml.templateTargetExtension:
docxMimeType:
application/vnd.oasis.opendocument.spreadsheet-templateTargetExtension:
xlsxMimeType:
application/vnd.ms-excel.template.macroenabled.12TargetExtension:
xlsxMimeType:
application/vnd.openxmlformats-officedocument.spreadsheetml.templateTargetExtension:
xlsxMimeType:
application/vnd.oasis.opendocument.presentation-templateTargetExtension:
pptxMimeType:
application/vnd.ms-powerpoint.template.macroenabled.12TargetExtension:
pptxMimeType:
application/vnd.openxmlformats-officedocument.presentationml.templateTargetExtension:
pptxCollabora
MimeType:
application/vnd.oasis.opendocument.spreadsheet-templateTargetExtension:
odsMimeType:
application/vnd.oasis.opendocument.text-templateTargetExtension:
odtMimeType:
application/vnd.oasis.opendocument.presentation-templateTargetExtension:
odpAPI
app/listWe have one new property.
target_ext- string with the suggested file extension when creating a new empty file from that template.{ "mime_type": "application/vnd.oasis.opendocument.spreadsheet-template", "app_providers": [ { "address": "com.owncloud.api.collaboration.OnlyOffice", "name": "OnlyOffice", "description": "Open office documents with Collabora", "icon": "https://onlyoffice.owncloud.test/web-apps/apps/documenteditor/main/resources/img/favicon.ico", "secure_view": false, "target_ext": "xlsx" } ] }app/openThere is a new parameter
template_idwhich takes a fileid. It should be used to specify the template which should be loaded during the open request.Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: