diff options
author | Henry Castro <hcastro@collabora.com> | 2016-07-03 09:40:50 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2016-07-03 14:20:02 +0000 |
commit | bad68fd0b4a40062990c96a1a3f8d7a31bd84180 (patch) | |
tree | fcba9110e9fd416c2ffbe021d90725aa944134ad | |
parent | f41c20dc2384ba7765278adce0cd817781beb43a (diff) |
sd: add status bar UNO commands
Change-Id: I7da065edf76ccdbf9e410756c4d1fe81462975ed
Reviewed-on: https://gerrit.libreoffice.org/26881
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Henry Castro <hcastro@collabora.com>
-rw-r--r-- | desktop/source/lib/init.cxx | 5 | ||||
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 60553a66488a..7048da7cd32c 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -1006,7 +1006,10 @@ static void doc_iniUnoCommands () OUString(".uno:StatePageNumber"), OUString(".uno:StateWordCount"), OUString(".uno:PageStyleName"), - OUString(".uno:SelectionMode") + OUString(".uno:SelectionMode"), + OUString(".uno:PageStatus"), + OUString(".uno:LayoutStatus"), + OUString(".uno:Context") }; util::URL aCommandURL; diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 934c6b2bcb3c..116d7b6f3dfe 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1039,7 +1039,10 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c aEvent.FeatureURL.Path == "StateTableCell" || aEvent.FeatureURL.Path == "StatePageNumber" || aEvent.FeatureURL.Path == "StateWordCount" || - aEvent.FeatureURL.Path == "PageStyleName") + aEvent.FeatureURL.Path == "PageStyleName" || + aEvent.FeatureURL.Path == "PageStatus" || + aEvent.FeatureURL.Path == "LayoutStatus" || + aEvent.FeatureURL.Path == "Context") { OUString aString; |