diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2020-07-27 11:27:00 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-07-27 16:40:12 +0200 |
commit | ca00470722ec7a7a7b190ca36a1f71da06ed6847 (patch) | |
tree | 5e559d4848ab8827916c9ea096d060759cbf5576 /wsd/ClientSession.hpp | |
parent | Notebookbar: Aesthetic fixes and make sure mobilewizard rules from mobile do ... (diff) | |
download | online-ca00470722ec7a7a7b190ca36a1f71da06ed6847.tar.gz online-ca00470722ec7a7a7b190ca36a1f71da06ed6847.zip |
allow saving a PDF, add "view_comment" state
This adds a "view_comment" in addition to "view" and "edit" state
into discovery.xml. In case it is enabled, the filters let the
comment commands through to core.
In addition add "Save Comment" menu action to allow saving the
comments, which is enabled when in "read-only" with "view_comment"
mode.
Change-Id: I3ab3dbee93ee2167ae96adea7025fc0b385f8201
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99473
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'wsd/ClientSession.hpp')
-rw-r--r-- | wsd/ClientSession.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wsd/ClientSession.hpp b/wsd/ClientSession.hpp index 9c9975c07a..f2a6baa1e1 100644 --- a/wsd/ClientSession.hpp +++ b/wsd/ClientSession.hpp @@ -38,7 +38,8 @@ public: void construct(); virtual ~ClientSession(); - void setReadOnly(bool bVal = true) override; + void setReadOnly(bool bValue = true) override; + void setLockFailed(const std::string& sReason); enum SessionState { |