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

Henry Castro hcastro at collabora.com
Sun Jul 3 03:59:21 UTC 2016


 desktop/source/lib/init.cxx      |    6 +++++-
 sfx2/source/control/unoctitm.cxx |    8 ++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)

New commits:
commit f41c20dc2384ba7765278adce0cd817781beb43a
Author: Henry Castro <hcastro at collabora.com>
Date:   Sat Jul 2 23:25:28 2016 -0400

    sw lok: add status bar UNO commands
    
    Change-Id: I4ffa3a3e07d00cfac48e67a0c32e85de0eda803d
    Reviewed-on: https://gerrit.libreoffice.org/26876
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Henry Castro <hcastro at collabora.com>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index ad60d39..60553a6 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1002,7 +1002,11 @@ static void doc_iniUnoCommands ()
         OUString(".uno:Position"),
         OUString(".uno:StateTableCell"),
         OUString(".uno:StatusBarFunc"),
-        OUString(".uno:Size")
+        OUString(".uno:Size"),
+        OUString(".uno:StatePageNumber"),
+        OUString(".uno:StateWordCount"),
+        OUString(".uno:PageStyleName"),
+        OUString(".uno:SelectionMode")
     };
 
     util::URL aCommandURL;
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 1711553..934c6b2 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1023,7 +1023,8 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
     }
     else if (aEvent.FeatureURL.Path == "AssignLayout" ||
              aEvent.FeatureURL.Path == "StatusSelectionMode" ||
-             aEvent.FeatureURL.Path == "Signature")
+             aEvent.FeatureURL.Path == "Signature" ||
+             aEvent.FeatureURL.Path == "SelectionMode")
     {
         sal_Int32 aInt32;
 
@@ -1035,7 +1036,10 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
     else if (aEvent.FeatureURL.Path == "StatusDocPos" ||
              aEvent.FeatureURL.Path == "RowColSelCount" ||
              aEvent.FeatureURL.Path == "StatusPageStyle" ||
-             aEvent.FeatureURL.Path == "StateTableCell")
+             aEvent.FeatureURL.Path == "StateTableCell" ||
+             aEvent.FeatureURL.Path == "StatePageNumber" ||
+             aEvent.FeatureURL.Path == "StateWordCount" ||
+             aEvent.FeatureURL.Path == "PageStyleName")
     {
         OUString aString;
 


More information about the Libreoffice-commits mailing list