summaryrefslogtreecommitdiff
path: root/i18npool/localedata/localedata_sr_CS.cxx
blob: 53d88df6cabf6c4f283629f1a68d00b94a27bca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
#include <sal/types.h>

#include <stdio.h>

extern "C"
{
    static const sal_Unicode langID[] = { 0x73, 0x72, 0x0 };
    static const sal_Unicode langDefaultName[]
        = { 0x53, 0x65, 0x72, 0x62, 0x69, 0x61, 0x6e, 0x20, 0x43,
            0x79, 0x72, 0x69, 0x6c, 0x6c, 0x69, 0x63, 0x0 };
    static const sal_Unicode countryID[] = { 0x43, 0x53, 0x0 };
    static const sal_Unicode countryDefaultName[]
        = { 0x53, 0x65, 0x72, 0x62, 0x69, 0x61, 0x20, 0x61, 0x6e, 0x64, 0x20,
            0x4d, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x65, 0x67, 0x72, 0x6f, 0x0 };
    static const sal_Unicode Variant[] = { 0x0 };

    static const sal_Unicode* LCInfoArray[]
        = { langID, langDefaultName, countryID, countryDefaultName, Variant };

    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getLCInfo_sr_CS(sal_Int16& count)
    {
        count = SAL_N_ELEMENTS(LCInfoArray);
        return (sal_Unicode**)LCInfoArray;
    }
    extern sal_Unicode** SAL_CALL getLocaleItem_sr_RS(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getLocaleItem_sr_CS(sal_Int16& count)
    {
        return getLocaleItem_sr_RS(count);
    }
    static const sal_Unicode replaceTo0[]
        = { 0x5b, 0x24, 0x414, 0x418, 0x41d, 0x2d, 0x43, 0x31, 0x41, 0x5d, 0x0 };
    extern sal_Unicode const* const* SAL_CALL getAllFormats0_sr_RS(sal_Int16& count,
                                                                   const sal_Unicode*& from,
                                                                   const sal_Unicode*& to);
    SAL_DLLPUBLIC_EXPORT sal_Unicode const* const* SAL_CALL
    getAllFormats0_sr_CS(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to)
    {
        to = replaceTo0;
        const sal_Unicode* tmp;
        return getAllFormats0_sr_RS(count, from, tmp);
    }
    extern sal_Unicode** SAL_CALL getDateAcceptancePatterns_sr_RS(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getDateAcceptancePatterns_sr_CS(sal_Int16& count)
    {
        return getDateAcceptancePatterns_sr_RS(count);
    }
    extern sal_Unicode** SAL_CALL getCollatorImplementation_sr_RS(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getCollatorImplementation_sr_CS(sal_Int16& count)
    {
        return getCollatorImplementation_sr_RS(count);
    }
    extern sal_Unicode** SAL_CALL getCollationOptions_sr_RS(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getCollationOptions_sr_CS(sal_Int16& count)
    {
        return getCollationOptions_sr_RS(count);
    }
    extern sal_Unicode** SAL_CALL getSearchOptions_sr_RS(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getSearchOptions_sr_CS(sal_Int16& count)
    {
        return getSearchOptions_sr_RS(count);
    }
    extern sal_Unicode** SAL_CALL getIndexAlgorithm_sr_RS(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getIndexAlgorithm_sr_CS(sal_Int16& count)
    {
        return getIndexAlgorithm_sr_RS(count);
    }
    extern sal_Unicode** SAL_CALL getUnicodeScripts_sr_RS(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getUnicodeScripts_sr_CS(sal_Int16& count)
    {
        return getUnicodeScripts_sr_RS(count);
    }
    extern sal_Unicode** SAL_CALL getFollowPageWords_sr_RS(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getFollowPageWords_sr_CS(sal_Int16& count)
    {
        return getFollowPageWords_sr_RS(count);
    }
    extern sal_Unicode** SAL_CALL getAllCalendars_sr_RS(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getAllCalendars_sr_CS(sal_Int16& count)
    {
        return getAllCalendars_sr_RS(count);
    }
    static const sal_Unicode defaultCurrency0[] = { 1 };
    static const sal_Unicode defaultCurrencyUsedInCompatibleFormatCodes0[] = { 1 };
    static const sal_Unicode defaultCurrencyLegacyOnly0[] = { 0 };
    static const sal_Unicode currencyID0[] = { 0x43, 0x53, 0x44, 0x0 };
    static const sal_Unicode currencySymbol0[] = { 0x414, 0x418, 0x41d, 0x0 };
    static const sal_Unicode bankSymbol0[] = { 0x43, 0x53, 0x44, 0x0 };
    static const sal_Unicode currencyName0[] = { 0x421, 0x440, 0x43f, 0x441, 0x43a, 0x438, 0x20,
                                                 0x414, 0x438, 0x43d, 0x430, 0x440, 0x0 };
    static const sal_Unicode currencyDecimalPlaces0[] = { 2 };

    static const sal_Unicode defaultCurrency1[] = { 0 };
    static const sal_Unicode defaultCurrencyUsedInCompatibleFormatCodes1[] = { 0 };
    static const sal_Unicode defaultCurrencyLegacyOnly1[] = { 0 };
    static const sal_Unicode currencyID1[] = { 0x45, 0x55, 0x52, 0x0 };
    static const sal_Unicode currencySymbol1[] = { 0x20ac, 0x0 };
    static const sal_Unicode bankSymbol1[] = { 0x45, 0x55, 0x52, 0x0 };
    static const sal_Unicode currencyName1[] = { 0x45, 0x75, 0x72, 0x6f, 0x0 };
    static const sal_Unicode currencyDecimalPlaces1[] = { 2 };

    static const sal_Int16 currencyCount = 2;

    static const sal_Unicode* currencies[] = {
        currencyID0,
        currencySymbol0,
        bankSymbol0,
        currencyName0,
        defaultCurrency0,
        defaultCurrencyUsedInCompatibleFormatCodes0,
        currencyDecimalPlaces0,
        defaultCurrencyLegacyOnly0,
        currencyID1,
        currencySymbol1,
        bankSymbol1,
        currencyName1,
        defaultCurrency1,
        defaultCurrencyUsedInCompatibleFormatCodes1,
        currencyDecimalPlaces1,
        defaultCurrencyLegacyOnly1,
    };

    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getAllCurrencies_sr_CS(sal_Int16& count)
    {
        count = currencyCount;
        return (sal_Unicode**)currencies;
    }
    extern sal_Unicode** SAL_CALL getTransliterations_sr_RS(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getTransliterations_sr_CS(sal_Int16& count)
    {
        return getTransliterations_sr_RS(count);
    }
    extern sal_Unicode** SAL_CALL getForbiddenCharacters_sr_RS(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getForbiddenCharacters_sr_CS(sal_Int16& count)
    {
        return getForbiddenCharacters_sr_RS(count);
    }
    extern sal_Unicode** SAL_CALL getBreakIteratorRules_sr_RS(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getBreakIteratorRules_sr_CS(sal_Int16& count)
    {
        return getBreakIteratorRules_sr_RS(count);
    }
    extern sal_Unicode** SAL_CALL getReservedWords_sr_RS(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getReservedWords_sr_CS(sal_Int16& count)
    {
        return getReservedWords_sr_RS(count);
    }
    // ---> ContinuousNumbering
    extern const sal_Unicode*** SAL_CALL getContinuousNumberingLevels_sr_RS(sal_Int16& nStyles,
                                                                            sal_Int16& nAttributes);
    SAL_DLLPUBLIC_EXPORT const sal_Unicode*** SAL_CALL
    getContinuousNumberingLevels_sr_CS(sal_Int16& nStyles, sal_Int16& nAttributes)
    {
        return getContinuousNumberingLevels_sr_RS(nStyles, nAttributes);
    }
    // ---> OutlineNumbering
    extern const sal_Unicode**** SAL_CALL getOutlineNumberingLevels_sr_RS(sal_Int16& nStyles,
                                                                          sal_Int16& nLevels,
                                                                          sal_Int16& nAttributes);
    SAL_DLLPUBLIC_EXPORT const sal_Unicode**** SAL_CALL
    getOutlineNumberingLevels_sr_CS(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes)
    {
        return getOutlineNumberingLevels_sr_RS(nStyles, nLevels, nAttributes);
    }
} // extern "C"