1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
11  * OpenOffice.org is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * OpenOffice.org is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU Lesser General Public License version 3 for more details
19  * (a copy is included in the LICENSE file that accompanied this code).
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * version 3 along with OpenOffice.org.  If not, see
23  * <http://www.openoffice.org/license.html>
24  * for a copy of the LGPLv3 License.
25  *
26  ************************************************************************/
27 
28 // MARKER(update_precomp.py): autogen include statement, do not remove
29 #include "precompiled_i18npool.hxx"
30 
31 // prevent internal compiler error with MSVC6SP3
32 #include <utility>
33 
34 #define TRANSLITERATION_Separator_ja_JP
35 #include <transliteration_Ignore.hxx>
36 
37 namespace com { namespace sun { namespace star { namespace i18n {
38 
39 OneToOneMappingTable_t ignoreSeparatorTable[] = {
40     MAKE_PAIR( 0x0021, 0xFFFF ),  // EXCLAMATION MARK
41     MAKE_PAIR( 0x0023, 0xFFFF ),  // NUMBER SIGN
42     MAKE_PAIR( 0x0024, 0xFFFF ),  // DOLLAR SIGN
43     MAKE_PAIR( 0x0025, 0xFFFF ),  // PERCENT SIGN
44     MAKE_PAIR( 0x0026, 0xFFFF ),  // AMPERSAND
45     MAKE_PAIR( 0x002A, 0xFFFF ),  // ASTERISK
46     MAKE_PAIR( 0x002B, 0xFFFF ),  // PLUS SIGN
47     MAKE_PAIR( 0x002C, 0xFFFF ),  // COMMA
48     MAKE_PAIR( 0x002D, 0xFFFF ),  // HYPHEN-MINUS
49     MAKE_PAIR( 0x002E, 0xFFFF ),  // FULL STOP
50     MAKE_PAIR( 0x002F, 0xFFFF ),  // SOLIDUS
51     MAKE_PAIR( 0x003A, 0xFFFF ),  // COLON
52     MAKE_PAIR( 0x003B, 0xFFFF ),  // SEMICOLON
53     MAKE_PAIR( 0x003C, 0xFFFF ),  // LESS-THAN SIGN
54     MAKE_PAIR( 0x003D, 0xFFFF ),  // EQUALS SIGN
55     MAKE_PAIR( 0x003E, 0xFFFF ),  // GREATER-THAN SIGN
56     MAKE_PAIR( 0x005C, 0xFFFF ),  // REVERSE SOLIDUS
57     MAKE_PAIR( 0x005F, 0xFFFF ),  // LOW LINE
58     MAKE_PAIR( 0x007B, 0xFFFF ),  // LEFT CURLY BRACKET
59     MAKE_PAIR( 0x007C, 0xFFFF ),  // VERTICAL LINE
60     MAKE_PAIR( 0x007D, 0xFFFF ),  // RIGHT CURLY BRACKET
61     MAKE_PAIR( 0x007E, 0xFFFF ),  // TILDE
62     MAKE_PAIR( 0x00A5, 0xFFFF ),  // YEN SIGN
63     MAKE_PAIR( 0x3001, 0xFFFF ),  // IDEOGRAPHIC COMMA
64     MAKE_PAIR( 0x3002, 0xFFFF ),  // IDEOGRAPHIC FULL STOP
65     MAKE_PAIR( 0x3008, 0xFFFF ),  // LEFT ANGLE BRACKET
66     MAKE_PAIR( 0x3009, 0xFFFF ),  // RIGHT ANGLE BRACKET
67     MAKE_PAIR( 0x300A, 0xFFFF ),  // LEFT DOUBLE ANGLE BRACKET
68     MAKE_PAIR( 0x300B, 0xFFFF ),  // RIGHT DOUBLE ANGLE BRACKET
69     MAKE_PAIR( 0x300C, 0xFFFF ),  // LEFT CORNER BRACKET
70     MAKE_PAIR( 0x300D, 0xFFFF ),  // RIGHT CORNER BRACKET
71     MAKE_PAIR( 0x300E, 0xFFFF ),  // LEFT WHITE CORNER BRACKET
72     MAKE_PAIR( 0x300F, 0xFFFF ),  // RIGHT WHITE CORNER BRACKET
73     MAKE_PAIR( 0x3010, 0xFFFF ),  // LEFT BLACK LENTICULAR BRACKET
74     MAKE_PAIR( 0x3011, 0xFFFF ),  // RIGHT BLACK LENTICULAR BRACKET
75     MAKE_PAIR( 0x3014, 0xFFFF ),  // LEFT TORTOISE SHELL BRACKET
76     MAKE_PAIR( 0x3015, 0xFFFF ),  // RIGHT TORTOISE SHELL BRACKET
77     MAKE_PAIR( 0x3016, 0xFFFF ),  // LEFT WHITE LENTICULAR BLACKET
78     MAKE_PAIR( 0x3017, 0xFFFF ),  // RIGHT WHITE LENTICULAR BLACKET
79     MAKE_PAIR( 0x3018, 0xFFFF ),  // LEFT WHITETORTOISE SHELL BLACKET
80     MAKE_PAIR( 0x3019, 0xFFFF ),  // RIGHT WHITETORTOISE SHELL BLACKET
81     MAKE_PAIR( 0x301A, 0xFFFF ),  // LEFT WHITE SQUARE BRACKET
82     MAKE_PAIR( 0x301B, 0xFFFF ),  // RIGHT WHITE SQUARE BRACKET
83     MAKE_PAIR( 0x301C, 0xFFFF ),  // WAVE DASH
84     MAKE_PAIR( 0x301D, 0xFFFF ),  // REVERSED DOUBLE PRIME
85     MAKE_PAIR( 0x301E, 0xFFFF ),  // DOUBLE PRIME QUOTATION MARK
86     MAKE_PAIR( 0x301F, 0xFFFF ),  // LOW DOUBLE PRIME QUOTATION MARK
87     MAKE_PAIR( 0x3030, 0xFFFF ),  // WAVY DASH
88     MAKE_PAIR( 0x30FB, 0xFFFF ),  // KATAKANA MIDDLE DOT
89     MAKE_PAIR( 0x30FC, 0xFFFF ),  // KATAKANA-HIRAHANA PROLONGED SOUND MARK
90     MAKE_PAIR( 0xFF01, 0xFFFF ),  // FULLWIDTH EXCLAMATION MARK
91     MAKE_PAIR( 0xFF03, 0xFFFF ),  // FULLWIDTH NUMBER SIGN
92     MAKE_PAIR( 0xFF04, 0xFFFF ),  // FULLWIDTH DOLLAR SIGN
93     MAKE_PAIR( 0xFF05, 0xFFFF ),  // FULLWIDTH PERCENT SIGN
94     MAKE_PAIR( 0xFF06, 0xFFFF ),  // FULLWIDTH AMPERSAND
95     MAKE_PAIR( 0xFF0A, 0xFFFF ),  // FULLWIDTH ASTERISK
96     MAKE_PAIR( 0xFF0B, 0xFFFF ),  // FULLWIDTH PLUS SIGN
97     MAKE_PAIR( 0xFF0C, 0xFFFF ),  // FULLWIDTH COMMA
98     MAKE_PAIR( 0xFF0D, 0xFFFF ),  // FULLWIDTH HYPHEN-MINUS
99     MAKE_PAIR( 0xFF0E, 0xFFFF ),  // FULLWIDTH FULL STOP
100     MAKE_PAIR( 0xFF0F, 0xFFFF ),  // FULLWIDTH SOLIDUS
101     MAKE_PAIR( 0xFF1A, 0xFFFF ),  // FULLWIDTH COLON
102     MAKE_PAIR( 0xFF1B, 0xFFFF ),  // FULLWIDTH SEMICOLON
103     MAKE_PAIR( 0xFF1C, 0xFFFF ),  // FULLWIDTH LESS-THAN SIGN
104     MAKE_PAIR( 0xFF1D, 0xFFFF ),  // FULLWIDTH EQUALS SIGN
105     MAKE_PAIR( 0xFF1E, 0xFFFF ),  // FULLWIDTH GREATER-THAN SIGN
106     MAKE_PAIR( 0xFF3C, 0xFFFF ),  // FULLWIDTH REVERSE SOLIDUS
107     MAKE_PAIR( 0xFF3F, 0xFFFF ),  // FULLWIDTH LOW LINE
108     MAKE_PAIR( 0xFF5B, 0xFFFF ),  // FULLWIDTH LEFT CURLY BRACKET
109     MAKE_PAIR( 0xFF5C, 0xFFFF ),  // FULLWIDTH VERTICAL LINE
110     MAKE_PAIR( 0xFF5D, 0xFFFF ),  // FULLWIDTH RIGHT CURLY BRACKET
111     MAKE_PAIR( 0xFF5E, 0xFFFF ),  // FULLWIDTH TILDE
112     MAKE_PAIR( 0xFFE5, 0xFFFF ),  // FULLWIDTH YEN SIGN
113 };
114 
115 ignoreSeparator_ja_JP::ignoreSeparator_ja_JP()
116 {
117         static oneToOneMapping _table(ignoreSeparatorTable, sizeof(ignoreSeparatorTable));
118         func = (TransFunc) 0;
119         table = &_table;
120         map = 0;
121         transliterationName = "ignoreSeparator_ja_JP";
122         implementationName = "com.sun.star.i18n.Transliteration.ignoreSeparator_ja_JP";
123 }
124 
125 } } } }
126 
127