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_TiJi_ja_JP
31 #include <transliteration_Ignore.hxx>
32
33 using namespace com::sun::star::uno;
34 using namespace com::sun::star::lang;
35 using namespace rtl;
36
37 namespace com { namespace sun { namespace star { namespace i18n {
38
39
40 static Mapping TiJi[] = {
41 // TU + I --> TI
42 { 0x30C4, 0x30A3, 0x30C1, sal_True },
43 // TE + I --> TI
44 { 0x30C6, 0x30A3, 0x30C1, sal_True },
45 // TU + I --> TI
46 { 0x3064, 0x3043, 0x3061, sal_True },
47 // TE + I --> TI
48 { 0x3066, 0x3043, 0x3061, sal_True },
49 // DE + I --> ZI
50 { 0x30C7, 0x30A3, 0x30B8, sal_True },
51 // DE + I --> ZI
52 { 0x3067, 0x3043, 0x3058, sal_True },
53
54 { 0, 0, 0, sal_True }
55 };
56
ignoreTiJi_ja_JP()57 ignoreTiJi_ja_JP::ignoreTiJi_ja_JP()
58 {
59 func = (TransFunc) 0;
60 table = 0;
61 map = TiJi;
62 transliterationName = "ignoreTiJi_ja_JP";
63 implementationName = "com.sun.star.i18n.Transliteration.ignoreTiJi_ja_JP";
64 }
65
66 } } } }
67