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_Separator_ja_JP
31 #include <transliteration_Ignore.hxx>
32
33 namespace com { namespace sun { namespace star { namespace i18n {
34
35 OneToOneMappingTable_t ignoreSeparatorTable[] = {
36 MAKE_PAIR( 0x0021, 0xFFFF ), // EXCLAMATION MARK
37 MAKE_PAIR( 0x0023, 0xFFFF ), // NUMBER SIGN
38 MAKE_PAIR( 0x0024, 0xFFFF ), // DOLLAR SIGN
39 MAKE_PAIR( 0x0025, 0xFFFF ), // PERCENT SIGN
40 MAKE_PAIR( 0x0026, 0xFFFF ), // AMPERSAND
41 MAKE_PAIR( 0x002A, 0xFFFF ), // ASTERISK
42 MAKE_PAIR( 0x002B, 0xFFFF ), // PLUS SIGN
43 MAKE_PAIR( 0x002C, 0xFFFF ), // COMMA
44 MAKE_PAIR( 0x002D, 0xFFFF ), // HYPHEN-MINUS
45 MAKE_PAIR( 0x002E, 0xFFFF ), // FULL STOP
46 MAKE_PAIR( 0x002F, 0xFFFF ), // SOLIDUS
47 MAKE_PAIR( 0x003A, 0xFFFF ), // COLON
48 MAKE_PAIR( 0x003B, 0xFFFF ), // SEMICOLON
49 MAKE_PAIR( 0x003C, 0xFFFF ), // LESS-THAN SIGN
50 MAKE_PAIR( 0x003D, 0xFFFF ), // EQUALS SIGN
51 MAKE_PAIR( 0x003E, 0xFFFF ), // GREATER-THAN SIGN
52 MAKE_PAIR( 0x005C, 0xFFFF ), // REVERSE SOLIDUS
53 MAKE_PAIR( 0x005F, 0xFFFF ), // LOW LINE
54 MAKE_PAIR( 0x007B, 0xFFFF ), // LEFT CURLY BRACKET
55 MAKE_PAIR( 0x007C, 0xFFFF ), // VERTICAL LINE
56 MAKE_PAIR( 0x007D, 0xFFFF ), // RIGHT CURLY BRACKET
57 MAKE_PAIR( 0x007E, 0xFFFF ), // TILDE
58 MAKE_PAIR( 0x00A5, 0xFFFF ), // YEN SIGN
59 MAKE_PAIR( 0x3001, 0xFFFF ), // IDEOGRAPHIC COMMA
60 MAKE_PAIR( 0x3002, 0xFFFF ), // IDEOGRAPHIC FULL STOP
61 MAKE_PAIR( 0x3008, 0xFFFF ), // LEFT ANGLE BRACKET
62 MAKE_PAIR( 0x3009, 0xFFFF ), // RIGHT ANGLE BRACKET
63 MAKE_PAIR( 0x300A, 0xFFFF ), // LEFT DOUBLE ANGLE BRACKET
64 MAKE_PAIR( 0x300B, 0xFFFF ), // RIGHT DOUBLE ANGLE BRACKET
65 MAKE_PAIR( 0x300C, 0xFFFF ), // LEFT CORNER BRACKET
66 MAKE_PAIR( 0x300D, 0xFFFF ), // RIGHT CORNER BRACKET
67 MAKE_PAIR( 0x300E, 0xFFFF ), // LEFT WHITE CORNER BRACKET
68 MAKE_PAIR( 0x300F, 0xFFFF ), // RIGHT WHITE CORNER BRACKET
69 MAKE_PAIR( 0x3010, 0xFFFF ), // LEFT BLACK LENTICULAR BRACKET
70 MAKE_PAIR( 0x3011, 0xFFFF ), // RIGHT BLACK LENTICULAR BRACKET
71 MAKE_PAIR( 0x3014, 0xFFFF ), // LEFT TORTOISE SHELL BRACKET
72 MAKE_PAIR( 0x3015, 0xFFFF ), // RIGHT TORTOISE SHELL BRACKET
73 MAKE_PAIR( 0x3016, 0xFFFF ), // LEFT WHITE LENTICULAR BLACKET
74 MAKE_PAIR( 0x3017, 0xFFFF ), // RIGHT WHITE LENTICULAR BLACKET
75 MAKE_PAIR( 0x3018, 0xFFFF ), // LEFT WHITETORTOISE SHELL BLACKET
76 MAKE_PAIR( 0x3019, 0xFFFF ), // RIGHT WHITETORTOISE SHELL BLACKET
77 MAKE_PAIR( 0x301A, 0xFFFF ), // LEFT WHITE SQUARE BRACKET
78 MAKE_PAIR( 0x301B, 0xFFFF ), // RIGHT WHITE SQUARE BRACKET
79 MAKE_PAIR( 0x301C, 0xFFFF ), // WAVE DASH
80 MAKE_PAIR( 0x301D, 0xFFFF ), // REVERSED DOUBLE PRIME
81 MAKE_PAIR( 0x301E, 0xFFFF ), // DOUBLE PRIME QUOTATION MARK
82 MAKE_PAIR( 0x301F, 0xFFFF ), // LOW DOUBLE PRIME QUOTATION MARK
83 MAKE_PAIR( 0x3030, 0xFFFF ), // WAVY DASH
84 MAKE_PAIR( 0x30FB, 0xFFFF ), // KATAKANA MIDDLE DOT
85 MAKE_PAIR( 0x30FC, 0xFFFF ), // KATAKANA-HIRAHANA PROLONGED SOUND MARK
86 MAKE_PAIR( 0xFF01, 0xFFFF ), // FULLWIDTH EXCLAMATION MARK
87 MAKE_PAIR( 0xFF03, 0xFFFF ), // FULLWIDTH NUMBER SIGN
88 MAKE_PAIR( 0xFF04, 0xFFFF ), // FULLWIDTH DOLLAR SIGN
89 MAKE_PAIR( 0xFF05, 0xFFFF ), // FULLWIDTH PERCENT SIGN
90 MAKE_PAIR( 0xFF06, 0xFFFF ), // FULLWIDTH AMPERSAND
91 MAKE_PAIR( 0xFF0A, 0xFFFF ), // FULLWIDTH ASTERISK
92 MAKE_PAIR( 0xFF0B, 0xFFFF ), // FULLWIDTH PLUS SIGN
93 MAKE_PAIR( 0xFF0C, 0xFFFF ), // FULLWIDTH COMMA
94 MAKE_PAIR( 0xFF0D, 0xFFFF ), // FULLWIDTH HYPHEN-MINUS
95 MAKE_PAIR( 0xFF0E, 0xFFFF ), // FULLWIDTH FULL STOP
96 MAKE_PAIR( 0xFF0F, 0xFFFF ), // FULLWIDTH SOLIDUS
97 MAKE_PAIR( 0xFF1A, 0xFFFF ), // FULLWIDTH COLON
98 MAKE_PAIR( 0xFF1B, 0xFFFF ), // FULLWIDTH SEMICOLON
99 MAKE_PAIR( 0xFF1C, 0xFFFF ), // FULLWIDTH LESS-THAN SIGN
100 MAKE_PAIR( 0xFF1D, 0xFFFF ), // FULLWIDTH EQUALS SIGN
101 MAKE_PAIR( 0xFF1E, 0xFFFF ), // FULLWIDTH GREATER-THAN SIGN
102 MAKE_PAIR( 0xFF3C, 0xFFFF ), // FULLWIDTH REVERSE SOLIDUS
103 MAKE_PAIR( 0xFF3F, 0xFFFF ), // FULLWIDTH LOW LINE
104 MAKE_PAIR( 0xFF5B, 0xFFFF ), // FULLWIDTH LEFT CURLY BRACKET
105 MAKE_PAIR( 0xFF5C, 0xFFFF ), // FULLWIDTH VERTICAL LINE
106 MAKE_PAIR( 0xFF5D, 0xFFFF ), // FULLWIDTH RIGHT CURLY BRACKET
107 MAKE_PAIR( 0xFF5E, 0xFFFF ), // FULLWIDTH TILDE
108 MAKE_PAIR( 0xFFE5, 0xFFFF ), // FULLWIDTH YEN SIGN
109 };
110
ignoreSeparator_ja_JP()111 ignoreSeparator_ja_JP::ignoreSeparator_ja_JP()
112 {
113 static oneToOneMapping _table(ignoreSeparatorTable, sizeof(ignoreSeparatorTable));
114 func = (TransFunc) 0;
115 table = &_table;
116 map = 0;
117 transliterationName = "ignoreSeparator_ja_JP";
118 implementationName = "com.sun.star.i18n.Transliteration.ignoreSeparator_ja_JP";
119 }
120
121 } } } }
122
123