LibreOffice Module i18nutil (master) 1
Namespaces | Macros | Functions | Variables
casefolding.cxx File Reference
#include <i18nutil/casefolding.hxx>
#include "casefolding_data.h"
#include <i18nutil/oneToOneMapping.hxx>
#include <i18nutil/widthfolding.hxx>
#include <i18nutil/transliteration.hxx>
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <rtl/character.hxx>
#include <unicode/uchar.h>
Include dependency graph for casefolding.cxx:

Go to the source code of this file.

Namespaces

namespace  i18nutil
 

Macros

#define langIs(lang)   (aLocale.Language == lang)
 
#define type_i(ch)   ((ch) == 0x0069 || (ch) == 0x006a)
 
#define accent_above(ch)   (((ch) >= 0x0300 && (ch) <= 0x0314) || ((ch) >= 0x033D && (ch) <= 0x0344) || (ch) == 0x0346 || ((ch) >= 0x034A && (ch) <= 0x034C))
 

Functions

static bool i18nutil::cased_letter (sal_Unicode ch)
 
static bool i18nutil::is_ja_voice_sound_mark (sal_Unicode &current, sal_Unicode next)
 

Variables

const Mapping i18nutil::mapping_03a3 [] = {{0, 1, {0x03c2, 0, 0}},{0, 1, {0x03c3, 0, 0}}}
 
const Mapping i18nutil::mapping_0307 [] = {{0, 0, {0, 0, 0}},{0, 1, {0x0307, 0, 0}}}
 
const Mapping i18nutil::mapping_004a [] = {{0, 2, {0x006a, 0x0307, 0}},{0, 1, {0x006a, 0, 0}}}
 
const Mapping i18nutil::mapping_012e [] = {{0, 2, {0x012f, 0x0307, 0}},{0, 1, {0x012f, 0, 0}}}
 
const Mapping i18nutil::mapping_00cc [] = {{0, 3, {0x0069, 0x0307, 0x0300}},{0, 1, {0x00ec, 0, 0}}}
 
const Mapping i18nutil::mapping_00cd [] = {{0, 3, {0x0069, 0x0307, 0x0301}},{0, 1, {0x00ed, 0, 0}}}
 
const Mapping i18nutil::mapping_0128 [] = {{0, 3, {0x0069, 0x0307, 0x0303}},{0, 1, {0x0129, 0, 0}}}
 
const Mapping i18nutil::mapping_0049 [] = {{0, 2, {0x0069, 0x0307, 0}},{0, 1, {0x0131, 0, 0}},{0, 1, {0x0069, 0, 0}}}
 
const Mapping i18nutil::mapping_0069 [] = {{0, 1, {0x0130, 0, 0}},{0, 1, {0x0049, 0, 0}}}
 
const Mapping i18nutil::mapping_0130 [] = {{0, 1, {0x0069, 0, 0}},{0, 1, {0x0130, 0, 0}}}
 

Macro Definition Documentation

◆ accent_above

#define accent_above (   ch)    (((ch) >= 0x0300 && (ch) <= 0x0314) || ((ch) >= 0x033D && (ch) <= 0x0344) || (ch) == 0x0346 || ((ch) >= 0x034A && (ch) <= 0x034C))

Definition at line 64 of file casefolding.cxx.

◆ langIs

#define langIs (   lang)    (aLocale.Language == lang)

Definition at line 47 of file casefolding.cxx.

◆ type_i

#define type_i (   ch)    ((ch) == 0x0069 || (ch) == 0x006a)

Definition at line 50 of file casefolding.cxx.