diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2019-11-16 15:14:20 +0100 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2019-11-23 21:15:52 +0100 |
commit | 51061b780ba42d2b7673de76a729a4084da5ed2b (patch) | |
tree | dee90b60db6fa73e5ca27ea7aa2ba5172bdd734e /svx/sdi | |
parent | f71c99d24e210da41414203adde8d2d7872920b4 (diff) |
SpellingPopup: Convert "Ignore" menu item to use a slot ID.
Introduced a new slot id SID_APPLY_SPELLING, which can be used
to apply any spelling / grammar related changes (e.g. ignore,
ignore all, replace with suggestion, add to dictionary).
In this commit, only the simple ignore is implemented.
Change-Id: I06ab84efeb955cc02ce3ff531bd8b5c20ddced9e
Reviewed-on: https://gerrit.libreoffice.org/83583
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'svx/sdi')
-rw-r--r-- | svx/sdi/svx.sdi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/svx/sdi/svx.sdi b/svx/sdi/svx.sdi index b501e546e7bb..d417b2ef9967 100644 --- a/svx/sdi/svx.sdi +++ b/svx/sdi/svx.sdi @@ -12169,3 +12169,20 @@ SfxVoidItem EditQrCode SID_EDIT_QRCODE ToolBoxConfig = TRUE, GroupId = SfxGroupId::Edit; ] + +SfxVoidItem ApplySpellChecking SID_APPLY_SPELLCHECKING +(SfxStringItem ApplyRule FN_PARAM_1) +[ + AutoUpdate = FALSE, + FastCall = TRUE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + + AccelConfig = FALSE, + MenuConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = SfxGroupId::Format; +] |