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 : #include <transliteration_Ignore.hxx>
21 :
22 : namespace com { namespace sun { namespace star { namespace i18n {
23 :
24 : OneToOneMappingTable_t ignoreSpace_ja_JP_mappingTable[] = {
25 : { 0x0020, 0xffff }, // SPACE
26 : { 0x00A0, 0xffff }, // NO-BREAK SPACE
27 : { 0x2002, 0xffff }, // EN SPACE
28 : { 0x2003, 0xffff }, // EM SPACE
29 : { 0x2004, 0xffff }, // THREE-PER-EM SPACE
30 : { 0x2005, 0xffff }, // FOUR-PER-EM SPACE
31 : { 0x2006, 0xffff }, // SIX-PER-EM SPACE
32 : { 0x2007, 0xffff }, // FIGURE SPACE
33 : { 0x2008, 0xffff }, // PUNCTUATION SPACE
34 : { 0x2009, 0xffff }, // THIN SPACE
35 : { 0x200A, 0xffff }, // HAIR SPACE
36 : { 0x200B, 0xffff }, // ZERO WIDTH SPACE
37 : { 0x202F, 0xffff }, // NARROW NO-BREAK SPACE
38 : { 0x3000, 0xffff }, // IDEOGRAPHIC SPACE
39 : { 0x303F, 0xffff } // IDEOGRAPHIC HALF FILL SPACE
40 : };
41 :
42 :
43 0 : ignoreSpace_ja_JP::ignoreSpace_ja_JP()
44 : {
45 0 : func = nullptr;
46 0 : table = new oneToOneMapping(ignoreSpace_ja_JP_mappingTable, sizeof(ignoreSpace_ja_JP_mappingTable));
47 0 : map = 0;
48 0 : transliterationName = "ignoreSpace_ja_JP";
49 0 : implementationName = "com.sun.star.i18n.Transliteration.ignoreSpace_ja_JP";
50 0 : }
51 :
52 : } } } }
53 :
54 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|