wsd/reference.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
New commits: commit 9d535ca76d652734c138fea3eae40190211e5f71 Author: Jan Holesovsky <[email protected]> AuthorDate: Fri Nov 8 12:06:41 2019 +0100 Commit: Jan Holesovsky <[email protected]> CommitDate: Fri Nov 8 13:53:44 2019 +0100 Deprecate TemplateSaveAs and document TemplateSource. Change-Id: Ic9c7bed3ebcf2356470323804bca957acafcbf23 Reviewed-on: https://gerrit.libreoffice.org/82284 Reviewed-by: Jan Holesovsky <[email protected]> Tested-by: Jan Holesovsky <[email protected]> diff --git a/wsd/reference.md b/wsd/reference.md index a0163dd80..2d485145b 100644 --- a/wsd/reference.md +++ b/wsd/reference.md @@ -59,10 +59,12 @@ A string for the domain the host page sends/receives PostMessages from, we only ### Size Size of the file in bytes (64bit) -### TemplateSaveAs -In case this file should be treated as a template, the file name (potentially including a suitable path - that the WOPI host has to interpret) will be used as the real name under which the resulting file will be stored. +### TemplateSource +The ID of file (like the wopi/files/ID) can be a non-existing file. In that case, the file will be created from a template when the template (eg. an OTT file) is specifiend as "TemplateSource" in the CheckFileInfo response. -Storing the file resulting from a template uses the normal PutRelativeFile workflow, which means a new CheckFileInfo will have to be sent upon load of the resulting file. +The TemplateSource is supposed to be an URL like https://somewhere/accessible/file.ott that is accessible by the Online. + +For the actual saving of the content, normal PutFile mechanism will be used. ### UserCanWrite A boolean flag, indicating whether the user has permission to edit and/or over-write the file. If not set PutFile will fail. _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
