1*f7bd9df4SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*f7bd9df4SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*f7bd9df4SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*f7bd9df4SAndrew Rist * distributed with this work for additional information 6*f7bd9df4SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*f7bd9df4SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*f7bd9df4SAndrew Rist * "License"); you may not use this file except in compliance 9*f7bd9df4SAndrew Rist * with the License. You may obtain a copy of the License at 10*f7bd9df4SAndrew Rist * 11*f7bd9df4SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*f7bd9df4SAndrew Rist * 13*f7bd9df4SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*f7bd9df4SAndrew Rist * software distributed under the License is distributed on an 15*f7bd9df4SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*f7bd9df4SAndrew Rist * KIND, either express or implied. See the License for the 17*f7bd9df4SAndrew Rist * specific language governing permissions and limitations 18*f7bd9df4SAndrew Rist * under the License. 19*f7bd9df4SAndrew Rist * 20*f7bd9df4SAndrew Rist *************************************************************/ 21*f7bd9df4SAndrew Rist 22*f7bd9df4SAndrew Rist 23cdf0e10cSrcweir #ifndef _L10N_TRANSLITERATION_TEXTTONUM_HXX_ 24cdf0e10cSrcweir #define _L10N_TRANSLITERATION_TEXTTONUM_HXX_ 25cdf0e10cSrcweir 26cdf0e10cSrcweir #include <transliteration_Numeric.hxx> 27cdf0e10cSrcweir 28cdf0e10cSrcweir namespace com { namespace sun { namespace star { namespace i18n { 29cdf0e10cSrcweir 30cdf0e10cSrcweir #define TRANSLITERATION_TEXTTONUM( name ) \ 31cdf0e10cSrcweir class TextToNum##name : public transliteration_Numeric \ 32cdf0e10cSrcweir { \ 33cdf0e10cSrcweir public: \ 34cdf0e10cSrcweir TextToNum##name (); \ 35cdf0e10cSrcweir }; 36cdf0e10cSrcweir 37cdf0e10cSrcweir #ifdef TRANSLITERATION_ALL 38cdf0e10cSrcweir TRANSLITERATION_TEXTTONUM(Lower_zh_CN) 39cdf0e10cSrcweir TRANSLITERATION_TEXTTONUM(Upper_zh_CN) 40cdf0e10cSrcweir TRANSLITERATION_TEXTTONUM(Lower_zh_TW) 41cdf0e10cSrcweir TRANSLITERATION_TEXTTONUM(Upper_zh_TW) 42cdf0e10cSrcweir TRANSLITERATION_TEXTTONUM(InformalLower_ko) 43cdf0e10cSrcweir TRANSLITERATION_TEXTTONUM(InformalUpper_ko) 44cdf0e10cSrcweir TRANSLITERATION_TEXTTONUM(InformalHangul_ko) 45cdf0e10cSrcweir TRANSLITERATION_TEXTTONUM(FormalLower_ko) 46cdf0e10cSrcweir TRANSLITERATION_TEXTTONUM(FormalUpper_ko) 47cdf0e10cSrcweir TRANSLITERATION_TEXTTONUM(FormalHangul_ko) 48cdf0e10cSrcweir TRANSLITERATION_TEXTTONUM(KanjiLongModern_ja_JP) 49cdf0e10cSrcweir TRANSLITERATION_TEXTTONUM(KanjiLongTraditional_ja_JP) 50cdf0e10cSrcweir #endif 51cdf0e10cSrcweir #undef TRANSLITERATION_TEXTTONUM 52cdf0e10cSrcweir 53cdf0e10cSrcweir } } } } 54cdf0e10cSrcweir 55cdf0e10cSrcweir #endif // _L10N_TRANSLITERATION_TEXTTONUM_HXX_ 56