Branch data Line data Source code
1 : : #include <sal/types.h>
2 : :
3 : :
4 : : #include <stdio.h> // debug printfs
5 : :
6 : : extern "C" {
7 : :
8 : : static const sal_Unicode langID[] = {0x6d, 0x73, 0x0};
9 : : static const sal_Unicode langDefaultName[] = {0x42, 0x61, 0x68, 0x61, 0x73, 0x61, 0x20, 0x4d, 0x65, 0x6c, 0x61, 0x79, 0x75, 0x0};
10 : : static const sal_Unicode countryID[] = {0x4d, 0x59, 0x0};
11 : : static const sal_Unicode countryDefaultName[] = {0x4d, 0x61, 0x6c, 0x61, 0x79, 0x73, 0x69, 0x61, 0x0};
12 : : static const sal_Unicode Variant[] = {0x0};
13 : :
14 : : static const sal_Unicode* LCInfoArray[] = {
15 : : langID,
16 : : langDefaultName,
17 : : countryID,
18 : : countryDefaultName,
19 : : Variant
20 : : };
21 : :
22 : 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getLCInfo_ms_MY(sal_Int16& count)
23 : : {
24 : 0 : count = 0;
25 : 0 : return (sal_Unicode**)LCInfoArray;
26 : : }
27 : :
28 : :
29 : : static const sal_Unicode LC_CTYPE_Unoid[] = {0x0};
30 : : static const sal_Unicode dateSeparator[] = {0x2f, 0x0};
31 : : static const sal_Unicode thousandSeparator[] = {0x2c, 0x0};
32 : : static const sal_Unicode decimalSeparator[] = {0x2e, 0x0};
33 : : static const sal_Unicode timeSeparator[] = {0x3a, 0x0};
34 : : static const sal_Unicode time100SecSeparator[] = {0x2e, 0x0};
35 : : static const sal_Unicode listSeparator[] = {0x3b, 0x0};
36 : : static const sal_Unicode LongDateDayOfWeekSeparator[] = {0x2c, 0x20, 0x0};
37 : : static const sal_Unicode LongDateDaySeparator[] = {0x2c, 0x20, 0x0};
38 : : static const sal_Unicode LongDateMonthSeparator[] = {0x20, 0x0};
39 : : static const sal_Unicode LongDateYearSeparator[] = {0x20, 0x0};
40 : : static const sal_Unicode quotationStart[] = {0x2018, 0x0};
41 : : static const sal_Unicode quotationEnd[] = {0x2019, 0x0};
42 : : static const sal_Unicode doubleQuotationStart[] = {0x201c, 0x0};
43 : : static const sal_Unicode doubleQuotationEnd[] = {0x201d, 0x0};
44 : : static const sal_Unicode timeAM[] = {0x41, 0x4d, 0x0};
45 : : static const sal_Unicode timePM[] = {0x50, 0x4d, 0x0};
46 : : static const sal_Unicode measurementSystem[] = {0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x0};
47 : :
48 : : static const sal_Unicode* LCType[] = {
49 : : LC_CTYPE_Unoid,
50 : : dateSeparator,
51 : : thousandSeparator,
52 : : decimalSeparator,
53 : : timeSeparator,
54 : : time100SecSeparator,
55 : : listSeparator,
56 : : quotationStart,
57 : : quotationEnd,
58 : : doubleQuotationStart,
59 : : doubleQuotationEnd,
60 : : timeAM,
61 : : timePM,
62 : : measurementSystem,
63 : : LongDateDayOfWeekSeparator,
64 : : LongDateDaySeparator,
65 : : LongDateMonthSeparator,
66 : : LongDateYearSeparator
67 : : };
68 : :
69 : 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getLocaleItem_ms_MY(sal_Int16& count)
70 : : {
71 : 0 : count = 0;
72 : 0 : return (sal_Unicode**)LCType;
73 : : }
74 : : static const sal_Unicode replaceFrom0[] = {0x5b, 0x43, 0x55, 0x52, 0x52, 0x45, 0x4e, 0x43, 0x59, 0x5d, 0x0};
75 : : static const sal_Unicode replaceTo0[] = {0x5b, 0x24, 0x52, 0x4d, 0x2d, 0x34, 0x33, 0x45, 0x5d, 0x0};
76 : : extern sal_Unicode ** SAL_CALL getAllFormats0_en_GB(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to);
77 : 36 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllFormats0_ms_MY(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to)
78 : : {
79 : 36 : to = replaceTo0;
80 : : const sal_Unicode* tmp;
81 [ + - ]: 36 : return getAllFormats0_en_GB(count, from, tmp);
82 : : }
83 : : extern sal_Unicode ** SAL_CALL getDateAcceptancePatterns_en_GB(sal_Int16& count);
84 : 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getDateAcceptancePatterns_ms_MY(sal_Int16& count)
85 : : {
86 : 0 : return getDateAcceptancePatterns_en_GB(count);
87 : : }
88 : : extern sal_Unicode ** SAL_CALL getCollatorImplementation_en_US(sal_Int16& count);
89 : 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getCollatorImplementation_ms_MY(sal_Int16& count)
90 : : {
91 : 0 : return getCollatorImplementation_en_US(count);
92 : : }
93 : : extern sal_Unicode ** SAL_CALL getCollationOptions_en_US(sal_Int16& count);
94 : 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getCollationOptions_ms_MY(sal_Int16& count)
95 : : {
96 : 0 : return getCollationOptions_en_US(count);
97 : : }
98 : : extern sal_Unicode ** SAL_CALL getSearchOptions_en_US(sal_Int16& count);
99 : 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getSearchOptions_ms_MY(sal_Int16& count)
100 : : {
101 : 0 : return getSearchOptions_en_US(count);
102 : : }
103 : : extern sal_Unicode ** SAL_CALL getIndexAlgorithm_en_US(sal_Int16& count);
104 : 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getIndexAlgorithm_ms_MY(sal_Int16& count)
105 : : {
106 : 0 : return getIndexAlgorithm_en_US(count);
107 : : }
108 : : extern sal_Unicode ** SAL_CALL getUnicodeScripts_en_US(sal_Int16& count);
109 : 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getUnicodeScripts_ms_MY(sal_Int16& count)
110 : : {
111 : 0 : return getUnicodeScripts_en_US(count);
112 : : }
113 : : extern sal_Unicode ** SAL_CALL getFollowPageWords_en_US(sal_Int16& count);
114 : 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getFollowPageWords_ms_MY(sal_Int16& count)
115 : : {
116 : 0 : return getFollowPageWords_en_US(count);
117 : : }
118 : : static const sal_Unicode calendarID0[] = {0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
119 : : static const sal_Unicode defaultCalendar0[] = {1};
120 : : static const sal_Unicode dayID00[] = {0x73, 0x75, 0x6e, 0x0};
121 : : static const sal_Unicode dayDefaultAbbrvName00[] = {0x41, 0x68, 0x64, 0x0};
122 : : static const sal_Unicode dayDefaultFullName00[] = {0x41, 0x68, 0x61, 0x64, 0x0};
123 : : static const sal_Unicode dayDefaultNarrowName00[] = {0x41, 0x0};
124 : : static const sal_Unicode dayID01[] = {0x6d, 0x6f, 0x6e, 0x0};
125 : : static const sal_Unicode dayDefaultAbbrvName01[] = {0x49, 0x73, 0x6e, 0x0};
126 : : static const sal_Unicode dayDefaultFullName01[] = {0x49, 0x73, 0x6e, 0x69, 0x6e, 0x0};
127 : : static const sal_Unicode dayDefaultNarrowName01[] = {0x49, 0x0};
128 : : static const sal_Unicode dayID02[] = {0x74, 0x75, 0x65, 0x0};
129 : : static const sal_Unicode dayDefaultAbbrvName02[] = {0x53, 0x65, 0x6c, 0x0};
130 : : static const sal_Unicode dayDefaultFullName02[] = {0x53, 0x65, 0x6c, 0x61, 0x73, 0x61, 0x0};
131 : : static const sal_Unicode dayDefaultNarrowName02[] = {0x53, 0x0};
132 : : static const sal_Unicode dayID03[] = {0x77, 0x65, 0x64, 0x0};
133 : : static const sal_Unicode dayDefaultAbbrvName03[] = {0x52, 0x61, 0x62, 0x0};
134 : : static const sal_Unicode dayDefaultFullName03[] = {0x52, 0x61, 0x62, 0x75, 0x0};
135 : : static const sal_Unicode dayDefaultNarrowName03[] = {0x52, 0x0};
136 : : static const sal_Unicode dayID04[] = {0x74, 0x68, 0x75, 0x0};
137 : : static const sal_Unicode dayDefaultAbbrvName04[] = {0x4b, 0x68, 0x61, 0x0};
138 : : static const sal_Unicode dayDefaultFullName04[] = {0x4b, 0x68, 0x61, 0x6d, 0x69, 0x73, 0x0};
139 : : static const sal_Unicode dayDefaultNarrowName04[] = {0x4b, 0x0};
140 : : static const sal_Unicode dayID05[] = {0x66, 0x72, 0x69, 0x0};
141 : : static const sal_Unicode dayDefaultAbbrvName05[] = {0x4a, 0x75, 0x6d, 0x0};
142 : : static const sal_Unicode dayDefaultFullName05[] = {0x4a, 0x75, 0x6d, 0x61, 0x61, 0x74, 0x0};
143 : : static const sal_Unicode dayDefaultNarrowName05[] = {0x4a, 0x0};
144 : : static const sal_Unicode dayID06[] = {0x73, 0x61, 0x74, 0x0};
145 : : static const sal_Unicode dayDefaultAbbrvName06[] = {0x53, 0x61, 0x62, 0x0};
146 : : static const sal_Unicode dayDefaultFullName06[] = {0x53, 0x61, 0x62, 0x74, 0x75, 0x0};
147 : : static const sal_Unicode dayDefaultNarrowName06[] = {0x53, 0x0};
148 : : static const sal_Unicode monthID00[] = {0x6a, 0x61, 0x6e, 0x0};
149 : : static const sal_Unicode monthDefaultAbbrvName00[] = {0x4a, 0x61, 0x6e, 0x0};
150 : : static const sal_Unicode monthDefaultFullName00[] = {0x4a, 0x61, 0x6e, 0x75, 0x61, 0x72, 0x69, 0x0};
151 : : static const sal_Unicode monthDefaultNarrowName00[] = {0x4a, 0x0};
152 : : static const sal_Unicode monthID01[] = {0x66, 0x65, 0x62, 0x0};
153 : : static const sal_Unicode monthDefaultAbbrvName01[] = {0x46, 0x65, 0x62, 0x0};
154 : : static const sal_Unicode monthDefaultFullName01[] = {0x46, 0x65, 0x62, 0x72, 0x75, 0x61, 0x72, 0x69, 0x0};
155 : : static const sal_Unicode monthDefaultNarrowName01[] = {0x46, 0x0};
156 : : static const sal_Unicode monthID02[] = {0x6d, 0x61, 0x72, 0x0};
157 : : static const sal_Unicode monthDefaultAbbrvName02[] = {0x4d, 0x61, 0x63, 0x0};
158 : : static const sal_Unicode monthDefaultFullName02[] = {0x4d, 0x61, 0x63, 0x0};
159 : : static const sal_Unicode monthDefaultNarrowName02[] = {0x4d, 0x0};
160 : : static const sal_Unicode monthID03[] = {0x61, 0x70, 0x72, 0x0};
161 : : static const sal_Unicode monthDefaultAbbrvName03[] = {0x41, 0x70, 0x72, 0x0};
162 : : static const sal_Unicode monthDefaultFullName03[] = {0x41, 0x70, 0x72, 0x69, 0x6c, 0x0};
163 : : static const sal_Unicode monthDefaultNarrowName03[] = {0x41, 0x0};
164 : : static const sal_Unicode monthID04[] = {0x6d, 0x61, 0x79, 0x0};
165 : : static const sal_Unicode monthDefaultAbbrvName04[] = {0x4d, 0x65, 0x69, 0x0};
166 : : static const sal_Unicode monthDefaultFullName04[] = {0x4d, 0x65, 0x69, 0x0};
167 : : static const sal_Unicode monthDefaultNarrowName04[] = {0x4d, 0x0};
168 : : static const sal_Unicode monthID05[] = {0x6a, 0x75, 0x6e, 0x0};
169 : : static const sal_Unicode monthDefaultAbbrvName05[] = {0x4a, 0x75, 0x6e, 0x0};
170 : : static const sal_Unicode monthDefaultFullName05[] = {0x4a, 0x75, 0x6e, 0x0};
171 : : static const sal_Unicode monthDefaultNarrowName05[] = {0x4a, 0x0};
172 : : static const sal_Unicode monthID06[] = {0x6a, 0x75, 0x6c, 0x0};
173 : : static const sal_Unicode monthDefaultAbbrvName06[] = {0x4a, 0x75, 0x6c, 0x0};
174 : : static const sal_Unicode monthDefaultFullName06[] = {0x4a, 0x75, 0x6c, 0x61, 0x69, 0x0};
175 : : static const sal_Unicode monthDefaultNarrowName06[] = {0x4a, 0x0};
176 : : static const sal_Unicode monthID07[] = {0x61, 0x75, 0x67, 0x0};
177 : : static const sal_Unicode monthDefaultAbbrvName07[] = {0x4f, 0x67, 0x6f, 0x73, 0x0};
178 : : static const sal_Unicode monthDefaultFullName07[] = {0x4f, 0x67, 0x6f, 0x73, 0x0};
179 : : static const sal_Unicode monthDefaultNarrowName07[] = {0x4f, 0x0};
180 : : static const sal_Unicode monthID08[] = {0x73, 0x65, 0x70, 0x0};
181 : : static const sal_Unicode monthDefaultAbbrvName08[] = {0x53, 0x65, 0x70, 0x0};
182 : : static const sal_Unicode monthDefaultFullName08[] = {0x53, 0x65, 0x70, 0x74, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x0};
183 : : static const sal_Unicode monthDefaultNarrowName08[] = {0x53, 0x0};
184 : : static const sal_Unicode monthID09[] = {0x6f, 0x63, 0x74, 0x0};
185 : : static const sal_Unicode monthDefaultAbbrvName09[] = {0x4f, 0x6b, 0x74, 0x0};
186 : : static const sal_Unicode monthDefaultFullName09[] = {0x4f, 0x6b, 0x74, 0x6f, 0x62, 0x65, 0x72, 0x0};
187 : : static const sal_Unicode monthDefaultNarrowName09[] = {0x4f, 0x0};
188 : : static const sal_Unicode monthID010[] = {0x6e, 0x6f, 0x76, 0x0};
189 : : static const sal_Unicode monthDefaultAbbrvName010[] = {0x4e, 0x6f, 0x76, 0x0};
190 : : static const sal_Unicode monthDefaultFullName010[] = {0x4e, 0x6f, 0x76, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x0};
191 : : static const sal_Unicode monthDefaultNarrowName010[] = {0x4e, 0x0};
192 : : static const sal_Unicode monthID011[] = {0x64, 0x65, 0x63, 0x0};
193 : : static const sal_Unicode monthDefaultAbbrvName011[] = {0x44, 0x69, 0x73, 0x0};
194 : : static const sal_Unicode monthDefaultFullName011[] = {0x44, 0x69, 0x73, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x0};
195 : : static const sal_Unicode monthDefaultNarrowName011[] = {0x44, 0x0};
196 : : static const sal_Unicode genitiveMonthID00[] = {0x6a, 0x61, 0x6e, 0x0};
197 : : static const sal_Unicode genitiveMonthDefaultAbbrvName00[] = {0x4a, 0x61, 0x6e, 0x0};
198 : : static const sal_Unicode genitiveMonthDefaultFullName00[] = {0x4a, 0x61, 0x6e, 0x75, 0x61, 0x72, 0x69, 0x0};
199 : : static const sal_Unicode genitiveMonthDefaultNarrowName00[] = {0x4a, 0x0};
200 : : static const sal_Unicode genitiveMonthID01[] = {0x66, 0x65, 0x62, 0x0};
201 : : static const sal_Unicode genitiveMonthDefaultAbbrvName01[] = {0x46, 0x65, 0x62, 0x0};
202 : : static const sal_Unicode genitiveMonthDefaultFullName01[] = {0x46, 0x65, 0x62, 0x72, 0x75, 0x61, 0x72, 0x69, 0x0};
203 : : static const sal_Unicode genitiveMonthDefaultNarrowName01[] = {0x46, 0x0};
204 : : static const sal_Unicode genitiveMonthID02[] = {0x6d, 0x61, 0x72, 0x0};
205 : : static const sal_Unicode genitiveMonthDefaultAbbrvName02[] = {0x4d, 0x61, 0x63, 0x0};
206 : : static const sal_Unicode genitiveMonthDefaultFullName02[] = {0x4d, 0x61, 0x63, 0x0};
207 : : static const sal_Unicode genitiveMonthDefaultNarrowName02[] = {0x4d, 0x0};
208 : : static const sal_Unicode genitiveMonthID03[] = {0x61, 0x70, 0x72, 0x0};
209 : : static const sal_Unicode genitiveMonthDefaultAbbrvName03[] = {0x41, 0x70, 0x72, 0x0};
210 : : static const sal_Unicode genitiveMonthDefaultFullName03[] = {0x41, 0x70, 0x72, 0x69, 0x6c, 0x0};
211 : : static const sal_Unicode genitiveMonthDefaultNarrowName03[] = {0x41, 0x0};
212 : : static const sal_Unicode genitiveMonthID04[] = {0x6d, 0x61, 0x79, 0x0};
213 : : static const sal_Unicode genitiveMonthDefaultAbbrvName04[] = {0x4d, 0x65, 0x69, 0x0};
214 : : static const sal_Unicode genitiveMonthDefaultFullName04[] = {0x4d, 0x65, 0x69, 0x0};
215 : : static const sal_Unicode genitiveMonthDefaultNarrowName04[] = {0x4d, 0x0};
216 : : static const sal_Unicode genitiveMonthID05[] = {0x6a, 0x75, 0x6e, 0x0};
217 : : static const sal_Unicode genitiveMonthDefaultAbbrvName05[] = {0x4a, 0x75, 0x6e, 0x0};
218 : : static const sal_Unicode genitiveMonthDefaultFullName05[] = {0x4a, 0x75, 0x6e, 0x0};
219 : : static const sal_Unicode genitiveMonthDefaultNarrowName05[] = {0x4a, 0x0};
220 : : static const sal_Unicode genitiveMonthID06[] = {0x6a, 0x75, 0x6c, 0x0};
221 : : static const sal_Unicode genitiveMonthDefaultAbbrvName06[] = {0x4a, 0x75, 0x6c, 0x0};
222 : : static const sal_Unicode genitiveMonthDefaultFullName06[] = {0x4a, 0x75, 0x6c, 0x61, 0x69, 0x0};
223 : : static const sal_Unicode genitiveMonthDefaultNarrowName06[] = {0x4a, 0x0};
224 : : static const sal_Unicode genitiveMonthID07[] = {0x61, 0x75, 0x67, 0x0};
225 : : static const sal_Unicode genitiveMonthDefaultAbbrvName07[] = {0x4f, 0x67, 0x6f, 0x73, 0x0};
226 : : static const sal_Unicode genitiveMonthDefaultFullName07[] = {0x4f, 0x67, 0x6f, 0x73, 0x0};
227 : : static const sal_Unicode genitiveMonthDefaultNarrowName07[] = {0x4f, 0x0};
228 : : static const sal_Unicode genitiveMonthID08[] = {0x73, 0x65, 0x70, 0x0};
229 : : static const sal_Unicode genitiveMonthDefaultAbbrvName08[] = {0x53, 0x65, 0x70, 0x0};
230 : : static const sal_Unicode genitiveMonthDefaultFullName08[] = {0x53, 0x65, 0x70, 0x74, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x0};
231 : : static const sal_Unicode genitiveMonthDefaultNarrowName08[] = {0x53, 0x0};
232 : : static const sal_Unicode genitiveMonthID09[] = {0x6f, 0x63, 0x74, 0x0};
233 : : static const sal_Unicode genitiveMonthDefaultAbbrvName09[] = {0x4f, 0x6b, 0x74, 0x0};
234 : : static const sal_Unicode genitiveMonthDefaultFullName09[] = {0x4f, 0x6b, 0x74, 0x6f, 0x62, 0x65, 0x72, 0x0};
235 : : static const sal_Unicode genitiveMonthDefaultNarrowName09[] = {0x4f, 0x0};
236 : : static const sal_Unicode genitiveMonthID010[] = {0x6e, 0x6f, 0x76, 0x0};
237 : : static const sal_Unicode genitiveMonthDefaultAbbrvName010[] = {0x4e, 0x6f, 0x76, 0x0};
238 : : static const sal_Unicode genitiveMonthDefaultFullName010[] = {0x4e, 0x6f, 0x76, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x0};
239 : : static const sal_Unicode genitiveMonthDefaultNarrowName010[] = {0x4e, 0x0};
240 : : static const sal_Unicode genitiveMonthID011[] = {0x64, 0x65, 0x63, 0x0};
241 : : static const sal_Unicode genitiveMonthDefaultAbbrvName011[] = {0x44, 0x69, 0x73, 0x0};
242 : : static const sal_Unicode genitiveMonthDefaultFullName011[] = {0x44, 0x69, 0x73, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x0};
243 : : static const sal_Unicode genitiveMonthDefaultNarrowName011[] = {0x44, 0x0};
244 : : static const sal_Unicode partitiveMonthID00[] = {0x6a, 0x61, 0x6e, 0x0};
245 : : static const sal_Unicode partitiveMonthDefaultAbbrvName00[] = {0x4a, 0x61, 0x6e, 0x0};
246 : : static const sal_Unicode partitiveMonthDefaultFullName00[] = {0x4a, 0x61, 0x6e, 0x75, 0x61, 0x72, 0x69, 0x0};
247 : : static const sal_Unicode partitiveMonthDefaultNarrowName00[] = {0x4a, 0x0};
248 : : static const sal_Unicode partitiveMonthID01[] = {0x66, 0x65, 0x62, 0x0};
249 : : static const sal_Unicode partitiveMonthDefaultAbbrvName01[] = {0x46, 0x65, 0x62, 0x0};
250 : : static const sal_Unicode partitiveMonthDefaultFullName01[] = {0x46, 0x65, 0x62, 0x72, 0x75, 0x61, 0x72, 0x69, 0x0};
251 : : static const sal_Unicode partitiveMonthDefaultNarrowName01[] = {0x46, 0x0};
252 : : static const sal_Unicode partitiveMonthID02[] = {0x6d, 0x61, 0x72, 0x0};
253 : : static const sal_Unicode partitiveMonthDefaultAbbrvName02[] = {0x4d, 0x61, 0x63, 0x0};
254 : : static const sal_Unicode partitiveMonthDefaultFullName02[] = {0x4d, 0x61, 0x63, 0x0};
255 : : static const sal_Unicode partitiveMonthDefaultNarrowName02[] = {0x4d, 0x0};
256 : : static const sal_Unicode partitiveMonthID03[] = {0x61, 0x70, 0x72, 0x0};
257 : : static const sal_Unicode partitiveMonthDefaultAbbrvName03[] = {0x41, 0x70, 0x72, 0x0};
258 : : static const sal_Unicode partitiveMonthDefaultFullName03[] = {0x41, 0x70, 0x72, 0x69, 0x6c, 0x0};
259 : : static const sal_Unicode partitiveMonthDefaultNarrowName03[] = {0x41, 0x0};
260 : : static const sal_Unicode partitiveMonthID04[] = {0x6d, 0x61, 0x79, 0x0};
261 : : static const sal_Unicode partitiveMonthDefaultAbbrvName04[] = {0x4d, 0x65, 0x69, 0x0};
262 : : static const sal_Unicode partitiveMonthDefaultFullName04[] = {0x4d, 0x65, 0x69, 0x0};
263 : : static const sal_Unicode partitiveMonthDefaultNarrowName04[] = {0x4d, 0x0};
264 : : static const sal_Unicode partitiveMonthID05[] = {0x6a, 0x75, 0x6e, 0x0};
265 : : static const sal_Unicode partitiveMonthDefaultAbbrvName05[] = {0x4a, 0x75, 0x6e, 0x0};
266 : : static const sal_Unicode partitiveMonthDefaultFullName05[] = {0x4a, 0x75, 0x6e, 0x0};
267 : : static const sal_Unicode partitiveMonthDefaultNarrowName05[] = {0x4a, 0x0};
268 : : static const sal_Unicode partitiveMonthID06[] = {0x6a, 0x75, 0x6c, 0x0};
269 : : static const sal_Unicode partitiveMonthDefaultAbbrvName06[] = {0x4a, 0x75, 0x6c, 0x0};
270 : : static const sal_Unicode partitiveMonthDefaultFullName06[] = {0x4a, 0x75, 0x6c, 0x61, 0x69, 0x0};
271 : : static const sal_Unicode partitiveMonthDefaultNarrowName06[] = {0x4a, 0x0};
272 : : static const sal_Unicode partitiveMonthID07[] = {0x61, 0x75, 0x67, 0x0};
273 : : static const sal_Unicode partitiveMonthDefaultAbbrvName07[] = {0x4f, 0x67, 0x6f, 0x73, 0x0};
274 : : static const sal_Unicode partitiveMonthDefaultFullName07[] = {0x4f, 0x67, 0x6f, 0x73, 0x0};
275 : : static const sal_Unicode partitiveMonthDefaultNarrowName07[] = {0x4f, 0x0};
276 : : static const sal_Unicode partitiveMonthID08[] = {0x73, 0x65, 0x70, 0x0};
277 : : static const sal_Unicode partitiveMonthDefaultAbbrvName08[] = {0x53, 0x65, 0x70, 0x0};
278 : : static const sal_Unicode partitiveMonthDefaultFullName08[] = {0x53, 0x65, 0x70, 0x74, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x0};
279 : : static const sal_Unicode partitiveMonthDefaultNarrowName08[] = {0x53, 0x0};
280 : : static const sal_Unicode partitiveMonthID09[] = {0x6f, 0x63, 0x74, 0x0};
281 : : static const sal_Unicode partitiveMonthDefaultAbbrvName09[] = {0x4f, 0x6b, 0x74, 0x0};
282 : : static const sal_Unicode partitiveMonthDefaultFullName09[] = {0x4f, 0x6b, 0x74, 0x6f, 0x62, 0x65, 0x72, 0x0};
283 : : static const sal_Unicode partitiveMonthDefaultNarrowName09[] = {0x4f, 0x0};
284 : : static const sal_Unicode partitiveMonthID010[] = {0x6e, 0x6f, 0x76, 0x0};
285 : : static const sal_Unicode partitiveMonthDefaultAbbrvName010[] = {0x4e, 0x6f, 0x76, 0x0};
286 : : static const sal_Unicode partitiveMonthDefaultFullName010[] = {0x4e, 0x6f, 0x76, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x0};
287 : : static const sal_Unicode partitiveMonthDefaultNarrowName010[] = {0x4e, 0x0};
288 : : static const sal_Unicode partitiveMonthID011[] = {0x64, 0x65, 0x63, 0x0};
289 : : static const sal_Unicode partitiveMonthDefaultAbbrvName011[] = {0x44, 0x69, 0x73, 0x0};
290 : : static const sal_Unicode partitiveMonthDefaultFullName011[] = {0x44, 0x69, 0x73, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x0};
291 : : static const sal_Unicode partitiveMonthDefaultNarrowName011[] = {0x44, 0x0};
292 : : static const sal_Unicode eraID00[] = {0x62, 0x63, 0x0};
293 : :
294 : : static const sal_Unicode eraDefaultAbbrvName00[] = {0x53, 0x2e, 0x4d, 0x2e, 0x0};
295 : : static const sal_Unicode eraDefaultFullName00[] = {0x53, 0x65, 0x62, 0x65, 0x6c, 0x75, 0x6d, 0x20, 0x4d, 0x61, 0x73, 0x69, 0x68, 0x69, 0x0};
296 : : static const sal_Unicode eraID01[] = {0x61, 0x64, 0x0};
297 : :
298 : : static const sal_Unicode eraDefaultAbbrvName01[] = {0x54, 0x2e, 0x4d, 0x2e, 0x0};
299 : : static const sal_Unicode eraDefaultFullName01[] = {0x54, 0x61, 0x68, 0x75, 0x6e, 0x20, 0x4d, 0x61, 0x73, 0x69, 0x68, 0x69, 0x0};
300 : : static const sal_Unicode startDayOfWeek0[] = {0x6d, 0x6f, 0x6e, 0x0};
301 : : static const sal_Unicode minimalDaysInFirstWeek0[] = {1};
302 : : static const sal_Int16 calendarsCount = 1;
303 : :
304 : : static const sal_Unicode nbOfDays[] = {7};
305 : : static const sal_Unicode nbOfMonths[] = {12};
306 : : static const sal_Unicode nbOfGenitiveMonths[] = {12};
307 : : static const sal_Unicode nbOfPartitiveMonths[] = {12};
308 : : static const sal_Unicode nbOfEras[] = {2};
309 : : static const sal_Unicode* calendars[] = {
310 : : nbOfDays,
311 : : nbOfMonths,
312 : : nbOfGenitiveMonths,
313 : : nbOfPartitiveMonths,
314 : : nbOfEras,
315 : : calendarID0,
316 : : defaultCalendar0,
317 : : dayID00,
318 : : dayDefaultAbbrvName00,
319 : : dayDefaultFullName00,
320 : : dayDefaultNarrowName00,
321 : : dayID01,
322 : : dayDefaultAbbrvName01,
323 : : dayDefaultFullName01,
324 : : dayDefaultNarrowName01,
325 : : dayID02,
326 : : dayDefaultAbbrvName02,
327 : : dayDefaultFullName02,
328 : : dayDefaultNarrowName02,
329 : : dayID03,
330 : : dayDefaultAbbrvName03,
331 : : dayDefaultFullName03,
332 : : dayDefaultNarrowName03,
333 : : dayID04,
334 : : dayDefaultAbbrvName04,
335 : : dayDefaultFullName04,
336 : : dayDefaultNarrowName04,
337 : : dayID05,
338 : : dayDefaultAbbrvName05,
339 : : dayDefaultFullName05,
340 : : dayDefaultNarrowName05,
341 : : dayID06,
342 : : dayDefaultAbbrvName06,
343 : : dayDefaultFullName06,
344 : : dayDefaultNarrowName06,
345 : : monthID00,
346 : : monthDefaultAbbrvName00,
347 : : monthDefaultFullName00,
348 : : monthDefaultNarrowName00,
349 : : monthID01,
350 : : monthDefaultAbbrvName01,
351 : : monthDefaultFullName01,
352 : : monthDefaultNarrowName01,
353 : : monthID02,
354 : : monthDefaultAbbrvName02,
355 : : monthDefaultFullName02,
356 : : monthDefaultNarrowName02,
357 : : monthID03,
358 : : monthDefaultAbbrvName03,
359 : : monthDefaultFullName03,
360 : : monthDefaultNarrowName03,
361 : : monthID04,
362 : : monthDefaultAbbrvName04,
363 : : monthDefaultFullName04,
364 : : monthDefaultNarrowName04,
365 : : monthID05,
366 : : monthDefaultAbbrvName05,
367 : : monthDefaultFullName05,
368 : : monthDefaultNarrowName05,
369 : : monthID06,
370 : : monthDefaultAbbrvName06,
371 : : monthDefaultFullName06,
372 : : monthDefaultNarrowName06,
373 : : monthID07,
374 : : monthDefaultAbbrvName07,
375 : : monthDefaultFullName07,
376 : : monthDefaultNarrowName07,
377 : : monthID08,
378 : : monthDefaultAbbrvName08,
379 : : monthDefaultFullName08,
380 : : monthDefaultNarrowName08,
381 : : monthID09,
382 : : monthDefaultAbbrvName09,
383 : : monthDefaultFullName09,
384 : : monthDefaultNarrowName09,
385 : : monthID010,
386 : : monthDefaultAbbrvName010,
387 : : monthDefaultFullName010,
388 : : monthDefaultNarrowName010,
389 : : monthID011,
390 : : monthDefaultAbbrvName011,
391 : : monthDefaultFullName011,
392 : : monthDefaultNarrowName011,
393 : : genitiveMonthID00,
394 : : genitiveMonthDefaultAbbrvName00,
395 : : genitiveMonthDefaultFullName00,
396 : : genitiveMonthDefaultNarrowName00,
397 : : genitiveMonthID01,
398 : : genitiveMonthDefaultAbbrvName01,
399 : : genitiveMonthDefaultFullName01,
400 : : genitiveMonthDefaultNarrowName01,
401 : : genitiveMonthID02,
402 : : genitiveMonthDefaultAbbrvName02,
403 : : genitiveMonthDefaultFullName02,
404 : : genitiveMonthDefaultNarrowName02,
405 : : genitiveMonthID03,
406 : : genitiveMonthDefaultAbbrvName03,
407 : : genitiveMonthDefaultFullName03,
408 : : genitiveMonthDefaultNarrowName03,
409 : : genitiveMonthID04,
410 : : genitiveMonthDefaultAbbrvName04,
411 : : genitiveMonthDefaultFullName04,
412 : : genitiveMonthDefaultNarrowName04,
413 : : genitiveMonthID05,
414 : : genitiveMonthDefaultAbbrvName05,
415 : : genitiveMonthDefaultFullName05,
416 : : genitiveMonthDefaultNarrowName05,
417 : : genitiveMonthID06,
418 : : genitiveMonthDefaultAbbrvName06,
419 : : genitiveMonthDefaultFullName06,
420 : : genitiveMonthDefaultNarrowName06,
421 : : genitiveMonthID07,
422 : : genitiveMonthDefaultAbbrvName07,
423 : : genitiveMonthDefaultFullName07,
424 : : genitiveMonthDefaultNarrowName07,
425 : : genitiveMonthID08,
426 : : genitiveMonthDefaultAbbrvName08,
427 : : genitiveMonthDefaultFullName08,
428 : : genitiveMonthDefaultNarrowName08,
429 : : genitiveMonthID09,
430 : : genitiveMonthDefaultAbbrvName09,
431 : : genitiveMonthDefaultFullName09,
432 : : genitiveMonthDefaultNarrowName09,
433 : : genitiveMonthID010,
434 : : genitiveMonthDefaultAbbrvName010,
435 : : genitiveMonthDefaultFullName010,
436 : : genitiveMonthDefaultNarrowName010,
437 : : genitiveMonthID011,
438 : : genitiveMonthDefaultAbbrvName011,
439 : : genitiveMonthDefaultFullName011,
440 : : genitiveMonthDefaultNarrowName011,
441 : : partitiveMonthID00,
442 : : partitiveMonthDefaultAbbrvName00,
443 : : partitiveMonthDefaultFullName00,
444 : : partitiveMonthDefaultNarrowName00,
445 : : partitiveMonthID01,
446 : : partitiveMonthDefaultAbbrvName01,
447 : : partitiveMonthDefaultFullName01,
448 : : partitiveMonthDefaultNarrowName01,
449 : : partitiveMonthID02,
450 : : partitiveMonthDefaultAbbrvName02,
451 : : partitiveMonthDefaultFullName02,
452 : : partitiveMonthDefaultNarrowName02,
453 : : partitiveMonthID03,
454 : : partitiveMonthDefaultAbbrvName03,
455 : : partitiveMonthDefaultFullName03,
456 : : partitiveMonthDefaultNarrowName03,
457 : : partitiveMonthID04,
458 : : partitiveMonthDefaultAbbrvName04,
459 : : partitiveMonthDefaultFullName04,
460 : : partitiveMonthDefaultNarrowName04,
461 : : partitiveMonthID05,
462 : : partitiveMonthDefaultAbbrvName05,
463 : : partitiveMonthDefaultFullName05,
464 : : partitiveMonthDefaultNarrowName05,
465 : : partitiveMonthID06,
466 : : partitiveMonthDefaultAbbrvName06,
467 : : partitiveMonthDefaultFullName06,
468 : : partitiveMonthDefaultNarrowName06,
469 : : partitiveMonthID07,
470 : : partitiveMonthDefaultAbbrvName07,
471 : : partitiveMonthDefaultFullName07,
472 : : partitiveMonthDefaultNarrowName07,
473 : : partitiveMonthID08,
474 : : partitiveMonthDefaultAbbrvName08,
475 : : partitiveMonthDefaultFullName08,
476 : : partitiveMonthDefaultNarrowName08,
477 : : partitiveMonthID09,
478 : : partitiveMonthDefaultAbbrvName09,
479 : : partitiveMonthDefaultFullName09,
480 : : partitiveMonthDefaultNarrowName09,
481 : : partitiveMonthID010,
482 : : partitiveMonthDefaultAbbrvName010,
483 : : partitiveMonthDefaultFullName010,
484 : : partitiveMonthDefaultNarrowName010,
485 : : partitiveMonthID011,
486 : : partitiveMonthDefaultAbbrvName011,
487 : : partitiveMonthDefaultFullName011,
488 : : partitiveMonthDefaultNarrowName011,
489 : : eraID00,
490 : : eraDefaultAbbrvName00,
491 : : eraDefaultFullName00,
492 : : eraID01,
493 : : eraDefaultAbbrvName01,
494 : : eraDefaultFullName01,
495 : : startDayOfWeek0,
496 : : minimalDaysInFirstWeek0,
497 : : };
498 : :
499 : 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllCalendars_ms_MY(sal_Int16& count)
500 : : {
501 : 0 : count = calendarsCount;
502 : 0 : return (sal_Unicode**)calendars;
503 : : }
504 : : static const sal_Unicode defaultCurrency0[] = {1};
505 : : static const sal_Unicode defaultCurrencyUsedInCompatibleFormatCodes0[] = {1};
506 : : static const sal_Unicode defaultCurrencyLegacyOnly0[] = {0};
507 : : static const sal_Unicode currencyID0[] = {0x4d, 0x59, 0x52, 0x0};
508 : : static const sal_Unicode currencySymbol0[] = {0x52, 0x4d, 0x0};
509 : : static const sal_Unicode bankSymbol0[] = {0x4d, 0x59, 0x52, 0x0};
510 : : static const sal_Unicode currencyName0[] = {0x52, 0x69, 0x6e, 0x67, 0x67, 0x69, 0x74, 0x20, 0x4d, 0x61, 0x6c, 0x61, 0x79, 0x73, 0x69, 0x61, 0x0};
511 : : static const sal_Unicode currencyDecimalPlaces0[] = {2};
512 : :
513 : : static const sal_Int16 currencyCount = 1;
514 : :
515 : : static const sal_Unicode* currencies[] = {
516 : : currencyID0,
517 : : currencySymbol0,
518 : : bankSymbol0,
519 : : currencyName0,
520 : : defaultCurrency0,
521 : : defaultCurrencyUsedInCompatibleFormatCodes0,
522 : : currencyDecimalPlaces0,
523 : : defaultCurrencyLegacyOnly0,
524 : : };
525 : :
526 : 72 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllCurrencies_ms_MY(sal_Int16& count)
527 : : {
528 : 72 : count = currencyCount;
529 : 72 : return (sal_Unicode**)currencies;
530 : : }
531 : : extern sal_Unicode ** SAL_CALL getTransliterations_en_US(sal_Int16& count);
532 : 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getTransliterations_ms_MY(sal_Int16& count)
533 : : {
534 : 0 : return getTransliterations_en_US(count);
535 : : }
536 : : static const sal_Unicode ReservedWord0[] = {0x74, 0x72, 0x75, 0x65, 0x0};
537 : : static const sal_Unicode ReservedWord1[] = {0x66, 0x61, 0x6c, 0x73, 0x65, 0x0};
538 : : static const sal_Unicode ReservedWord2[] = {0x73, 0x75, 0x6b, 0x75, 0x20, 0x70, 0x65, 0x72, 0x74, 0x61, 0x6d, 0x61, 0x0};
539 : : static const sal_Unicode ReservedWord3[] = {0x73, 0x75, 0x6b, 0x75, 0x20, 0x6b, 0x65, 0x64, 0x75, 0x61, 0x0};
540 : : static const sal_Unicode ReservedWord4[] = {0x73, 0x75, 0x6b, 0x75, 0x20, 0x6b, 0x65, 0x74, 0x69, 0x67, 0x61, 0x0};
541 : : static const sal_Unicode ReservedWord5[] = {0x73, 0x75, 0x6b, 0x75, 0x20, 0x6b, 0x65, 0x65, 0x6d, 0x70, 0x61, 0x74, 0x0};
542 : : static const sal_Unicode ReservedWord6[] = {0x61, 0x74, 0x61, 0x73, 0x0};
543 : : static const sal_Unicode ReservedWord7[] = {0x62, 0x61, 0x77, 0x61, 0x68, 0x0};
544 : : static const sal_Unicode ReservedWord8[] = {0x53, 0x31, 0x0};
545 : : static const sal_Unicode ReservedWord9[] = {0x53, 0x32, 0x0};
546 : : static const sal_Unicode ReservedWord10[] = {0x53, 0x33, 0x0};
547 : : static const sal_Unicode ReservedWord11[] = {0x53, 0x34, 0x0};
548 : : static const sal_Int16 nbOfReservedWords = 12;
549 : :
550 : :
551 : : static const sal_Unicode* LCReservedWordsArray[] = {
552 : : ReservedWord0,
553 : : ReservedWord1,
554 : : ReservedWord2,
555 : : ReservedWord3,
556 : : ReservedWord4,
557 : : ReservedWord5,
558 : : ReservedWord6,
559 : : ReservedWord7,
560 : : ReservedWord8,
561 : : ReservedWord9,
562 : : ReservedWord10,
563 : : ReservedWord11,
564 : : };
565 : :
566 : 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getReservedWords_ms_MY(sal_Int16& count)
567 : : {
568 : 0 : count = nbOfReservedWords;
569 : 0 : return (sal_Unicode**)LCReservedWordsArray;
570 : : }
571 : : static const sal_Unicode forbiddenBegin[] = {0x0};
572 : : static const sal_Unicode forbiddenEnd[] = {0x0};
573 : : static const sal_Unicode hangingChars[] = {0x0};
574 : :
575 : : static const sal_Unicode* LCForbiddenCharactersArray[] = {
576 : : forbiddenBegin,
577 : : forbiddenEnd,
578 : : hangingChars
579 : : };
580 : :
581 : 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getForbiddenCharacters_ms_MY(sal_Int16& count)
582 : : {
583 : 0 : count = 3;
584 : 0 : return (sal_Unicode**)LCForbiddenCharactersArray;
585 : : }
586 : : static const sal_Unicode EditMode[] = {0x0};
587 : : static const sal_Unicode DictionaryMode[] = {0x0};
588 : : static const sal_Unicode WordCountMode[] = {0x0};
589 : : static const sal_Unicode CharacterMode[] = {0x0};
590 : : static const sal_Unicode LineMode[] = {0x0};
591 : :
592 : : static const sal_Unicode* LCBreakIteratorRulesArray[] = {
593 : : EditMode,
594 : : DictionaryMode,
595 : : WordCountMode,
596 : : CharacterMode,
597 : : LineMode
598 : : };
599 : :
600 : 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getBreakIteratorRules_ms_MY(sal_Int16& count)
601 : : {
602 : 0 : count = 5;
603 : 0 : return (sal_Unicode**)LCBreakIteratorRulesArray;
604 : : }
605 : : // ---> ContinuousNumbering
606 : : extern const sal_Unicode *** SAL_CALL getContinuousNumberingLevels_en_US(sal_Int16& nStyles, sal_Int16& nAttributes);
607 : 0 : SAL_DLLPUBLIC_EXPORT const sal_Unicode *** SAL_CALL getContinuousNumberingLevels_ms_MY(sal_Int16& nStyles, sal_Int16& nAttributes)
608 : : {
609 : 0 : return getContinuousNumberingLevels_en_US(nStyles, nAttributes);
610 : : }
611 : : // ---> OutlineNumbering
612 : : extern const sal_Unicode **** SAL_CALL getOutlineNumberingLevels_en_US(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes);
613 : 0 : SAL_DLLPUBLIC_EXPORT const sal_Unicode **** SAL_CALL getOutlineNumberingLevels_ms_MY(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes)
614 : : {
615 : 0 : return getOutlineNumberingLevels_en_US(nStyles, nLevels, nAttributes);
616 : : }
617 : : } // extern "C"
618 : :
|