LibreOffice Module i18npool (master)  1
Namespaces | Macros | Variables
numberchar.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 i18npool
 Constant values shared between i18npool and, for example, the number formatter.
 

Macros

#define NUMBER_ZERO   NumberChar[NumberChar_HalfWidth][0]
 
#define NUMBER_ONE   NumberChar[NumberChar_HalfWidth][1]
 
#define NUMBER_NINE   NumberChar[NumberChar_HalfWidth][9]
 
#define isNumber(n)    ( NUMBER_ZERO <= n && n <= NUMBER_NINE )
 
#define isDecimal(n)    ( n == DecimalChar[NumberChar_HalfWidth] )
 
#define isMinus(n)    ( n == MinusChar[NumberChar_HalfWidth] )
 
#define isSeparator(n)   ( n == SeparatorChar[NumberChar_HalfWidth] )
 

Variables

const sal_Int16 i18npool::NumberChar_HalfWidth = 0
 
const sal_Int16 i18npool::NumberChar_FullWidth = 1
 
const sal_Int16 i18npool::NumberChar_Lower_zh = 2
 
const sal_Int16 i18npool::NumberChar_Upper_zh = 3
 
const sal_Int16 i18npool::NumberChar_Upper_zh_TW = 4
 
const sal_Int16 i18npool::NumberChar_Modern_ja = 5
 
const sal_Int16 i18npool::NumberChar_Traditional_ja = 6
 
const sal_Int16 i18npool::NumberChar_Lower_ko = 7
 
const sal_Int16 i18npool::NumberChar_Upper_ko = 8
 
const sal_Int16 i18npool::NumberChar_Hangul_ko = 9
 
const sal_Int16 i18npool::NumberChar_Indic_ar = 10
 
const sal_Int16 i18npool::NumberChar_EastIndic_ar = 11
 
const sal_Int16 i18npool::NumberChar_hi = 12
 
const sal_Int16 i18npool::NumberChar_th = 13
 
const sal_Int16 i18npool::NumberChar_or = 14
 
const sal_Int16 i18npool::NumberChar_mr = 15
 
const sal_Int16 i18npool::NumberChar_bn = 16
 
const sal_Int16 i18npool::NumberChar_pa = 17
 
const sal_Int16 i18npool::NumberChar_gu = 18
 
const sal_Int16 i18npool::NumberChar_ta = 19
 
const sal_Int16 i18npool::NumberChar_te = 20
 
const sal_Int16 i18npool::NumberChar_kn = 21
 
const sal_Int16 i18npool::NumberChar_ml = 22
 
const sal_Int16 i18npool::NumberChar_lo = 23
 
const sal_Int16 i18npool::NumberChar_bo = 24
 
const sal_Int16 i18npool::NumberChar_my = 25
 
const sal_Int16 i18npool::NumberChar_km = 26
 
const sal_Int16 i18npool::NumberChar_mn = 27
 
const sal_Int16 i18npool::NumberChar_he = 28
 
const sal_Int16 i18npool::NumberChar_ne = 29
 
const sal_Int16 i18npool::NumberChar_dz = 30
 
const sal_Int16 i18npool::NumberChar_cu = 31
 
const sal_Int16 i18npool::NumberChar_Count = 32
 
const sal_Unicode i18npool::NumberChar [][10]
 
static sal_Unicode i18npool::DecimalChar []
 
const sal_Unicode i18npool::MinusChar []
 
static sal_uInt16 i18npool::SeparatorChar []
 
const sal_Int16 i18npool::Multiplier_Lower_zh = 0
 
const sal_Int16 i18npool::Multiplier_Upper_zh = 1
 
const sal_Int16 i18npool::Multiplier_Lower_zh_TW = 2
 
const sal_Int16 i18npool::Multiplier_Upper_zh_TW = 3
 
const sal_Int16 i18npool::Multiplier_Lower_ko = 4
 
const sal_Int16 i18npool::Multiplier_Upper_ko = 5
 
const sal_Int16 i18npool::Multiplier_Hangul_ko = 6
 
const sal_Int16 i18npool::Multiplier_Modern_ja = 7
 
const sal_Int16 i18npool::Multiplier_Traditional_ja = 8
 
const sal_Int16 i18npool::Multiplier_Count = 9
 
const sal_Int16 i18npool::ExponentCount_6_CJK = 6
 
const sal_Int16 i18npool::MultiplierExponent_6_CJK [ExponentCount_6_CJK]
 
const sal_Unicode i18npool::MultiplierChar_6_CJK [][ExponentCount_6_CJK]
 
const sal_Int16 i18npool::ExponentCount_2_CJK = 2
 
const sal_Int16 i18npool::MultiplierExponent_2_CJK [ExponentCount_2_CJK]
 
const sal_Unicode i18npool::MultiplierChar_2_CJK [][ExponentCount_2_CJK]
 
const sal_Int16 i18npool::ExponentCount_7_CJK = 7
 
const sal_Int16 i18npool::MultiplierExponent_7_CJK [ExponentCount_7_CJK]
 
const sal_Unicode i18npool::MultiplierChar_7_CJK [][ExponentCount_7_CJK]
 

Macro Definition Documentation

#define isDecimal (   n)    ( n == DecimalChar[NumberChar_HalfWidth] )

Definition at line 204 of file numberchar.h.

Referenced by i18npool::AsciiToNative(), and i18npool::AsciiToNativeChar().

#define isMinus (   n)    ( n == MinusChar[NumberChar_HalfWidth] )
#define isNumber (   n)    ( NUMBER_ZERO <= n && n <= NUMBER_NINE )
#define isSeparator (   n)    ( n == SeparatorChar[NumberChar_HalfWidth] )
#define NUMBER_NINE   NumberChar[NumberChar_HalfWidth][9]

Definition at line 202 of file numberchar.h.

#define NUMBER_ONE   NumberChar[NumberChar_HalfWidth][1]

Definition at line 201 of file numberchar.h.

Referenced by i18npool::AsciiToNative_numberMaker().

#define NUMBER_ZERO   NumberChar[NumberChar_HalfWidth][0]