From 5f81c84e9b5d4bc9eb5ba05aa1aad5eeaa4eb89a Mon Sep 17 00:00:00 2001 From: Tibor Nagy Date: Wed, 29 Jan 2025 11:46:56 +0100 Subject: 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 --- sw/inc/view.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sw/inc/view.hxx') 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 { -- cgit