1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24 // MARKER(update_precomp.py): autogen include statement, do not remove 25 #include "precompiled_i18npool.hxx" 26 27 // prevent internal compiler error with MSVC6SP3 28 #include <utility> 29 30 #define TRANSLITERATION_ZiZu_ja_JP 31 #include <transliteration_Ignore.hxx> 32 33 namespace com { namespace sun { namespace star { namespace i18n { 34 35 sal_Unicode ignoreZiZu_ja_JP_translator(const sal_Unicode c)36ignoreZiZu_ja_JP_translator (const sal_Unicode c) 37 { 38 39 switch (c) { 40 case 0x30C2: // KATAKANA LETTER DI 41 return 0x30B8; // KATAKANA LETTER ZI 42 43 case 0x3062: // HIRAGANA LETTER DI 44 return 0x3058; // HIRAGANA LETTER ZI 45 46 case 0x30C5: // KATAKANA LETTER DU 47 return 0x30BA; // KATAKANA LETTER ZU 48 49 case 0x3065: // HIRAGANA LETTER DU 50 return 0x305A; // HIRAGANA LETTER ZU 51 } 52 return c; 53 } 54 ignoreZiZu_ja_JP()55ignoreZiZu_ja_JP::ignoreZiZu_ja_JP() 56 { 57 func = ignoreZiZu_ja_JP_translator; 58 table = 0; 59 map = 0; 60 transliterationName = "ignoreZiZu_ja_JP"; 61 implementationName = "com.sun.star.i18n.Transliteration.ignoreZiZu_ja_JP"; 62 } 63 64 } } } } 65