Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
11 : * Licensed to the Apache Software Foundation (ASF) under one or more
12 : * contributor license agreements. See the NOTICE file distributed
13 : * with this work for additional information regarding copyright
14 : * ownership. The ASF licenses this file to you under the Apache
15 : * License, Version 2.0 (the "License"); you may not use this file
16 : * except in compliance with the License. You may obtain a copy of
17 : * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 : */
19 :
20 :
21 : // prevent internal compiler error with MSVC6SP3
22 : #include <utility>
23 :
24 : #define TRANSLITERATION_Space_ja_JP
25 : #include <transliteration_Ignore.hxx>
26 :
27 : namespace com { namespace sun { namespace star { namespace i18n {
28 :
29 : OneToOneMappingTable_t ignoreSpace_ja_JP_mappingTable[] = {
30 : { 0x0020, 0xffff }, // SPACE
31 : { 0x00A0, 0xffff }, // NO-BREAK SPACE
32 : { 0x2002, 0xffff }, // EN SPACE
33 : { 0x2003, 0xffff }, // EM SPACE
34 : { 0x2004, 0xffff }, // THREE-PER-EM SPACE
35 : { 0x2005, 0xffff }, // FOUR-PER-EM SPACE
36 : { 0x2006, 0xffff }, // SIX-PER-EM SPACE
37 : { 0x2007, 0xffff }, // FIGURE SPACE
38 : { 0x2008, 0xffff }, // PUNCTUATION SPACE
39 : { 0x2009, 0xffff }, // THIN SPACE
40 : { 0x200A, 0xffff }, // HAIR SPACE
41 : { 0x200B, 0xffff }, // ZERO WIDTH SPACE
42 : { 0x202F, 0xffff }, // NARROW NO-BREAK SPACE
43 : { 0x3000, 0xffff }, // IDEOGRAPHIC SPACE
44 : { 0x303F, 0xffff } // IDEOGRAPHIC HALF FILL SPACE
45 : };
46 :
47 :
48 0 : ignoreSpace_ja_JP::ignoreSpace_ja_JP()
49 : {
50 0 : func = (TransFunc)0;
51 0 : table = new oneToOneMapping(ignoreSpace_ja_JP_mappingTable, sizeof(ignoreSpace_ja_JP_mappingTable));
52 0 : map = 0;
53 0 : transliterationName = "ignoreSpace_ja_JP";
54 0 : implementationName = "com.sun.star.i18n.Transliteration.ignoreSpace_ja_JP";
55 0 : }
56 :
57 : } } } }
58 :
59 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|