LibreOffice Module i18npool (master)  1
numtotext_cjk.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #pragma once
21 
23 
24 namespace i18npool {
25 
26 #define TRANSLITERATION_NUMTOTEXT_CJK( name ) \
27 class NumToText##name final : public transliteration_Numeric \
28 { \
29 public: \
30  NumToText##name (); \
31 };
32 
33 TRANSLITERATION_NUMTOTEXT_CJK ( Lower_zh_CN )
34 TRANSLITERATION_NUMTOTEXT_CJK ( Upper_zh_CN )
35 TRANSLITERATION_NUMTOTEXT_CJK ( Lower_zh_TW )
36 TRANSLITERATION_NUMTOTEXT_CJK ( Upper_zh_TW )
37 TRANSLITERATION_NUMTOTEXT_CJK ( Fullwidth_zh_CN )
38 TRANSLITERATION_NUMTOTEXT_CJK ( Fullwidth_zh_TW )
39 TRANSLITERATION_NUMTOTEXT_CJK ( Fullwidth_ja_JP )
40 TRANSLITERATION_NUMTOTEXT_CJK ( Fullwidth_ko )
42 TRANSLITERATION_NUMTOTEXT_CJK ( InformalLower_ko )
43 TRANSLITERATION_NUMTOTEXT_CJK ( InformalUpper_ko )
44 TRANSLITERATION_NUMTOTEXT_CJK ( InformalHangul_ko )
45 TRANSLITERATION_NUMTOTEXT_CJK ( FormalLower_ko )
46 TRANSLITERATION_NUMTOTEXT_CJK ( FormalUpper_ko )
47 TRANSLITERATION_NUMTOTEXT_CJK ( FormalHangul_ko )
48 TRANSLITERATION_NUMTOTEXT_CJK ( KanjiLongModern_ja_JP )
49 TRANSLITERATION_NUMTOTEXT_CJK ( KanjiLongTraditional_ja_JP )
50 TRANSLITERATION_NUMTOTEXT_CJK ( KanjiShortModern_ja_JP )
51 TRANSLITERATION_NUMTOTEXT_CJK ( KanjiShortTraditional_ja_JP )
52 TRANSLITERATION_NUMTOTEXT_CJK ( AIUFullWidth_ja_JP )
53 TRANSLITERATION_NUMTOTEXT_CJK ( AIUHalfWidth_ja_JP )
54 TRANSLITERATION_NUMTOTEXT_CJK ( IROHAFullWidth_ja_JP )
55 TRANSLITERATION_NUMTOTEXT_CJK ( IROHAHalfWidth_ja_JP )
56 TRANSLITERATION_NUMTOTEXT_CJK ( CircledNumber )
57 TRANSLITERATION_NUMTOTEXT_CJK ( TianGan_zh )
59 TRANSLITERATION_NUMTOTEXT_CJK ( HangulJamo_ko )
60 TRANSLITERATION_NUMTOTEXT_CJK ( HangulSyllable_ko )
61 TRANSLITERATION_NUMTOTEXT_CJK ( HangulCircledJamo_ko )
62 TRANSLITERATION_NUMTOTEXT_CJK ( HangulCircledSyllable_ko )
63 
64 #undef TRANSLITERATION_NUMTOTEXT
65 
66 }
67 
68 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Constant values shared between i18npool and, for example, the number formatter.
#define TRANSLITERATION_NUMTOTEXT_CJK(name)