LibreOffice Module i18nutil (master)  1
Classes | Namespaces | Enumerations
transliteration.hxx File Reference
#include <com/sun/star/i18n/TransliterationModules.hpp>
#include <com/sun/star/i18n/TransliterationModulesExtra.hpp>
#include <o3tl/typed_flags_set.hxx>
Include dependency graph for transliteration.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< TransliterationFlags >
 

Namespaces

 o3tl
 

Enumerations

enum  TransliterationFlags {
  TransliterationFlags::NONE = 0,
  TransliterationFlags::UPPERCASE_LOWERCASE = int(css::i18n::TransliterationModules_UPPERCASE_LOWERCASE),
  TransliterationFlags::LOWERCASE_UPPERCASE = int(css::i18n::TransliterationModules_LOWERCASE_UPPERCASE),
  TransliterationFlags::HALFWIDTH_FULLWIDTH = int(css::i18n::TransliterationModules_HALFWIDTH_FULLWIDTH),
  TransliterationFlags::FULLWIDTH_HALFWIDTH = int(css::i18n::TransliterationModules_FULLWIDTH_HALFWIDTH),
  TransliterationFlags::KATAKANA_HIRAGANA = int(css::i18n::TransliterationModules_KATAKANA_HIRAGANA),
  TransliterationFlags::HIRAGANA_KATAKANA = int(css::i18n::TransliterationModules_HIRAGANA_KATAKANA),
  TransliterationFlags::NumToTextLower_zh_CN = int(css::i18n::TransliterationModules_NumToTextLower_zh_CN),
  TransliterationFlags::NumToTextUpper_zh_CN = int(css::i18n::TransliterationModules_NumToTextUpper_zh_CN),
  TransliterationFlags::NumToTextLower_zh_TW = int(css::i18n::TransliterationModules_NumToTextLower_zh_TW),
  TransliterationFlags::NumToTextUpper_zh_TW = int(css::i18n::TransliterationModules_NumToTextUpper_zh_TW),
  TransliterationFlags::NumToTextFormalHangul_ko = int(css::i18n::TransliterationModules_NumToTextFormalHangul_ko),
  TransliterationFlags::NumToTextFormalLower_ko = int(css::i18n::TransliterationModules_NumToTextFormalLower_ko),
  TransliterationFlags::NumToTextFormalUpper_ko = int(css::i18n::TransliterationModules_NumToTextFormalUpper_ko),
  TransliterationFlags::SENTENCE_CASE = int(css::i18n::TransliterationModulesExtra::SENTENCE_CASE),
  TransliterationFlags::TITLE_CASE = int(css::i18n::TransliterationModulesExtra::TITLE_CASE),
  TransliterationFlags::TOGGLE_CASE = int(css::i18n::TransliterationModulesExtra::TOGGLE_CASE),
  TransliterationFlags::NON_IGNORE_MASK = int(css::i18n::TransliterationModules_NON_IGNORE_MASK),
  TransliterationFlags::IGNORE_MASK = 0x7fffff00,
  TransliterationFlags::IGNORE_CASE = int(css::i18n::TransliterationModules_IGNORE_CASE),
  TransliterationFlags::IGNORE_KANA = int(css::i18n::TransliterationModules_IGNORE_KANA),
  TransliterationFlags::IGNORE_WIDTH = int(css::i18n::TransliterationModules_IGNORE_WIDTH),
  TransliterationFlags::ignoreTraditionalKanji_ja_JP = int(css::i18n::TransliterationModules_IgnoreTraditionalKanji_ja_JP),
  TransliterationFlags::ignoreTraditionalKana_ja_JP = int(css::i18n::TransliterationModules_IgnoreTraditionalKana_ja_JP),
  TransliterationFlags::ignoreMinusSign_ja_JP = int(css::i18n::TransliterationModules_IgnoreMinusSign_ja_JP),
  TransliterationFlags::ignoreIterationMark_ja_JP = int(css::i18n::TransliterationModules_IgnoreIterationMark_ja_JP),
  TransliterationFlags::ignoreSeparator_ja_JP = int(css::i18n::TransliterationModules_IgnoreSeparator_ja_JP),
  TransliterationFlags::ignoreZiZu_ja_JP = int(css::i18n::TransliterationModules_IgnoreZiZu_ja_JP),
  TransliterationFlags::ignoreBaFa_ja_JP = int(css::i18n::TransliterationModules_IgnoreBaFa_ja_JP),
  TransliterationFlags::ignoreTiJi_ja_JP = int(css::i18n::TransliterationModules_IgnoreTiJi_ja_JP),
  TransliterationFlags::ignoreHyuByu_ja_JP = int(css::i18n::TransliterationModules_IgnoreHyuByu_ja_JP),
  TransliterationFlags::ignoreSeZe_ja_JP = int(css::i18n::TransliterationModules_IgnoreSeZe_ja_JP),
  TransliterationFlags::ignoreIandEfollowedByYa_ja_JP = int(css::i18n::TransliterationModules_IgnoreIandEfollowedByYa_ja_JP),
  TransliterationFlags::ignoreKiKuFollowedBySa_ja_JP = int(css::i18n::TransliterationModules_IgnoreKiKuFollowedBySa_ja_JP),
  TransliterationFlags::ignoreSize_ja_JP = int(css::i18n::TransliterationModules_IgnoreSize_ja_JP),
  TransliterationFlags::ignoreProlongedSoundMark_ja_JP = int(css::i18n::TransliterationModules_IgnoreProlongedSoundMark_ja_JP),
  TransliterationFlags::ignoreMiddleDot_ja_JP = int(css::i18n::TransliterationModules_IgnoreMiddleDot_ja_JP),
  TransliterationFlags::ignoreSpace_ja_JP = int(css::i18n::TransliterationModules_IgnoreSpace_ja_JP),
  TransliterationFlags::smallToLarge_ja_JP = int(css::i18n::TransliterationModules_SmallToLarge_ja_JP),
  TransliterationFlags::largeToSmall_ja_JP = int(css::i18n::TransliterationModules_LargeToSmall_ja_JP),
  TransliterationFlags::IGNORE_DIACRITICS_CTL = int(css::i18n::TransliterationModulesExtra::IGNORE_DIACRITICS_CTL),
  TransliterationFlags::IGNORE_KASHIDA_CTL = int(css::i18n::TransliterationModulesExtra::IGNORE_KASHIDA_CTL)
}
 This is a superset type of the com::sun::star::i18n::TransliterationModules and TransliterationModulesExtra, with some extra type checking. More...
 

