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-26 18:40:27 +0100 |
commit | 6f3d1ccaf0b02deeff82bbd8478a528f3b9a6b5c (patch) | |
tree | db7a237fe2ee3c7a66610cf791222259b0a25ca0 /svx | |
parent | 7accd387e188e5ef989d86a97d2bd97f68a64dbe (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.
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>
(cherry picked from commit 51061b780ba42d2b7673de76a729a4084da5ed2b)
Change-Id: I06ab84efeb955cc02ce3ff531bd8b5c20ddced9e
Diffstat (limited to 'svx')
-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 6d52f0328e1f..252ffa7991bf 100644 --- a/svx/sdi/svx.sdi +++ b/svx/sdi/svx.sdi @@ -12035,3 +12035,20 @@ SfxVoidItem SignSignatureLine SID_SIGN_SIGNATURELINE ToolBoxConfig = FALSE, 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; +] |