merge the formfield patch from ooo-build
[ooovba.git] / i18npool / inc / servicename.hxx
blobb3d44f0c4e41c46630d7d3bdfe898accdafac3c1
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: servicename.hxx,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 /*
31 Service Name
32 com.sun.star.i18n.Transliteration ... dispatching UNO object and generic methods
33 com.sun.star.i18n.Transliteration.u2l ... upper to lower
34 com.sun.star.i18n.Transliteration.l2u ... lower to upper
35 com.sun.star.i18n.Transliteration.caseignore ... case ignore
36 com.sun.star.i18n.Transliteration.l10n ... other
38 We have to adopt different service name for internal UNO objects.
39 Case realted functionality vary depending on Locale.
42 Implementation Name
43 For geneic service: com.sun.star.i18n.Transliteration,
44 com.sun.star.i18n.Transliteration
46 com.sun.star.i18n.Transliteration.u2l
47 com.sun.star.i18n.Transliteration.l2u
48 com.sun.star.i18n.Transliteration.caseignore
49 For these there services above,
51 com.sun.star.i18n.Transliteration.ja_JP
52 ^^^^^
53 Locale name
55 For com.sun.star.i18n.l10n.Transliteration service,
56 com.sun.star.i18n.Transliteration.HALFWIDTH_FULLWIDTH,
57 com.sun.star.i18n.Transliteration.FULLWIDTH_HALFWIDTH,
58 com.sun.star.i18n.Transliteration.IGNORE_WIDTH,
59 com.sun.star.i18n.Transliteration.KATAKANA_HIRAGANA,
60 com.sun.star.i18n.Transliteration.HIRAGANA_KATAKANA,
61 com.sun.star.i18n.Transliteration.IGNORE_KANA,
63 ... These objects above can be used in every Locale context.
65 */
68 #ifndef _I18N_SERVICENAME_HXX_
69 #define _I18N_SERVICENAME_HXX_
73 #define TRLT_SERVICELNAME "com.sun.star.i18n.Transliteration"
74 #define TRLT_SERVICELNAME_PREFIX TRLT_SERVICELNAME "."
75 #define TRLT_SERVICELNAME_U2L TRLT_SERVICELNAME_PREFIX "u2l"
76 #define TRLT_SERVICELNAME_L2U TRLT_SERVICELNAME_PREFIX "l2u"
77 #define TRLT_SERVICELNAME_CASEIGNORE TRLT_SERVICELNAME_PREFIX "caseignore"
78 #define TRLT_SERVICELNAME_L10N TRLT_SERVICELNAME_PREFIX "l10n"
80 #define TRLT_IMPLNAME "com.sun.star.i18n.Transliteration"
81 #define TRLT_IMPLNAME_PREFIX_LEN 34
82 #define TRLT_IMPLNAME_PREFIX "com.sun.star.i18n.Transliteration."
83 // 1...5...901...5...901...5...901..4 --> 34
85 #define TRLT_IMPLNAME_L10N TRLT_IMPLNAME_PREFIX "l10n"
86 #define TRLT_IMPLNAME_FH TRLT_IMPLNAME_PREFIX "FULLWIDTH_HALFWIDTH" // for test
87 #define TRLT_IMPLNAME_Ja_JP TRLT_IMPLNAME_PREFIX "ja_JP"
89 #endif