Enumeration Type Documentation

enum TransliterationFlags
strong

This is a superset type of the com::sun::star::i18n::TransliterationModules and TransliterationModulesExtra, with some extra type checking.

Enumerator
NONE 
UPPERCASE_LOWERCASE 

Transliterate a string from upper case to lower case.

LOWERCASE_UPPERCASE 

Transliterate a string from lower case to upper case.

HALFWIDTH_FULLWIDTH 

Transliterate a string from half width character to full width character.

FULLWIDTH_HALFWIDTH 

Transliterate a string from full width character to half width character.

KATAKANA_HIRAGANA 

Transliterate a Japanese string from Katakana to Hiragana.

HIRAGANA_KATAKANA 

Transliterate a Japanese string from Hiragana to Katakana.

NumToTextLower_zh_CN 

Transliterate an ASCII number string to Simplified Chinese lower case number string in spellout format.

NumToTextUpper_zh_CN 

Transliterate an ASCII number string to Simplified Chinese upper case number string in spellout format.

NumToTextLower_zh_TW 

Transliterate an ASCII number string to Traditional Chinese lower case number string in spellout format.

NumToTextUpper_zh_TW 

Transliterate an ASCII number string to Traditional Chinese upper case number string in spellout format.

NumToTextFormalHangul_ko 

Transliterate an ASCII number string to formal Korean Hangul number string in spellout format.

NumToTextFormalLower_ko 

Transliterate an ASCII number string to formal Korean Hanja lower case number string in spellout format.

NumToTextFormalUpper_ko 

Transliterate an ASCII number string to formal Korean Hanja upper case number string in spellout format.

SENTENCE_CASE 

The first character of the sentence is put in upper case.

TITLE_CASE 

The first character of the word is put in upper case.

This one is part

TOGGLE_CASE 

All characters of the word are to change their case from small letters to capital letters and vice versa.

NON_IGNORE_MASK 
IGNORE_MASK 
IGNORE_CASE 

Ignore case when comparing strings by transliteration service.

IGNORE_KANA 

Ignore Hiragana and Katakana when comparing strings by transliteration service.

IGNORE_WIDTH 

Ignore full width and half width character when comparing strings by transliteration service.

ignoreTraditionalKanji_ja_JP 

Ignore Japanese traditional Kanji character in Japanese fuzzy search.

ignoreTraditionalKana_ja_JP 

Ignore Japanese traditional Katakana and Hiragana character in Japanese fuzzy search.

ignoreMinusSign_ja_JP 

Ignore dash or minus sign in Japanese fuzzy search.

ignoreIterationMark_ja_JP 

Ignore Hiragana and Katakana iteration mark in Japanese fuzzy search.

ignoreSeparator_ja_JP 

Ignore separator punctuations in Japanese fuzzy search.

ignoreZiZu_ja_JP 

Ignore Katakana and Hiragana Zi/Zi and Zu/Zu in Japanese fuzzy search.

ignoreBaFa_ja_JP 

Ignore Katakana and Hiragana Ba/Gua and Ha/Fa in Japanese fuzzy search.

ignoreTiJi_ja_JP 

Ignore Katakana and Hiragana Tsui/Tea/Ti and Dyi/Ji in Japanese fuzzy search.

ignoreHyuByu_ja_JP 

Ignore Katakana and Hiragana Hyu/Fyu and Byu/Gyu in Japanese fuzzy search.

ignoreSeZe_ja_JP 

Ignore Katakana and Hiragana Se/Sye and Ze/Je in Japanese fuzzy search.

ignoreIandEfollowedByYa_ja_JP 

Ignore Katakana YA/A which follows the character in either I or E row in Japanese fuzzy search.

ignoreKiKuFollowedBySa_ja_JP 

Ignore Katakana KI/KU which follows the character in SA column in Japanese fuzzy search.

ignoreSize_ja_JP 

Ignore Japanese normal and small sized character in Japanese fuzzy search.

ignoreProlongedSoundMark_ja_JP 

Ignore Japanese prolonged sound mark in Japanese fuzzy search.

ignoreMiddleDot_ja_JP 

Ignore middle dot in Japanese fuzzy search.

ignoreSpace_ja_JP 

Ignore white space characters, include space, TAB, return, etc. in Japanese fuzzy search.

smallToLarge_ja_JP 

transliterate Japanese small sized character to normal sized character

largeToSmall_ja_JP 

transliterate Japanese normal sized character to small sized character

IGNORE_DIACRITICS_CTL 

Transliterate decomposing and removing diacritics, not only CTL, despite its name.

IGNORE_KASHIDA_CTL 

Ignore Kashida mark.

Definition at line 30 of file transliteration.hxx.