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[] = {0x74, 0x73, 0x61, 0x0};
9 : static const sal_Unicode langDefaultName[] = {0x54, 0x73, 0x61, 0x61, 0x6e, 0x67, 0x69, 0x0};
10 : static const sal_Unicode countryID[] = {0x43, 0x47, 0x0};
11 : static const sal_Unicode countryDefaultName[] = {0x43, 0x6f, 0x6e, 0x67, 0x6f, 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_tsa_CG(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[] = {0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x0};
30 : static const sal_Unicode dateSeparator[] = {0x2f, 0x0};
31 : static const sal_Unicode thousandSeparator[] = {0x2e, 0x0};
32 : static const sal_Unicode decimalSeparator[] = {0x2c, 0x0};
33 : static const sal_Unicode timeSeparator[] = {0x3a, 0x0};
34 : static const sal_Unicode time100SecSeparator[] = {0x2c, 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[] = {0xab, 0x0};
43 : static const sal_Unicode doubleQuotationEnd[] = {0xbb, 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_tsa_CG(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, 0x43, 0x46, 0x41, 0x2d, 0x36, 0x38, 0x32, 0x5d, 0x0};
76 : extern sal_Unicode ** SAL_CALL getAllFormats0_kng_CG(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to);
77 4 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllFormats0_tsa_CG(sal_Int16& count, const sal_Unicode*& from, const sal_Unicode*& to)
78 : {
79 4 : to = replaceTo0;
80 : const sal_Unicode* tmp;
81 4 : return getAllFormats0_kng_CG(count, from, tmp);
82 : }
83 : extern sal_Unicode ** SAL_CALL getDateAcceptancePatterns_kng_CG(sal_Int16& count);
84 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getDateAcceptancePatterns_tsa_CG(sal_Int16& count)
85 : {
86 0 : return getDateAcceptancePatterns_kng_CG(count);
87 : }
88 : static const sal_Unicode CollatorID0[] = {0x61, 0x6c, 0x70, 0x68, 0x61, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x0};
89 : static const sal_Unicode CollatorRule0[] = {0x0};
90 : static const sal_Unicode defaultCollator0[] = {1};
91 :
92 : static const sal_Unicode collationOption0[] = {0x49, 0x47, 0x4e, 0x4f, 0x52, 0x45, 0x5f, 0x43, 0x41, 0x53, 0x45, 0x0};
93 : static const sal_Int16 nbOfCollationOptions = 1;
94 :
95 : static const sal_Int16 nbOfCollations = 1;
96 :
97 :
98 : static const sal_Unicode* LCCollatorArray[] = {
99 : CollatorID0,
100 : defaultCollator0,
101 : CollatorRule0,
102 : };
103 :
104 : static const sal_Unicode* collationOptions[] = {collationOption0, NULL };
105 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getCollatorImplementation_tsa_CG(sal_Int16& count)
106 : {
107 0 : count = nbOfCollations;
108 0 : return (sal_Unicode**)LCCollatorArray;
109 : }
110 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getCollationOptions_tsa_CG(sal_Int16& count)
111 : {
112 0 : count = nbOfCollationOptions;
113 0 : return (sal_Unicode**)collationOptions;
114 : }
115 : static const sal_Unicode searchOption0[] = {0x49, 0x47, 0x4e, 0x4f, 0x52, 0x45, 0x5f, 0x43, 0x41, 0x53, 0x45, 0x0};
116 : static const sal_Int16 nbOfSearchOptions = 1;
117 :
118 : static const sal_Unicode* searchOptions[] = {searchOption0, NULL };
119 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getSearchOptions_tsa_CG(sal_Int16& count)
120 : {
121 0 : count = nbOfSearchOptions;
122 0 : return (sal_Unicode**)searchOptions;
123 : }
124 : static const sal_Unicode IndexID0[] = {0x61, 0x6c, 0x70, 0x68, 0x61, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x0};
125 : static const sal_Unicode IndexModule0[] = {0x0};
126 : static const sal_Unicode IndexKey0[] = {0x41, 0x2d, 0x5a, 0x0};
127 : static const sal_Unicode defaultIndex0[] = {1};
128 : static const sal_Unicode defaultPhonetic0[] = {0};
129 :
130 : static const sal_Unicode unicodeScript0[] = {0x30, 0x0};
131 : static const sal_Unicode unicodeScript1[] = {0x31, 0x0};
132 : static const sal_Unicode followPageWord0[] = {0x2e, 0x2f, 0x2e, 0x0};
133 : static const sal_Unicode followPageWord1[] = {0x2e, 0x2e, 0x2f, 0x2e, 0x2e, 0x0};
134 : static const sal_Int16 nbOfIndexs = 1;
135 :
136 :
137 : static const sal_Unicode* IndexArray[] = {
138 : IndexID0,
139 : IndexModule0,
140 : IndexKey0,
141 : defaultIndex0,
142 : defaultPhonetic0,
143 : };
144 :
145 : static const sal_Int16 nbOfUnicodeScripts = 2;
146 :
147 : static const sal_Unicode* UnicodeScriptArray[] = {unicodeScript0, unicodeScript1, NULL };
148 :
149 : static const sal_Int16 nbOfPageWords = 2;
150 :
151 : static const sal_Unicode* FollowPageWordArray[] = {
152 : followPageWord0,
153 : followPageWord1,
154 : NULL
155 : };
156 :
157 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getIndexAlgorithm_tsa_CG(sal_Int16& count)
158 : {
159 0 : count = nbOfIndexs;
160 0 : return (sal_Unicode**)IndexArray;
161 : }
162 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getUnicodeScripts_tsa_CG(sal_Int16& count)
163 : {
164 0 : count = nbOfUnicodeScripts;
165 0 : return (sal_Unicode**)UnicodeScriptArray;
166 : }
167 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getFollowPageWords_tsa_CG(sal_Int16& count)
168 : {
169 0 : count = nbOfPageWords;
170 0 : return (sal_Unicode**)FollowPageWordArray;
171 : }
172 : static const sal_Unicode calendarID0[] = {0x67, 0x72, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x61, 0x6e, 0x0};
173 : static const sal_Unicode defaultCalendar0[] = {1};
174 : static const sal_Unicode dayID00[] = {0x73, 0x75, 0x6e, 0x0};
175 : static const sal_Unicode dayDefaultAbbrvName00[] = {0x64, 0x69, 0x6d, 0x2e, 0x0};
176 : static const sal_Unicode dayDefaultFullName00[] = {0x64, 0x69, 0x6d, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x0};
177 : static const sal_Unicode dayDefaultNarrowName00[] = {0x64, 0x0};
178 : static const sal_Unicode dayID01[] = {0x6d, 0x6f, 0x6e, 0x0};
179 : static const sal_Unicode dayDefaultAbbrvName01[] = {0x6c, 0x75, 0x6e, 0x2e, 0x0};
180 : static const sal_Unicode dayDefaultFullName01[] = {0x6c, 0x75, 0x6e, 0x64, 0x69, 0x0};
181 : static const sal_Unicode dayDefaultNarrowName01[] = {0x6c, 0x0};
182 : static const sal_Unicode dayID02[] = {0x74, 0x75, 0x65, 0x0};
183 : static const sal_Unicode dayDefaultAbbrvName02[] = {0x6d, 0x61, 0x72, 0x2e, 0x0};
184 : static const sal_Unicode dayDefaultFullName02[] = {0x6d, 0x61, 0x72, 0x64, 0x69, 0x0};
185 : static const sal_Unicode dayDefaultNarrowName02[] = {0x6d, 0x0};
186 : static const sal_Unicode dayID03[] = {0x77, 0x65, 0x64, 0x0};
187 : static const sal_Unicode dayDefaultAbbrvName03[] = {0x6d, 0x65, 0x72, 0x2e, 0x0};
188 : static const sal_Unicode dayDefaultFullName03[] = {0x6d, 0x65, 0x72, 0x63, 0x72, 0x65, 0x64, 0x69, 0x0};
189 : static const sal_Unicode dayDefaultNarrowName03[] = {0x6d, 0x0};
190 : static const sal_Unicode dayID04[] = {0x74, 0x68, 0x75, 0x0};
191 : static const sal_Unicode dayDefaultAbbrvName04[] = {0x6a, 0x65, 0x75, 0x2e, 0x0};
192 : static const sal_Unicode dayDefaultFullName04[] = {0x6a, 0x65, 0x75, 0x64, 0x69, 0x0};
193 : static const sal_Unicode dayDefaultNarrowName04[] = {0x6a, 0x0};
194 : static const sal_Unicode dayID05[] = {0x66, 0x72, 0x69, 0x0};
195 : static const sal_Unicode dayDefaultAbbrvName05[] = {0x76, 0x65, 0x6e, 0x2e, 0x0};
196 : static const sal_Unicode dayDefaultFullName05[] = {0x76, 0x65, 0x6e, 0x64, 0x72, 0x65, 0x64, 0x69, 0x0};
197 : static const sal_Unicode dayDefaultNarrowName05[] = {0x76, 0x0};
198 : static const sal_Unicode dayID06[] = {0x73, 0x61, 0x74, 0x0};
199 : static const sal_Unicode dayDefaultAbbrvName06[] = {0x73, 0x61, 0x6d, 0x2e, 0x0};
200 : static const sal_Unicode dayDefaultFullName06[] = {0x73, 0x61, 0x6d, 0x65, 0x64, 0x69, 0x0};
201 : static const sal_Unicode dayDefaultNarrowName06[] = {0x73, 0x0};
202 : static const sal_Unicode monthID00[] = {0x6a, 0x61, 0x6e, 0x0};
203 : static const sal_Unicode monthDefaultAbbrvName00[] = {0x6a, 0x61, 0x6e, 0x76, 0x2e, 0x0};
204 : static const sal_Unicode monthDefaultFullName00[] = {0x6a, 0x61, 0x6e, 0x76, 0x69, 0x65, 0x72, 0x0};
205 : static const sal_Unicode monthDefaultNarrowName00[] = {0x6a, 0x0};
206 : static const sal_Unicode monthID01[] = {0x66, 0x65, 0x62, 0x0};
207 : static const sal_Unicode monthDefaultAbbrvName01[] = {0x66, 0xe9, 0x76, 0x72, 0x2e, 0x0};
208 : static const sal_Unicode monthDefaultFullName01[] = {0x66, 0xe9, 0x76, 0x72, 0x69, 0x65, 0x72, 0x0};
209 : static const sal_Unicode monthDefaultNarrowName01[] = {0x66, 0x0};
210 : static const sal_Unicode monthID02[] = {0x6d, 0x61, 0x72, 0x0};
211 : static const sal_Unicode monthDefaultAbbrvName02[] = {0x6d, 0x61, 0x72, 0x73, 0x0};
212 : static const sal_Unicode monthDefaultFullName02[] = {0x6d, 0x61, 0x72, 0x73, 0x0};
213 : static const sal_Unicode monthDefaultNarrowName02[] = {0x6d, 0x0};
214 : static const sal_Unicode monthID03[] = {0x61, 0x70, 0x72, 0x0};
215 : static const sal_Unicode monthDefaultAbbrvName03[] = {0x61, 0x76, 0x72, 0x2e, 0x0};
216 : static const sal_Unicode monthDefaultFullName03[] = {0x61, 0x76, 0x72, 0x69, 0x6c, 0x0};
217 : static const sal_Unicode monthDefaultNarrowName03[] = {0x61, 0x0};
218 : static const sal_Unicode monthID04[] = {0x6d, 0x61, 0x79, 0x0};
219 : static const sal_Unicode monthDefaultAbbrvName04[] = {0x6d, 0x61, 0x69, 0x0};
220 : static const sal_Unicode monthDefaultFullName04[] = {0x6d, 0x61, 0x69, 0x0};
221 : static const sal_Unicode monthDefaultNarrowName04[] = {0x6d, 0x0};
222 : static const sal_Unicode monthID05[] = {0x6a, 0x75, 0x6e, 0x0};
223 : static const sal_Unicode monthDefaultAbbrvName05[] = {0x6a, 0x75, 0x69, 0x6e, 0x0};
224 : static const sal_Unicode monthDefaultFullName05[] = {0x6a, 0x75, 0x69, 0x6e, 0x0};
225 : static const sal_Unicode monthDefaultNarrowName05[] = {0x6a, 0x0};
226 : static const sal_Unicode monthID06[] = {0x6a, 0x75, 0x6c, 0x0};
227 : static const sal_Unicode monthDefaultAbbrvName06[] = {0x6a, 0x75, 0x69, 0x6c, 0x2e, 0x0};
228 : static const sal_Unicode monthDefaultFullName06[] = {0x6a, 0x75, 0x69, 0x6c, 0x6c, 0x65, 0x74, 0x0};
229 : static const sal_Unicode monthDefaultNarrowName06[] = {0x6a, 0x0};
230 : static const sal_Unicode monthID07[] = {0x61, 0x75, 0x67, 0x0};
231 : static const sal_Unicode monthDefaultAbbrvName07[] = {0x61, 0x6f, 0xfb, 0x74, 0x0};
232 : static const sal_Unicode monthDefaultFullName07[] = {0x61, 0x6f, 0xfb, 0x74, 0x0};
233 : static const sal_Unicode monthDefaultNarrowName07[] = {0x61, 0x0};
234 : static const sal_Unicode monthID08[] = {0x73, 0x65, 0x70, 0x0};
235 : static const sal_Unicode monthDefaultAbbrvName08[] = {0x73, 0x65, 0x70, 0x74, 0x2e, 0x0};
236 : static const sal_Unicode monthDefaultFullName08[] = {0x73, 0x65, 0x70, 0x74, 0x65, 0x6d, 0x62, 0x72, 0x65, 0x0};
237 : static const sal_Unicode monthDefaultNarrowName08[] = {0x73, 0x0};
238 : static const sal_Unicode monthID09[] = {0x6f, 0x63, 0x74, 0x0};
239 : static const sal_Unicode monthDefaultAbbrvName09[] = {0x6f, 0x63, 0x74, 0x2e, 0x0};
240 : static const sal_Unicode monthDefaultFullName09[] = {0x6f, 0x63, 0x74, 0x6f, 0x62, 0x72, 0x65, 0x0};
241 : static const sal_Unicode monthDefaultNarrowName09[] = {0x6f, 0x0};
242 : static const sal_Unicode monthID010[] = {0x6e, 0x6f, 0x76, 0x0};
243 : static const sal_Unicode monthDefaultAbbrvName010[] = {0x6e, 0x6f, 0x76, 0x2e, 0x0};
244 : static const sal_Unicode monthDefaultFullName010[] = {0x6e, 0x6f, 0x76, 0x65, 0x6d, 0x62, 0x72, 0x65, 0x0};
245 : static const sal_Unicode monthDefaultNarrowName010[] = {0x6e, 0x0};
246 : static const sal_Unicode monthID011[] = {0x64, 0x65, 0x63, 0x0};
247 : static const sal_Unicode monthDefaultAbbrvName011[] = {0x64, 0xe9, 0x63, 0x2e, 0x0};
248 : static const sal_Unicode monthDefaultFullName011[] = {0x64, 0xe9, 0x63, 0x65, 0x6d, 0x62, 0x72, 0x65, 0x0};
249 : static const sal_Unicode monthDefaultNarrowName011[] = {0x64, 0x0};
250 : static const sal_Unicode genitiveMonthID00[] = {0x6a, 0x61, 0x6e, 0x0};
251 : static const sal_Unicode genitiveMonthDefaultAbbrvName00[] = {0x6a, 0x61, 0x6e, 0x76, 0x2e, 0x0};
252 : static const sal_Unicode genitiveMonthDefaultFullName00[] = {0x6a, 0x61, 0x6e, 0x76, 0x69, 0x65, 0x72, 0x0};
253 : static const sal_Unicode genitiveMonthDefaultNarrowName00[] = {0x6a, 0x0};
254 : static const sal_Unicode genitiveMonthID01[] = {0x66, 0x65, 0x62, 0x0};
255 : static const sal_Unicode genitiveMonthDefaultAbbrvName01[] = {0x66, 0xe9, 0x76, 0x72, 0x2e, 0x0};
256 : static const sal_Unicode genitiveMonthDefaultFullName01[] = {0x66, 0xe9, 0x76, 0x72, 0x69, 0x65, 0x72, 0x0};
257 : static const sal_Unicode genitiveMonthDefaultNarrowName01[] = {0x66, 0x0};
258 : static const sal_Unicode genitiveMonthID02[] = {0x6d, 0x61, 0x72, 0x0};
259 : static const sal_Unicode genitiveMonthDefaultAbbrvName02[] = {0x6d, 0x61, 0x72, 0x73, 0x0};
260 : static const sal_Unicode genitiveMonthDefaultFullName02[] = {0x6d, 0x61, 0x72, 0x73, 0x0};
261 : static const sal_Unicode genitiveMonthDefaultNarrowName02[] = {0x6d, 0x0};
262 : static const sal_Unicode genitiveMonthID03[] = {0x61, 0x70, 0x72, 0x0};
263 : static const sal_Unicode genitiveMonthDefaultAbbrvName03[] = {0x61, 0x76, 0x72, 0x2e, 0x0};
264 : static const sal_Unicode genitiveMonthDefaultFullName03[] = {0x61, 0x76, 0x72, 0x69, 0x6c, 0x0};
265 : static const sal_Unicode genitiveMonthDefaultNarrowName03[] = {0x61, 0x0};
266 : static const sal_Unicode genitiveMonthID04[] = {0x6d, 0x61, 0x79, 0x0};
267 : static const sal_Unicode genitiveMonthDefaultAbbrvName04[] = {0x6d, 0x61, 0x69, 0x0};
268 : static const sal_Unicode genitiveMonthDefaultFullName04[] = {0x6d, 0x61, 0x69, 0x0};
269 : static const sal_Unicode genitiveMonthDefaultNarrowName04[] = {0x6d, 0x0};
270 : static const sal_Unicode genitiveMonthID05[] = {0x6a, 0x75, 0x6e, 0x0};
271 : static const sal_Unicode genitiveMonthDefaultAbbrvName05[] = {0x6a, 0x75, 0x69, 0x6e, 0x0};
272 : static const sal_Unicode genitiveMonthDefaultFullName05[] = {0x6a, 0x75, 0x69, 0x6e, 0x0};
273 : static const sal_Unicode genitiveMonthDefaultNarrowName05[] = {0x6a, 0x0};
274 : static const sal_Unicode genitiveMonthID06[] = {0x6a, 0x75, 0x6c, 0x0};
275 : static const sal_Unicode genitiveMonthDefaultAbbrvName06[] = {0x6a, 0x75, 0x69, 0x6c, 0x2e, 0x0};
276 : static const sal_Unicode genitiveMonthDefaultFullName06[] = {0x6a, 0x75, 0x69, 0x6c, 0x6c, 0x65, 0x74, 0x0};
277 : static const sal_Unicode genitiveMonthDefaultNarrowName06[] = {0x6a, 0x0};
278 : static const sal_Unicode genitiveMonthID07[] = {0x61, 0x75, 0x67, 0x0};
279 : static const sal_Unicode genitiveMonthDefaultAbbrvName07[] = {0x61, 0x6f, 0xfb, 0x74, 0x0};
280 : static const sal_Unicode genitiveMonthDefaultFullName07[] = {0x61, 0x6f, 0xfb, 0x74, 0x0};
281 : static const sal_Unicode genitiveMonthDefaultNarrowName07[] = {0x61, 0x0};
282 : static const sal_Unicode genitiveMonthID08[] = {0x73, 0x65, 0x70, 0x0};
283 : static const sal_Unicode genitiveMonthDefaultAbbrvName08[] = {0x73, 0x65, 0x70, 0x74, 0x2e, 0x0};
284 : static const sal_Unicode genitiveMonthDefaultFullName08[] = {0x73, 0x65, 0x70, 0x74, 0x65, 0x6d, 0x62, 0x72, 0x65, 0x0};
285 : static const sal_Unicode genitiveMonthDefaultNarrowName08[] = {0x73, 0x0};
286 : static const sal_Unicode genitiveMonthID09[] = {0x6f, 0x63, 0x74, 0x0};
287 : static const sal_Unicode genitiveMonthDefaultAbbrvName09[] = {0x6f, 0x63, 0x74, 0x2e, 0x0};
288 : static const sal_Unicode genitiveMonthDefaultFullName09[] = {0x6f, 0x63, 0x74, 0x6f, 0x62, 0x72, 0x65, 0x0};
289 : static const sal_Unicode genitiveMonthDefaultNarrowName09[] = {0x6f, 0x0};
290 : static const sal_Unicode genitiveMonthID010[] = {0x6e, 0x6f, 0x76, 0x0};
291 : static const sal_Unicode genitiveMonthDefaultAbbrvName010[] = {0x6e, 0x6f, 0x76, 0x2e, 0x0};
292 : static const sal_Unicode genitiveMonthDefaultFullName010[] = {0x6e, 0x6f, 0x76, 0x65, 0x6d, 0x62, 0x72, 0x65, 0x0};
293 : static const sal_Unicode genitiveMonthDefaultNarrowName010[] = {0x6e, 0x0};
294 : static const sal_Unicode genitiveMonthID011[] = {0x64, 0x65, 0x63, 0x0};
295 : static const sal_Unicode genitiveMonthDefaultAbbrvName011[] = {0x64, 0xe9, 0x63, 0x2e, 0x0};
296 : static const sal_Unicode genitiveMonthDefaultFullName011[] = {0x64, 0xe9, 0x63, 0x65, 0x6d, 0x62, 0x72, 0x65, 0x0};
297 : static const sal_Unicode genitiveMonthDefaultNarrowName011[] = {0x64, 0x0};
298 : static const sal_Unicode partitiveMonthID00[] = {0x6a, 0x61, 0x6e, 0x0};
299 : static const sal_Unicode partitiveMonthDefaultAbbrvName00[] = {0x6a, 0x61, 0x6e, 0x76, 0x2e, 0x0};
300 : static const sal_Unicode partitiveMonthDefaultFullName00[] = {0x6a, 0x61, 0x6e, 0x76, 0x69, 0x65, 0x72, 0x0};
301 : static const sal_Unicode partitiveMonthDefaultNarrowName00[] = {0x6a, 0x0};
302 : static const sal_Unicode partitiveMonthID01[] = {0x66, 0x65, 0x62, 0x0};
303 : static const sal_Unicode partitiveMonthDefaultAbbrvName01[] = {0x66, 0xe9, 0x76, 0x72, 0x2e, 0x0};
304 : static const sal_Unicode partitiveMonthDefaultFullName01[] = {0x66, 0xe9, 0x76, 0x72, 0x69, 0x65, 0x72, 0x0};
305 : static const sal_Unicode partitiveMonthDefaultNarrowName01[] = {0x66, 0x0};
306 : static const sal_Unicode partitiveMonthID02[] = {0x6d, 0x61, 0x72, 0x0};
307 : static const sal_Unicode partitiveMonthDefaultAbbrvName02[] = {0x6d, 0x61, 0x72, 0x73, 0x0};
308 : static const sal_Unicode partitiveMonthDefaultFullName02[] = {0x6d, 0x61, 0x72, 0x73, 0x0};
309 : static const sal_Unicode partitiveMonthDefaultNarrowName02[] = {0x6d, 0x0};
310 : static const sal_Unicode partitiveMonthID03[] = {0x61, 0x70, 0x72, 0x0};
311 : static const sal_Unicode partitiveMonthDefaultAbbrvName03[] = {0x61, 0x76, 0x72, 0x2e, 0x0};
312 : static const sal_Unicode partitiveMonthDefaultFullName03[] = {0x61, 0x76, 0x72, 0x69, 0x6c, 0x0};
313 : static const sal_Unicode partitiveMonthDefaultNarrowName03[] = {0x61, 0x0};
314 : static const sal_Unicode partitiveMonthID04[] = {0x6d, 0x61, 0x79, 0x0};
315 : static const sal_Unicode partitiveMonthDefaultAbbrvName04[] = {0x6d, 0x61, 0x69, 0x0};
316 : static const sal_Unicode partitiveMonthDefaultFullName04[] = {0x6d, 0x61, 0x69, 0x0};
317 : static const sal_Unicode partitiveMonthDefaultNarrowName04[] = {0x6d, 0x0};
318 : static const sal_Unicode partitiveMonthID05[] = {0x6a, 0x75, 0x6e, 0x0};
319 : static const sal_Unicode partitiveMonthDefaultAbbrvName05[] = {0x6a, 0x75, 0x69, 0x6e, 0x0};
320 : static const sal_Unicode partitiveMonthDefaultFullName05[] = {0x6a, 0x75, 0x69, 0x6e, 0x0};
321 : static const sal_Unicode partitiveMonthDefaultNarrowName05[] = {0x6a, 0x0};
322 : static const sal_Unicode partitiveMonthID06[] = {0x6a, 0x75, 0x6c, 0x0};
323 : static const sal_Unicode partitiveMonthDefaultAbbrvName06[] = {0x6a, 0x75, 0x69, 0x6c, 0x2e, 0x0};
324 : static const sal_Unicode partitiveMonthDefaultFullName06[] = {0x6a, 0x75, 0x69, 0x6c, 0x6c, 0x65, 0x74, 0x0};
325 : static const sal_Unicode partitiveMonthDefaultNarrowName06[] = {0x6a, 0x0};
326 : static const sal_Unicode partitiveMonthID07[] = {0x61, 0x75, 0x67, 0x0};
327 : static const sal_Unicode partitiveMonthDefaultAbbrvName07[] = {0x61, 0x6f, 0xfb, 0x74, 0x0};
328 : static const sal_Unicode partitiveMonthDefaultFullName07[] = {0x61, 0x6f, 0xfb, 0x74, 0x0};
329 : static const sal_Unicode partitiveMonthDefaultNarrowName07[] = {0x61, 0x0};
330 : static const sal_Unicode partitiveMonthID08[] = {0x73, 0x65, 0x70, 0x0};
331 : static const sal_Unicode partitiveMonthDefaultAbbrvName08[] = {0x73, 0x65, 0x70, 0x74, 0x2e, 0x0};
332 : static const sal_Unicode partitiveMonthDefaultFullName08[] = {0x73, 0x65, 0x70, 0x74, 0x65, 0x6d, 0x62, 0x72, 0x65, 0x0};
333 : static const sal_Unicode partitiveMonthDefaultNarrowName08[] = {0x73, 0x0};
334 : static const sal_Unicode partitiveMonthID09[] = {0x6f, 0x63, 0x74, 0x0};
335 : static const sal_Unicode partitiveMonthDefaultAbbrvName09[] = {0x6f, 0x63, 0x74, 0x2e, 0x0};
336 : static const sal_Unicode partitiveMonthDefaultFullName09[] = {0x6f, 0x63, 0x74, 0x6f, 0x62, 0x72, 0x65, 0x0};
337 : static const sal_Unicode partitiveMonthDefaultNarrowName09[] = {0x6f, 0x0};
338 : static const sal_Unicode partitiveMonthID010[] = {0x6e, 0x6f, 0x76, 0x0};
339 : static const sal_Unicode partitiveMonthDefaultAbbrvName010[] = {0x6e, 0x6f, 0x76, 0x2e, 0x0};
340 : static const sal_Unicode partitiveMonthDefaultFullName010[] = {0x6e, 0x6f, 0x76, 0x65, 0x6d, 0x62, 0x72, 0x65, 0x0};
341 : static const sal_Unicode partitiveMonthDefaultNarrowName010[] = {0x6e, 0x0};
342 : static const sal_Unicode partitiveMonthID011[] = {0x64, 0x65, 0x63, 0x0};
343 : static const sal_Unicode partitiveMonthDefaultAbbrvName011[] = {0x64, 0xe9, 0x63, 0x2e, 0x0};
344 : static const sal_Unicode partitiveMonthDefaultFullName011[] = {0x64, 0xe9, 0x63, 0x65, 0x6d, 0x62, 0x72, 0x65, 0x0};
345 : static const sal_Unicode partitiveMonthDefaultNarrowName011[] = {0x64, 0x0};
346 : static const sal_Unicode eraID00[] = {0x62, 0x63, 0x0};
347 :
348 : static const sal_Unicode eraDefaultAbbrvName00[] = {0x61, 0x76, 0x2e, 0x20, 0x4a, 0x2e, 0x2d, 0x43, 0x2e, 0x0};
349 : static const sal_Unicode eraDefaultFullName00[] = {0x61, 0x76, 0x2e, 0x20, 0x4a, 0x2e, 0x2d, 0x43, 0x2e, 0x0};
350 : static const sal_Unicode eraID01[] = {0x61, 0x64, 0x0};
351 :
352 : static const sal_Unicode eraDefaultAbbrvName01[] = {0x61, 0x70, 0x72, 0x2e, 0x20, 0x4a, 0x2e, 0x2d, 0x43, 0x2e, 0x0};
353 : static const sal_Unicode eraDefaultFullName01[] = {0x61, 0x70, 0x2e, 0x20, 0x4a, 0x2e, 0x2d, 0x43, 0x2e, 0x0};
354 : static const sal_Unicode startDayOfWeek0[] = {0x6d, 0x6f, 0x6e, 0x0};
355 : static const sal_Unicode minimalDaysInFirstWeek0[] = {7};
356 : static const sal_Int16 calendarsCount = 1;
357 :
358 : static const sal_Unicode nbOfDays[] = {7};
359 : static const sal_Unicode nbOfMonths[] = {12};
360 : static const sal_Unicode nbOfGenitiveMonths[] = {12};
361 : static const sal_Unicode nbOfPartitiveMonths[] = {12};
362 : static const sal_Unicode nbOfEras[] = {2};
363 : static const sal_Unicode* calendars[] = {
364 : nbOfDays,
365 : nbOfMonths,
366 : nbOfGenitiveMonths,
367 : nbOfPartitiveMonths,
368 : nbOfEras,
369 : calendarID0,
370 : defaultCalendar0,
371 : dayID00,
372 : dayDefaultAbbrvName00,
373 : dayDefaultFullName00,
374 : dayDefaultNarrowName00,
375 : dayID01,
376 : dayDefaultAbbrvName01,
377 : dayDefaultFullName01,
378 : dayDefaultNarrowName01,
379 : dayID02,
380 : dayDefaultAbbrvName02,
381 : dayDefaultFullName02,
382 : dayDefaultNarrowName02,
383 : dayID03,
384 : dayDefaultAbbrvName03,
385 : dayDefaultFullName03,
386 : dayDefaultNarrowName03,
387 : dayID04,
388 : dayDefaultAbbrvName04,
389 : dayDefaultFullName04,
390 : dayDefaultNarrowName04,
391 : dayID05,
392 : dayDefaultAbbrvName05,
393 : dayDefaultFullName05,
394 : dayDefaultNarrowName05,
395 : dayID06,
396 : dayDefaultAbbrvName06,
397 : dayDefaultFullName06,
398 : dayDefaultNarrowName06,
399 : monthID00,
400 : monthDefaultAbbrvName00,
401 : monthDefaultFullName00,
402 : monthDefaultNarrowName00,
403 : monthID01,
404 : monthDefaultAbbrvName01,
405 : monthDefaultFullName01,
406 : monthDefaultNarrowName01,
407 : monthID02,
408 : monthDefaultAbbrvName02,
409 : monthDefaultFullName02,
410 : monthDefaultNarrowName02,
411 : monthID03,
412 : monthDefaultAbbrvName03,
413 : monthDefaultFullName03,
414 : monthDefaultNarrowName03,
415 : monthID04,
416 : monthDefaultAbbrvName04,
417 : monthDefaultFullName04,
418 : monthDefaultNarrowName04,
419 : monthID05,
420 : monthDefaultAbbrvName05,
421 : monthDefaultFullName05,
422 : monthDefaultNarrowName05,
423 : monthID06,
424 : monthDefaultAbbrvName06,
425 : monthDefaultFullName06,
426 : monthDefaultNarrowName06,
427 : monthID07,
428 : monthDefaultAbbrvName07,
429 : monthDefaultFullName07,
430 : monthDefaultNarrowName07,
431 : monthID08,
432 : monthDefaultAbbrvName08,
433 : monthDefaultFullName08,
434 : monthDefaultNarrowName08,
435 : monthID09,
436 : monthDefaultAbbrvName09,
437 : monthDefaultFullName09,
438 : monthDefaultNarrowName09,
439 : monthID010,
440 : monthDefaultAbbrvName010,
441 : monthDefaultFullName010,
442 : monthDefaultNarrowName010,
443 : monthID011,
444 : monthDefaultAbbrvName011,
445 : monthDefaultFullName011,
446 : monthDefaultNarrowName011,
447 : genitiveMonthID00,
448 : genitiveMonthDefaultAbbrvName00,
449 : genitiveMonthDefaultFullName00,
450 : genitiveMonthDefaultNarrowName00,
451 : genitiveMonthID01,
452 : genitiveMonthDefaultAbbrvName01,
453 : genitiveMonthDefaultFullName01,
454 : genitiveMonthDefaultNarrowName01,
455 : genitiveMonthID02,
456 : genitiveMonthDefaultAbbrvName02,
457 : genitiveMonthDefaultFullName02,
458 : genitiveMonthDefaultNarrowName02,
459 : genitiveMonthID03,
460 : genitiveMonthDefaultAbbrvName03,
461 : genitiveMonthDefaultFullName03,
462 : genitiveMonthDefaultNarrowName03,
463 : genitiveMonthID04,
464 : genitiveMonthDefaultAbbrvName04,
465 : genitiveMonthDefaultFullName04,
466 : genitiveMonthDefaultNarrowName04,
467 : genitiveMonthID05,
468 : genitiveMonthDefaultAbbrvName05,
469 : genitiveMonthDefaultFullName05,
470 : genitiveMonthDefaultNarrowName05,
471 : genitiveMonthID06,
472 : genitiveMonthDefaultAbbrvName06,
473 : genitiveMonthDefaultFullName06,
474 : genitiveMonthDefaultNarrowName06,
475 : genitiveMonthID07,
476 : genitiveMonthDefaultAbbrvName07,
477 : genitiveMonthDefaultFullName07,
478 : genitiveMonthDefaultNarrowName07,
479 : genitiveMonthID08,
480 : genitiveMonthDefaultAbbrvName08,
481 : genitiveMonthDefaultFullName08,
482 : genitiveMonthDefaultNarrowName08,
483 : genitiveMonthID09,
484 : genitiveMonthDefaultAbbrvName09,
485 : genitiveMonthDefaultFullName09,
486 : genitiveMonthDefaultNarrowName09,
487 : genitiveMonthID010,
488 : genitiveMonthDefaultAbbrvName010,
489 : genitiveMonthDefaultFullName010,
490 : genitiveMonthDefaultNarrowName010,
491 : genitiveMonthID011,
492 : genitiveMonthDefaultAbbrvName011,
493 : genitiveMonthDefaultFullName011,
494 : genitiveMonthDefaultNarrowName011,
495 : partitiveMonthID00,
496 : partitiveMonthDefaultAbbrvName00,
497 : partitiveMonthDefaultFullName00,
498 : partitiveMonthDefaultNarrowName00,
499 : partitiveMonthID01,
500 : partitiveMonthDefaultAbbrvName01,
501 : partitiveMonthDefaultFullName01,
502 : partitiveMonthDefaultNarrowName01,
503 : partitiveMonthID02,
504 : partitiveMonthDefaultAbbrvName02,
505 : partitiveMonthDefaultFullName02,
506 : partitiveMonthDefaultNarrowName02,
507 : partitiveMonthID03,
508 : partitiveMonthDefaultAbbrvName03,
509 : partitiveMonthDefaultFullName03,
510 : partitiveMonthDefaultNarrowName03,
511 : partitiveMonthID04,
512 : partitiveMonthDefaultAbbrvName04,
513 : partitiveMonthDefaultFullName04,
514 : partitiveMonthDefaultNarrowName04,
515 : partitiveMonthID05,
516 : partitiveMonthDefaultAbbrvName05,
517 : partitiveMonthDefaultFullName05,
518 : partitiveMonthDefaultNarrowName05,
519 : partitiveMonthID06,
520 : partitiveMonthDefaultAbbrvName06,
521 : partitiveMonthDefaultFullName06,
522 : partitiveMonthDefaultNarrowName06,
523 : partitiveMonthID07,
524 : partitiveMonthDefaultAbbrvName07,
525 : partitiveMonthDefaultFullName07,
526 : partitiveMonthDefaultNarrowName07,
527 : partitiveMonthID08,
528 : partitiveMonthDefaultAbbrvName08,
529 : partitiveMonthDefaultFullName08,
530 : partitiveMonthDefaultNarrowName08,
531 : partitiveMonthID09,
532 : partitiveMonthDefaultAbbrvName09,
533 : partitiveMonthDefaultFullName09,
534 : partitiveMonthDefaultNarrowName09,
535 : partitiveMonthID010,
536 : partitiveMonthDefaultAbbrvName010,
537 : partitiveMonthDefaultFullName010,
538 : partitiveMonthDefaultNarrowName010,
539 : partitiveMonthID011,
540 : partitiveMonthDefaultAbbrvName011,
541 : partitiveMonthDefaultFullName011,
542 : partitiveMonthDefaultNarrowName011,
543 : eraID00,
544 : eraDefaultAbbrvName00,
545 : eraDefaultFullName00,
546 : eraID01,
547 : eraDefaultAbbrvName01,
548 : eraDefaultFullName01,
549 : startDayOfWeek0,
550 : minimalDaysInFirstWeek0,
551 : };
552 :
553 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllCalendars_tsa_CG(sal_Int16& count)
554 : {
555 0 : count = calendarsCount;
556 0 : return (sal_Unicode**)calendars;
557 : }
558 : extern sal_Unicode ** SAL_CALL getAllCurrencies_kng_CG(sal_Int16& count);
559 8 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getAllCurrencies_tsa_CG(sal_Int16& count)
560 : {
561 8 : return getAllCurrencies_kng_CG(count);
562 : }
563 : static const sal_Unicode Transliteration0[] = {0x53, 0x45, 0x4e, 0x54, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x43, 0x41, 0x53, 0x45, 0x0};
564 : static const sal_Unicode Transliteration1[] = {0x4c, 0x4f, 0x57, 0x45, 0x52, 0x43, 0x41, 0x53, 0x45, 0x5f, 0x55, 0x50, 0x50, 0x45, 0x52, 0x43, 0x41, 0x53, 0x45, 0x0};
565 : static const sal_Unicode Transliteration2[] = {0x55, 0x50, 0x50, 0x45, 0x52, 0x43, 0x41, 0x53, 0x45, 0x5f, 0x4c, 0x4f, 0x57, 0x45, 0x52, 0x43, 0x41, 0x53, 0x45, 0x0};
566 : static const sal_Unicode Transliteration3[] = {0x54, 0x49, 0x54, 0x4c, 0x45, 0x5f, 0x43, 0x41, 0x53, 0x45, 0x0};
567 : static const sal_Unicode Transliteration4[] = {0x54, 0x4f, 0x47, 0x47, 0x4c, 0x45, 0x5f, 0x43, 0x41, 0x53, 0x45, 0x0};
568 : static const sal_Unicode Transliteration5[] = {0x49, 0x47, 0x4e, 0x4f, 0x52, 0x45, 0x5f, 0x43, 0x41, 0x53, 0x45, 0x0};
569 : static const sal_Int16 nbOfTransliterations = 6;
570 :
571 :
572 : static const sal_Unicode* LCTransliterationsArray[] = {
573 : Transliteration0,
574 : Transliteration1,
575 : Transliteration2,
576 : Transliteration3,
577 : Transliteration4,
578 : Transliteration5,
579 : };
580 :
581 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getTransliterations_tsa_CG(sal_Int16& count)
582 : {
583 0 : count = nbOfTransliterations;
584 0 : return (sal_Unicode**)LCTransliterationsArray;
585 : }
586 : static const sal_Unicode ReservedWord0[] = {0x76, 0x72, 0x61, 0x69, 0x0};
587 : static const sal_Unicode ReservedWord1[] = {0x66, 0x61, 0x75, 0x78, 0x0};
588 : static const sal_Unicode ReservedWord2[] = {0x31, 0x65, 0x72, 0x20, 0x74, 0x72, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x72, 0x65, 0x0};
589 : static const sal_Unicode ReservedWord3[] = {0x32, 0x65, 0x20, 0x74, 0x72, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x72, 0x65, 0x0};
590 : static const sal_Unicode ReservedWord4[] = {0x33, 0x65, 0x20, 0x74, 0x72, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x72, 0x65, 0x0};
591 : static const sal_Unicode ReservedWord5[] = {0x34, 0x65, 0x20, 0x74, 0x72, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x72, 0x65, 0x0};
592 : static const sal_Unicode ReservedWord6[] = {0x73, 0x75, 0x70, 0x72, 0x61, 0x0};
593 : static const sal_Unicode ReservedWord7[] = {0x69, 0x6e, 0x66, 0x72, 0x61, 0x0};
594 : static const sal_Unicode ReservedWord8[] = {0x54, 0x31, 0x0};
595 : static const sal_Unicode ReservedWord9[] = {0x54, 0x32, 0x0};
596 : static const sal_Unicode ReservedWord10[] = {0x54, 0x33, 0x0};
597 : static const sal_Unicode ReservedWord11[] = {0x54, 0x34, 0x0};
598 : static const sal_Int16 nbOfReservedWords = 12;
599 :
600 :
601 : static const sal_Unicode* LCReservedWordsArray[] = {
602 : ReservedWord0,
603 : ReservedWord1,
604 : ReservedWord2,
605 : ReservedWord3,
606 : ReservedWord4,
607 : ReservedWord5,
608 : ReservedWord6,
609 : ReservedWord7,
610 : ReservedWord8,
611 : ReservedWord9,
612 : ReservedWord10,
613 : ReservedWord11,
614 : };
615 :
616 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getReservedWords_tsa_CG(sal_Int16& count)
617 : {
618 0 : count = nbOfReservedWords;
619 0 : return (sal_Unicode**)LCReservedWordsArray;
620 : }
621 : static const sal_Unicode forbiddenBegin[] = {0x0};
622 : static const sal_Unicode forbiddenEnd[] = {0x0};
623 : static const sal_Unicode hangingChars[] = {0x0};
624 :
625 : static const sal_Unicode* LCForbiddenCharactersArray[] = {
626 : forbiddenBegin,
627 : forbiddenEnd,
628 : hangingChars
629 : };
630 :
631 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getForbiddenCharacters_tsa_CG(sal_Int16& count)
632 : {
633 0 : count = 3;
634 0 : return (sal_Unicode**)LCForbiddenCharactersArray;
635 : }
636 : static const sal_Unicode EditMode[] = {0x0};
637 : static const sal_Unicode DictionaryMode[] = {0x0};
638 : static const sal_Unicode WordCountMode[] = {0x0};
639 : static const sal_Unicode CharacterMode[] = {0x0};
640 : static const sal_Unicode LineMode[] = {0x0};
641 :
642 : static const sal_Unicode* LCBreakIteratorRulesArray[] = {
643 : EditMode,
644 : DictionaryMode,
645 : WordCountMode,
646 : CharacterMode,
647 : LineMode
648 : };
649 :
650 0 : SAL_DLLPUBLIC_EXPORT sal_Unicode ** SAL_CALL getBreakIteratorRules_tsa_CG(sal_Int16& count)
651 : {
652 0 : count = 5;
653 0 : return (sal_Unicode**)LCBreakIteratorRulesArray;
654 : }
655 : // ---> ContinuousNumbering
656 : extern const sal_Unicode *** SAL_CALL getContinuousNumberingLevels_en_US(sal_Int16& nStyles, sal_Int16& nAttributes);
657 0 : SAL_DLLPUBLIC_EXPORT const sal_Unicode *** SAL_CALL getContinuousNumberingLevels_tsa_CG(sal_Int16& nStyles, sal_Int16& nAttributes)
658 : {
659 0 : return getContinuousNumberingLevels_en_US(nStyles, nAttributes);
660 : }
661 : // ---> OutlineNumbering
662 : extern const sal_Unicode **** SAL_CALL getOutlineNumberingLevels_en_US(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes);
663 0 : SAL_DLLPUBLIC_EXPORT const sal_Unicode **** SAL_CALL getOutlineNumberingLevels_tsa_CG(sal_Int16& nStyles, sal_Int16& nLevels, sal_Int16& nAttributes)
664 : {
665 0 : return getOutlineNumberingLevels_en_US(nStyles, nLevels, nAttributes);
666 : }
667 : } // extern "C"
668 :
|