LibreOffice Module i18npool (master) 1
servicename.hxx
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/*
20Service Name
21 com.sun.star.i18n.Transliteration ... dispatching UNO object and generic methods
22 com.sun.star.i18n.Transliteration.u2l ... upper to lower
23 com.sun.star.i18n.Transliteration.l2u ... lower to upper
24 com.sun.star.i18n.Transliteration.caseignore ... case ignore
25 com.sun.star.i18n.Transliteration.l10n ... other
26
27 We have to adopt different service name for internal UNO objects.
28 Case related functionality vary depending on Locale.
29
30
31Implementation Name
32 For generic service: com.sun.star.i18n.Transliteration,
33 com.sun.star.i18n.Transliteration
34
35 com.sun.star.i18n.Transliteration.u2l
36 com.sun.star.i18n.Transliteration.l2u
37 com.sun.star.i18n.Transliteration.caseignore
38 For these there services above,
39
40 com.sun.star.i18n.Transliteration.ja_JP
41 ^^^^^
42 Locale name
43
44 For com.sun.star.i18n.l10n.Transliteration service,
45 com.sun.star.i18n.Transliteration.HALFWIDTH_FULLWIDTH,
46 com.sun.star.i18n.Transliteration.FULLWIDTH_HALFWIDTH,
47 com.sun.star.i18n.Transliteration.IGNORE_WIDTH,
48 com.sun.star.i18n.Transliteration.KATAKANA_HIRAGANA,
49 com.sun.star.i18n.Transliteration.HIRAGANA_KATAKANA,
50 com.sun.star.i18n.Transliteration.IGNORE_KANA,
51
52 ... These objects above can be used in every Locale context.
53
54*/
55
56#pragma once
57
58#define TRLT_SERVICELNAME "com.sun.star.i18n.Transliteration"
59#define TRLT_SERVICELNAME_L10N TRLT_SERVICELNAME ".l10n"
60
61#define TRLT_IMPLNAME_PREFIX "com.sun.star.i18n.Transliteration."
62// 1...5...901...5...901...5...901..4 --> 34
63
64/* vim:set shiftwidth=4 softtabstop=4 expandtab: */