diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-12-06 17:32:53 +0530 |
---|---|---|
committer | Pranav Kant <pranavk@collabora.co.uk> | 2017-12-06 17:34:13 +0530 |
commit | 98da350c7c9bcb96937f1397a34c2c68ede44011 (patch) | |
tree | c128f5bfec3955f5e1deb4b09938623e09f66384 | |
parent | 1c58b047d117bb087abc571b74c06cdf7499b1a0 (diff) |
lokdialog: State change events for dialogs uno commands
Change-Id: I92f60e717cd2a0695c8b86b103076d26c0c22cef
-rw-r--r-- | desktop/source/lib/init.cxx | 8 | ||||
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index b5bc0f56a845..94afb956ebc7 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -1741,7 +1741,13 @@ static void doc_iniUnoCommands () OUString(".uno:NextTrackedChange"), OUString(".uno:PreviousTrackedChange"), OUString(".uno:AcceptAllTrackedChanges"), - OUString(".uno:RejectAllTrackedChanges") + OUString(".uno:RejectAllTrackedChanges"), + OUString(".uno:TableDialog"), + OUString(".uno:FormatCellDialog"), + OUString(".uno:FontDialog"), + OUString(".uno:ParagraphDialog"), + OUString(".uno:OutlineBullet"), + OUString(".uno:InsertIndexesEntry") }; util::URL aCommandURL; diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index af1df14d68a8..9fd42581036f 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1085,7 +1085,13 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c aEvent.FeatureURL.Path == "SortAscending" || aEvent.FeatureURL.Path == "SortDescending" || aEvent.FeatureURL.Path == "AcceptAllTrackedChanges" || - aEvent.FeatureURL.Path == "RejectAllTrackedChanges") + aEvent.FeatureURL.Path == "RejectAllTrackedChanges" || + aEvent.FeatureURL.Path == "TableDialog" || + aEvent.FeatureURL.Path == "FormatCellDialog" || + aEvent.FeatureURL.Path == "FontDialog" || + aEvent.FeatureURL.Path == "ParagraphDialog" || + aEvent.FeatureURL.Path == "OutlineBullet" || + aEvent.FeatureURL.Path == "InsertIndexesEntry") { aBuffer.append(aEvent.IsEnabled ? OUString("enabled") : OUString("disabled")); |