summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2013-06-03 12:33:38 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-06-04 11:40:14 +0100
commita1929fb6282e33770bced4c6a1cd9e0760947f9f (patch)
tree58b2f1856fb7e2ddcdc76f0a86b89d3351f5894e /include
parentebacea41751ed59b53a76aec70dddfd2d88aae84 (diff)
Resolves: #i122433# The sidebar ControllerItem can now...
give access to the extended help text for commands (cherry picked from commit 3f483a9219b9135f9f854d62b4ad0512d3752660) Conflicts: sfx2/inc/sfx2/sidebar/ControllerItem.hxx Change-Id: I22668e6f9c1c7aed174a43d7d3e04829dc6733ae Related: #i122433# fix build breaker invalid use of incomplete type 'struct Help' (cherry picked from commit 797e399967ffb1c28b8c32d328f5f57d79a8caf3) Change-Id: Ifde6fede9b91eb828c665a5a720b93171108e17b (cherry picked from commit 3b55196fb07c9101f0f0f51895a8083cbf5e78fc)
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/sidebar/ControllerItem.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sfx2/sidebar/ControllerItem.hxx b/include/sfx2/sidebar/ControllerItem.hxx
index 61d21ba36f63..70b4c3d3d7f3 100644
--- a/include/sfx2/sidebar/ControllerItem.hxx
+++ b/include/sfx2/sidebar/ControllerItem.hxx
@@ -100,6 +100,11 @@ public:
*/
::rtl::OUString GetLabel (void) const;
+ /** Return the extended help text for the command.
+ Returns an empty string when the UNO command name is not available.
+ */
+ ::rtl::OUString GetHelpText (void) const;
+
/** Return the icon for the command.
*/
Image GetIcon (void) const;