LibreOffice Module i18npool (master) 1
ignoreSpace_ja_JP.cxx
Go to the documentation of this file.
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
22
23namespace i18npool {
24
26 { 0x0020, 0xffff }, // SPACE
27 { 0x00A0, 0xffff }, // NO-BREAK SPACE
28 { 0x2002, 0xffff }, // EN SPACE
29 { 0x2003, 0xffff }, // EM SPACE
30 { 0x2004, 0xffff }, // THREE-PER-EM SPACE
31 { 0x2005, 0xffff }, // FOUR-PER-EM SPACE
32 { 0x2006, 0xffff }, // SIX-PER-EM SPACE
33 { 0x2007, 0xffff }, // FIGURE SPACE
34 { 0x2008, 0xffff }, // PUNCTUATION SPACE
35 { 0x2009, 0xffff }, // THIN SPACE
36 { 0x200A, 0xffff }, // HAIR SPACE
37 { 0x200B, 0xffff }, // ZERO WIDTH SPACE
38 { 0x202F, 0xffff }, // NARROW NO-BREAK SPACE
39 { 0x3000, 0xffff }, // IDEOGRAPHIC SPACE
40 { 0x303F, 0xffff } // IDEOGRAPHIC HALF FILL SPACE
41};
42
43
44ignoreSpace_ja_JP::ignoreSpace_ja_JP()
45{
46 func = nullptr;
47 table = new i18nutil::oneToOneMapping(ignoreSpace_ja_JP_mappingTable, sizeof(ignoreSpace_ja_JP_mappingTable));
48 map = nullptr;
49 transliterationName = "ignoreSpace_ja_JP";
50 implementationName = "com.sun.star.i18n.Transliteration.ignoreSpace_ja_JP";
51}
52
53}
54
55/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@ table
Constant values shared between i18npool and, for example, the number formatter.
constexpr OUStringLiteral implementationName
i18nutil::OneToOneMappingTable_t const ignoreSpace_ja_JP_mappingTable[]
std::map< OUString, rtl::Reference< Entity > > map