7 static const sal_Unicode langID
[] = { 0x65, 0x6e, 0x0 };
8 static const sal_Unicode langDefaultName
[] = { 0x45, 0x6e, 0x67, 0x6c, 0x69, 0x73, 0x68, 0x0 };
9 static const sal_Unicode countryID
[] = { 0x4c, 0x4b, 0x0 };
10 static const sal_Unicode countryDefaultName
[]
11 = { 0x53, 0x72, 0x69, 0x20, 0x4c, 0x61, 0x6e, 0x6b, 0x61, 0x0 };
12 static const sal_Unicode Variant
[] = { 0x0 };
14 static const sal_Unicode
* LCInfoArray
[]
15 = { langID
, langDefaultName
, countryID
, countryDefaultName
, Variant
};
17 SAL_DLLPUBLIC_EXPORT sal_Unicode
** SAL_CALL
getLCInfo_en_LK(sal_Int16
& count
)
19 count
= SAL_N_ELEMENTS(LCInfoArray
);
20 return (sal_Unicode
**)LCInfoArray
;
22 extern sal_Unicode
** SAL_CALL
getLocaleItem_en_GB(sal_Int16
& count
);
23 SAL_DLLPUBLIC_EXPORT sal_Unicode
** SAL_CALL
getLocaleItem_en_LK(sal_Int16
& count
)
25 return getLocaleItem_en_GB(count
);
27 static const sal_Unicode replaceTo0
[]
28 = { 0x5b, 0x24, 0x52, 0x73, 0x2d, 0x41, 0x34, 0x30, 0x39, 0x5d, 0x0 };
29 extern sal_Unicode
const* const* SAL_CALL
getAllFormats0_en_GB(sal_Int16
& count
,
30 const sal_Unicode
*& from
,
31 const sal_Unicode
*& to
);
32 SAL_DLLPUBLIC_EXPORT sal_Unicode
const* const* SAL_CALL
33 getAllFormats0_en_LK(sal_Int16
& count
, const sal_Unicode
*& from
, const sal_Unicode
*& to
)
36 const sal_Unicode
* tmp
;
37 return getAllFormats0_en_GB(count
, from
, tmp
);
39 extern sal_Unicode
** SAL_CALL
getDateAcceptancePatterns_en_GB(sal_Int16
& count
);
40 SAL_DLLPUBLIC_EXPORT sal_Unicode
** SAL_CALL
getDateAcceptancePatterns_en_LK(sal_Int16
& count
)
42 return getDateAcceptancePatterns_en_GB(count
);
44 extern sal_Unicode
** SAL_CALL
getCollatorImplementation_en_GB(sal_Int16
& count
);
45 SAL_DLLPUBLIC_EXPORT sal_Unicode
** SAL_CALL
getCollatorImplementation_en_LK(sal_Int16
& count
)
47 return getCollatorImplementation_en_GB(count
);
49 extern sal_Unicode
** SAL_CALL
getCollationOptions_en_GB(sal_Int16
& count
);
50 SAL_DLLPUBLIC_EXPORT sal_Unicode
** SAL_CALL
getCollationOptions_en_LK(sal_Int16
& count
)
52 return getCollationOptions_en_GB(count
);
54 extern sal_Unicode
** SAL_CALL
getSearchOptions_en_GB(sal_Int16
& count
);
55 SAL_DLLPUBLIC_EXPORT sal_Unicode
** SAL_CALL
getSearchOptions_en_LK(sal_Int16
& count
)
57 return getSearchOptions_en_GB(count
);
59 extern sal_Unicode
** SAL_CALL
getIndexAlgorithm_en_GB(sal_Int16
& count
);
60 SAL_DLLPUBLIC_EXPORT sal_Unicode
** SAL_CALL
getIndexAlgorithm_en_LK(sal_Int16
& count
)
62 return getIndexAlgorithm_en_GB(count
);
64 extern sal_Unicode
** SAL_CALL
getUnicodeScripts_en_GB(sal_Int16
& count
);
65 SAL_DLLPUBLIC_EXPORT sal_Unicode
** SAL_CALL
getUnicodeScripts_en_LK(sal_Int16
& count
)
67 return getUnicodeScripts_en_GB(count
);
69 extern sal_Unicode
** SAL_CALL
getFollowPageWords_en_GB(sal_Int16
& count
);
70 SAL_DLLPUBLIC_EXPORT sal_Unicode
** SAL_CALL
getFollowPageWords_en_LK(sal_Int16
& count
)
72 return getFollowPageWords_en_GB(count
);
74 extern sal_Unicode
** SAL_CALL
getAllCalendars_en_GB(sal_Int16
& count
);
75 SAL_DLLPUBLIC_EXPORT sal_Unicode
** SAL_CALL
getAllCalendars_en_LK(sal_Int16
& count
)
77 return getAllCalendars_en_GB(count
);
79 static const sal_Unicode defaultCurrency0
[] = { 1 };
80 static const sal_Unicode defaultCurrencyUsedInCompatibleFormatCodes0
[] = { 1 };
81 static const sal_Unicode defaultCurrencyLegacyOnly0
[] = { 0 };
82 static const sal_Unicode currencyID0
[] = { 0x4c, 0x4b, 0x52, 0x0 };
83 static const sal_Unicode currencySymbol0
[] = { 0x52, 0x73, 0x0 };
84 static const sal_Unicode bankSymbol0
[] = { 0x4c, 0x4b, 0x52, 0x0 };
85 static const sal_Unicode currencyName0
[] = { 0x53, 0x72, 0x69, 0x20, 0x4c, 0x61, 0x6e, 0x6b, 0x61,
86 0x6e, 0x20, 0x72, 0x75, 0x70, 0x65, 0x65, 0x0 };
87 static const sal_Unicode currencyDecimalPlaces0
[] = { 2 };
89 static const sal_Int16 currencyCount
= 1;
91 static const sal_Unicode
* currencies
[] = {
97 defaultCurrencyUsedInCompatibleFormatCodes0
,
98 currencyDecimalPlaces0
,
99 defaultCurrencyLegacyOnly0
,
102 SAL_DLLPUBLIC_EXPORT sal_Unicode
** SAL_CALL
getAllCurrencies_en_LK(sal_Int16
& count
)
104 count
= currencyCount
;
105 return (sal_Unicode
**)currencies
;
107 extern sal_Unicode
** SAL_CALL
getTransliterations_en_GB(sal_Int16
& count
);
108 SAL_DLLPUBLIC_EXPORT sal_Unicode
** SAL_CALL
getTransliterations_en_LK(sal_Int16
& count
)
110 return getTransliterations_en_GB(count
);
112 extern sal_Unicode
** SAL_CALL
getForbiddenCharacters_en_GB(sal_Int16
& count
);
113 SAL_DLLPUBLIC_EXPORT sal_Unicode
** SAL_CALL
getForbiddenCharacters_en_LK(sal_Int16
& count
)
115 return getForbiddenCharacters_en_GB(count
);
117 extern sal_Unicode
** SAL_CALL
getBreakIteratorRules_en_GB(sal_Int16
& count
);
118 SAL_DLLPUBLIC_EXPORT sal_Unicode
** SAL_CALL
getBreakIteratorRules_en_LK(sal_Int16
& count
)
120 return getBreakIteratorRules_en_GB(count
);
122 extern sal_Unicode
** SAL_CALL
getReservedWords_en_GB(sal_Int16
& count
);
123 SAL_DLLPUBLIC_EXPORT sal_Unicode
** SAL_CALL
getReservedWords_en_LK(sal_Int16
& count
)
125 return getReservedWords_en_GB(count
);
127 // ---> ContinuousNumbering
128 extern const sal_Unicode
*** SAL_CALL
getContinuousNumberingLevels_en_GB(sal_Int16
& nStyles
,
129 sal_Int16
& nAttributes
);
130 SAL_DLLPUBLIC_EXPORT
const sal_Unicode
*** SAL_CALL
131 getContinuousNumberingLevels_en_LK(sal_Int16
& nStyles
, sal_Int16
& nAttributes
)
133 return getContinuousNumberingLevels_en_GB(nStyles
, nAttributes
);
135 // ---> OutlineNumbering
136 extern const sal_Unicode
**** SAL_CALL
getOutlineNumberingLevels_en_GB(sal_Int16
& nStyles
,
138 sal_Int16
& nAttributes
);
139 SAL_DLLPUBLIC_EXPORT
const sal_Unicode
**** SAL_CALL
140 getOutlineNumberingLevels_en_LK(sal_Int16
& nStyles
, sal_Int16
& nLevels
, sal_Int16
& nAttributes
)
142 return getOutlineNumberingLevels_en_GB(nStyles
, nLevels
, nAttributes
);