diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-04-25 12:39:22 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-04-25 13:47:42 +0200 |
commit | 70c8e6abc0a4ed4a2c7a948ee206ba9d4cffd22b (patch) | |
tree | e39c5e76eecb13c0b4d2707aa566d1be116b52d7 /include/svx | |
parent | 02311766135700f8dd8528cc7cacda636c8f304d (diff) |
sw: make it easier to look up an uno command from a slot id
This way if I see a slot id 20456, then searching with
git grep define.*20400 include/ */inc
finds FN_FORMAT, and searching with
git grep FN_FORMAT.*56 include/ */inc
finds FN_FORMAT_FRAME_DLG.
Change-Id: Ibda8b131f73c81221569618cda33e52b03448feb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133374
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/svxids.hrc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/svx/svxids.hrc b/include/svx/svxids.hrc index 4f4c07f2e2d5..d50be073c40d 100644 --- a/include/svx/svxids.hrc +++ b/include/svx/svxids.hrc @@ -174,7 +174,7 @@ class XFillGradientItem; // Writer IDs -#define FN_EDIT (SID_SW_START + 100) +#define FN_EDIT (SID_SW_START + 100) // 20100 #define FN_NUM_BULLET_OFF (FN_EDIT + 37) // numbering off #define FN_NUM_BULLET_ON (FN_EDIT + 38) // numbering with bullets on #define FN_NUM_NUMBERING_ON (FN_EDIT + 44) // numbering on @@ -182,7 +182,7 @@ class XFillGradientItem; #define FN_NUM_NUM_RULE_INDEX (FN_EDIT + 121) #define FN_OUTLINE_RULE_INDEX (FN_EDIT + 122) -#define FN_INSERT (SID_SW_START + 300) +#define FN_INSERT (SID_SW_START + 300) // 20300 #define FN_DELETE_BOOKMARK (FN_INSERT + 1) #define FN_INSERT_BREAK (FN_INSERT + 3) #define FN_INSERT_SOFT_HYPHEN (FN_INSERT + 43) /* optional hyphen */ @@ -191,12 +191,12 @@ class XFillGradientItem; #define FN_INSERT_HARDHYPHEN (FN_INSERT + 85) /* hyphen without break*/ //!! be aware to not overwrite something that is used in sw/inc/cmdid.h already !! -#define FN_FORMAT (SID_SW_START + 400) +#define FN_FORMAT (SID_SW_START + 400) // 20400 #define FN_FORMAT_RESET (FN_FORMAT + 69) -#define FN_EXTRA (SID_SW_START + 600) +#define FN_EXTRA (SID_SW_START + 600) // 20600 -#define FN_SELECTION (SID_SW_START + 900) +#define FN_SELECTION (SID_SW_START + 900) // 20900 #define FN_END_OF_DOCUMENT (FN_SELECTION + 8) #define FN_START_DOC_DIRECT (FN_SELECTION + 78) #define FN_END_DOC_DIRECT (FN_SELECTION + 79) |