Kaydet (Commit) 467324f1 authored tarafından Henry Castro's avatar Henry Castro Kaydeden (comit) Jan Holesovsky

lok: intercept the UNO command ".uno:EditRegion"

Change-Id: I3a1072e6ededbd0322c4b1dcd0ef4b16ace219d1
Reviewed-on: https://gerrit.libreoffice.org/67478Reviewed-by: 's avatarJan Holesovsky <kendy@collabora.com>
Tested-by: 's avatarJan Holesovsky <kendy@collabora.com>
(cherry picked from commit 32555d9b)
Reviewed-on: https://gerrit.libreoffice.org/67482
Tested-by: Jenkins
üst 6287a4f0
......@@ -1992,7 +1992,8 @@ static void doc_iniUnoCommands ()
OUString(".uno:InsertPageHeader"),
OUString(".uno:InsertPageFooter"),
OUString(".uno:OnlineAutoFormat"),
OUString(".uno:InsertSymbol")
OUString(".uno:InsertSymbol"),
OUString(".uno:EditRegion")
};
util::URL aCommandURL;
......
......@@ -1078,7 +1078,8 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
aEvent.FeatureURL.Path == "ParagraphDialog" ||
aEvent.FeatureURL.Path == "OutlineBullet" ||
aEvent.FeatureURL.Path == "InsertIndexesEntry" ||
aEvent.FeatureURL.Path == "TransformDialog")
aEvent.FeatureURL.Path == "TransformDialog" ||
aEvent.FeatureURL.Path == "EditRegion")
{
aBuffer.append(aEvent.IsEnabled ? OUString("enabled") : OUString("disabled"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment