From da64ec8c8a91db6a6ec9657898f081d5ee67e739 Mon Sep 17 00:00:00 2001 From: László Németh Date: Mon, 1 Jun 2020 19:31:38 +0200 Subject: tdf#133589 AutoCorrect: transliterate to Old Hungarian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In right-to-left paragraph mode, transliterate Hungarian text word by word during typing, also add the associated checkbox to Localized Options page of AutoCorrect dialog window. Old Hungarian (ISO 15924: Hung) is a historical and renewed script which is still in use to transliterate Hungarian writing. As a localized AutoCorrect feature, the patch supports the followings: – word-by-word transliteration of Hungarian texts only in right-to-left paragraph mode. – consonant disambiguation of digraphs and trigraphs based on hyphenation (now pattern-based Huhyphn dictionary of libhyphen, planned dictionary based Hunspell later) – transliteration by extended hu-Hung module of Numbertext library. Note: transliteration of the selected text using AutoCorrect Apply function has't been implemented, yet. Change-Id: Iee0f18e2485c974c35acf0a3abc3a49c2cf80196 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95303 Tested-by: Jenkins Reviewed-by: László Németh --- editeng/qa/unit/core-test.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'editeng/qa/unit/core-test.cxx') diff --git a/editeng/qa/unit/core-test.cxx b/editeng/qa/unit/core-test.cxx index a91565bce2a9..b98edae2b967 100644 --- a/editeng/qa/unit/core-test.cxx +++ b/editeng/qa/unit/core-test.cxx @@ -428,6 +428,10 @@ private: return false; } + virtual bool TransliterateRTLWord( sal_Int32& /*rSttPos*/, sal_Int32 /*nEndPos*/ ) override + { + return false; + } }; //https://bugs.libreoffice.org/show_bug.cgi?id=55693 -- cgit