summaryrefslogtreecommitdiff
path: root/i18npool/localedata/localedata_ar_BH.cxx
blob: e0695cae353674ed356f0d544ad4b74e45fc1f52 (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
#include <sal/types.h>

#include <stdio.h>

extern "C"
{
    static const sal_Unicode langID[] = { 0x61, 0x72, 0x0 };
    static const sal_Unicode langDefaultName[] = { 0x41, 0x72, 0x61, 0x62, 0x69, 0x63, 0x0 };
    static const sal_Unicode countryID[] = { 0x42, 0x48, 0x0 };
    static const sal_Unicode countryDefaultName[]
        = { 0x42, 0x61, 0x68, 0x72, 0x61, 0x69, 0x6e, 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_ar_BH(sal_Int16& count)
    {
        count = SAL_N_ELEMENTS(LCInfoArray);
        return (sal_Unicode**)LCInfoArray;
    }
    extern sal_Unicode** SAL_CALL getLocaleItem_ar_SA(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getLocaleItem_ar_BH(sal_Int16& count)
    {
        return getLocaleItem_ar_SA(count);
    }
    static const sal_Unicode replaceTo0[]
        = { 0x5b, 0x24, 0x62f, 0x2e, 0x628, 0x2e, 0x200f, 0x2d, 0x33, 0x43, 0x30, 0x31, 0x5d, 0x0 };
    extern sal_Unicode const* const* SAL_CALL getAllFormats0_ar_SA(sal_Int16& count,
                                                                   const sal_Unicode*& from,
                                                                   const sal_Unicode*& to);
    SAL_DLLPUBLIC_EXPORT sal_Unicode const* const* SAL_CALL
    getAllFormats0_ar_BH(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to)
    {
        to = replaceTo0;
        const sal_Unicode* tmp;
        return getAllFormats0_ar_SA(count, from, tmp);
    }
    extern sal_Unicode** SAL_CALL getDateAcceptancePatterns_ar_SA(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getDateAcceptancePatterns_ar_BH(sal_Int16& count)
    {
        return getDateAcceptancePatterns_ar_SA(count);
    }
    extern sal_Unicode** SAL_CALL getCollatorImplementation_ar_SA(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getCollatorImplementation_ar_BH(sal_Int16& count)
    {
        return getCollatorImplementation_ar_SA(count);
    }
    extern sal_Unicode** SAL_CALL getCollationOptions_ar_SA(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getCollationOptions_ar_BH(sal_Int16& count)
    {
        return getCollationOptions_ar_SA(count);
    }
    extern sal_Unicode** SAL_CALL getSearchOptions_ar_SA(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getSearchOptions_ar_BH(sal_Int16& count)
    {
        return getSearchOptions_ar_SA(count);
    }
    extern sal_Unicode** SAL_CALL getIndexAlgorithm_ar_SA(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getIndexAlgorithm_ar_BH(sal_Int16& count)
    {
        return getIndexAlgorithm_ar_SA(count);
    }
    extern sal_Unicode** SAL_CALL getUnicodeScripts_ar_SA(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getUnicodeScripts_ar_BH(sal_Int16& count)
    {
        return getUnicodeScripts_ar_SA(count);
    }
    extern sal_Unicode** SAL_CALL getFollowPageWords_ar_SA(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getFollowPageWords_ar_BH(sal_Int16& count)
    {
        return getFollowPageWords_ar_SA(count);
    }
    extern sal_Unicode** SAL_CALL getAllCalendars_ar_SA(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getAllCalendars_ar_BH(sal_Int16& count)
    {
        return getAllCalendars_ar_SA(count);
    }
    static const sal_Unicode defaultCurrency0[] = { 1 };
    static const sal_Unicode defaultCurrencyUsedInCompatibleFormatCodes0[] = { 1 };
    static const sal_Unicode defaultCurrencyLegacyOnly0[] = { 0 };
    static const sal_Unicode currencyID0[] = { 0x42, 0x48, 0x44, 0x0 };
    static const sal_Unicode currencySymbol0[] = { 0x62f, 0x2e, 0x628, 0x2e, 0x200f, 0x0 };
    static const sal_Unicode bankSymbol0[] = { 0x42, 0x48, 0x44, 0x0 };
    static const sal_Unicode currencyName0[] = { 0x42, 0x48, 0x44, 0x0 };
    static const sal_Unicode currencyDecimalPlaces0[] = { 2 };

    static const sal_Int16 currencyCount = 1;

    static const sal_Unicode* currencies[] = {
        currencyID0,
        currencySymbol0,
        bankSymbol0,
        currencyName0,
        defaultCurrency0,
        defaultCurrencyUsedInCompatibleFormatCodes0,
        currencyDecimalPlaces0,
        defaultCurrencyLegacyOnly0,
    };

    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getAllCurrencies_ar_BH(sal_Int16& count)
    {
        count = currencyCount;
        return (sal_Unicode**)currencies;
    }
    extern sal_Unicode** SAL_CALL getTransliterations_ar_SA(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getTransliterations_ar_BH(sal_Int16& count)
    {
        return getTransliterations_ar_SA(count);
    }
    extern sal_Unicode** SAL_CALL getForbiddenCharacters_ar_SA(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getForbiddenCharacters_ar_BH(sal_Int16& count)
    {
        return getForbiddenCharacters_ar_SA(count);
    }
    extern sal_Unicode** SAL_CALL getBreakIteratorRules_ar_SA(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getBreakIteratorRules_ar_BH(sal_Int16& count)
    {
        return getBreakIteratorRules_ar_SA(count);
    }
    extern sal_Unicode** SAL_CALL getReservedWords_ar_SA(sal_Int16& count);
    SAL_DLLPUBLIC_EXPORT sal_Unicode** SAL_CALL getReservedWords_ar_BH(sal_Int16& count)
    {
        return getReservedWords_ar_SA(count);
    }
    // ---> ContinuousNumbering
    extern const sal_Unicode*** SAL_CALL getContinuousNumberingLevels_ar_SA(sal_Int16& nStyles,
                                                                            sal_Int16& nAttributes);
    SAL_DLLPUBLIC_EXPORT const sal_Unicode*** SAL_CALL
    getContinuousNumberingLevels_ar_BH(sal_Int16& nStyles, sal_Int16& nAttributes)
    {
        return getContinuousNumberingLevels_ar_SA(nStyles, nAttributes);
    }
    // ---> OutlineNumbering
    extern const sal_Unicode**** SAL_CALL getOutlineNumberingLevels_ar_SA(sal_Int16& nStyles,
                                                                          sal_Int16& nLevels,
                                                                          sal_Int16& nAttributes);
    SAL_DLLPUBLIC_EXPORT const sal_Unicode**** SAL_CALL
    getOutlineNumberingLevels_ar_BH(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes)
    {
        return getOutlineNumberingLevels_ar_SA(nStyles, nLevels, nAttributes);
    }
} // extern "C"