LibreOffice Module i18npool (master)  1
ignoreKashida_CTL.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 
11 
12 namespace i18npool
13 {
15 {
16  if (c == 0x0640) // Check if it's Kashida
17  return 0xffff; // Then skip this character
18 
19  return c;
20 }
21 
22 ignoreKashida_CTL::ignoreKashida_CTL()
23 {
25  table = nullptr;
26  map = nullptr;
27  transliterationName = "ignoreKashida_CTL";
28  implementationName = "com.sun.star.i18n.Transliteration.ignoreKashida_CTL";
29 }
30 }
31 
32 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
exports com.sun.star. table
sal_uInt16 sal_Unicode
static sal_Unicode ignoreKashida_CTL_translator(const sal_Unicode c)
Constant values shared between i18npool and, for example, the number formatter.
std::map< OUString, rtl::Reference< Entity > > map
constexpr OUStringLiteral implementationName