summaryrefslogtreecommitdiff
path: root/cui/source/inc
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2017-11-09 16:03:21 +0100
committerLászló Németh <nemeth@numbertext.org>2017-11-17 17:33:00 +0100
commit95d9f596336ebf19dc367f618b3788a4ce0ba542 (patch)
treed33140f4cc24c4f0fd5f46f165906e2908e857f7 /cui/source/inc
parenta7ec994689f8ea5985f6c8f94f17a4417978ff41 (diff)
tdf#113739 add "Grammar By" feature to user dictionaries
Language-specific user dictionaries (en-US, de-DE, etc.) have got a new "Grammar By" field to specify optional automatic affixation and compounding of the new words by adding an example dictionary word. Test example: Create an en-US user dictionary. Add the new word "crowdfund" to it, also an example, the Hunspell en-US dictionary word "fund" in the optional "Grammar By" field. This way, the word "crowdfund" will be recognized by the spell checker with suffixes of the word "fund", too: crowdfund’s, crowdfunds, crowdfunder, crowdfunders and crowdfunding. Hunspell dictionaries with compound flag usage (German, Hungarian, etc.) can support automatic compounding of the new words, too. Change-Id: Id70dbee4544643967153f730ae64938e5cee0c82 Reviewed-on: https://gerrit.libreoffice.org/44562 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'cui/source/inc')
-rw-r--r--cui/source/inc/optdict.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/cui/source/inc/optdict.hxx b/cui/source/inc/optdict.hxx
index fb8cd6deb364..e2dc53bf9e6e 100644
--- a/cui/source/inc/optdict.hxx
+++ b/cui/source/inc/optdict.hxx
@@ -109,6 +109,7 @@ private:
OUString sModify;
OUString sNew;
+ OUString sReplaceFT_Text;
css::uno::Sequence<
css::uno::Reference<