diff options
author | Faisal M. Al-Otaibi <fmalotaibi@kacst.edu.sa> | 2014-04-08 09:42:20 +0300 |
---|---|---|
committer | Faisal M. Al-Otaibi <fmalotaibi@kacst.edu.sa> | 2014-04-08 10:58:15 +0300 |
commit | d2771b63b94a8aae3c25c83e9dae9f83242f46c1 (patch) | |
tree | 976ff93c1bf86829f0a2aa9b42b48f08a7df25f1 /svl/source | |
parent | 411297a0ad63a3b7484005fd2ad27dd53b58c3d7 (diff) |
fdo#77123: Add option ignore kashida to the search
This patch will add new checkbox to ignore kashida in the
search and replace dialog.
Change-Id: I9e7179242751103b8418d922ade5b9145170ad15
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/items/srchitem.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/svl/source/items/srchitem.cxx b/svl/source/items/srchitem.cxx index 8beec542924c..1be294051e40 100644 --- a/svl/source/items/srchitem.cxx +++ b/svl/source/items/srchitem.cxx @@ -84,7 +84,8 @@ static Sequence< OUString > lcl_GetNotifyNames() "Japanese/IsIgnoreWhitespace", // 16 "Japanese/IsIgnoreProlongedSoundMark", // 17 "Japanese/IsIgnoreMiddleDot", // 18 - "IsIgnoreDiacritics_CTL" // 19 + "IsIgnoreDiacritics_CTL", // 19 + "IsIgnoreKashida_CTL" // 20 }; const int nCount = SAL_N_ELEMENTS( aTranslitNames ); @@ -145,6 +146,8 @@ SvxSearchItem::SvxSearchItem( const sal_uInt16 nId ) : rFlags |= TransliterationModules_IGNORE_WIDTH; if ( aOpt.IsIgnoreDiacritics_CTL()) rFlags |= TransliterationModulesExtra::ignoreDiacritics_CTL ; + if ( aOpt.IsIgnoreKashida_CTL()) + rFlags |= TransliterationModulesExtra::ignoreKashida_CTL ; if ( bAsianOptions ) { if ( aOpt.IsMatchHiraganaKatakana()) |