summaryrefslogtreecommitdiff
path: root/include/vcl/commandinfoprovider.hxx
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2020-03-03 13:57:24 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2020-03-11 12:43:44 +0100
commiteeeed08b428685dd7934c4576f1bf4aa7436f96a (patch)
tree3741ee1cb472a42ef776fff147d8608a75bfdab1 /include/vcl/commandinfoprovider.hxx
parentdc4a291b900fd4786e9e9e7515c3a8675a8c3467 (diff)
tdf#125440 Allow raising text import dialog for paste
This adds an entry to the "Paste special" dialog to raise the Text Import Dialog. This way, users can correctly import CSV/TSV, even when pasting just one line of formatted input. Change-Id: Ic09d7d60a05b14906f166668b38ec0eb8ead2d19 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89886 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include/vcl/commandinfoprovider.hxx')
-rw-r--r--include/vcl/commandinfoprovider.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/commandinfoprovider.hxx b/include/vcl/commandinfoprovider.hxx
index d4ae3a008bd2..da79c18b7ced 100644
--- a/include/vcl/commandinfoprovider.hxx
+++ b/include/vcl/commandinfoprovider.hxx
@@ -53,6 +53,8 @@ namespace vcl { namespace CommandInfoProvider {
VCL_DLLPUBLIC OUString GetPopupLabelForCommand(const css::uno::Sequence<css::beans::PropertyValue>& rProperties);
+ VCL_DLLPUBLIC OUString GetTooltipLabelForCommand(const css::uno::Sequence<css::beans::PropertyValue>& rProperties);
+
/** 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: