From 8fb5567dc05397e9b28b821b2d3ff2735ccdeb33 Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Sun, 2 Sep 2018 13:20:07 +0300 Subject: tdf#118674 Paste special and unformatted for shapes in Writer Change-Id: I348a6f93b61ea644077dcd3a16ba9d9fe17afb91 Reviewed-on: https://gerrit.libreoffice.org/59905 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky --- sw/sdi/drwtxtsh.sdi | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'sw/sdi') diff --git a/sw/sdi/drwtxtsh.sdi b/sw/sdi/drwtxtsh.sdi index b24f0e8e43f2..a8e79c298b4f 100644 --- a/sw/sdi/drwtxtsh.sdi +++ b/sw/sdi/drwtxtsh.sdi @@ -44,17 +44,26 @@ interface TextDrawText DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] + SID_PASTE_UNFORMATTED // api: + [ + ExecMethod = ExecClpbrd ; + StateMethod = StateClpbrd ; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; + ] + SID_PASTE_SPECIAL // api: [ + ExecMethod = ExecClpbrd ; StateMethod = StateClpbrd ; DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; ] - SID_CLIPBOARD_FORMAT_ITEMS // api: - [ - StateMethod = StateClpbrd ; - DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; - ] + SID_CLIPBOARD_FORMAT_ITEMS // api: + [ + ExecMethod = ExecClpbrd ; + StateMethod = StateClpbrd ; + DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; + ] FN_ESCAPE // api: [ -- cgit