diff options
author | Muhammad Haggag <mhaggag@gmail.com> | 2012-11-23 20:15:41 +0200 |
---|---|---|
committer | Bosdonnat Cedric <cedric.bosdonnat@free.fr> | 2012-11-27 13:53:09 +0000 |
commit | a0a58556f36cbf396f5139e18881720ed838ddd4 (patch) | |
tree | a8b0643c0184b348aed040389e42fce0e98a92bc /sw/inc | |
parent | d5b7bcbd263162b31780b53070f90fe8b3366786 (diff) |
fdo#48317 - Support jumping to next/previous change
Added two new writer commands: NextTrackedChange (FN_REDLINE_NEXT_CHANGE) and
PreviousTrackedChange (FN_REDLINE_PREV_CHANGE).
Rewrote the logic for Accept/Reject change (FN_REDLINE_ACCEPT_DIRECT and
FN_REDLINE_REJECT_DIRECT) to work well with the newly introduced commands.
Change-Id: I03d583bef4225409f69934f16db1854564c2db5f
Reviewed-on: https://gerrit.libreoffice.org/1156
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/cmdid.h | 2 | ||||
-rw-r--r-- | sw/inc/swcommands.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sw/inc/cmdid.h b/sw/inc/cmdid.h index 4660bae22025..524adcdc4ddd 100644 --- a/sw/inc/cmdid.h +++ b/sw/inc/cmdid.h @@ -168,6 +168,8 @@ included in c-context files, so c++ style stuff will cause problems. #define FN_REDLINE_REJECT_DIRECT (FN_EDIT2 + 38) /* reject redline at current position*/ #define FN_REMOVE_HYPERLINK (FN_EDIT2 + 39) /* remove hyperlink attribute */ #define FN_COPY_HYPERLINK_LOCATION (FN_EDIT2 + 40) /* copy hyperlink URL to clipboard */ +#define FN_REDLINE_NEXT_CHANGE (FN_EDIT2 + 41) /* Go to the next change */ +#define FN_REDLINE_PREV_CHANGE (FN_EDIT2 + 42) /* Go to the previous change */ /*-------------------------------------------------------------------- Region: Edit diff --git a/sw/inc/swcommands.h b/sw/inc/swcommands.h index 74a93ad512ad..1037141d4a5a 100644 --- a/sw/inc/swcommands.h +++ b/sw/inc/swcommands.h @@ -121,6 +121,8 @@ #define CMD_FN_HIDE_ALL_NOTES ".uno:HideAllNotes" #define CMD_FN_REDLINE_ACCEPT_DIRECT ".uno:AcceptTracedChange" #define CMD_FN_REDLINE_REJECT_DIRECT ".uno:RejectTracedChange" +#define CMD_FN_REDLINE_NEXT_CHANGE ".uno:NextTrackedChange" +#define CMD_FN_REDLINE_PREV_CHANGE ".uno:PreviousTrackedChange" #define CMD_FN_REMOVE_HYPERLINK ".uno:RemoveHyperlink" #define CMD_FN_COPY_HYPERLINK_LOCATION ".uno:CopyHyperlinkLocation" #define CMD_FN_HEADERFOOTER_EDIT ".uno:HeaderFooterEdit" |