-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Template Files for WebOffice #10276
Template Files for WebOffice #10276
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a couple of minor things from me.
Signed-off-by: Michael Barz <[email protected]>
Quality Gate passedIssues Measures |
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.12
TargetExtension:
docx
MimeType:
application/vnd.oasis.opendocument.text-template
TargetExtension:
docx
MimeType:
application/vnd.openxmlformats-officedocument.wordprocessingml.template
TargetExtension:
docx
MimeType:
application/vnd.oasis.opendocument.spreadsheet-template
TargetExtension:
xlsx
MimeType:
application/vnd.ms-excel.template.macroenabled.12
TargetExtension:
xlsx
MimeType:
application/vnd.openxmlformats-officedocument.spreadsheetml.template
TargetExtension:
xlsx
MimeType:
application/vnd.oasis.opendocument.presentation-template
TargetExtension:
pptx
MimeType:
application/vnd.ms-powerpoint.template.macroenabled.12
TargetExtension:
pptx
MimeType:
application/vnd.openxmlformats-officedocument.presentationml.template
TargetExtension:
pptx
Collabora
MimeType:
application/vnd.oasis.opendocument.spreadsheet-template
TargetExtension:
ods
MimeType:
application/vnd.oasis.opendocument.text-template
TargetExtension:
odt
MimeType:
application/vnd.oasis.opendocument.presentation-template
TargetExtension:
odp
API
app/list
We have one new property.
target_ext
- string with the suggested file extension when creating a new empty file from that template.app/open
There is a new parameter
template_id
which 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: