[Libreoffice-commits] core.git: desktop/source sfx2/source

Szymon KÅ‚os (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 11 08:34:32 UTC 2020


 desktop/source/lib/init.cxx      |   20 +++++++++++++++++++-
 sfx2/source/control/unoctitm.cxx |   16 ++++++++++++++++
 2 files changed, 35 insertions(+), 1 deletion(-)

New commits:
commit 48215f9e925c6dfda1c75f97c381ae5a724345d9
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Mon Aug 3 12:15:17 2020 +0200
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Tue Aug 11 10:33:41 2020 +0200

    lok: state updates for commands in Writer
    
    Change-Id: Id3d429ff4788abce03e9d7c5522655f362d6c249
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99996
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100458
    Tested-by: Jenkins

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index db6dc07262a0..db2a16179bfe 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -2801,7 +2801,25 @@ static void doc_iniUnoCommands ()
         OUString(".uno:RejectTrackedChange"),
         OUString(".uno:FreezePanesColumn"),
         OUString(".uno:FreezePanesRow"),
-        OUString(".uno:ShowResolvedAnnotations")
+        OUString(".uno:ShowResolvedAnnotations"),
+        OUString(".uno:FreezePanesColumn"),
+        OUString(".uno:InsertBreak"),
+        OUString(".uno:InsertEndnote"),
+        OUString(".uno:InsertFootnote"),
+        OUString(".uno:InsertReferenceField"),
+        OUString(".uno:InsertBookmark"),
+        OUString(".uno:InsertAuthoritiesEntry"),
+        OUString(".uno:InsertMultiIndex"),
+        OUString(".uno:InsertField"),
+        OUString(".uno:InsertPageNumberField"),
+        OUString(".uno:InsertPageCountField"),
+        OUString(".uno:InsertDateField"),
+        OUString(".uno:InsertTitleField"),
+        OUString(".uno:InsertFieldCtrl"),
+        OUString(".uno:CharmapControl"),
+        OUString(".uno:EnterGroup"),
+        OUString(".uno:LeaveGroup"),
+        OUString(".uno:FreezePanesRow")
     };
 
     util::URL aCommandURL;
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 125c243aa9c6..e66edd9313ea 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1136,6 +1136,22 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra
              aEvent.FeatureURL.Path == "FormatLine" ||
              aEvent.FeatureURL.Path == "FormatColumns" ||
              aEvent.FeatureURL.Path == "Watermark" ||
+             aEvent.FeatureURL.Path == "InsertBreak" ||
+             aEvent.FeatureURL.Path == "InsertEndnote" ||
+             aEvent.FeatureURL.Path == "InsertFootnote" ||
+             aEvent.FeatureURL.Path == "InsertReferenceField" ||
+             aEvent.FeatureURL.Path == "InsertBookmark" ||
+             aEvent.FeatureURL.Path == "InsertAuthoritiesEntry" ||
+             aEvent.FeatureURL.Path == "InsertMultiIndex" ||
+             aEvent.FeatureURL.Path == "InsertField" ||
+             aEvent.FeatureURL.Path == "InsertPageNumberField" ||
+             aEvent.FeatureURL.Path == "InsertPageCountField" ||
+             aEvent.FeatureURL.Path == "InsertDateField" ||
+             aEvent.FeatureURL.Path == "InsertTitleField" ||
+             aEvent.FeatureURL.Path == "InsertFieldCtrl" ||
+             aEvent.FeatureURL.Path == "CharmapControl" ||
+             aEvent.FeatureURL.Path == "EnterGroup" ||
+             aEvent.FeatureURL.Path == "LeaveGroup" ||
              aEvent.FeatureURL.Path == "ResetAttributes")
     {
         aBuffer.append(aEvent.IsEnabled ? OUStringLiteral("enabled") : OUStringLiteral("disabled"));


More information about the Libreoffice-commits mailing list