diff options
author | Tibor Nagy <tibor.nagy.extern@allotropia.de> | 2025-01-29 11:46:56 +0100 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2025-01-31 13:38:39 +0100 |
commit | 5f81c84e9b5d4bc9eb5ba05aa1aad5eeaa4eb89a (patch) | |
tree | 69b92f8a3f7a38667ab541102a581c0f98f8255a /sw/inc/view.hxx | |
parent | d2280c07bfc0887d8784aff04ac5ea20981b17b8 (diff) |
tdf#146549 sw: Make the formatting toolbar visible
when moving the cursor to an editable section in read-only mode.
Change-Id: I7ed5837eb627a3db00b1b64516b790cc7a3aea01
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180890
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'sw/inc/view.hxx')
-rw-r--r-- | sw/inc/view.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/inc/view.hxx b/sw/inc/view.hxx index 47e6bc6bf8a4..a958e08bb3c9 100644 --- a/sw/inc/view.hxx +++ b/sw/inc/view.hxx @@ -692,8 +692,10 @@ public: void NotifyCursor(SfxViewShell* pViewShell) const override; /// See SfxViewShell::GetColorConfigColor(). ::Color GetColorConfigColor(svtools::ColorConfigEntry nColorType) const override; - void ShowUIElement(const OUString& sElementURL) const; + void SetUIElementVisibility(const OUString& sElementURL, bool bShow) const; + void ShowUIElement(const OUString& sElementURL) const; + void HideUIElement(const OUString& sElementURL) const; enum CachedStringID { |