From 087b71f423cf6c047137fb1316527132bb47fc05 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 17 Aug 2016 15:40:14 +0200 Subject: sw: allow accept/reject of redline by index Previously .uno:AcceptTrackedChange / .uno:RejectTrackedChange always worked by cursor position, but redlines are stored in the redline table, so they have a unique index. Allow specifying that index when invoking the command, and in that case ignore the cursor position. The index is not stable after an insertion / deletion. Change-Id: I493a22e84800ded224fb6b9c61261744dc0fb64f Reviewed-on: https://gerrit.libreoffice.org/28192 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- sw/sdi/swriter.sdi | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sw/sdi/swriter.sdi') diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi index 6c7aa8812ace..94a6e0f00eae 100644 --- a/sw/sdi/swriter.sdi +++ b/sw/sdi/swriter.sdi @@ -7273,6 +7273,7 @@ SfxBoolItem SpellingAndGrammarDialog FN_SPELL_GRAMMAR_DIALOG ] SfxVoidItem AcceptTrackedChange FN_REDLINE_ACCEPT_DIRECT +( SfxUInt16Item AcceptTrackedChange FN_REDLINE_ACCEPT_DIRECT ) [ AutoUpdate = FALSE, FastCall = FALSE, @@ -7291,6 +7292,7 @@ SfxVoidItem AcceptTrackedChange FN_REDLINE_ACCEPT_DIRECT ] SfxVoidItem RejectTrackedChange FN_REDLINE_REJECT_DIRECT +( SfxUInt16Item RejectTrackedChange FN_REDLINE_REJECT_DIRECT ) [ AutoUpdate = FALSE, FastCall = FALSE, -- cgit