[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.1' - desktop/source sfx2/source
Henry Castro
hcastro at collabora.com
Sun Jul 3 04:06:40 UTC 2016
desktop/source/lib/init.cxx | 6 +++++-
sfx2/source/control/unoctitm.cxx | 8 ++++++--
2 files changed, 11 insertions(+), 3 deletions(-)
New commits:
commit 6e90945e3e878e670ebdafc71ab82f7ec5757698
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 5a808a7..32800b0 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -808,7 +808,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 8321bbe..d4a1cba 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1143,7 +1143,8 @@ void SfxDispatchController_Impl::InterceptLOKStateChangeEvent(const SfxObjectShe
}
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;
@@ -1155,7 +1156,10 @@ void SfxDispatchController_Impl::InterceptLOKStateChangeEvent(const SfxObjectShe
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