diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-08-17 15:40:14 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-08-17 14:59:37 +0000 |
commit | 087b71f423cf6c047137fb1316527132bb47fc05 (patch) | |
tree | 5737058d8db999eb20fa2b9c4674fe627954925d /sw/sdi | |
parent | f2033c28f4ddb5984fc9b2374486f229f296d5f6 (diff) |
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 <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/sdi')
-rw-r--r-- | sw/sdi/swriter.sdi | 2 |
1 files changed, 2 insertions, 0 deletions
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, |