From 180a0688127fc2d3ee337a0c6e38fb573231f3b3 Mon Sep 17 00:00:00 2001 From: heiko tietze Date: Mon, 8 Apr 2019 14:35:46 +0200 Subject: Resolves: tdf#124552 - Sentence selection UNO action UNO command SelectSentence / FN_SELECT_SENTENCE added executing SelSentence() Change-Id: Idcd528cf2915b30a59a9916dcff14d60d01dcd74 Reviewed-on: https://gerrit.libreoffice.org/70411 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky Tested-by: Maxim Monastirsky --- sw/sdi/_textsh.sdi | 5 +++++ sw/sdi/swriter.sdi | 17 +++++++++++++++++ 2 files changed, 22 insertions(+) (limited to 'sw/sdi') diff --git a/sw/sdi/_textsh.sdi b/sw/sdi/_textsh.sdi index b1615db79a55..e90b752eec17 100644 --- a/sw/sdi/_textsh.sdi +++ b/sw/sdi/_textsh.sdi @@ -445,6 +445,11 @@ interface BaseText StateMethod = NoState ; ] SID_SELECTALL // status(final|play) + [ + ExecMethod = ExecMove ; + StateMethod = NoState ; + ] + FN_SELECT_SENTENCE // status(final|play) [ ExecMethod = ExecMove ; StateMethod = NoState ; diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi index 5f1ae9e9e09e..9ccc84af77ff 100644 --- a/sw/sdi/swriter.sdi +++ b/sw/sdi/swriter.sdi @@ -5077,6 +5077,23 @@ SfxVoidItem SelectWord FN_SELECT_WORD GroupId = SfxGroupId::Navigator; ] +SfxVoidItem SelectSentence FN_SELECT_SENTENCE +() +[ + AutoUpdate = FALSE, + FastCall = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + + AccelConfig = TRUE, + MenuConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = SfxGroupId::Navigator; +] + SfxVoidItem SendAbstractToStarImpress FN_ABSTRACT_STARIMPRESS () [ -- cgit