summaryrefslogtreecommitdiffstats
path: root/include/vcl/commandinfoprovider.hxx
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-11-17 12:08:30 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-11-17 12:12:11 +0100
commit81ff7cfddb8e6786529f0a878007e9d399d4908a (patch)
tree3d944085db21ebcfa18c38631d2aaa3556e6c7a1 /include/vcl/commandinfoprovider.hxx
parentWaE: loplugin:stringconstant (diff)
downloadcore-81ff7cfddb8e6786529f0a878007e9d399d4908a.tar.gz
core-81ff7cfddb8e6786529f0a878007e9d399d4908a.zip
tdf#95845 Add methods for menu labels to CommandInfoProvider
Change-Id: Ibf6a26940ec194f540255584776f8ebcefbb94ae
Diffstat (limited to 'include/vcl/commandinfoprovider.hxx')
-rw-r--r--include/vcl/commandinfoprovider.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/vcl/commandinfoprovider.hxx b/include/vcl/commandinfoprovider.hxx
index 3d98296d1f3e..c790fedacf67 100644
--- a/include/vcl/commandinfoprovider.hxx
+++ b/include/vcl/commandinfoprovider.hxx
@@ -59,6 +59,14 @@ public:
const OUString& rsCommandName,
const css::uno::Reference<css::frame::XFrame>& rxFrame);
+ OUString GetMenuLabelForCommand (
+ const OUString& rsCommandName,
+ const css::uno::Reference<css::frame::XFrame>& rxFrame);
+
+ OUString GetPopupLabelForCommand (
+ const OUString& rsCommandName,
+ const css::uno::Reference<css::frame::XFrame>& rxFrame);
+
/** Return a tooltip for the given command. Falls back to label if command has no tooltip.
@param rsCommandName
The command name is expected to start with .uno: