1*449ab281SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*449ab281SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*449ab281SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*449ab281SAndrew Rist  * distributed with this work for additional information
6*449ab281SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*449ab281SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*449ab281SAndrew Rist  * "License"); you may not use this file except in compliance
9*449ab281SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*449ab281SAndrew Rist  *
11*449ab281SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*449ab281SAndrew Rist  *
13*449ab281SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*449ab281SAndrew Rist  * software distributed under the License is distributed on an
15*449ab281SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*449ab281SAndrew Rist  * KIND, either express or implied.  See the License for the
17*449ab281SAndrew Rist  * specific language governing permissions and limitations
18*449ab281SAndrew Rist  * under the License.
19*449ab281SAndrew Rist  *
20*449ab281SAndrew Rist  *************************************************************/
21*449ab281SAndrew Rist 
22*449ab281SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir // MARKER(update_precomp.py): autogen include statement, do not remove
25cdf0e10cSrcweir #include "precompiled_i18npool.hxx"
26cdf0e10cSrcweir 
27cdf0e10cSrcweir // prevent internal compiler error with MSVC6SP3
28cdf0e10cSrcweir #include <utility>
29cdf0e10cSrcweir 
30cdf0e10cSrcweir #define TRANSLITERATION_Space_ja_JP
31cdf0e10cSrcweir #include <transliteration_Ignore.hxx>
32cdf0e10cSrcweir 
33cdf0e10cSrcweir namespace com { namespace sun { namespace star { namespace i18n {
34cdf0e10cSrcweir 
35cdf0e10cSrcweir OneToOneMappingTable_t ignoreSpace_ja_JP_mappingTable[] = {
36cdf0e10cSrcweir     MAKE_PAIR( 0x0020, 0xffff ),  // SPACE
37cdf0e10cSrcweir     MAKE_PAIR( 0x00A0, 0xffff ),  // NO-BREAK SPACE
38cdf0e10cSrcweir     MAKE_PAIR( 0x2002, 0xffff ),  // EN SPACE
39cdf0e10cSrcweir     MAKE_PAIR( 0x2003, 0xffff ),  // EM SPACE
40cdf0e10cSrcweir     MAKE_PAIR( 0x2004, 0xffff ),  // THREE-PER-EM SPACE
41cdf0e10cSrcweir     MAKE_PAIR( 0x2005, 0xffff ),  // FOUR-PER-EM SPACE
42cdf0e10cSrcweir     MAKE_PAIR( 0x2006, 0xffff ),  // SIX-PER-EM SPACE
43cdf0e10cSrcweir     MAKE_PAIR( 0x2007, 0xffff ),  // FIGURE SPACE
44cdf0e10cSrcweir     MAKE_PAIR( 0x2008, 0xffff ),  // PUNCTUATION SPACE
45cdf0e10cSrcweir     MAKE_PAIR( 0x2009, 0xffff ),  // THIN SPACE
46cdf0e10cSrcweir     MAKE_PAIR( 0x200A, 0xffff ),  // HAIR SPACE
47cdf0e10cSrcweir     MAKE_PAIR( 0x200B, 0xffff ),  // ZERO WIDTH SPACE
48cdf0e10cSrcweir     MAKE_PAIR( 0x202F, 0xffff ),  // NARROW NO-BREAK SPACE
49cdf0e10cSrcweir     MAKE_PAIR( 0x3000, 0xffff ),  // IDEOGRAPHIC SPACE
50cdf0e10cSrcweir     MAKE_PAIR( 0x303F, 0xffff )   // IDEOGRAPHIC HALF FILL SPACE
51cdf0e10cSrcweir };
52cdf0e10cSrcweir 
53cdf0e10cSrcweir 
ignoreSpace_ja_JP()54cdf0e10cSrcweir ignoreSpace_ja_JP::ignoreSpace_ja_JP()
55cdf0e10cSrcweir {
56cdf0e10cSrcweir         func = (TransFunc)0;
57cdf0e10cSrcweir         table = new oneToOneMapping(ignoreSpace_ja_JP_mappingTable, sizeof(ignoreSpace_ja_JP_mappingTable));
58cdf0e10cSrcweir         map = 0;
59cdf0e10cSrcweir         transliterationName = "ignoreSpace_ja_JP";
60cdf0e10cSrcweir         implementationName = "com.sun.star.i18n.Transliteration.ignoreSpace_ja_JP";
61cdf0e10cSrcweir }
62cdf0e10cSrcweir 
63cdf0e10cSrcweir } } } }
64