Update ooo320-m1
[ooovba.git] / i18npool / source / transliteration / ignoreSpace_ja_JP.cxx
blob04d645db23078a5e92b7e6badd9dfa734357db21
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ignoreSpace_ja_JP.cxx,v $
10 * $Revision: 1.9 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // MARKER(update_precomp.py): autogen include statement, do not remove
32 #include "precompiled_i18npool.hxx"
34 // prevent internal compiler error with MSVC6SP3
35 #include <utility>
37 #define TRANSLITERATION_Space_ja_JP
38 #include <transliteration_Ignore.hxx>
40 namespace com { namespace sun { namespace star { namespace i18n {
42 OneToOneMappingTable_t ignoreSpace_ja_JP_mappingTable[] = {
43 MAKE_PAIR( 0x0020, 0xffff ), // SPACE
44 MAKE_PAIR( 0x00A0, 0xffff ), // NO-BREAK SPACE
45 MAKE_PAIR( 0x2002, 0xffff ), // EN SPACE
46 MAKE_PAIR( 0x2003, 0xffff ), // EM SPACE
47 MAKE_PAIR( 0x2004, 0xffff ), // THREE-PER-EM SPACE
48 MAKE_PAIR( 0x2005, 0xffff ), // FOUR-PER-EM SPACE
49 MAKE_PAIR( 0x2006, 0xffff ), // SIX-PER-EM SPACE
50 MAKE_PAIR( 0x2007, 0xffff ), // FIGURE SPACE
51 MAKE_PAIR( 0x2008, 0xffff ), // PUNCTUATION SPACE
52 MAKE_PAIR( 0x2009, 0xffff ), // THIN SPACE
53 MAKE_PAIR( 0x200A, 0xffff ), // HAIR SPACE
54 MAKE_PAIR( 0x200B, 0xffff ), // ZERO WIDTH SPACE
55 MAKE_PAIR( 0x202F, 0xffff ), // NARROW NO-BREAK SPACE
56 MAKE_PAIR( 0x3000, 0xffff ), // IDEOGRAPHIC SPACE
57 MAKE_PAIR( 0x303F, 0xffff ) // IDEOGRAPHIC HALF FILL SPACE
61 ignoreSpace_ja_JP::ignoreSpace_ja_JP()
63 func = (TransFunc)0;
64 table = new oneToOneMapping(ignoreSpace_ja_JP_mappingTable, sizeof(ignoreSpace_ja_JP_mappingTable));
65 map = 0;
66 transliterationName = "ignoreSpace_ja_JP";
67 implementationName = "com.sun.star.i18n.Transliteration.ignoreSpace_ja_JP";
70 } } } }