diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-12-08 16:43:28 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-12-08 16:46:54 +0000 |
commit | 243131397a5b626c2d8442dc716193e27b13ef9f (patch) | |
tree | 067b273ab71a8ac2332ca3ba1043c95e0d678328 /sw/inc/cmdid.h | |
parent | 515df96a85878f10dae3c9d1274ef4575d2e3215 (diff) |
sw: introduce a .uno:GotoMark command
This is meant to be used from macros, it does the same as manually
opening the navigator, selecting a given bookmark and pressing enter.
It also helps debugging when you want to jump somewhere, but the
surrounding document content changes, so jumping to a certain page won't
work due to the changing page number.
Change-Id: I3bc08ae8023997bab89cf4732fb67233a6a1e134
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143825
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/inc/cmdid.h')
-rw-r--r-- | sw/inc/cmdid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/cmdid.h b/sw/inc/cmdid.h index 838ccde78c83..cb21ddb5b441 100644 --- a/sw/inc/cmdid.h +++ b/sw/inc/cmdid.h @@ -106,6 +106,7 @@ class SwUINumRuleItem; #define FN_GOTO_NEXT_INPUTFLD (FN_EDIT + 47) /* go to next inputfield */ #define FN_GOTO_PREV_INPUTFLD (FN_EDIT + 48) /* go to previous inputfield */ +#define FN_GOTO_MARK (FN_EDIT + 49) /* go to bookmark by name */ #define FN_REPEAT_SEARCH (FN_EDIT + 50) /* Search again */ |