loplugin:constmethod in editeng
[LibreOffice.git] / i18npool / inc / numtochar.hxx
blob104b172478b146d3cb1b0d56d3159d806f5e30f0
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef INCLUDED_I18NPOOL_INC_NUMTOCHAR_HXX
21 #define INCLUDED_I18NPOOL_INC_NUMTOCHAR_HXX
23 #include "transliteration_Numeric.hxx"
25 namespace i18npool {
27 #define TRANSLITERATION_NUMTOCHAR( name ) \
28 class NumToChar##name : public transliteration_Numeric \
29 { \
30 public: \
31 NumToChar##name (); \
34 TRANSLITERATION_NUMTOCHAR(Lower_zh_CN)
35 TRANSLITERATION_NUMTOCHAR(Upper_zh_CN)
36 TRANSLITERATION_NUMTOCHAR(Lower_zh_TW)
37 TRANSLITERATION_NUMTOCHAR(Upper_zh_TW)
38 TRANSLITERATION_NUMTOCHAR(Upper_ko)
39 TRANSLITERATION_NUMTOCHAR(Hangul_ko)
40 TRANSLITERATION_NUMTOCHAR(Lower_ko)
41 TRANSLITERATION_NUMTOCHAR(KanjiShort_ja_JP)
42 TRANSLITERATION_NUMTOCHAR(KanjiTraditional_ja_JP)
43 TRANSLITERATION_NUMTOCHAR(Fullwidth)
44 TRANSLITERATION_NUMTOCHAR(Indic_ar)
45 TRANSLITERATION_NUMTOCHAR(EastIndic_ar)
46 TRANSLITERATION_NUMTOCHAR(Indic_hi)
47 TRANSLITERATION_NUMTOCHAR(_th)
48 TRANSLITERATION_NUMTOCHAR(Halfwidth)
50 #undef TRANSLITERATION_NUMTOCHAR
54 #endif // INCLUDED_I18NPOOL_INC_NUMTOCHAR_HXX
56 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */