File: | home/maarten/src/libreoffice/core/include/rtl/ref.hxx |
Warning: | line 192, column 9 Use of memory after it is freed |
Press '?' to see keyboard shortcuts
Keyboard shortcuts:
1 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ | |||
2 | /* | |||
3 | * This file is part of the LibreOffice project. | |||
4 | * | |||
5 | * This Source Code Form is subject to the terms of the Mozilla Public | |||
6 | * License, v. 2.0. If a copy of the MPL was not distributed with this | |||
7 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. | |||
8 | */ | |||
9 | #include <svtools/sampletext.hxx> | |||
10 | #include <vcl/font.hxx> | |||
11 | #include <vcl/outdev.hxx> | |||
12 | #include <vcl/virdev.hxx> | |||
13 | #include <vcl/fontcharmap.hxx> | |||
14 | #include <i18nutil/unicode.hxx> | |||
15 | #include <sal/log.hxx> | |||
16 | #include <com/sun/star/i18n/ScriptType.hpp> | |||
17 | ||||
18 | // This should only be used when a commonly used font incorrectly declares its | |||
19 | // coverage. If you add a font here, please leave a note explaining the issue | |||
20 | // that caused it to be added | |||
21 | static UScriptCode lcl_getHardCodedScriptNameForFont (const OutputDevice &rDevice) | |||
22 | { | |||
23 | const OUString &rName = rDevice.GetFont().GetFamilyName(); | |||
24 | ||||
25 | if (rName == "GB18030 Bitmap") | |||
26 | { | |||
27 | // As of OSX 10.9, the system font "GB18030 Bitmap" incorrectly declares | |||
28 | // that it only covers "Phoenician" when in fact it's a Chinese font. | |||
29 | return USCRIPT_HAN; | |||
30 | } | |||
31 | else if (rName == "BiauKai") | |||
32 | { | |||
33 | // "BiauKai" makes crazy claims to cover BUGINESE, SUNDANESE, etc | |||
34 | // but in fact it's a Traditional Chinese font. | |||
35 | return USCRIPT_TRADITIONAL_HAN; | |||
36 | } | |||
37 | else if (rName == "GungSeo" || rName == "PCMyungjo" || rName == "PilGi") | |||
38 | { | |||
39 | // These have no OS/2 tables, but we know they are Korean fonts. | |||
40 | return USCRIPT_KOREAN; | |||
41 | } | |||
42 | else if (rName == "Hei" || rName == "Kai") | |||
43 | { | |||
44 | // These have no OS/2 tables, but we know they are Chinese fonts. | |||
45 | return USCRIPT_HAN; | |||
46 | } | |||
47 | else if (rName.startsWith("Bangla ")) | |||
48 | { | |||
49 | // "Bangla Sangam MN" claims it supports MALAYALAM, but it doesn't | |||
50 | // "Bangla MN" claims just DEVANAGARI and not an additional BENGALI | |||
51 | return USCRIPT_BENGALI; | |||
52 | } | |||
53 | else if (rName.startsWith("Gurmukhi ")) | |||
54 | { | |||
55 | // "Gurmukhi MN" claims it supports TAMIL, but it doesn't | |||
56 | return USCRIPT_GURMUKHI; | |||
57 | } | |||
58 | else if (rName.startsWith("Kannada ")) | |||
59 | { | |||
60 | // "Kannada MN" claims it supports TAMIL, but it doesn't | |||
61 | return USCRIPT_KANNADA; | |||
62 | } | |||
63 | else if (rName.startsWith("Lao ")) | |||
64 | { | |||
65 | // "Lao Sangam MN" claims it supports TAMIL, but it doesn't | |||
66 | return USCRIPT_LAO; | |||
67 | } | |||
68 | else if (rName.startsWith("Malayalam ")) | |||
69 | { | |||
70 | // "Malayalam MN" claims it supports TAMIL, but it doesn't | |||
71 | return USCRIPT_MALAYALAM; | |||
72 | } | |||
73 | else if (rName.startsWith("Sinhala ")) | |||
74 | { | |||
75 | // "Sinhala MN" claims it supports CYRILLIC | |||
76 | return USCRIPT_SINHALA; | |||
77 | } | |||
78 | else if (rName.startsWith("Telugu ")) | |||
79 | { | |||
80 | // "Telugu MN" claims it supports TAMIL, but it doesn't | |||
81 | return USCRIPT_TELUGU; | |||
82 | } | |||
83 | else if (rName.startsWith("Myanmar ")) | |||
84 | { | |||
85 | return USCRIPT_MYANMAR; | |||
86 | } | |||
87 | else if (rName == "InaiMathi") | |||
88 | { | |||
89 | // "InaiMathi" claims it supports GOTHIC and CJK_UNIFIED_IDEOGRAPHS as well as | |||
90 | // TAMIL, but it doesn't | |||
91 | return USCRIPT_TAMIL; | |||
92 | } | |||
93 | else if (rName == "Hannotate TC" || rName == "HanziPen TC" || rName == "Heiti TC" || rName == "Weibei TC") | |||
94 | { | |||
95 | // These fonts claim support for ARMENIAN and a bunch of other stuff they don't support | |||
96 | return USCRIPT_TRADITIONAL_HAN; | |||
97 | } | |||
98 | else if (rName == "Hannotate SC" || rName == "HanziPen SC" || rName == "Heiti SC" || rName == "Weibei SC") | |||
99 | { | |||
100 | // These fonts claim support for ARMENIAN and a bunch of other stuff they don't support | |||
101 | return USCRIPT_SIMPLIFIED_HAN; | |||
102 | } | |||
103 | else if (rName.startsWith("Noto")) { | |||
104 | // These fonts claim support for CJK(Chinese-Japanese-Korean) languages. | |||
105 | if (rName.indexOf(" KR") > 0 || rName.indexOf("Korean") > 0) { | |||
106 | return USCRIPT_KOREAN; | |||
107 | } else if (rName.indexOf(" JP") > 0 || rName.indexOf("Japanese") > 0) { | |||
108 | return USCRIPT_JAPANESE; | |||
109 | } else if (rName.indexOf(" SC") > 0 || rName.indexOf("S Chinese") > 0) { | |||
110 | return USCRIPT_SIMPLIFIED_HAN; | |||
111 | } else if (rName.indexOf(" TC") > 0 || rName.indexOf(" HK") > 0 || rName.indexOf("T Chinese") > 0) { | |||
112 | return USCRIPT_TRADITIONAL_HAN; | |||
113 | } | |||
114 | } | |||
115 | return USCRIPT_INVALID_CODE; | |||
116 | } | |||
117 | ||||
118 | bool isSymbolFont(const vcl::Font &rFont) | |||
119 | { | |||
120 | return (rFont.GetCharSet() == RTL_TEXTENCODING_SYMBOL(((rtl_TextEncoding) 10))) || | |||
121 | rFont.GetFamilyName().equalsIgnoreAsciiCase("Apple Color Emoji") || | |||
122 | rFont.GetFamilyName().equalsIgnoreAsciiCase("cmsy10") || | |||
123 | rFont.GetFamilyName().equalsIgnoreAsciiCase("cmex10") || | |||
124 | rFont.GetFamilyName().equalsIgnoreAsciiCase("esint10") || | |||
125 | rFont.GetFamilyName().equalsIgnoreAsciiCase("feta26") || | |||
126 | rFont.GetFamilyName().equalsIgnoreAsciiCase("jsMath-cmsy10") || | |||
127 | rFont.GetFamilyName().equalsIgnoreAsciiCase("jsMath-cmex10") || | |||
128 | rFont.GetFamilyName().equalsIgnoreAsciiCase("msam10") || | |||
129 | rFont.GetFamilyName().equalsIgnoreAsciiCase("msbm10") || | |||
130 | rFont.GetFamilyName().equalsIgnoreAsciiCase("wasy10") || | |||
131 | rFont.GetFamilyName().equalsIgnoreAsciiCase("Denemo") || | |||
132 | rFont.GetFamilyName().equalsIgnoreAsciiCase("GlyphBasic1") || | |||
133 | rFont.GetFamilyName().equalsIgnoreAsciiCase("GlyphBasic2") || | |||
134 | rFont.GetFamilyName().equalsIgnoreAsciiCase("GlyphBasic3") || | |||
135 | rFont.GetFamilyName().equalsIgnoreAsciiCase("GlyphBasic4") || | |||
136 | rFont.GetFamilyName().equalsIgnoreAsciiCase("Letters Laughing") || | |||
137 | rFont.GetFamilyName().equalsIgnoreAsciiCase("MusiQwik") || | |||
138 | rFont.GetFamilyName().equalsIgnoreAsciiCase("MusiSync") || | |||
139 | rFont.GetFamilyName().equalsIgnoreAsciiCase("stmary10") || | |||
140 | rFont.GetFamilyName().equalsIgnoreAsciiCase("Symbol") || | |||
141 | rFont.GetFamilyName().equalsIgnoreAsciiCase("Webdings") || | |||
142 | rFont.GetFamilyName().equalsIgnoreAsciiCase("Wingdings") || | |||
143 | rFont.GetFamilyName().equalsIgnoreAsciiCase("Wingdings 2") || | |||
144 | rFont.GetFamilyName().equalsIgnoreAsciiCase("Wingdings 3") || | |||
145 | rFont.GetFamilyName().equalsIgnoreAsciiCase("Bookshelf Symbol 7") || | |||
146 | rFont.GetFamilyName().startsWith("STIXIntegrals") || | |||
147 | rFont.GetFamilyName().startsWith("STIXNonUnicode") || | |||
148 | rFont.GetFamilyName().startsWith("STIXSize") || | |||
149 | rFont.GetFamilyName().startsWith("STIXVariants") || | |||
150 | IsStarSymbol(rFont.GetFamilyName()); | |||
151 | } | |||
152 | ||||
153 | bool canRenderNameOfSelectedFont(OutputDevice const &rDevice) | |||
154 | { | |||
155 | const vcl::Font &rFont = rDevice.GetFont(); | |||
156 | return !isSymbolFont(rFont) && ( -1 == rDevice.HasGlyphs(rFont, rFont.GetFamilyName()) ); | |||
157 | } | |||
158 | ||||
159 | OUString makeShortRepresentativeSymbolTextForSelectedFont(OutputDevice const &rDevice) | |||
160 | { | |||
161 | if (rDevice.GetFont().GetFamilyName() == "Symbol") | |||
162 | { | |||
163 | static const sal_Unicode aImplAppleSymbolText[] = { | |||
164 | 0x03BC, 0x2202, 0x2211, 0x220F, 0x03C0, 0x222B, 0x03A9, 0x221A, 0}; | |||
165 | bool bHasSampleTextGlyphs | |||
166 | = (-1 == rDevice.HasGlyphs(rDevice.GetFont(), aImplAppleSymbolText)); | |||
167 | //It's the Apple version | |||
168 | if (bHasSampleTextGlyphs) | |||
169 | return aImplAppleSymbolText; | |||
170 | static const sal_Unicode aImplAdobeSymbolText[] = { | |||
171 | 0xF06D, 0xF0B6, 0xF0E5, 0xF0D5, 0xF070, 0xF0F2, 0xF057, 0xF0D6, 0}; | |||
172 | return aImplAdobeSymbolText; | |||
173 | } | |||
174 | ||||
175 | const bool bOpenSymbol = IsStarSymbol(rDevice.GetFont().GetFamilyName()); | |||
176 | ||||
177 | if (!bOpenSymbol) | |||
178 | { | |||
179 | FontCharMapRef xFontCharMap; | |||
180 | bool bHasCharMap = rDevice.GetFontCharMap(xFontCharMap); | |||
181 | if( bHasCharMap ) | |||
182 | { | |||
183 | // use some sample characters available in the font | |||
184 | sal_Unicode aText[8]; | |||
185 | ||||
186 | // start just above the PUA used by most symbol fonts | |||
187 | sal_uInt32 cNewChar = 0xFF00; | |||
188 | ||||
189 | const int nMaxCount = SAL_N_ELEMENTS(aText)(sizeof(sal_n_array_size(aText))) - 1; | |||
190 | int nSkip = xFontCharMap->GetCharCount() / nMaxCount; | |||
191 | if( nSkip > 10 ) | |||
192 | nSkip = 10; | |||
193 | else if( nSkip <= 0 ) | |||
194 | nSkip = 1; | |||
195 | for( int i = 0; i < nMaxCount; ++i ) | |||
196 | { | |||
197 | sal_uInt32 cOldChar = cNewChar; | |||
198 | for( int j = nSkip; --j >= 0; ) | |||
199 | cNewChar = xFontCharMap->GetPrevChar( cNewChar ); | |||
200 | if( cOldChar == cNewChar ) | |||
201 | break; | |||
202 | aText[ i ] = static_cast<sal_Unicode>(cNewChar); // TODO: support UCS4 samples | |||
203 | aText[ i+1 ] = 0; | |||
204 | } | |||
205 | ||||
206 | return OUString(aText); | |||
207 | } | |||
208 | } | |||
209 | ||||
210 | static const sal_Unicode aImplSymbolFontText[] = { | |||
211 | 0xF021,0xF032,0xF043,0xF054,0xF065,0xF076,0xF0B7,0xF0C8,0}; | |||
212 | static const sal_Unicode aImplStarSymbolText[] = { | |||
213 | 0x2702,0x2708,0x270D,0xE033,0x2211,0x2288,0}; | |||
214 | const sal_Unicode* pText = bOpenSymbol ? aImplStarSymbolText : aImplSymbolFontText; | |||
215 | OUString sSampleText(pText); | |||
216 | bool bHasSampleTextGlyphs = (-1 == rDevice.HasGlyphs(rDevice.GetFont(), sSampleText)); | |||
217 | return bHasSampleTextGlyphs ? sSampleText : OUString(); | |||
218 | } | |||
219 | ||||
220 | //These ones are typically for use in the font dropdown box beside the | |||
221 | //fontname, so say things roughly like "Script/Alphabet/Name-Of-Major-Language" | |||
222 | ||||
223 | //Here we don't always know the language of course, only the script that can be | |||
224 | //written with the font. Often that's one single language written in that | |||
225 | //script, or a handful of related languages where the name of the script is the | |||
226 | //same between languages, or the name in the major language is known by most | |||
227 | //readers of the minor languages, e.g. Yiddish is written with the HEBREW | |||
228 | //script as well, the vast majority of Yiddish readers will be able to read | |||
229 | //Hebrew as well. | |||
230 | OUString makeShortRepresentativeTextForScript(UScriptCode eScript) | |||
231 | { | |||
232 | OUString sSampleText; | |||
233 | switch (eScript) | |||
234 | { | |||
235 | case USCRIPT_GREEK: | |||
236 | { | |||
237 | static const sal_Unicode aGrek[] = { | |||
238 | 0x0391, 0x03BB, 0x03C6, 0x03AC, 0x03B2, 0x03B7, 0x03C4, 0x03BF | |||
239 | }; | |||
240 | sSampleText = OUString(aGrek, SAL_N_ELEMENTS(aGrek)(sizeof(sal_n_array_size(aGrek)))); | |||
241 | break; | |||
242 | } | |||
243 | case USCRIPT_HEBREW: | |||
244 | { | |||
245 | static const sal_Unicode aHebr[] = { | |||
246 | 0x05D0, 0x05B8, 0x05DC, 0x05B6, 0x05E3, 0x05BE, 0x05D1, 0x05B5, | |||
247 | 0x05BC, 0x05D9, 0x05EA, 0x0020, 0x05E2, 0x05B4, 0x05D1, 0x05B0, | |||
248 | 0x05E8, 0x05B4, 0x05D9 | |||
249 | }; | |||
250 | sSampleText = OUString(aHebr, SAL_N_ELEMENTS(aHebr)(sizeof(sal_n_array_size(aHebr)))); | |||
251 | break; | |||
252 | } | |||
253 | case USCRIPT_ARABIC: | |||
254 | { | |||
255 | static const sal_Unicode aArab[] = { | |||
256 | 0x0623, 0x0628, 0x062C, 0x062F, 0x064A, 0x0629, 0x0020, 0x0639, | |||
257 | 0x0631, 0x0628, 0x064A, 0x0629 | |||
258 | }; | |||
259 | sSampleText = OUString(aArab, SAL_N_ELEMENTS(aArab)(sizeof(sal_n_array_size(aArab)))); | |||
260 | break; | |||
261 | } | |||
262 | case USCRIPT_ARMENIAN: | |||
263 | { | |||
264 | static const sal_Unicode aArmenian[] = { | |||
265 | 0x0561, 0x0575, 0x0562, 0x0578, 0x0582, 0x0562, 0x0565, | |||
266 | 0x0576 | |||
267 | }; | |||
268 | sSampleText = OUString(aArmenian, SAL_N_ELEMENTS(aArmenian)(sizeof(sal_n_array_size(aArmenian)))); | |||
269 | break; | |||
270 | } | |||
271 | case USCRIPT_DEVANAGARI: | |||
272 | { | |||
273 | static const sal_Unicode aDeva[] = { | |||
274 | 0x0926, 0x0947, 0x0935, 0x0928, 0x093E, 0x0917, 0x0930, 0x0940 | |||
275 | }; | |||
276 | sSampleText = OUString(aDeva, SAL_N_ELEMENTS(aDeva)(sizeof(sal_n_array_size(aDeva)))); | |||
277 | break; | |||
278 | } | |||
279 | case USCRIPT_BENGALI: | |||
280 | { | |||
281 | static const sal_Unicode aBeng[] = { | |||
282 | 0x09AC, 0x09BE, 0x0982, 0x09B2, 0x09BE, 0x0020, 0x09B2, 0x09BF, | |||
283 | 0x09AA, 0x09BF | |||
284 | }; | |||
285 | sSampleText = OUString(aBeng, SAL_N_ELEMENTS(aBeng)(sizeof(sal_n_array_size(aBeng)))); | |||
286 | break; | |||
287 | } | |||
288 | case USCRIPT_GURMUKHI: | |||
289 | { | |||
290 | static const sal_Unicode aGuru[] = { | |||
291 | 0x0A17, 0x0A41, 0x0A30, 0x0A2E, 0x0A41, 0x0A16, 0x0A40 | |||
292 | }; | |||
293 | sSampleText = OUString(aGuru, SAL_N_ELEMENTS(aGuru)(sizeof(sal_n_array_size(aGuru)))); | |||
294 | break; | |||
295 | } | |||
296 | case USCRIPT_GUJARATI: | |||
297 | { | |||
298 | static const sal_Unicode aGujr[] = { | |||
299 | 0x0A97, 0x0AC1, 0x0A9C, 0x0AB0, 0x0ABE, 0x0AA4, 0x0aC0, 0x0020, | |||
300 | 0x0AB2, 0x0ABF, 0x0AAA, 0x0ABF | |||
301 | }; | |||
302 | sSampleText = OUString(aGujr, SAL_N_ELEMENTS(aGujr)(sizeof(sal_n_array_size(aGujr)))); | |||
303 | break; | |||
304 | } | |||
305 | case USCRIPT_ORIYA: | |||
306 | { | |||
307 | static const sal_Unicode aOrya[] = { | |||
308 | 0x0B09, 0x0B24, 0x0B4D, 0x0B15, 0x0B33, 0x0020, 0x0B32, 0x0B3F, | |||
309 | 0x0B2A, 0x0B3F | |||
310 | }; | |||
311 | sSampleText = OUString(aOrya, SAL_N_ELEMENTS(aOrya)(sizeof(sal_n_array_size(aOrya)))); | |||
312 | break; | |||
313 | } | |||
314 | case USCRIPT_TAMIL: | |||
315 | { | |||
316 | static const sal_Unicode aTaml[] = { | |||
317 | 0x0B85, 0x0BB0, 0x0BBF, 0x0B9A, 0x0BCD, 0x0B9A, 0x0BC1, 0x0BB5, | |||
318 | 0x0B9F, 0x0BBF | |||
319 | }; | |||
320 | sSampleText = OUString(aTaml, SAL_N_ELEMENTS(aTaml)(sizeof(sal_n_array_size(aTaml)))); | |||
321 | break; | |||
322 | } | |||
323 | case USCRIPT_TELUGU: | |||
324 | { | |||
325 | static const sal_Unicode aTelu[] = { | |||
326 | 0x0C24, 0x0C46, 0x0C32, 0x0C41, 0x0C17, 0x0C41 | |||
327 | }; | |||
328 | sSampleText = OUString(aTelu, SAL_N_ELEMENTS(aTelu)(sizeof(sal_n_array_size(aTelu)))); | |||
329 | break; | |||
330 | } | |||
331 | case USCRIPT_KANNADA: | |||
332 | { | |||
333 | static const sal_Unicode aKnda[] = { | |||
334 | 0x0C95, 0x0CA8, 0x0CCD, 0x0CA8, 0x0CA1, 0x0020, 0x0CB2, 0x0CBF, | |||
335 | 0x0CAA, 0x0CBF | |||
336 | }; | |||
337 | sSampleText = OUString(aKnda, SAL_N_ELEMENTS(aKnda)(sizeof(sal_n_array_size(aKnda)))); | |||
338 | break; | |||
339 | } | |||
340 | case USCRIPT_MALAYALAM: | |||
341 | { | |||
342 | static const sal_Unicode aMlym[] = { | |||
343 | 0x0D2E, 0x0D32, 0x0D2F, 0x0D3E, 0x0D33, 0x0D32, 0x0D3F, 0x0D2A, | |||
344 | 0x0D3F | |||
345 | }; | |||
346 | sSampleText = OUString(aMlym, SAL_N_ELEMENTS(aMlym)(sizeof(sal_n_array_size(aMlym)))); | |||
347 | break; | |||
348 | } | |||
349 | case USCRIPT_THAI: | |||
350 | { | |||
351 | static const sal_Unicode aThai[] = { | |||
352 | 0x0E2D, 0x0E31, 0x0E01, 0x0E29, 0x0E23, 0x0E44, 0x0E17, 0x0E22 | |||
353 | }; | |||
354 | sSampleText = OUString(aThai, SAL_N_ELEMENTS(aThai)(sizeof(sal_n_array_size(aThai)))); | |||
355 | break; | |||
356 | } | |||
357 | case USCRIPT_LAO: | |||
358 | { | |||
359 | static const sal_Unicode aLao[] = { | |||
360 | 0x0EAD, 0x0EB1, 0x0E81, 0x0EAA, 0x0EAD, 0x0E99, 0x0EA5, 0x0EB2, | |||
361 | 0x0EA7 | |||
362 | }; | |||
363 | sSampleText = OUString(aLao, SAL_N_ELEMENTS(aLao)(sizeof(sal_n_array_size(aLao)))); | |||
364 | break; | |||
365 | } | |||
366 | case USCRIPT_GEORGIAN: | |||
367 | { | |||
368 | static const sal_Unicode aGeorgian[] = { | |||
369 | 0x10D3, 0x10D0, 0x10DB, 0x10EC, 0x10D4, 0x10E0, 0x10DA, 0x10DD, | |||
370 | 0x10D1, 0x10D0 | |||
371 | }; | |||
372 | sSampleText = OUString(aGeorgian, SAL_N_ELEMENTS(aGeorgian)(sizeof(sal_n_array_size(aGeorgian)))); | |||
373 | break; | |||
374 | } | |||
375 | case USCRIPT_JAMO: | |||
376 | case USCRIPT_HANGUL: | |||
377 | case USCRIPT_KOREAN: | |||
378 | { | |||
379 | static const sal_Unicode aHang[] = { | |||
380 | 0xD55C, 0xAE00 | |||
381 | }; | |||
382 | sSampleText = OUString(aHang, SAL_N_ELEMENTS(aHang)(sizeof(sal_n_array_size(aHang)))); | |||
383 | break; | |||
384 | } | |||
385 | case USCRIPT_TIBETAN: | |||
386 | { | |||
387 | static const sal_Unicode aTibt[] = { | |||
388 | 0x0F51, 0x0F56, 0x0F74, 0x0F0B, 0x0F45, 0x0F53, 0x0F0B | |||
389 | }; | |||
390 | sSampleText = OUString(aTibt, SAL_N_ELEMENTS(aTibt)(sizeof(sal_n_array_size(aTibt)))); | |||
391 | break; | |||
392 | } | |||
393 | case USCRIPT_SYRIAC: | |||
394 | { | |||
395 | static const sal_Unicode aSyri[] = { | |||
396 | 0x0723, 0x071B, 0x072A, 0x0722, 0x0713, 0x0720, 0x0710 | |||
397 | }; | |||
398 | sSampleText = OUString(aSyri, SAL_N_ELEMENTS(aSyri)(sizeof(sal_n_array_size(aSyri)))); | |||
399 | break; | |||
400 | } | |||
401 | case USCRIPT_THAANA: | |||
402 | { | |||
403 | static const sal_Unicode aThaa[] = { | |||
404 | 0x078C, 0x07A7, 0x0782, 0x07A6 | |||
405 | }; | |||
406 | sSampleText = OUString(aThaa, SAL_N_ELEMENTS(aThaa)(sizeof(sal_n_array_size(aThaa)))); | |||
407 | break; | |||
408 | } | |||
409 | case USCRIPT_SINHALA: | |||
410 | { | |||
411 | static const sal_Unicode aSinh[] = { | |||
412 | 0x0DC1, 0x0DD4, 0x0DAF, 0x0DCA, 0x0DB0, 0x0020, 0x0DC3, 0x0DD2, | |||
413 | 0x0D82, 0x0DC4, 0x0DBD | |||
414 | }; | |||
415 | sSampleText = OUString(aSinh, SAL_N_ELEMENTS(aSinh)(sizeof(sal_n_array_size(aSinh)))); | |||
416 | break; | |||
417 | } | |||
418 | case USCRIPT_MYANMAR: | |||
419 | { | |||
420 | static const sal_Unicode aMymr[] = { | |||
421 | 0x1019, 0x103C, 0x1014, 0x103A, 0x1019, 0x102C, 0x1021, 0x1000, | |||
422 | 0x1039, 0x1001, 0x101B, 0x102C | |||
423 | }; | |||
424 | sSampleText = OUString(aMymr, SAL_N_ELEMENTS(aMymr)(sizeof(sal_n_array_size(aMymr)))); | |||
425 | break; | |||
426 | } | |||
427 | case USCRIPT_ETHIOPIC: | |||
428 | { | |||
429 | static const sal_Unicode aEthi[] = { | |||
430 | 0x130D, 0x12D5, 0x12DD | |||
431 | }; | |||
432 | sSampleText = OUString(aEthi, SAL_N_ELEMENTS(aEthi)(sizeof(sal_n_array_size(aEthi)))); | |||
433 | break; | |||
434 | } | |||
435 | case USCRIPT_CHEROKEE: | |||
436 | { | |||
437 | static const sal_Unicode aCher[] = { | |||
438 | 0x13D7, 0x13AA, 0x13EA, 0x13B6, 0x13D9, 0x13D7 | |||
439 | }; | |||
440 | sSampleText = OUString(aCher, SAL_N_ELEMENTS(aCher)(sizeof(sal_n_array_size(aCher)))); | |||
441 | break; | |||
442 | } | |||
443 | case USCRIPT_KHMER: | |||
444 | { | |||
445 | static const sal_Unicode aKhmr[] = { | |||
446 | 0x17A2, 0x1780, 0x17D2, 0x1781, 0x179A, 0x1780, 0x17D2, 0x179A, | |||
447 | 0x1798, 0x1781, 0x17C1, 0x1798, 0x179A, 0x1797, 0x17B6, 0x179F, | |||
448 | 0x17B6 | |||
449 | }; | |||
450 | sSampleText = OUString(aKhmr, SAL_N_ELEMENTS(aKhmr)(sizeof(sal_n_array_size(aKhmr)))); | |||
451 | break; | |||
452 | } | |||
453 | case USCRIPT_MONGOLIAN: | |||
454 | { | |||
455 | static const sal_Unicode aMongolian[] = { | |||
456 | 0x182A, 0x1822, 0x1834, 0x1822, 0x182D, 0x180C | |||
457 | }; | |||
458 | sSampleText = OUString(aMongolian, SAL_N_ELEMENTS(aMongolian)(sizeof(sal_n_array_size(aMongolian)))); | |||
459 | break; | |||
460 | } | |||
461 | case USCRIPT_TAGALOG: | |||
462 | { | |||
463 | static const sal_Unicode aTagalog[] = { | |||
464 | 0x170A, 0x170A, 0x170C, 0x1712 | |||
465 | }; | |||
466 | sSampleText = OUString(aTagalog, SAL_N_ELEMENTS(aTagalog)(sizeof(sal_n_array_size(aTagalog)))); | |||
467 | break; | |||
468 | } | |||
469 | case USCRIPT_NEW_TAI_LUE: | |||
470 | { | |||
471 | static const sal_Unicode aTalu[] = { | |||
472 | 0x1991, 0x19BA, 0x199F, 0x19B9, 0x19C9 | |||
473 | }; | |||
474 | sSampleText = OUString(aTalu, SAL_N_ELEMENTS(aTalu)(sizeof(sal_n_array_size(aTalu)))); | |||
475 | break; | |||
476 | } | |||
477 | case USCRIPT_TRADITIONAL_HAN: | |||
478 | { | |||
479 | static const sal_Unicode aHant[] = { | |||
480 | 0x7E41 | |||
481 | }; | |||
482 | sSampleText = OUString(aHant, SAL_N_ELEMENTS(aHant)(sizeof(sal_n_array_size(aHant)))); | |||
483 | break; | |||
484 | } | |||
485 | case USCRIPT_SIMPLIFIED_HAN: | |||
486 | { | |||
487 | static const sal_Unicode aHans[] = { | |||
488 | 0x7B80 | |||
489 | }; | |||
490 | sSampleText = OUString(aHans, SAL_N_ELEMENTS(aHans)(sizeof(sal_n_array_size(aHans)))); | |||
491 | break; | |||
492 | } | |||
493 | case USCRIPT_HAN: | |||
494 | { | |||
495 | static const sal_Unicode aSimplifiedAndTraditionalChinese[] = { | |||
496 | 0x7B80, 0x7E41 | |||
497 | }; | |||
498 | sSampleText = OUString(aSimplifiedAndTraditionalChinese, | |||
499 | SAL_N_ELEMENTS(aSimplifiedAndTraditionalChinese)(sizeof(sal_n_array_size(aSimplifiedAndTraditionalChinese)))); | |||
500 | break; | |||
501 | } | |||
502 | case USCRIPT_JAPANESE: | |||
503 | { | |||
504 | static const sal_Unicode aJpan[] = { | |||
505 | 0x65E5, 0x672C, 0x8A9E | |||
506 | }; | |||
507 | sSampleText = OUString(aJpan, SAL_N_ELEMENTS(aJpan)(sizeof(sal_n_array_size(aJpan)))); | |||
508 | break; | |||
509 | } | |||
510 | case USCRIPT_YI: | |||
511 | { | |||
512 | static const sal_Unicode aYiii[] = { | |||
513 | 0xA188, 0xA320, 0xA071, 0xA0B7 | |||
514 | }; | |||
515 | sSampleText = OUString(aYiii, SAL_N_ELEMENTS(aYiii)(sizeof(sal_n_array_size(aYiii)))); | |||
516 | break; | |||
517 | } | |||
518 | case USCRIPT_PHAGS_PA: | |||
519 | { | |||
520 | static const sal_Unicode aPhag[] = { | |||
521 | 0xA84F, 0xA861, 0xA843, 0x0020, 0xA863, 0xA861, 0xA859, 0x0020, | |||
522 | 0xA850, 0xA85C, 0xA85E | |||
523 | }; | |||
524 | sSampleText = OUString(aPhag, SAL_N_ELEMENTS(aPhag)(sizeof(sal_n_array_size(aPhag)))); | |||
525 | break; | |||
526 | } | |||
527 | case USCRIPT_TAI_LE: | |||
528 | { | |||
529 | static const sal_Unicode aTale[] = { | |||
530 | 0x1956, 0x196D, 0x1970, 0x1956, 0x196C, 0x1973, 0x1951, 0x1968, | |||
531 | 0x1952, 0x1970 | |||
532 | }; | |||
533 | sSampleText = OUString(aTale, SAL_N_ELEMENTS(aTale)(sizeof(sal_n_array_size(aTale)))); | |||
534 | break; | |||
535 | } | |||
536 | case USCRIPT_LATIN: | |||
537 | sSampleText = "Lorem ipsum"; | |||
538 | break; | |||
539 | default: | |||
540 | break; | |||
541 | } | |||
542 | return sSampleText; | |||
543 | } | |||
544 | ||||
545 | static OUString makeRepresentativeTextForScript(UScriptCode eScript) | |||
546 | { | |||
547 | OUString sSampleText; | |||
548 | switch (eScript) | |||
549 | { | |||
550 | case USCRIPT_TRADITIONAL_HAN: | |||
551 | case USCRIPT_SIMPLIFIED_HAN: | |||
552 | case USCRIPT_HAN: | |||
553 | { | |||
554 | //Three Character Classic | |||
555 | static const sal_Unicode aZh[] = { | |||
556 | 0x4EBA, 0x4E4B, 0x521D, 0x0020, 0x6027, 0x672C, 0x5584 | |||
557 | }; | |||
558 | sSampleText = OUString(aZh, SAL_N_ELEMENTS(aZh)(sizeof(sal_n_array_size(aZh)))); | |||
559 | break; | |||
560 | } | |||
561 | case USCRIPT_JAPANESE: | |||
562 | { | |||
563 | //'Beautiful Japanese' | |||
564 | static const sal_Unicode aJa[] = { | |||
565 | 0x7F8E, 0x3057, 0x3044, 0x65E5, 0x672C, 0x8A9E | |||
566 | }; | |||
567 | sSampleText = OUString(aJa, SAL_N_ELEMENTS(aJa)(sizeof(sal_n_array_size(aJa)))); | |||
568 | break; | |||
569 | } | |||
570 | case USCRIPT_JAMO: | |||
571 | case USCRIPT_KOREAN: | |||
572 | case USCRIPT_HANGUL: | |||
573 | { | |||
574 | //The essential condition for... | |||
575 | static const sal_Unicode aKo[] = { | |||
576 | 0xD0A4, 0xC2A4, 0xC758, 0x0020, 0xACE0, 0xC720, 0xC870, | |||
577 | 0xAC74, 0xC740 | |||
578 | }; | |||
579 | sSampleText = OUString(aKo, SAL_N_ELEMENTS(aKo)(sizeof(sal_n_array_size(aKo)))); | |||
580 | break; | |||
581 | } | |||
582 | default: | |||
583 | break; | |||
584 | } | |||
585 | ||||
586 | if (sSampleText.isEmpty()) | |||
587 | sSampleText = makeShortRepresentativeTextForScript(eScript); | |||
588 | return sSampleText; | |||
589 | } | |||
590 | ||||
591 | OUString makeShortMinimalTextForScript(UScriptCode eScript) | |||
592 | { | |||
593 | OUString sSampleText; | |||
594 | switch (eScript) | |||
595 | { | |||
596 | case USCRIPT_GREEK: | |||
597 | { | |||
598 | static const sal_Unicode aGrek[] = { | |||
599 | 0x0391, 0x0392 | |||
600 | }; | |||
601 | sSampleText = OUString(aGrek, SAL_N_ELEMENTS(aGrek)(sizeof(sal_n_array_size(aGrek)))); | |||
602 | break; | |||
603 | } | |||
604 | case USCRIPT_HEBREW: | |||
605 | { | |||
606 | static const sal_Unicode aHebr[] = { | |||
607 | 0x05D0, 0x05D1 | |||
608 | }; | |||
609 | sSampleText = OUString(aHebr, SAL_N_ELEMENTS(aHebr)(sizeof(sal_n_array_size(aHebr)))); | |||
610 | break; | |||
611 | } | |||
612 | default: | |||
613 | break; | |||
614 | } | |||
615 | return sSampleText; | |||
616 | } | |||
617 | ||||
618 | static OUString makeMinimalTextForScript(UScriptCode eScript) | |||
619 | { | |||
620 | return makeShortMinimalTextForScript(eScript); | |||
621 | } | |||
622 | ||||
623 | //These ones are typically for use in the font preview window in format | |||
624 | //character | |||
625 | ||||
626 | //There we generally know the language. Though it's possible for the language to | |||
627 | //be "none". | |||
628 | ||||
629 | //Currently we fall back to makeShortRepresentativeTextForScript when we don't | |||
630 | //have suitable strings | |||
631 | static OUString makeRepresentativeTextForLanguage(LanguageType eLang) | |||
632 | { | |||
633 | OUString sRet; | |||
634 | LanguageType pri = primary(eLang); | |||
635 | if( pri == primary(LANGUAGE_ARMENIANLanguageType(0x042B)) ) | |||
636 | sRet = makeRepresentativeTextForScript(USCRIPT_ARMENIAN); | |||
637 | else if( pri == primary(LANGUAGE_CHINESELanguageType(0x0804)) ) | |||
638 | sRet = makeRepresentativeTextForScript(USCRIPT_HAN); | |||
639 | else if( pri == primary(LANGUAGE_GREEKLanguageType(0x0408)) ) | |||
640 | sRet = makeRepresentativeTextForScript(USCRIPT_GREEK); | |||
641 | else if( pri.anyOf( | |||
642 | primary(LANGUAGE_HEBREWLanguageType(0x040D)), | |||
643 | primary(LANGUAGE_YIDDISHLanguageType(0x043D))) ) | |||
644 | sRet = makeRepresentativeTextForScript(USCRIPT_HEBREW); | |||
645 | else if( pri == primary(LANGUAGE_ARABIC_SAUDI_ARABIALanguageType(0x0401)) ) | |||
646 | sRet = makeRepresentativeTextForScript(USCRIPT_ARABIC); | |||
647 | else if( pri == primary(LANGUAGE_HINDILanguageType(0x0439)) ) | |||
648 | sRet = makeRepresentativeTextForScript(USCRIPT_DEVANAGARI); | |||
649 | else if( pri == primary(LANGUAGE_ASSAMESELanguageType(0x044D)) ) | |||
650 | { | |||
651 | static const sal_Unicode aAs[] = { | |||
652 | 0x0985, 0x09B8, 0x09AE, 0x09C0, 0x09AF, 0x09BC, 0x09BE, | |||
653 | 0x0020, 0x0986, 0x0996, 0x09F0 | |||
654 | }; | |||
655 | sRet = OUString(aAs, SAL_N_ELEMENTS(aAs)(sizeof(sal_n_array_size(aAs)))); | |||
656 | } | |||
657 | else if( pri == primary(LANGUAGE_BENGALILanguageType(0x0445)) ) | |||
658 | sRet = makeRepresentativeTextForScript(USCRIPT_BENGALI); | |||
659 | else if( pri == primary(LANGUAGE_PUNJABILanguageType(0x0446)) ) | |||
660 | sRet = makeRepresentativeTextForScript(USCRIPT_GURMUKHI); | |||
661 | else if( pri == primary(LANGUAGE_GUJARATILanguageType(0x0447)) ) | |||
662 | sRet = makeRepresentativeTextForScript(USCRIPT_GUJARATI); | |||
663 | else if( pri == primary(LANGUAGE_ODIALanguageType(0x0448)) ) | |||
664 | sRet = makeRepresentativeTextForScript(USCRIPT_ORIYA); | |||
665 | else if( pri == primary(LANGUAGE_TAMILLanguageType(0x0449)) ) | |||
666 | sRet = makeRepresentativeTextForScript(USCRIPT_TAMIL); | |||
667 | else if( pri == primary(LANGUAGE_TELUGULanguageType(0x044A)) ) | |||
668 | sRet = makeRepresentativeTextForScript(USCRIPT_TELUGU); | |||
669 | else if( pri == primary(LANGUAGE_KANNADALanguageType(0x044B)) ) | |||
670 | sRet = makeRepresentativeTextForScript(USCRIPT_KANNADA); | |||
671 | else if( pri == primary(LANGUAGE_MALAYALAMLanguageType(0x044C)) ) | |||
672 | sRet = makeRepresentativeTextForScript(USCRIPT_MALAYALAM); | |||
673 | else if( pri == primary(LANGUAGE_THAILanguageType(0x041E)) ) | |||
674 | sRet = makeRepresentativeTextForScript(USCRIPT_THAI); | |||
675 | else if( pri == primary(LANGUAGE_LAOLanguageType(0x0454)) ) | |||
676 | sRet = makeRepresentativeTextForScript(USCRIPT_LAO); | |||
677 | else if( pri == primary(LANGUAGE_GEORGIANLanguageType(0x0437)) ) | |||
678 | sRet = makeRepresentativeTextForScript(USCRIPT_GEORGIAN); | |||
679 | else if( pri == primary(LANGUAGE_KOREANLanguageType(0x0412)) ) | |||
680 | sRet = makeRepresentativeTextForScript(USCRIPT_KOREAN); | |||
681 | else if( pri == primary(LANGUAGE_TIBETANLanguageType(0x0451)) ) | |||
682 | sRet = makeRepresentativeTextForScript(USCRIPT_TIBETAN); | |||
683 | else if( pri == primary(LANGUAGE_SYRIACLanguageType(0x045A)) ) | |||
684 | sRet = makeRepresentativeTextForScript(USCRIPT_SYRIAC); | |||
685 | else if( pri == primary(LANGUAGE_SINHALESE_SRI_LANKALanguageType(0x045B)) ) | |||
686 | sRet = makeRepresentativeTextForScript(USCRIPT_SINHALA); | |||
687 | else if( pri == primary(LANGUAGE_BURMESELanguageType(0x0455)) ) | |||
688 | sRet = makeRepresentativeTextForScript(USCRIPT_MYANMAR); | |||
689 | else if( pri == primary(LANGUAGE_AMHARIC_ETHIOPIALanguageType(0x045E)) ) | |||
690 | sRet = makeRepresentativeTextForScript(USCRIPT_ETHIOPIC); | |||
691 | else if( pri == primary(LANGUAGE_CHEROKEE_UNITED_STATESLanguageType(0x045C)) ) | |||
692 | sRet = makeRepresentativeTextForScript(USCRIPT_CHEROKEE); | |||
693 | else if( pri == primary(LANGUAGE_KHMERLanguageType(0x0453)) ) | |||
694 | sRet = makeRepresentativeTextForScript(USCRIPT_KHMER); | |||
695 | else if( pri == primary(LANGUAGE_MONGOLIAN_MONGOLIAN_LSOLanguageType(0x7C50)) ) | |||
696 | { | |||
697 | if (eLang.anyOf( | |||
698 | LANGUAGE_MONGOLIAN_MONGOLIAN_MONGOLIALanguageType(0x0C50), | |||
699 | LANGUAGE_MONGOLIAN_MONGOLIAN_CHINALanguageType(0x0850), | |||
700 | LANGUAGE_MONGOLIAN_MONGOLIAN_LSOLanguageType(0x7C50))) | |||
701 | sRet = makeRepresentativeTextForScript(USCRIPT_MONGOLIAN); | |||
702 | } | |||
703 | else if( pri == primary(LANGUAGE_JAPANESELanguageType(0x0411)) ) | |||
704 | sRet = makeRepresentativeTextForScript(USCRIPT_JAPANESE); | |||
705 | else if( pri == primary(LANGUAGE_YILanguageType(0x0478)) ) | |||
706 | sRet = makeRepresentativeTextForScript(USCRIPT_YI); | |||
707 | else if( pri == primary(LANGUAGE_GAELIC_IRELANDLanguageType(0x083C)) ) | |||
708 | { | |||
709 | static const sal_Unicode aGa[] = { | |||
710 | 'T', 0x00E9, 'a', 'c', 's', ' ', 'S', 'a', 'm', 'p', 'l', 'a', 'c', 'h' | |||
711 | }; | |||
712 | sRet = OUString(aGa, SAL_N_ELEMENTS(aGa)(sizeof(sal_n_array_size(aGa)))); | |||
713 | } | |||
714 | ||||
715 | return sRet; | |||
716 | } | |||
717 | ||||
718 | namespace | |||
719 | { | |||
720 | #if OSL_DEBUG_LEVEL1 > 0 | |||
721 | void lcl_dump_unicode_coverage(const std::optional<std::bitset<vcl::UnicodeCoverage::MAX_UC_ENUM>> &roIn) | |||
722 | { | |||
723 | if (!roIn) | |||
724 | { | |||
725 | SAL_INFO("svtools", "<NOTHING>")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "<NOTHING>") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "725" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "<NOTHING>"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "<NOTHING>"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "725" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "<NOTHING>") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "725" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "<NOTHING>"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "<NOTHING>"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "725" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
726 | return; | |||
727 | } | |||
728 | auto & rIn(*roIn); | |||
729 | if (rIn.none()) | |||
730 | { | |||
731 | SAL_INFO("svtools", "<NONE>")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "<NONE>") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "731" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "<NONE>"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "<NONE>" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "731" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "<NONE>") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "731" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "<NONE>"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "<NONE>" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "731" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
732 | return; | |||
733 | } | |||
734 | if (rIn[vcl::UnicodeCoverage::BASIC_LATIN]) | |||
735 | SAL_INFO("svtools", "BASIC_LATIN")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "BASIC_LATIN") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools") , ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "735" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "BASIC_LATIN"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "BASIC_LATIN"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "735" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "BASIC_LATIN") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "735" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "BASIC_LATIN"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "BASIC_LATIN"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "735" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
736 | if (rIn[vcl::UnicodeCoverage::LATIN_1_SUPPLEMENT]) | |||
737 | SAL_INFO("svtools", "LATIN_1_SUPPLEMENT")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "LATIN_1_SUPPLEMENT") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "737" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "LATIN_1_SUPPLEMENT"), 0); } else { :: std::ostringstream sal_detail_stream; sal_detail_stream << "LATIN_1_SUPPLEMENT"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "737" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "LATIN_1_SUPPLEMENT") == 1) { ::sal_detail_log( ( ::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "737" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "LATIN_1_SUPPLEMENT"), 0); } else { :: std::ostringstream sal_detail_stream; sal_detail_stream << "LATIN_1_SUPPLEMENT"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "737" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
738 | if (rIn[vcl::UnicodeCoverage::LATIN_EXTENDED_A]) | |||
739 | SAL_INFO("svtools", "LATIN_EXTENDED_A")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "LATIN_EXTENDED_A") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "739" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "LATIN_EXTENDED_A"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "LATIN_EXTENDED_A"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "739" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "LATIN_EXTENDED_A") == 1) { ::sal_detail_log( (:: SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "739" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "LATIN_EXTENDED_A"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "LATIN_EXTENDED_A"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "739" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
740 | if (rIn[vcl::UnicodeCoverage::LATIN_EXTENDED_B]) | |||
741 | SAL_INFO("svtools", "LATIN_EXTENDED_B")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "LATIN_EXTENDED_B") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "741" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "LATIN_EXTENDED_B"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "LATIN_EXTENDED_B"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "741" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "LATIN_EXTENDED_B") == 1) { ::sal_detail_log( (:: SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "741" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "LATIN_EXTENDED_B"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "LATIN_EXTENDED_B"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "741" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
742 | if (rIn[vcl::UnicodeCoverage::IPA_EXTENSIONS]) | |||
743 | SAL_INFO("svtools", "IPA_EXTENSIONS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "IPA_EXTENSIONS") == 1 ) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "743" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "IPA_EXTENSIONS"), 0); } else { ::std:: ostringstream sal_detail_stream; sal_detail_stream << "IPA_EXTENSIONS" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "743" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "IPA_EXTENSIONS") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "743" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "IPA_EXTENSIONS"), 0); } else { ::std:: ostringstream sal_detail_stream; sal_detail_stream << "IPA_EXTENSIONS" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "743" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
744 | if (rIn[vcl::UnicodeCoverage::SPACING_MODIFIER_LETTERS]) | |||
745 | SAL_INFO("svtools", "SPACING_MODIFIER_LETTERS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "SPACING_MODIFIER_LETTERS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "745" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SPACING_MODIFIER_LETTERS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "SPACING_MODIFIER_LETTERS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "745" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "SPACING_MODIFIER_LETTERS") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "745" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SPACING_MODIFIER_LETTERS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "SPACING_MODIFIER_LETTERS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "745" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
746 | if (rIn[vcl::UnicodeCoverage::COMBINING_DIACRITICAL_MARKS]) | |||
747 | SAL_INFO("svtools", "COMBINING_DIACRITICAL_MARKS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "COMBINING_DIACRITICAL_MARKS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "747" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "COMBINING_DIACRITICAL_MARKS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "COMBINING_DIACRITICAL_MARKS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "747" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "COMBINING_DIACRITICAL_MARKS") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "747" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "COMBINING_DIACRITICAL_MARKS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "COMBINING_DIACRITICAL_MARKS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "747" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
748 | if (rIn[vcl::UnicodeCoverage::GREEK_AND_COPTIC]) | |||
749 | SAL_INFO("svtools", "GREEK_AND_COPTIC")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "GREEK_AND_COPTIC") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "749" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "GREEK_AND_COPTIC"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "GREEK_AND_COPTIC"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "749" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "GREEK_AND_COPTIC") == 1) { ::sal_detail_log( (:: SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "749" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "GREEK_AND_COPTIC"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "GREEK_AND_COPTIC"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "749" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
750 | if (rIn[vcl::UnicodeCoverage::COPTIC]) | |||
751 | SAL_INFO("svtools", "COPTIC")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "COPTIC") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "751" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "COPTIC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "COPTIC"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "751" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "COPTIC") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "751" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "COPTIC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "COPTIC"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "751" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
752 | if (rIn[vcl::UnicodeCoverage::CYRILLIC]) | |||
753 | SAL_INFO("svtools", "CYRILLIC")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CYRILLIC") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "753" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CYRILLIC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CYRILLIC"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "753" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CYRILLIC") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "753" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CYRILLIC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CYRILLIC"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "753" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
754 | if (rIn[vcl::UnicodeCoverage::ARMENIAN]) | |||
755 | SAL_INFO("svtools", "ARMENIAN")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "ARMENIAN") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "755" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ARMENIAN"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ARMENIAN"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "755" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "ARMENIAN") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "755" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ARMENIAN"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ARMENIAN"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "755" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
756 | if (rIn[vcl::UnicodeCoverage::HEBREW]) | |||
757 | SAL_INFO("svtools", "HEBREW")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "HEBREW") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "757" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "HEBREW"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "HEBREW"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "757" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "HEBREW") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "757" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "HEBREW"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "HEBREW"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "757" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
758 | if (rIn[vcl::UnicodeCoverage::VAI]) | |||
759 | SAL_INFO("svtools", "VAI")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "VAI") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "759" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "VAI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "VAI"; ::sal:: detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "759" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "VAI") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "759" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "VAI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "VAI"; ::sal:: detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "759" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
760 | if (rIn[vcl::UnicodeCoverage::ARABIC]) | |||
761 | SAL_INFO("svtools", "ARABIC")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "ARABIC") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "761" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ARABIC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ARABIC"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "761" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "ARABIC") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "761" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ARABIC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ARABIC"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "761" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
762 | if (rIn[vcl::UnicodeCoverage::NKO]) | |||
763 | SAL_INFO("svtools", "NKO")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "NKO") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "763" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "NKO"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "NKO"; ::sal:: detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "763" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "NKO") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "763" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "NKO"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "NKO"; ::sal:: detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "763" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
764 | if (rIn[vcl::UnicodeCoverage::DEVANAGARI]) | |||
765 | SAL_INFO("svtools", "DEVANAGARI")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "DEVANAGARI") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools") , ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "765" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "DEVANAGARI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "DEVANAGARI"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "765" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "DEVANAGARI") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "765" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "DEVANAGARI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "DEVANAGARI"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "765" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
766 | if (rIn[vcl::UnicodeCoverage::BENGALI]) | |||
767 | SAL_INFO("svtools", "BENGALI")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "BENGALI") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "767" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "BENGALI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "BENGALI"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "767" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "BENGALI") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "767" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "BENGALI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "BENGALI"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "767" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
768 | if (rIn[vcl::UnicodeCoverage::GURMUKHI]) | |||
769 | SAL_INFO("svtools", "GURMUKHI")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "GURMUKHI") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "769" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "GURMUKHI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "GURMUKHI"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "769" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "GURMUKHI") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "769" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "GURMUKHI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "GURMUKHI"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "769" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
770 | if (rIn[vcl::UnicodeCoverage::GUJARATI]) | |||
771 | SAL_INFO("svtools", "GUJARATI")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "GUJARATI") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "771" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "GUJARATI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "GUJARATI"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "771" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "GUJARATI") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "771" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "GUJARATI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "GUJARATI"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "771" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
772 | if (rIn[vcl::UnicodeCoverage::ODIA]) | |||
773 | SAL_INFO("svtools", "ODIA")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "ODIA") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "773" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ODIA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ODIA"; ::sal:: detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "773" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "ODIA") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "773" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ODIA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ODIA"; ::sal:: detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "773" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
774 | if (rIn[vcl::UnicodeCoverage::TAMIL]) | |||
775 | SAL_INFO("svtools", "TAMIL")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "TAMIL") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "775" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "TAMIL"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "TAMIL"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "775" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "TAMIL") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "775" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "TAMIL"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "TAMIL"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "775" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
776 | if (rIn[vcl::UnicodeCoverage::TELUGU]) | |||
777 | SAL_INFO("svtools", "TELUGU")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "TELUGU") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "777" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "TELUGU"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "TELUGU"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "777" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "TELUGU") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "777" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "TELUGU"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "TELUGU"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "777" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
778 | if (rIn[vcl::UnicodeCoverage::KANNADA]) | |||
779 | SAL_INFO("svtools", "KANNADA")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "KANNADA") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "779" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "KANNADA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "KANNADA"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "779" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "KANNADA") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "779" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "KANNADA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "KANNADA"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "779" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
780 | if (rIn[vcl::UnicodeCoverage::MALAYALAM]) | |||
781 | SAL_INFO("svtools", "MALAYALAM")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "MALAYALAM") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "781" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "MALAYALAM"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "MALAYALAM"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "781" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "MALAYALAM") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "781" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "MALAYALAM"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "MALAYALAM"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "781" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
782 | if (rIn[vcl::UnicodeCoverage::THAI]) | |||
783 | SAL_INFO("svtools", "THAI")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "THAI") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "783" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "THAI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "THAI"; ::sal:: detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "783" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "THAI") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "783" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "THAI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "THAI"; ::sal:: detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "783" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
784 | if (rIn[vcl::UnicodeCoverage::LAO]) | |||
785 | SAL_INFO("svtools", "LAO")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "LAO") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "785" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "LAO"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "LAO"; ::sal:: detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "785" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "LAO") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "785" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "LAO"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "LAO"; ::sal:: detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "785" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
786 | if (rIn[vcl::UnicodeCoverage::GEORGIAN]) | |||
787 | SAL_INFO("svtools", "GEORGIAN")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "GEORGIAN") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "787" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "GEORGIAN"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "GEORGIAN"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "787" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "GEORGIAN") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "787" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "GEORGIAN"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "GEORGIAN"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "787" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
788 | if (rIn[vcl::UnicodeCoverage::BALINESE]) | |||
789 | SAL_INFO("svtools", "BALINESE")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "BALINESE") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "789" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "BALINESE"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "BALINESE"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "789" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "BALINESE") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "789" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "BALINESE"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "BALINESE"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "789" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
790 | if (rIn[vcl::UnicodeCoverage::HANGUL_JAMO]) | |||
791 | SAL_INFO("svtools", "HANGUL_JAMO")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "HANGUL_JAMO") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools") , ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "791" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "HANGUL_JAMO"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "HANGUL_JAMO"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "791" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "HANGUL_JAMO") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "791" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "HANGUL_JAMO"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "HANGUL_JAMO"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "791" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
792 | if (rIn[vcl::UnicodeCoverage::LATIN_EXTENDED_ADDITIONAL]) | |||
793 | SAL_INFO("svtools", "LATIN_EXTENDED_ADDITIONAL")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "LATIN_EXTENDED_ADDITIONAL" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "793" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "LATIN_EXTENDED_ADDITIONAL"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "LATIN_EXTENDED_ADDITIONAL"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "793" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "LATIN_EXTENDED_ADDITIONAL") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "793" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "LATIN_EXTENDED_ADDITIONAL"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "LATIN_EXTENDED_ADDITIONAL"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "793" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
794 | if (rIn[vcl::UnicodeCoverage::GREEK_EXTENDED]) | |||
795 | SAL_INFO("svtools", "GREEK_EXTENDED")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "GREEK_EXTENDED") == 1 ) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "795" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "GREEK_EXTENDED"), 0); } else { ::std:: ostringstream sal_detail_stream; sal_detail_stream << "GREEK_EXTENDED" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "795" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "GREEK_EXTENDED") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "795" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "GREEK_EXTENDED"), 0); } else { ::std:: ostringstream sal_detail_stream; sal_detail_stream << "GREEK_EXTENDED" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "795" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
796 | if (rIn[vcl::UnicodeCoverage::GENERAL_PUNCTUATION]) | |||
797 | SAL_INFO("svtools", "GENERAL_PUNCTUATION")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "GENERAL_PUNCTUATION" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "797" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "GENERAL_PUNCTUATION"), 0); } else { :: std::ostringstream sal_detail_stream; sal_detail_stream << "GENERAL_PUNCTUATION"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "797" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "GENERAL_PUNCTUATION") == 1) { ::sal_detail_log( ( ::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "797" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "GENERAL_PUNCTUATION"), 0); } else { :: std::ostringstream sal_detail_stream; sal_detail_stream << "GENERAL_PUNCTUATION"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "797" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
798 | if (rIn[vcl::UnicodeCoverage::SUPERSCRIPTS_AND_SUBSCRIPTS]) | |||
799 | SAL_INFO("svtools", "SUPERSCRIPTS_AND_SUBSCRIPTS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "SUPERSCRIPTS_AND_SUBSCRIPTS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "799" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SUPERSCRIPTS_AND_SUBSCRIPTS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "SUPERSCRIPTS_AND_SUBSCRIPTS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "799" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "SUPERSCRIPTS_AND_SUBSCRIPTS") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "799" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SUPERSCRIPTS_AND_SUBSCRIPTS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "SUPERSCRIPTS_AND_SUBSCRIPTS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "799" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
800 | if (rIn[vcl::UnicodeCoverage::CURRENCY_SYMBOLS]) | |||
801 | SAL_INFO("svtools", "CURRENCY_SYMBOLS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CURRENCY_SYMBOLS") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "801" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CURRENCY_SYMBOLS"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "CURRENCY_SYMBOLS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "801" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CURRENCY_SYMBOLS") == 1) { ::sal_detail_log( (:: SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "801" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CURRENCY_SYMBOLS"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "CURRENCY_SYMBOLS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "801" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
802 | if (rIn[vcl::UnicodeCoverage::COMBINING_DIACRITICAL_MARKS_FOR_SYMBOLS]) | |||
803 | SAL_INFO("svtools", "COMBINING_DIACRITICAL_MARKS_FOR_SYMBOLS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "COMBINING_DIACRITICAL_MARKS_FOR_SYMBOLS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "803" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "COMBINING_DIACRITICAL_MARKS_FOR_SYMBOLS" ), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "COMBINING_DIACRITICAL_MARKS_FOR_SYMBOLS"; ::sal::detail ::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "803" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "COMBINING_DIACRITICAL_MARKS_FOR_SYMBOLS") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools") , ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "803" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "COMBINING_DIACRITICAL_MARKS_FOR_SYMBOLS" ), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "COMBINING_DIACRITICAL_MARKS_FOR_SYMBOLS"; ::sal::detail ::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "803" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
804 | if (rIn[vcl::UnicodeCoverage::LETTERLIKE_SYMBOLS]) | |||
805 | SAL_INFO("svtools", "LETTERLIKE_SYMBOLS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "LETTERLIKE_SYMBOLS") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "805" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "LETTERLIKE_SYMBOLS"), 0); } else { :: std::ostringstream sal_detail_stream; sal_detail_stream << "LETTERLIKE_SYMBOLS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "805" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "LETTERLIKE_SYMBOLS") == 1) { ::sal_detail_log( ( ::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "805" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "LETTERLIKE_SYMBOLS"), 0); } else { :: std::ostringstream sal_detail_stream; sal_detail_stream << "LETTERLIKE_SYMBOLS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "805" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
806 | if (rIn[vcl::UnicodeCoverage::NUMBER_FORMS]) | |||
807 | SAL_INFO("svtools", "NUMBER_FORMS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "NUMBER_FORMS") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "807" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "NUMBER_FORMS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "NUMBER_FORMS" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "807" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "NUMBER_FORMS") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "807" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "NUMBER_FORMS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "NUMBER_FORMS" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "807" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
808 | if (rIn[vcl::UnicodeCoverage::ARROWS]) | |||
809 | SAL_INFO("svtools", "ARROWS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "ARROWS") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "809" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ARROWS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ARROWS"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "809" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "ARROWS") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "809" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ARROWS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ARROWS"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "809" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
810 | if (rIn[vcl::UnicodeCoverage::MATHEMATICAL_OPERATORS]) | |||
811 | SAL_INFO("svtools", "MATHEMATICAL_OPERATORS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "MATHEMATICAL_OPERATORS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "811" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "MATHEMATICAL_OPERATORS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "MATHEMATICAL_OPERATORS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "811" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "MATHEMATICAL_OPERATORS") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "811" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "MATHEMATICAL_OPERATORS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "MATHEMATICAL_OPERATORS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "811" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
812 | if (rIn[vcl::UnicodeCoverage::MISCELLANEOUS_TECHNICAL]) | |||
813 | SAL_INFO("svtools", "MISCELLANEOUS_TECHNICAL")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "MISCELLANEOUS_TECHNICAL" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "813" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "MISCELLANEOUS_TECHNICAL"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "MISCELLANEOUS_TECHNICAL"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "813" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "MISCELLANEOUS_TECHNICAL") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "813" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "MISCELLANEOUS_TECHNICAL"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "MISCELLANEOUS_TECHNICAL"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "813" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
814 | if (rIn[vcl::UnicodeCoverage::CONTROL_PICTURES]) | |||
815 | SAL_INFO("svtools", "CONTROL_PICTURES")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CONTROL_PICTURES") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "815" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CONTROL_PICTURES"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "CONTROL_PICTURES"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "815" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CONTROL_PICTURES") == 1) { ::sal_detail_log( (:: SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "815" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CONTROL_PICTURES"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "CONTROL_PICTURES"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "815" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
816 | if (rIn[vcl::UnicodeCoverage::OPTICAL_CHARACTER_RECOGNITION]) | |||
817 | SAL_INFO("svtools", "OPTICAL_CHARACTER_RECOGNITION")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "OPTICAL_CHARACTER_RECOGNITION" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "817" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "OPTICAL_CHARACTER_RECOGNITION"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "OPTICAL_CHARACTER_RECOGNITION"; ::sal::detail::log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "817" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "OPTICAL_CHARACTER_RECOGNITION") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "817" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "OPTICAL_CHARACTER_RECOGNITION"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "OPTICAL_CHARACTER_RECOGNITION"; ::sal::detail::log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "817" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
818 | if (rIn[vcl::UnicodeCoverage::ENCLOSED_ALPHANUMERICS]) | |||
819 | SAL_INFO("svtools", "ENCLOSED_ALPHANUMERICS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "ENCLOSED_ALPHANUMERICS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "819" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ENCLOSED_ALPHANUMERICS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ENCLOSED_ALPHANUMERICS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "819" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "ENCLOSED_ALPHANUMERICS") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "819" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ENCLOSED_ALPHANUMERICS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ENCLOSED_ALPHANUMERICS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "819" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
820 | if (rIn[vcl::UnicodeCoverage::BOX_DRAWING]) | |||
821 | SAL_INFO("svtools", "BOX_DRAWING")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "BOX_DRAWING") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools") , ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "821" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "BOX_DRAWING"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "BOX_DRAWING"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "821" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "BOX_DRAWING") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "821" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "BOX_DRAWING"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "BOX_DRAWING"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "821" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
822 | if (rIn[vcl::UnicodeCoverage::BLOCK_ELEMENTS]) | |||
823 | SAL_INFO("svtools", "BLOCK_ELEMENTS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "BLOCK_ELEMENTS") == 1 ) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "823" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "BLOCK_ELEMENTS"), 0); } else { ::std:: ostringstream sal_detail_stream; sal_detail_stream << "BLOCK_ELEMENTS" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "823" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "BLOCK_ELEMENTS") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "823" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "BLOCK_ELEMENTS"), 0); } else { ::std:: ostringstream sal_detail_stream; sal_detail_stream << "BLOCK_ELEMENTS" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "823" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
824 | if (rIn[vcl::UnicodeCoverage::GEOMETRIC_SHAPES]) | |||
825 | SAL_INFO("svtools", "GEOMETRIC_SHAPES")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "GEOMETRIC_SHAPES") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "825" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "GEOMETRIC_SHAPES"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "GEOMETRIC_SHAPES"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "825" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "GEOMETRIC_SHAPES") == 1) { ::sal_detail_log( (:: SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "825" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "GEOMETRIC_SHAPES"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "GEOMETRIC_SHAPES"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "825" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
826 | if (rIn[vcl::UnicodeCoverage::MISCELLANEOUS_SYMBOLS]) | |||
827 | SAL_INFO("svtools", "MISCELLANEOUS_SYMBOLS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "MISCELLANEOUS_SYMBOLS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "827" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "MISCELLANEOUS_SYMBOLS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "MISCELLANEOUS_SYMBOLS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "827" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "MISCELLANEOUS_SYMBOLS") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "827" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "MISCELLANEOUS_SYMBOLS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "MISCELLANEOUS_SYMBOLS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "827" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
828 | if (rIn[vcl::UnicodeCoverage::DINGBATS]) | |||
829 | SAL_INFO("svtools", "DINGBATS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "DINGBATS") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "829" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "DINGBATS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "DINGBATS"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "829" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "DINGBATS") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "829" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "DINGBATS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "DINGBATS"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "829" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
830 | if (rIn[vcl::UnicodeCoverage::CJK_SYMBOLS_AND_PUNCTUATION]) | |||
831 | SAL_INFO("svtools", "CJK_SYMBOLS_AND_PUNCTUATION")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CJK_SYMBOLS_AND_PUNCTUATION" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "831" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CJK_SYMBOLS_AND_PUNCTUATION"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CJK_SYMBOLS_AND_PUNCTUATION"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "831" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CJK_SYMBOLS_AND_PUNCTUATION") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "831" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CJK_SYMBOLS_AND_PUNCTUATION"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CJK_SYMBOLS_AND_PUNCTUATION"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "831" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
832 | if (rIn[vcl::UnicodeCoverage::HIRAGANA]) | |||
833 | SAL_INFO("svtools", "HIRAGANA")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "HIRAGANA") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "833" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "HIRAGANA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "HIRAGANA"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "833" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "HIRAGANA") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "833" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "HIRAGANA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "HIRAGANA"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "833" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
834 | if (rIn[vcl::UnicodeCoverage::KATAKANA]) | |||
835 | SAL_INFO("svtools", "KATAKANA")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "KATAKANA") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "835" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "KATAKANA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "KATAKANA"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "835" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "KATAKANA") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "835" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "KATAKANA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "KATAKANA"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "835" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
836 | if (rIn[vcl::UnicodeCoverage::BOPOMOFO]) | |||
837 | SAL_INFO("svtools", "BOPOMOFO")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "BOPOMOFO") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "837" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "BOPOMOFO"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "BOPOMOFO"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "837" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "BOPOMOFO") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "837" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "BOPOMOFO"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "BOPOMOFO"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "837" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
838 | if (rIn[vcl::UnicodeCoverage::HANGUL_COMPATIBILITY_JAMO]) | |||
839 | SAL_INFO("svtools", "HANGUL_COMPATIBILITY_JAMO")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "HANGUL_COMPATIBILITY_JAMO" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "839" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "HANGUL_COMPATIBILITY_JAMO"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "HANGUL_COMPATIBILITY_JAMO"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "839" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "HANGUL_COMPATIBILITY_JAMO") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "839" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "HANGUL_COMPATIBILITY_JAMO"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "HANGUL_COMPATIBILITY_JAMO"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "839" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
840 | if (rIn[vcl::UnicodeCoverage::PHAGS_PA]) | |||
841 | SAL_INFO("svtools", "PHAGS_PA")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "PHAGS_PA") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "841" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "PHAGS_PA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "PHAGS_PA"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "841" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "PHAGS_PA") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "841" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "PHAGS_PA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "PHAGS_PA"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "841" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
842 | if (rIn[vcl::UnicodeCoverage::ENCLOSED_CJK_LETTERS_AND_MONTHS]) | |||
843 | SAL_INFO("svtools", "ENCLOSED_CJK_LETTERS_AND_MONTHS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "ENCLOSED_CJK_LETTERS_AND_MONTHS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "843" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ENCLOSED_CJK_LETTERS_AND_MONTHS"), 0) ; } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ENCLOSED_CJK_LETTERS_AND_MONTHS"; ::sal::detail::log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "843" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "ENCLOSED_CJK_LETTERS_AND_MONTHS") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "843" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ENCLOSED_CJK_LETTERS_AND_MONTHS"), 0) ; } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ENCLOSED_CJK_LETTERS_AND_MONTHS"; ::sal::detail::log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "843" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
844 | if (rIn[vcl::UnicodeCoverage::CJK_COMPATIBILITY]) | |||
845 | SAL_INFO("svtools", "CJK_COMPATIBILITY")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CJK_COMPATIBILITY") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "845" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CJK_COMPATIBILITY"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "CJK_COMPATIBILITY"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "845" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CJK_COMPATIBILITY") == 1) { ::sal_detail_log( (:: SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "845" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CJK_COMPATIBILITY"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "CJK_COMPATIBILITY"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "845" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
846 | if (rIn[vcl::UnicodeCoverage::HANGUL_SYLLABLES]) | |||
847 | SAL_INFO("svtools", "HANGUL_SYLLABLES")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "HANGUL_SYLLABLES") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "847" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "HANGUL_SYLLABLES"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "HANGUL_SYLLABLES"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "847" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "HANGUL_SYLLABLES") == 1) { ::sal_detail_log( (:: SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "847" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "HANGUL_SYLLABLES"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "HANGUL_SYLLABLES"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "847" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
848 | if (rIn[vcl::UnicodeCoverage::NONPLANE_0]) | |||
849 | SAL_INFO("svtools", "NONPLANE_0")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "NONPLANE_0") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools") , ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "849" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "NONPLANE_0"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "NONPLANE_0"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "849" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "NONPLANE_0") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "849" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "NONPLANE_0"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "NONPLANE_0"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "849" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
850 | if (rIn[vcl::UnicodeCoverage::PHOENICIAN]) | |||
851 | SAL_INFO("svtools", "PHOENICIAN")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "PHOENICIAN") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools") , ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "851" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "PHOENICIAN"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "PHOENICIAN"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "851" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "PHOENICIAN") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "851" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "PHOENICIAN"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "PHOENICIAN"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "851" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
852 | if (rIn[vcl::UnicodeCoverage::CJK_UNIFIED_IDEOGRAPHS]) | |||
853 | SAL_INFO("svtools", "CJK_UNIFIED_IDEOGRAPHS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CJK_UNIFIED_IDEOGRAPHS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "853" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CJK_UNIFIED_IDEOGRAPHS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CJK_UNIFIED_IDEOGRAPHS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "853" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CJK_UNIFIED_IDEOGRAPHS") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "853" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CJK_UNIFIED_IDEOGRAPHS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CJK_UNIFIED_IDEOGRAPHS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "853" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
854 | if (rIn[vcl::UnicodeCoverage::PRIVATE_USE_AREA_PLANE_0]) | |||
855 | SAL_INFO("svtools", "PRIVATE_USE_AREA_PLANE_0")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "PRIVATE_USE_AREA_PLANE_0" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "855" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "PRIVATE_USE_AREA_PLANE_0"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "PRIVATE_USE_AREA_PLANE_0"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "855" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "PRIVATE_USE_AREA_PLANE_0") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "855" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "PRIVATE_USE_AREA_PLANE_0"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "PRIVATE_USE_AREA_PLANE_0"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "855" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
856 | if (rIn[vcl::UnicodeCoverage::CJK_STROKES]) | |||
857 | SAL_INFO("svtools", "CJK_STROKES")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CJK_STROKES") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools") , ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "857" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CJK_STROKES"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CJK_STROKES"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "857" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CJK_STROKES") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "857" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CJK_STROKES"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CJK_STROKES"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "857" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
858 | if (rIn[vcl::UnicodeCoverage::ALPHABETIC_PRESENTATION_FORMS]) | |||
859 | SAL_INFO("svtools", "ALPHABETIC_PRESENTATION_FORMS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "ALPHABETIC_PRESENTATION_FORMS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "859" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ALPHABETIC_PRESENTATION_FORMS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ALPHABETIC_PRESENTATION_FORMS"; ::sal::detail::log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "859" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "ALPHABETIC_PRESENTATION_FORMS") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "859" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ALPHABETIC_PRESENTATION_FORMS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ALPHABETIC_PRESENTATION_FORMS"; ::sal::detail::log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "859" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
860 | if (rIn[vcl::UnicodeCoverage::ARABIC_PRESENTATION_FORMS_A]) | |||
861 | SAL_INFO("svtools", "ARABIC_PRESENTATION_FORMS_A")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "ARABIC_PRESENTATION_FORMS_A" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "861" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ARABIC_PRESENTATION_FORMS_A"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ARABIC_PRESENTATION_FORMS_A"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "861" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "ARABIC_PRESENTATION_FORMS_A") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "861" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ARABIC_PRESENTATION_FORMS_A"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ARABIC_PRESENTATION_FORMS_A"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "861" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
862 | if (rIn[vcl::UnicodeCoverage::COMBINING_HALF_MARKS]) | |||
863 | SAL_INFO("svtools", "COMBINING_HALF_MARKS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "COMBINING_HALF_MARKS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "863" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "COMBINING_HALF_MARKS"), 0); } else { :: std::ostringstream sal_detail_stream; sal_detail_stream << "COMBINING_HALF_MARKS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "863" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "COMBINING_HALF_MARKS") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "863" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "COMBINING_HALF_MARKS"), 0); } else { :: std::ostringstream sal_detail_stream; sal_detail_stream << "COMBINING_HALF_MARKS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "863" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
864 | if (rIn[vcl::UnicodeCoverage::VERTICAL_FORMS]) | |||
865 | SAL_INFO("svtools", "VERTICAL_FORMS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "VERTICAL_FORMS") == 1 ) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "865" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "VERTICAL_FORMS"), 0); } else { ::std:: ostringstream sal_detail_stream; sal_detail_stream << "VERTICAL_FORMS" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "865" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "VERTICAL_FORMS") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "865" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "VERTICAL_FORMS"), 0); } else { ::std:: ostringstream sal_detail_stream; sal_detail_stream << "VERTICAL_FORMS" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "865" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
866 | if (rIn[vcl::UnicodeCoverage::SMALL_FORM_VARIANTS]) | |||
867 | SAL_INFO("svtools", "SMALL_FORM_VARIANTS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "SMALL_FORM_VARIANTS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "867" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SMALL_FORM_VARIANTS"), 0); } else { :: std::ostringstream sal_detail_stream; sal_detail_stream << "SMALL_FORM_VARIANTS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "867" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "SMALL_FORM_VARIANTS") == 1) { ::sal_detail_log( ( ::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "867" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SMALL_FORM_VARIANTS"), 0); } else { :: std::ostringstream sal_detail_stream; sal_detail_stream << "SMALL_FORM_VARIANTS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "867" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
868 | if (rIn[vcl::UnicodeCoverage::ARABIC_PRESENTATION_FORMS_B]) | |||
869 | SAL_INFO("svtools", "ARABIC_PRESENTATION_FORMS_B")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "ARABIC_PRESENTATION_FORMS_B" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "869" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ARABIC_PRESENTATION_FORMS_B"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ARABIC_PRESENTATION_FORMS_B"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "869" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "ARABIC_PRESENTATION_FORMS_B") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "869" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ARABIC_PRESENTATION_FORMS_B"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ARABIC_PRESENTATION_FORMS_B"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "869" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
870 | if (rIn[vcl::UnicodeCoverage::HALFWIDTH_AND_FULLWIDTH_FORMS]) | |||
871 | SAL_INFO("svtools", "HALFWIDTH_AND_FULLWIDTH_FORMS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "HALFWIDTH_AND_FULLWIDTH_FORMS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "871" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "HALFWIDTH_AND_FULLWIDTH_FORMS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "HALFWIDTH_AND_FULLWIDTH_FORMS"; ::sal::detail::log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "871" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "HALFWIDTH_AND_FULLWIDTH_FORMS") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "871" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "HALFWIDTH_AND_FULLWIDTH_FORMS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "HALFWIDTH_AND_FULLWIDTH_FORMS"; ::sal::detail::log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "871" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
872 | if (rIn[vcl::UnicodeCoverage::SPECIALS]) | |||
873 | SAL_INFO("svtools", "SPECIALS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "SPECIALS") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "873" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SPECIALS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "SPECIALS"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "873" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "SPECIALS") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "873" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SPECIALS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "SPECIALS"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "873" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
874 | if (rIn[vcl::UnicodeCoverage::TIBETAN]) | |||
875 | SAL_INFO("svtools", "TIBETAN")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "TIBETAN") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "875" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "TIBETAN"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "TIBETAN"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "875" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "TIBETAN") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "875" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "TIBETAN"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "TIBETAN"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "875" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
876 | if (rIn[vcl::UnicodeCoverage::SYRIAC]) | |||
877 | SAL_INFO("svtools", "SYRIAC")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "SYRIAC") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "877" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SYRIAC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "SYRIAC"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "877" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "SYRIAC") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "877" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SYRIAC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "SYRIAC"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "877" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
878 | if (rIn[vcl::UnicodeCoverage::THAANA]) | |||
879 | SAL_INFO("svtools", "THAANA")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "THAANA") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "879" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "THAANA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "THAANA"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "879" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "THAANA") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "879" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "THAANA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "THAANA"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "879" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
880 | if (rIn[vcl::UnicodeCoverage::SINHALA]) | |||
881 | SAL_INFO("svtools", "SINHALA")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "SINHALA") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "881" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SINHALA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "SINHALA"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "881" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "SINHALA") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "881" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SINHALA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "SINHALA"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "881" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
882 | if (rIn[vcl::UnicodeCoverage::MYANMAR]) | |||
883 | SAL_INFO("svtools", "MYANMAR")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "MYANMAR") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "883" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "MYANMAR"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "MYANMAR"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "883" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "MYANMAR") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "883" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "MYANMAR"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "MYANMAR"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "883" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
884 | if (rIn[vcl::UnicodeCoverage::ETHIOPIC]) | |||
885 | SAL_INFO("svtools", "ETHIOPIC")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "ETHIOPIC") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "885" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ETHIOPIC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ETHIOPIC"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "885" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "ETHIOPIC") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "885" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ETHIOPIC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ETHIOPIC"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "885" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
886 | if (rIn[vcl::UnicodeCoverage::CHEROKEE]) | |||
887 | SAL_INFO("svtools", "CHEROKEE")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CHEROKEE") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "887" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CHEROKEE"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CHEROKEE"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "887" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CHEROKEE") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "887" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CHEROKEE"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CHEROKEE"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "887" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
888 | if (rIn[vcl::UnicodeCoverage::UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS]) | |||
889 | SAL_INFO("svtools", "UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "889" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS" ), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS"; ::sal::detail ::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "889" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "889" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS" ), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS"; ::sal::detail ::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "889" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
890 | if (rIn[vcl::UnicodeCoverage::OGHAM]) | |||
891 | SAL_INFO("svtools", "OGHAM")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "OGHAM") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "891" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "OGHAM"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "OGHAM"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "891" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "OGHAM") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "891" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "OGHAM"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "OGHAM"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "891" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
892 | if (rIn[vcl::UnicodeCoverage::RUNIC]) | |||
893 | SAL_INFO("svtools", "RUNIC")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "RUNIC") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "893" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "RUNIC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "RUNIC"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "893" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "RUNIC") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "893" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "RUNIC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "RUNIC"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "893" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
894 | if (rIn[vcl::UnicodeCoverage::KHMER]) | |||
895 | SAL_INFO("svtools", "KHMER")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "KHMER") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "895" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "KHMER"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "KHMER"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "895" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "KHMER") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "895" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "KHMER"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "KHMER"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "895" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
896 | if (rIn[vcl::UnicodeCoverage::MONGOLIAN]) | |||
897 | SAL_INFO("svtools", "MONGOLIAN")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "MONGOLIAN") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "897" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "MONGOLIAN"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "MONGOLIAN"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "897" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "MONGOLIAN") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "897" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "MONGOLIAN"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "MONGOLIAN"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "897" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
898 | if (rIn[vcl::UnicodeCoverage::BRAILLE_PATTERNS]) | |||
899 | SAL_INFO("svtools", "BRAILLE_PATTERNS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "BRAILLE_PATTERNS") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "899" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "BRAILLE_PATTERNS"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "BRAILLE_PATTERNS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "899" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "BRAILLE_PATTERNS") == 1) { ::sal_detail_log( (:: SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "899" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "BRAILLE_PATTERNS"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "BRAILLE_PATTERNS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "899" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
900 | if (rIn[vcl::UnicodeCoverage::YI_SYLLABLES]) | |||
901 | SAL_INFO("svtools", "YI_SYLLABLES")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "YI_SYLLABLES") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "901" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "YI_SYLLABLES"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "YI_SYLLABLES" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "901" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "YI_SYLLABLES") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "901" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "YI_SYLLABLES"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "YI_SYLLABLES" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "901" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
902 | if (rIn[vcl::UnicodeCoverage::TAGALOG]) | |||
903 | SAL_INFO("svtools", "TAGALOG")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "TAGALOG") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "903" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "TAGALOG"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "TAGALOG"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "903" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "TAGALOG") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "903" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "TAGALOG"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "TAGALOG"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "903" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
904 | if (rIn[vcl::UnicodeCoverage::OLD_ITALIC]) | |||
905 | SAL_INFO("svtools", "OLD_ITALIC")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "OLD_ITALIC") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools") , ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "905" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "OLD_ITALIC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "OLD_ITALIC"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "905" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "OLD_ITALIC") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "905" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "OLD_ITALIC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "OLD_ITALIC"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "905" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
906 | if (rIn[vcl::UnicodeCoverage::GOTHIC]) | |||
907 | SAL_INFO("svtools", "GOTHIC")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "GOTHIC") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "907" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "GOTHIC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "GOTHIC"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "907" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "GOTHIC") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "907" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "GOTHIC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "GOTHIC"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "907" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
908 | if (rIn[vcl::UnicodeCoverage::DESERET]) | |||
909 | SAL_INFO("svtools", "DESERET")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "DESERET") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "909" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "DESERET"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "DESERET"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "909" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "DESERET") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "909" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "DESERET"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "DESERET"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "909" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
910 | if (rIn[vcl::UnicodeCoverage::BYZANTINE_MUSICAL_SYMBOLS]) | |||
911 | SAL_INFO("svtools", "BYZANTINE_MUSICAL_SYMBOLS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "BYZANTINE_MUSICAL_SYMBOLS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "911" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "BYZANTINE_MUSICAL_SYMBOLS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "BYZANTINE_MUSICAL_SYMBOLS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "911" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "BYZANTINE_MUSICAL_SYMBOLS") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "911" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "BYZANTINE_MUSICAL_SYMBOLS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "BYZANTINE_MUSICAL_SYMBOLS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "911" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
912 | if (rIn[vcl::UnicodeCoverage::MATHEMATICAL_ALPHANUMERIC_SYMBOLS]) | |||
913 | SAL_INFO("svtools", "MATHEMATICAL_ALPHANUMERIC_SYMBOLS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "MATHEMATICAL_ALPHANUMERIC_SYMBOLS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "913" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "MATHEMATICAL_ALPHANUMERIC_SYMBOLS"), 0 ); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "MATHEMATICAL_ALPHANUMERIC_SYMBOLS"; ::sal::detail:: log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "913" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "MATHEMATICAL_ALPHANUMERIC_SYMBOLS") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "913" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "MATHEMATICAL_ALPHANUMERIC_SYMBOLS"), 0 ); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "MATHEMATICAL_ALPHANUMERIC_SYMBOLS"; ::sal::detail:: log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "913" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
914 | if (rIn[vcl::UnicodeCoverage::PRIVATE_USE_PLANE_15]) | |||
915 | SAL_INFO("svtools", "PRIVATE_USE_PLANE_15")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "PRIVATE_USE_PLANE_15" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "915" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "PRIVATE_USE_PLANE_15"), 0); } else { :: std::ostringstream sal_detail_stream; sal_detail_stream << "PRIVATE_USE_PLANE_15"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "915" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "PRIVATE_USE_PLANE_15") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "915" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "PRIVATE_USE_PLANE_15"), 0); } else { :: std::ostringstream sal_detail_stream; sal_detail_stream << "PRIVATE_USE_PLANE_15"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "915" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
916 | if (rIn[vcl::UnicodeCoverage::VARIATION_SELECTORS]) | |||
917 | SAL_INFO("svtools", "VARIATION_SELECTORS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "VARIATION_SELECTORS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "917" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "VARIATION_SELECTORS"), 0); } else { :: std::ostringstream sal_detail_stream; sal_detail_stream << "VARIATION_SELECTORS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "917" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "VARIATION_SELECTORS") == 1) { ::sal_detail_log( ( ::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "917" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "VARIATION_SELECTORS"), 0); } else { :: std::ostringstream sal_detail_stream; sal_detail_stream << "VARIATION_SELECTORS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "917" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
918 | if (rIn[vcl::UnicodeCoverage::TAGS]) | |||
919 | SAL_INFO("svtools", "TAGS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "TAGS") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "919" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "TAGS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "TAGS"; ::sal:: detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "919" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "TAGS") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "919" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "TAGS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "TAGS"; ::sal:: detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "919" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
920 | if (rIn[vcl::UnicodeCoverage::LIMBU]) | |||
921 | SAL_INFO("svtools", "LIMBU")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "LIMBU") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "921" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "LIMBU"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "LIMBU"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "921" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "LIMBU") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "921" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "LIMBU"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "LIMBU"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "921" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
922 | if (rIn[vcl::UnicodeCoverage::TAI_LE]) | |||
923 | SAL_INFO("svtools", "TAI_LE")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "TAI_LE") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "923" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "TAI_LE"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "TAI_LE"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "923" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "TAI_LE") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "923" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "TAI_LE"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "TAI_LE"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "923" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
924 | if (rIn[vcl::UnicodeCoverage::NEW_TAI_LUE]) | |||
925 | SAL_INFO("svtools", "NEW_TAI_LUE")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "NEW_TAI_LUE") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools") , ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "925" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "NEW_TAI_LUE"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "NEW_TAI_LUE"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "925" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "NEW_TAI_LUE") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "925" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "NEW_TAI_LUE"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "NEW_TAI_LUE"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "925" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
926 | if (rIn[vcl::UnicodeCoverage::BUGINESE]) | |||
927 | SAL_INFO("svtools", "BUGINESE")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "BUGINESE") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "927" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "BUGINESE"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "BUGINESE"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "927" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "BUGINESE") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "927" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "BUGINESE"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "BUGINESE"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "927" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
928 | if (rIn[vcl::UnicodeCoverage::GLAGOLITIC]) | |||
929 | SAL_INFO("svtools", "GLAGOLITIC")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "GLAGOLITIC") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools") , ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "929" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "GLAGOLITIC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "GLAGOLITIC"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "929" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "GLAGOLITIC") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "929" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "GLAGOLITIC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "GLAGOLITIC"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "929" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
930 | if (rIn[vcl::UnicodeCoverage::TIFINAGH]) | |||
931 | SAL_INFO("svtools", "TIFINAGH")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "TIFINAGH") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "931" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "TIFINAGH"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "TIFINAGH"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "931" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "TIFINAGH") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "931" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "TIFINAGH"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "TIFINAGH"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "931" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
932 | if (rIn[vcl::UnicodeCoverage::YIJING_HEXAGRAM_SYMBOLS]) | |||
933 | SAL_INFO("svtools", "YIJING_HEXAGRAM_SYMBOLS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "YIJING_HEXAGRAM_SYMBOLS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "933" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "YIJING_HEXAGRAM_SYMBOLS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "YIJING_HEXAGRAM_SYMBOLS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "933" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "YIJING_HEXAGRAM_SYMBOLS") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "933" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "YIJING_HEXAGRAM_SYMBOLS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "YIJING_HEXAGRAM_SYMBOLS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "933" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
934 | if (rIn[vcl::UnicodeCoverage::SYLOTI_NAGRI]) | |||
935 | SAL_INFO("svtools", "SYLOTI_NAGRI")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "SYLOTI_NAGRI") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "935" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SYLOTI_NAGRI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "SYLOTI_NAGRI" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "935" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "SYLOTI_NAGRI") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "935" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SYLOTI_NAGRI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "SYLOTI_NAGRI" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "935" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
936 | if (rIn[vcl::UnicodeCoverage::LINEAR_B_SYLLABARY]) | |||
937 | SAL_INFO("svtools", "LINEAR_B_SYLLABARY")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "LINEAR_B_SYLLABARY") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "937" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "LINEAR_B_SYLLABARY"), 0); } else { :: std::ostringstream sal_detail_stream; sal_detail_stream << "LINEAR_B_SYLLABARY"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "937" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "LINEAR_B_SYLLABARY") == 1) { ::sal_detail_log( ( ::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "937" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "LINEAR_B_SYLLABARY"), 0); } else { :: std::ostringstream sal_detail_stream; sal_detail_stream << "LINEAR_B_SYLLABARY"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "937" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
938 | if (rIn[vcl::UnicodeCoverage::ANCIENT_GREEK_NUMBERS]) | |||
939 | SAL_INFO("svtools", "ANCIENT_GREEK_NUMBERS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "ANCIENT_GREEK_NUMBERS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "939" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ANCIENT_GREEK_NUMBERS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ANCIENT_GREEK_NUMBERS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "939" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "ANCIENT_GREEK_NUMBERS") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "939" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ANCIENT_GREEK_NUMBERS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "ANCIENT_GREEK_NUMBERS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "939" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
940 | if (rIn[vcl::UnicodeCoverage::UGARITIC]) | |||
941 | SAL_INFO("svtools", "UGARITIC")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "UGARITIC") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "941" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "UGARITIC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "UGARITIC"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "941" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "UGARITIC") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "941" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "UGARITIC"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "UGARITIC"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "941" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
942 | if (rIn[vcl::UnicodeCoverage::OLD_PERSIAN]) | |||
943 | SAL_INFO("svtools", "OLD_PERSIAN")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "OLD_PERSIAN") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools") , ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "943" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "OLD_PERSIAN"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "OLD_PERSIAN"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "943" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "OLD_PERSIAN") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "943" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "OLD_PERSIAN"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "OLD_PERSIAN"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "943" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
944 | if (rIn[vcl::UnicodeCoverage::SHAVIAN]) | |||
945 | SAL_INFO("svtools", "SHAVIAN")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "SHAVIAN") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "945" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SHAVIAN"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "SHAVIAN"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "945" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "SHAVIAN") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "945" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SHAVIAN"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "SHAVIAN"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "945" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
946 | if (rIn[vcl::UnicodeCoverage::OSMANYA]) | |||
947 | SAL_INFO("svtools", "OSMANYA")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "OSMANYA") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "947" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "OSMANYA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "OSMANYA"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "947" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "OSMANYA") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "947" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "OSMANYA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "OSMANYA"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "947" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
948 | if (rIn[vcl::UnicodeCoverage::CYPRIOT_SYLLABARY]) | |||
949 | SAL_INFO("svtools", "CYPRIOT_SYLLABARY")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CYPRIOT_SYLLABARY") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "949" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CYPRIOT_SYLLABARY"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "CYPRIOT_SYLLABARY"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "949" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CYPRIOT_SYLLABARY") == 1) { ::sal_detail_log( (:: SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "949" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CYPRIOT_SYLLABARY"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "CYPRIOT_SYLLABARY"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "949" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
950 | if (rIn[vcl::UnicodeCoverage::KHAROSHTHI]) | |||
951 | SAL_INFO("svtools", "KHAROSHTHI")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "KHAROSHTHI") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools") , ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "951" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "KHAROSHTHI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "KHAROSHTHI"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "951" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "KHAROSHTHI") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "951" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "KHAROSHTHI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "KHAROSHTHI"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "951" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
952 | if (rIn[vcl::UnicodeCoverage::TAI_XUAN_JING_SYMBOLS]) | |||
953 | SAL_INFO("svtools", "TAI_XUAN_JING_SYMBOLS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "TAI_XUAN_JING_SYMBOLS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "953" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "TAI_XUAN_JING_SYMBOLS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "TAI_XUAN_JING_SYMBOLS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "953" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "TAI_XUAN_JING_SYMBOLS") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "953" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "TAI_XUAN_JING_SYMBOLS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "TAI_XUAN_JING_SYMBOLS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "953" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
954 | if (rIn[vcl::UnicodeCoverage::CUNEIFORM]) | |||
955 | SAL_INFO("svtools", "CUNEIFORM")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CUNEIFORM") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "955" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CUNEIFORM"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CUNEIFORM"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "955" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CUNEIFORM") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "955" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CUNEIFORM"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CUNEIFORM"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "955" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
956 | if (rIn[vcl::UnicodeCoverage::COUNTING_ROD_NUMERALS]) | |||
957 | SAL_INFO("svtools", "COUNTING_ROD_NUMERALS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "COUNTING_ROD_NUMERALS" ) == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "957" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "COUNTING_ROD_NUMERALS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "COUNTING_ROD_NUMERALS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "957" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "COUNTING_ROD_NUMERALS") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "957" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "COUNTING_ROD_NUMERALS"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "COUNTING_ROD_NUMERALS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "957" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
958 | if (rIn[vcl::UnicodeCoverage::SUNDANESE]) | |||
959 | SAL_INFO("svtools", "SUNDANESE")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "SUNDANESE") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "959" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SUNDANESE"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "SUNDANESE"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "959" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "SUNDANESE") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "959" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SUNDANESE"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "SUNDANESE"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "959" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
960 | if (rIn[vcl::UnicodeCoverage::LEPCHA]) | |||
961 | SAL_INFO("svtools", "LEPCHA")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "LEPCHA") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "961" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "LEPCHA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "LEPCHA"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "961" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "LEPCHA") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "961" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "LEPCHA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "LEPCHA"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "961" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
962 | if (rIn[vcl::UnicodeCoverage::OL_CHIKI]) | |||
963 | SAL_INFO("svtools", "OL_CHIKI")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "OL_CHIKI") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "963" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "OL_CHIKI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "OL_CHIKI"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "963" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "OL_CHIKI") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "963" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "OL_CHIKI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "OL_CHIKI"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "963" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
964 | if (rIn[vcl::UnicodeCoverage::SAURASHTRA]) | |||
965 | SAL_INFO("svtools", "SAURASHTRA")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "SAURASHTRA") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools") , ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "965" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SAURASHTRA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "SAURASHTRA"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "965" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "SAURASHTRA") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "965" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "SAURASHTRA"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "SAURASHTRA"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "965" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
966 | if (rIn[vcl::UnicodeCoverage::KAYAH_LI]) | |||
967 | SAL_INFO("svtools", "KAYAH_LI")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "KAYAH_LI") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "967" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "KAYAH_LI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "KAYAH_LI"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "967" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "KAYAH_LI") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "967" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "KAYAH_LI"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "KAYAH_LI"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "967" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
968 | if (rIn[vcl::UnicodeCoverage::REJANG]) | |||
969 | SAL_INFO("svtools", "REJANG")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "REJANG") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "969" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "REJANG"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "REJANG"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "969" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "REJANG") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "969" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "REJANG"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "REJANG"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "969" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
970 | if (rIn[vcl::UnicodeCoverage::CHAM]) | |||
971 | SAL_INFO("svtools", "CHAM")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CHAM") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "971" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CHAM"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CHAM"; ::sal:: detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "971" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CHAM") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "971" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CHAM"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CHAM"; ::sal:: detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "971" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
972 | if (rIn[vcl::UnicodeCoverage::ANCIENT_SYMBOLS]) | |||
973 | SAL_INFO("svtools", "ANCIENT_SYMBOLS")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "ANCIENT_SYMBOLS") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "973" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ANCIENT_SYMBOLS"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "ANCIENT_SYMBOLS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "973" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "ANCIENT_SYMBOLS") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "973" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "ANCIENT_SYMBOLS"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "ANCIENT_SYMBOLS"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "973" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
974 | if (rIn[vcl::UnicodeCoverage::PHAISTOS_DISC]) | |||
975 | SAL_INFO("svtools", "PHAISTOS_DISC")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "PHAISTOS_DISC") == 1 ) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "975" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "PHAISTOS_DISC"), 0); } else { ::std:: ostringstream sal_detail_stream; sal_detail_stream << "PHAISTOS_DISC" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "975" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "PHAISTOS_DISC") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "975" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "PHAISTOS_DISC"), 0); } else { ::std:: ostringstream sal_detail_stream; sal_detail_stream << "PHAISTOS_DISC" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "975" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
976 | if (rIn[vcl::UnicodeCoverage::CARIAN]) | |||
977 | SAL_INFO("svtools", "CARIAN")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CARIAN") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "977" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CARIAN"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CARIAN"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "977" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CARIAN") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "977" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "CARIAN"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CARIAN"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "977" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
978 | if (rIn[vcl::UnicodeCoverage::DOMINO_TILES]) | |||
979 | SAL_INFO("svtools", "DOMINO_TILES")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "DOMINO_TILES") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "979" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "DOMINO_TILES"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "DOMINO_TILES" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "979" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "DOMINO_TILES") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "979" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "DOMINO_TILES"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "DOMINO_TILES" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "979" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
980 | if (rIn[vcl::UnicodeCoverage::RESERVED1]) | |||
981 | SAL_INFO("svtools", "RESERVED1")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "RESERVED1") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "981" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "RESERVED1"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "RESERVED1"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "981" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "RESERVED1") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "981" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "RESERVED1"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "RESERVED1"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "981" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
982 | if (rIn[vcl::UnicodeCoverage::RESERVED2]) | |||
983 | SAL_INFO("svtools", "RESERVED2")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "RESERVED2") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "983" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "RESERVED2"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "RESERVED2"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "983" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "RESERVED2") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "983" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "RESERVED2"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "RESERVED2"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "983" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
984 | if (rIn[vcl::UnicodeCoverage::RESERVED3]) | |||
985 | SAL_INFO("svtools", "RESERVED3")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "RESERVED3") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "985" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "RESERVED3"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "RESERVED3"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "985" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "RESERVED3") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "985" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "RESERVED3"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "RESERVED3"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "985" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
986 | if (rIn[vcl::UnicodeCoverage::RESERVED4]) | |||
987 | SAL_INFO("svtools", "RESERVED4")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "RESERVED4") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "987" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "RESERVED4"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "RESERVED4"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "987" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "RESERVED4") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "987" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "RESERVED4"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "RESERVED4"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "987" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
988 | if (rIn[vcl::UnicodeCoverage::RESERVED5]) | |||
989 | SAL_INFO("svtools", "RESERVED5")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "RESERVED5") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "989" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "RESERVED5"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "RESERVED5"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "989" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "RESERVED5") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "989" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "RESERVED5"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "RESERVED5"; :: sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "989" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
990 | } | |||
991 | ||||
992 | void lcl_dump_codepage_coverage(const std::optional<std::bitset<vcl::CodePageCoverage::MAX_CP_ENUM>> &roIn) | |||
993 | { | |||
994 | if (!roIn) | |||
995 | { | |||
996 | SAL_INFO("svtools", "<NOTHING>")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "<NOTHING>") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "996" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "<NOTHING>"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "<NOTHING>"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "996" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "<NOTHING>") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "996" ": "), ::sal::detail::unwrapStream( ::sal::detail:: StreamStart() << "<NOTHING>"), 0); } else { ::std ::ostringstream sal_detail_stream; sal_detail_stream << "<NOTHING>"; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "996" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
997 | return; | |||
998 | } | |||
999 | auto & rIn(*roIn); | |||
1000 | if (rIn.none()) | |||
1001 | { | |||
1002 | SAL_INFO("svtools", "<NONE>")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "<NONE>") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1002" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "<NONE>"), 0); } else { ::std:: ostringstream sal_detail_stream; sal_detail_stream << "<NONE>" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1002" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "<NONE>") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1002" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "<NONE>"), 0); } else { ::std:: ostringstream sal_detail_stream; sal_detail_stream << "<NONE>" ; ::sal::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools" ), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1002" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1003 | return; | |||
1004 | } | |||
1005 | if (rIn[vcl::CodePageCoverage::CP1252]) | |||
1006 | SAL_INFO("svtools", "CP1252")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP1252") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1006" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1252"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1252"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1006" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP1252") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1006" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1252"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1252"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1006" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1007 | if (rIn[vcl::CodePageCoverage::CP1250]) | |||
1008 | SAL_INFO("svtools", "CP1250")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP1250") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1008" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1250"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1250"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1008" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP1250") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1008" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1250"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1250"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1008" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1009 | if (rIn[vcl::CodePageCoverage::CP1251]) | |||
1010 | SAL_INFO("svtools", "CP1251")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP1251") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1010" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1251"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1251"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1010" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP1251") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1010" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1251"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1251"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1010" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1011 | if (rIn[vcl::CodePageCoverage::CP1253]) | |||
1012 | SAL_INFO("svtools", "CP1253")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP1253") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1012" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1253"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1253"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1012" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP1253") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1012" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1253"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1253"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1012" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1013 | if (rIn[vcl::CodePageCoverage::CP1254]) | |||
1014 | SAL_INFO("svtools", "CP1254")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP1254") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1014" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1254"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1254"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1014" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP1254") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1014" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1254"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1254"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1014" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1015 | if (rIn[vcl::CodePageCoverage::CP1255]) | |||
1016 | SAL_INFO("svtools", "CP1255")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP1255") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1016" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1255"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1255"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1016" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP1255") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1016" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1255"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1255"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1016" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1017 | if (rIn[vcl::CodePageCoverage::CP1256]) | |||
1018 | SAL_INFO("svtools", "CP1256")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP1256") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1018" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1256"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1256"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1018" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP1256") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1018" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1256"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1256"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1018" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1019 | if (rIn[vcl::CodePageCoverage::CP1257]) | |||
1020 | SAL_INFO("svtools", "CP1257")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP1257") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1020" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1257"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1257"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1020" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP1257") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1020" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1257"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1257"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1020" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1021 | if (rIn[vcl::CodePageCoverage::CP1258]) | |||
1022 | SAL_INFO("svtools", "CP1258")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP1258") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1022" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1258"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1258"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1022" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP1258") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1022" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1258"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1258"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1022" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1023 | if (rIn[vcl::CodePageCoverage::CP874]) | |||
1024 | SAL_INFO("svtools", "CP874")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP874") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1024" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP874"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP874"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1024" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP874") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1024" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP874"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP874"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1024" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1025 | if (rIn[vcl::CodePageCoverage::CP932]) | |||
1026 | SAL_INFO("svtools", "CP932")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP932") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1026" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP932"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP932"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1026" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP932") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1026" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP932"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP932"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1026" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1027 | if (rIn[vcl::CodePageCoverage::CP936]) | |||
1028 | SAL_INFO("svtools", "CP936")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP936") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1028" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP936"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP936"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1028" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP936") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1028" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP936"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP936"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1028" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1029 | if (rIn[vcl::CodePageCoverage::CP949]) | |||
1030 | SAL_INFO("svtools", "CP949")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP949") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1030" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP949"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP949"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1030" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP949") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1030" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP949"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP949"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1030" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1031 | if (rIn[vcl::CodePageCoverage::CP950]) | |||
1032 | SAL_INFO("svtools", "CP950")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP950") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1032" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP950"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP950"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1032" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP950") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1032" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP950"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP950"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1032" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1033 | if (rIn[vcl::CodePageCoverage::CP1361]) | |||
1034 | SAL_INFO("svtools", "CP1361")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP1361") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1034" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1361"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1361"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1034" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP1361") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1034" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP1361"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP1361"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1034" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1035 | if (rIn[vcl::CodePageCoverage::CP869]) | |||
1036 | SAL_INFO("svtools", "CP869")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP869") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1036" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP869"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP869"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1036" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP869") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1036" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP869"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP869"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1036" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1037 | if (rIn[vcl::CodePageCoverage::CP866]) | |||
1038 | SAL_INFO("svtools", "CP866")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP866") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1038" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP866"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP866"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1038" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP866") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1038" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP866"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP866"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1038" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1039 | if (rIn[vcl::CodePageCoverage::CP865]) | |||
1040 | SAL_INFO("svtools", "CP865")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP865") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1040" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP865"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP865"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1040" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP865") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1040" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP865"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP865"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1040" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1041 | if (rIn[vcl::CodePageCoverage::CP864]) | |||
1042 | SAL_INFO("svtools", "CP864")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP864") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1042" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP864"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP864"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1042" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP864") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1042" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP864"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP864"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1042" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1043 | if (rIn[vcl::CodePageCoverage::CP863]) | |||
1044 | SAL_INFO("svtools", "CP863")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP863") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1044" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP863"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP863"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1044" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP863") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1044" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP863"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP863"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1044" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1045 | if (rIn[vcl::CodePageCoverage::CP862]) | |||
1046 | SAL_INFO("svtools", "CP862")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP862") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1046" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP862"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP862"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1046" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP862") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1046" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP862"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP862"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1046" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1047 | if (rIn[vcl::CodePageCoverage::CP861]) | |||
1048 | SAL_INFO("svtools", "CP861")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP861") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1048" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP861"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP861"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1048" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP861") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1048" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP861"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP861"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1048" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1049 | if (rIn[vcl::CodePageCoverage::CP860]) | |||
1050 | SAL_INFO("svtools", "CP860")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP860") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1050" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP860"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP860"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1050" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP860") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1050" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP860"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP860"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1050" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1051 | if (rIn[vcl::CodePageCoverage::CP857]) | |||
1052 | SAL_INFO("svtools", "CP857")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP857") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1052" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP857"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP857"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1052" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP857") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1052" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP857"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP857"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1052" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1053 | if (rIn[vcl::CodePageCoverage::CP855]) | |||
1054 | SAL_INFO("svtools", "CP855")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP855") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1054" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP855"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP855"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1054" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP855") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1054" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP855"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP855"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1054" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1055 | if (rIn[vcl::CodePageCoverage::CP852]) | |||
1056 | SAL_INFO("svtools", "CP852")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP852") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1056" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP852"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP852"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1056" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP852") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1056" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP852"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP852"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1056" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1057 | if (rIn[vcl::CodePageCoverage::CP775]) | |||
1058 | SAL_INFO("svtools", "CP775")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP775") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1058" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP775"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP775"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1058" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP775") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1058" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP775"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP775"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1058" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1059 | if (rIn[vcl::CodePageCoverage::CP737]) | |||
1060 | SAL_INFO("svtools", "CP737")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP737") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1060" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP737"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP737"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1060" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP737") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1060" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP737"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP737"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1060" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1061 | if (rIn[vcl::CodePageCoverage::CP780]) | |||
1062 | SAL_INFO("svtools", "CP780")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP780") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1062" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP780"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP780"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1062" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP780") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1062" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP780"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP780"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1062" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1063 | if (rIn[vcl::CodePageCoverage::CP850]) | |||
1064 | SAL_INFO("svtools", "CP850")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP850") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1064" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP850"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP850"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1064" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP850") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1064" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP850"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP850"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1064" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1065 | if (rIn[vcl::CodePageCoverage::CP437]) | |||
1066 | SAL_INFO("svtools", "CP437")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "CP437") == 1) { ::sal_detail_log ( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1066" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP437"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP437"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1066" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "CP437") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1066" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "CP437"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "CP437"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1066" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1067 | } | |||
1068 | #endif | |||
1069 | ||||
1070 | std::bitset<vcl::UnicodeCoverage::MAX_UC_ENUM> getMaskByScriptType(sal_Int16 nScriptType) | |||
1071 | { | |||
1072 | std::bitset<vcl::UnicodeCoverage::MAX_UC_ENUM> aMask; | |||
1073 | aMask.set(); | |||
1074 | ||||
1075 | for (size_t i = 0; i < vcl::UnicodeCoverage::MAX_UC_ENUM; ++i) | |||
1076 | { | |||
1077 | using vcl::UnicodeCoverage::UnicodeCoverageEnum; | |||
1078 | UScriptCode eScriptCode = otCoverageToScript(static_cast<UnicodeCoverageEnum>(i)); | |||
1079 | if (unicode::getScriptClassFromUScriptCode(eScriptCode) == nScriptType) | |||
1080 | aMask.set(i, false); | |||
1081 | } | |||
1082 | ||||
1083 | return aMask; | |||
1084 | } | |||
1085 | ||||
1086 | //false for all bits considered "Latin" by LibreOffice | |||
1087 | std::bitset<vcl::UnicodeCoverage::MAX_UC_ENUM> const & getLatinMask() | |||
1088 | { | |||
1089 | static std::bitset<vcl::UnicodeCoverage::MAX_UC_ENUM> s_Mask(getMaskByScriptType(css::i18n::ScriptType::LATIN)); | |||
1090 | return s_Mask; | |||
1091 | } | |||
1092 | ||||
1093 | //false for all bits considered "Asian" by LibreOffice | |||
1094 | std::bitset<vcl::UnicodeCoverage::MAX_UC_ENUM> const & getCJKMask() | |||
1095 | { | |||
1096 | static std::bitset<vcl::UnicodeCoverage::MAX_UC_ENUM> s_Mask(getMaskByScriptType(css::i18n::ScriptType::ASIAN)); | |||
1097 | return s_Mask; | |||
1098 | } | |||
1099 | ||||
1100 | //false for all bits considered "Complex" by LibreOffice | |||
1101 | std::bitset<vcl::UnicodeCoverage::MAX_UC_ENUM> const & getCTLMask() | |||
1102 | { | |||
1103 | static std::bitset<vcl::UnicodeCoverage::MAX_UC_ENUM> s_Mask(getMaskByScriptType(css::i18n::ScriptType::COMPLEX)); | |||
1104 | return s_Mask; | |||
1105 | } | |||
1106 | ||||
1107 | //false for all bits considered "WEAK" by LibreOffice | |||
1108 | std::bitset<vcl::UnicodeCoverage::MAX_UC_ENUM> const & getWeakMask() | |||
1109 | { | |||
1110 | static std::bitset<vcl::UnicodeCoverage::MAX_UC_ENUM> s_Mask(getMaskByScriptType(css::i18n::ScriptType::WEAK)); | |||
1111 | return s_Mask; | |||
1112 | } | |||
1113 | ||||
1114 | //Nearly every font supports some basic Latin | |||
1115 | std::bitset<vcl::UnicodeCoverage::MAX_UC_ENUM> getCommonLatnSubsetMask() | |||
1116 | { | |||
1117 | std::bitset<vcl::UnicodeCoverage::MAX_UC_ENUM> aMask; | |||
1118 | aMask.set(); | |||
1119 | aMask.set(vcl::UnicodeCoverage::BASIC_LATIN, false); | |||
1120 | aMask.set(vcl::UnicodeCoverage::LATIN_1_SUPPLEMENT, false); | |||
1121 | aMask.set(vcl::UnicodeCoverage::LATIN_EXTENDED_A, false); | |||
1122 | aMask.set(vcl::UnicodeCoverage::LATIN_EXTENDED_B, false); | |||
1123 | aMask.set(vcl::UnicodeCoverage::LATIN_EXTENDED_ADDITIONAL, false); | |||
1124 | return aMask; | |||
1125 | } | |||
1126 | ||||
1127 | template<size_t N> | |||
1128 | size_t find_first(std::bitset<N> const& rSet) | |||
1129 | { | |||
1130 | for (size_t i = 0; i < N; ++i) | |||
1131 | { | |||
1132 | if (rSet.test(i)) | |||
1133 | return i; | |||
1134 | } | |||
1135 | assert(false)(static_cast <bool> (false) ? void (0) : __assert_fail ( "false", "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" , 1135, __extension__ __PRETTY_FUNCTION__)); // see current usage | |||
1136 | return N; | |||
1137 | } | |||
1138 | ||||
1139 | UScriptCode getScript(const vcl::FontCapabilities &rFontCapabilities) | |||
1140 | { | |||
1141 | using vcl::UnicodeCoverage::UnicodeCoverageEnum; | |||
1142 | ||||
1143 | std::bitset<vcl::UnicodeCoverage::MAX_UC_ENUM> aMasked; | |||
1144 | if (rFontCapabilities.oUnicodeRange) | |||
1145 | { | |||
1146 | aMasked = *rFontCapabilities.oUnicodeRange & getWeakMask(); | |||
1147 | } | |||
1148 | ||||
1149 | if (aMasked.count() == 1) | |||
1150 | return otCoverageToScript(static_cast<UnicodeCoverageEnum>(find_first(aMasked))); | |||
1151 | ||||
1152 | if (aMasked[vcl::UnicodeCoverage::ARABIC]) | |||
1153 | { | |||
1154 | aMasked.set(vcl::UnicodeCoverage::ARABIC_PRESENTATION_FORMS_A, false); | |||
1155 | aMasked.set(vcl::UnicodeCoverage::ARABIC_PRESENTATION_FORMS_B, false); | |||
1156 | aMasked.set(vcl::UnicodeCoverage::NKO, false); | |||
1157 | //Probably strongly tuned for Arabic | |||
1158 | if (aMasked.count() == 1) | |||
1159 | return USCRIPT_ARABIC; | |||
1160 | if (aMasked.count() == 2 && aMasked[vcl::UnicodeCoverage::SYRIAC]) | |||
1161 | return USCRIPT_SYRIAC; | |||
1162 | } | |||
1163 | ||||
1164 | if (aMasked[vcl::UnicodeCoverage::DEVANAGARI]) | |||
1165 | { | |||
1166 | aMasked.set(vcl::UnicodeCoverage::DEVANAGARI, false); | |||
1167 | //Probably strongly tuned for a single Indic script | |||
1168 | if (aMasked.count() == 1) | |||
1169 | return otCoverageToScript(static_cast<UnicodeCoverageEnum>(find_first(aMasked))); | |||
1170 | } | |||
1171 | ||||
1172 | aMasked.set(vcl::UnicodeCoverage::GREEK_EXTENDED, false); | |||
1173 | aMasked.set(vcl::UnicodeCoverage::GREEK_AND_COPTIC, false); | |||
1174 | if (aMasked.count() == 1) | |||
1175 | return otCoverageToScript(static_cast<UnicodeCoverageEnum>(find_first(aMasked))); | |||
1176 | ||||
1177 | if (aMasked[vcl::UnicodeCoverage::CYRILLIC]) | |||
1178 | { | |||
1179 | //Probably strongly tuned for Georgian | |||
1180 | if (aMasked.count() == 2 && aMasked[vcl::UnicodeCoverage::GEORGIAN]) | |||
1181 | return USCRIPT_GEORGIAN; | |||
1182 | } | |||
1183 | ||||
1184 | aMasked &= getCJKMask(); | |||
1185 | ||||
1186 | aMasked.set(vcl::UnicodeCoverage::CYRILLIC, false); | |||
1187 | aMasked.set(vcl::UnicodeCoverage::THAI, false); | |||
1188 | aMasked.set(vcl::UnicodeCoverage::DESERET, false); | |||
1189 | aMasked.set(vcl::UnicodeCoverage::PHAGS_PA, false); | |||
1190 | ||||
1191 | //So, possibly a CJK font | |||
1192 | if (!aMasked.count() && rFontCapabilities.oCodePageRange) | |||
1193 | { | |||
1194 | std::bitset<vcl::CodePageCoverage::MAX_CP_ENUM> aCJKCodePageMask; | |||
1195 | aCJKCodePageMask.set(vcl::CodePageCoverage::CP932); | |||
1196 | aCJKCodePageMask.set(vcl::CodePageCoverage::CP936); | |||
1197 | aCJKCodePageMask.set(vcl::CodePageCoverage::CP949); | |||
1198 | aCJKCodePageMask.set(vcl::CodePageCoverage::CP950); | |||
1199 | aCJKCodePageMask.set(vcl::CodePageCoverage::CP1361); | |||
1200 | std::bitset<vcl::CodePageCoverage::MAX_CP_ENUM> aMaskedCodePage = | |||
1201 | *rFontCapabilities.oCodePageRange & aCJKCodePageMask; | |||
1202 | //fold Korean | |||
1203 | if (aMaskedCodePage[vcl::CodePageCoverage::CP1361]) | |||
1204 | { | |||
1205 | aMaskedCodePage.set(vcl::CodePageCoverage::CP949); | |||
1206 | aMaskedCodePage.set(vcl::CodePageCoverage::CP1361, false); | |||
1207 | } | |||
1208 | ||||
1209 | if (aMaskedCodePage.count() == 1) | |||
1210 | { | |||
1211 | if (aMaskedCodePage[vcl::CodePageCoverage::CP932]) | |||
1212 | return USCRIPT_JAPANESE; | |||
1213 | if (aMaskedCodePage[vcl::CodePageCoverage::CP949]) | |||
1214 | return USCRIPT_KOREAN; | |||
1215 | if (aMaskedCodePage[vcl::CodePageCoverage::CP936]) | |||
1216 | return USCRIPT_SIMPLIFIED_HAN; | |||
1217 | if (aMaskedCodePage[vcl::CodePageCoverage::CP950]) | |||
1218 | return USCRIPT_TRADITIONAL_HAN; | |||
1219 | } | |||
1220 | ||||
1221 | if (aMaskedCodePage.count()) | |||
1222 | return USCRIPT_HAN; | |||
1223 | } | |||
1224 | ||||
1225 | return USCRIPT_COMMON; | |||
1226 | } | |||
1227 | } | |||
1228 | ||||
1229 | namespace | |||
1230 | { | |||
1231 | UScriptCode attemptToDisambiguateHan(UScriptCode eScript, OutputDevice const &rDevice) | |||
1232 | { | |||
1233 | //If we're a CJK font, see if we seem to be tuned for C, J or K | |||
1234 | if (eScript == USCRIPT_HAN) | |||
1235 | { | |||
1236 | const vcl::Font &rFont = rDevice.GetFont(); | |||
1237 | ||||
1238 | bool bKore = false, bJpan = false, bHant = false, bHans = false; | |||
1239 | ||||
1240 | static const sal_Unicode aKorean[] = { 0x3131 }; | |||
1241 | OUString sKorean(aKorean, SAL_N_ELEMENTS(aKorean)(sizeof(sal_n_array_size(aKorean)))); | |||
1242 | if (-1 == rDevice.HasGlyphs(rFont, sKorean)) | |||
1243 | bKore = true; | |||
1244 | ||||
1245 | static const sal_Unicode aJapanese[] = { 0x3007, 0x9F9D }; | |||
1246 | OUString sJapanese(aJapanese, SAL_N_ELEMENTS(aJapanese)(sizeof(sal_n_array_size(aJapanese)))); | |||
1247 | if (-1 == rDevice.HasGlyphs(rFont, sJapanese)) | |||
1248 | bJpan = true; | |||
1249 | ||||
1250 | static const sal_Unicode aTraditionalChinese[] = { 0x570B }; | |||
1251 | OUString sTraditionalChinese(aTraditionalChinese, SAL_N_ELEMENTS(aTraditionalChinese)(sizeof(sal_n_array_size(aTraditionalChinese)))); | |||
1252 | if (-1 == rDevice.HasGlyphs(rFont, sTraditionalChinese)) | |||
1253 | bHant = true; | |||
1254 | ||||
1255 | static const sal_Unicode aSimplifiedChinese[] = { 0x56FD }; | |||
1256 | OUString sSimplifiedChinese(aSimplifiedChinese, SAL_N_ELEMENTS(aSimplifiedChinese)(sizeof(sal_n_array_size(aSimplifiedChinese)))); | |||
1257 | if (-1 == rDevice.HasGlyphs(rFont, sSimplifiedChinese)) | |||
1258 | bHans = true; | |||
1259 | ||||
1260 | if (bKore && !bJpan && !bHans) | |||
1261 | eScript = USCRIPT_KOREAN; | |||
1262 | else if (bJpan && !bKore && !bHans) | |||
1263 | eScript = USCRIPT_JAPANESE; | |||
1264 | else if (bHant && !bHans && !bKore && !bJpan) | |||
1265 | eScript = USCRIPT_TRADITIONAL_HAN; | |||
1266 | else if (bHans && !bHant && !bKore && !bJpan) | |||
1267 | eScript = USCRIPT_SIMPLIFIED_HAN; | |||
1268 | //otherwise fall-through as USCRIPT_HAN and expect a combined Hant/Hans preview | |||
1269 | } | |||
1270 | return eScript; | |||
1271 | } | |||
1272 | } | |||
1273 | ||||
1274 | OUString makeShortRepresentativeTextForSelectedFont(OutputDevice const &rDevice) | |||
1275 | { | |||
1276 | UScriptCode eScript = lcl_getHardCodedScriptNameForFont(rDevice); | |||
1277 | if (eScript == USCRIPT_INVALID_CODE) | |||
1278 | { | |||
1279 | vcl::FontCapabilities aFontCapabilities; | |||
1280 | if (!rDevice.GetFontCapabilities(aFontCapabilities)) | |||
1281 | return OUString(); | |||
1282 | ||||
1283 | #if OSL_DEBUG_LEVEL1 > 0 | |||
1284 | lcl_dump_unicode_coverage(aFontCapabilities.oUnicodeRange); | |||
1285 | lcl_dump_codepage_coverage(aFontCapabilities.oCodePageRange); | |||
1286 | #endif | |||
1287 | ||||
1288 | if (aFontCapabilities.oUnicodeRange) | |||
1289 | *aFontCapabilities.oUnicodeRange &= getCommonLatnSubsetMask(); | |||
1290 | ||||
1291 | //If this font is probably tuned to display a single non-Latin | |||
1292 | //script and the font name is itself in Latin, then show a small | |||
1293 | //chunk of representative text for that script | |||
1294 | eScript = getScript(aFontCapabilities); | |||
1295 | if (eScript == USCRIPT_COMMON) | |||
1296 | return OUString(); | |||
1297 | ||||
1298 | eScript = attemptToDisambiguateHan(eScript, rDevice); | |||
1299 | } | |||
1300 | ||||
1301 | OUString sSampleText = makeShortRepresentativeTextForScript(eScript); | |||
1302 | bool bHasSampleTextGlyphs = (-1 == rDevice.HasGlyphs(rDevice.GetFont(), sSampleText)); | |||
1303 | return bHasSampleTextGlyphs ? sSampleText : OUString(); | |||
1304 | } | |||
1305 | ||||
1306 | UScriptCode otCoverageToScript(vcl::UnicodeCoverage::UnicodeCoverageEnum eOTCoverage) | |||
1307 | { | |||
1308 | UScriptCode eRet = USCRIPT_COMMON; | |||
1309 | switch (eOTCoverage) | |||
1310 | { | |||
1311 | case vcl::UnicodeCoverage::BASIC_LATIN: | |||
1312 | case vcl::UnicodeCoverage::LATIN_1_SUPPLEMENT: | |||
1313 | case vcl::UnicodeCoverage::LATIN_EXTENDED_A: | |||
1314 | case vcl::UnicodeCoverage::LATIN_EXTENDED_B: | |||
1315 | eRet = USCRIPT_LATIN; | |||
1316 | break; | |||
1317 | case vcl::UnicodeCoverage::COMBINING_DIACRITICAL_MARKS: | |||
1318 | eRet = USCRIPT_INHERITED; | |||
1319 | break; | |||
1320 | case vcl::UnicodeCoverage::GREEK_AND_COPTIC: | |||
1321 | eRet = USCRIPT_GREEK; | |||
1322 | break; | |||
1323 | case vcl::UnicodeCoverage::COPTIC: | |||
1324 | eRet = USCRIPT_COPTIC; | |||
1325 | break; | |||
1326 | case vcl::UnicodeCoverage::CYRILLIC: | |||
1327 | eRet = USCRIPT_CYRILLIC; | |||
1328 | break; | |||
1329 | case vcl::UnicodeCoverage::ARMENIAN: | |||
1330 | eRet = USCRIPT_ARMENIAN; | |||
1331 | break; | |||
1332 | case vcl::UnicodeCoverage::HEBREW: | |||
1333 | eRet = USCRIPT_HEBREW; | |||
1334 | break; | |||
1335 | case vcl::UnicodeCoverage::VAI: | |||
1336 | eRet = USCRIPT_VAI; | |||
1337 | break; | |||
1338 | case vcl::UnicodeCoverage::ARABIC: | |||
1339 | eRet = USCRIPT_ARABIC; | |||
1340 | break; | |||
1341 | case vcl::UnicodeCoverage::NKO: | |||
1342 | eRet = USCRIPT_NKO; | |||
1343 | break; | |||
1344 | case vcl::UnicodeCoverage::DEVANAGARI: | |||
1345 | eRet = USCRIPT_DEVANAGARI; | |||
1346 | break; | |||
1347 | case vcl::UnicodeCoverage::BENGALI: | |||
1348 | eRet = USCRIPT_BENGALI; | |||
1349 | break; | |||
1350 | case vcl::UnicodeCoverage::GURMUKHI: | |||
1351 | eRet = USCRIPT_GURMUKHI; | |||
1352 | break; | |||
1353 | case vcl::UnicodeCoverage::GUJARATI: | |||
1354 | eRet = USCRIPT_GUJARATI; | |||
1355 | break; | |||
1356 | case vcl::UnicodeCoverage::ODIA: | |||
1357 | eRet = USCRIPT_ORIYA; | |||
1358 | break; | |||
1359 | case vcl::UnicodeCoverage::TAMIL: | |||
1360 | eRet = USCRIPT_TAMIL; | |||
1361 | break; | |||
1362 | case vcl::UnicodeCoverage::TELUGU: | |||
1363 | eRet = USCRIPT_TELUGU; | |||
1364 | break; | |||
1365 | case vcl::UnicodeCoverage::KANNADA: | |||
1366 | eRet = USCRIPT_KANNADA; | |||
1367 | break; | |||
1368 | case vcl::UnicodeCoverage::MALAYALAM: | |||
1369 | eRet = USCRIPT_MALAYALAM; | |||
1370 | break; | |||
1371 | case vcl::UnicodeCoverage::THAI: | |||
1372 | eRet = USCRIPT_THAI; | |||
1373 | break; | |||
1374 | case vcl::UnicodeCoverage::LAO: | |||
1375 | eRet = USCRIPT_LAO; | |||
1376 | break; | |||
1377 | case vcl::UnicodeCoverage::GEORGIAN: | |||
1378 | eRet = USCRIPT_GEORGIAN; | |||
1379 | break; | |||
1380 | case vcl::UnicodeCoverage::BALINESE: | |||
1381 | eRet = USCRIPT_BALINESE; | |||
1382 | break; | |||
1383 | case vcl::UnicodeCoverage::HANGUL_JAMO: | |||
1384 | eRet = USCRIPT_HANGUL; | |||
1385 | break; | |||
1386 | case vcl::UnicodeCoverage::LATIN_EXTENDED_ADDITIONAL: | |||
1387 | eRet = USCRIPT_LATIN; | |||
1388 | break; | |||
1389 | case vcl::UnicodeCoverage::GREEK_EXTENDED: | |||
1390 | eRet = USCRIPT_GREEK; | |||
1391 | break; | |||
1392 | case vcl::UnicodeCoverage::CURRENCY_SYMBOLS: | |||
1393 | eRet = USCRIPT_SYMBOLS; | |||
1394 | break; | |||
1395 | case vcl::UnicodeCoverage::COMBINING_DIACRITICAL_MARKS_FOR_SYMBOLS: | |||
1396 | eRet = USCRIPT_INHERITED; | |||
1397 | break; | |||
1398 | case vcl::UnicodeCoverage::LETTERLIKE_SYMBOLS: | |||
1399 | case vcl::UnicodeCoverage::NUMBER_FORMS: | |||
1400 | case vcl::UnicodeCoverage::ARROWS: | |||
1401 | eRet = USCRIPT_SYMBOLS; | |||
1402 | break; | |||
1403 | case vcl::UnicodeCoverage::MATHEMATICAL_OPERATORS: | |||
1404 | eRet = USCRIPT_MATHEMATICAL_NOTATION; | |||
1405 | break; | |||
1406 | case vcl::UnicodeCoverage::MISCELLANEOUS_TECHNICAL: | |||
1407 | case vcl::UnicodeCoverage::OPTICAL_CHARACTER_RECOGNITION: | |||
1408 | case vcl::UnicodeCoverage::BOX_DRAWING: | |||
1409 | case vcl::UnicodeCoverage::BLOCK_ELEMENTS: | |||
1410 | case vcl::UnicodeCoverage::GEOMETRIC_SHAPES: | |||
1411 | case vcl::UnicodeCoverage::MISCELLANEOUS_SYMBOLS: | |||
1412 | case vcl::UnicodeCoverage::DINGBATS: | |||
1413 | case vcl::UnicodeCoverage::CJK_SYMBOLS_AND_PUNCTUATION: | |||
1414 | eRet = USCRIPT_SYMBOLS; | |||
1415 | break; | |||
1416 | case vcl::UnicodeCoverage::HIRAGANA: | |||
1417 | eRet = USCRIPT_HIRAGANA; | |||
1418 | break; | |||
1419 | case vcl::UnicodeCoverage::KATAKANA: | |||
1420 | eRet = USCRIPT_KATAKANA; | |||
1421 | break; | |||
1422 | case vcl::UnicodeCoverage::BOPOMOFO: | |||
1423 | eRet = USCRIPT_BOPOMOFO; | |||
1424 | break; | |||
1425 | case vcl::UnicodeCoverage::HANGUL_COMPATIBILITY_JAMO: | |||
1426 | eRet = USCRIPT_HANGUL; | |||
1427 | break; | |||
1428 | case vcl::UnicodeCoverage::PHAGS_PA: | |||
1429 | eRet = USCRIPT_PHAGS_PA; | |||
1430 | break; | |||
1431 | case vcl::UnicodeCoverage::ENCLOSED_CJK_LETTERS_AND_MONTHS: | |||
1432 | eRet = USCRIPT_HANGUL; | |||
1433 | break; | |||
1434 | case vcl::UnicodeCoverage::CJK_COMPATIBILITY: | |||
1435 | eRet = USCRIPT_HAN; | |||
1436 | break; | |||
1437 | case vcl::UnicodeCoverage::HANGUL_SYLLABLES: | |||
1438 | eRet = USCRIPT_HANGUL; | |||
1439 | break; | |||
1440 | case vcl::UnicodeCoverage::PHOENICIAN: | |||
1441 | eRet = USCRIPT_PHOENICIAN; | |||
1442 | break; | |||
1443 | case vcl::UnicodeCoverage::CJK_UNIFIED_IDEOGRAPHS: | |||
1444 | case vcl::UnicodeCoverage::CJK_STROKES: | |||
1445 | eRet = USCRIPT_HAN; | |||
1446 | break; | |||
1447 | case vcl::UnicodeCoverage::ARABIC_PRESENTATION_FORMS_A: | |||
1448 | eRet = USCRIPT_ARABIC; | |||
1449 | break; | |||
1450 | case vcl::UnicodeCoverage::COMBINING_HALF_MARKS: | |||
1451 | eRet = USCRIPT_INHERITED; | |||
1452 | break; | |||
1453 | case vcl::UnicodeCoverage::ARABIC_PRESENTATION_FORMS_B: | |||
1454 | eRet = USCRIPT_ARABIC; | |||
1455 | break; | |||
1456 | case vcl::UnicodeCoverage::TIBETAN: | |||
1457 | eRet = USCRIPT_TIBETAN; | |||
1458 | break; | |||
1459 | case vcl::UnicodeCoverage::SYRIAC: | |||
1460 | eRet = USCRIPT_SYRIAC; | |||
1461 | break; | |||
1462 | case vcl::UnicodeCoverage::THAANA: | |||
1463 | eRet = USCRIPT_THAANA; | |||
1464 | break; | |||
1465 | case vcl::UnicodeCoverage::SINHALA: | |||
1466 | eRet = USCRIPT_SINHALA; | |||
1467 | break; | |||
1468 | case vcl::UnicodeCoverage::MYANMAR: | |||
1469 | eRet = USCRIPT_MYANMAR; | |||
1470 | break; | |||
1471 | case vcl::UnicodeCoverage::ETHIOPIC: | |||
1472 | eRet = USCRIPT_ETHIOPIC; | |||
1473 | break; | |||
1474 | case vcl::UnicodeCoverage::CHEROKEE: | |||
1475 | eRet = USCRIPT_CHEROKEE; | |||
1476 | break; | |||
1477 | case vcl::UnicodeCoverage::UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS: | |||
1478 | eRet = USCRIPT_CANADIAN_ABORIGINAL; | |||
1479 | break; | |||
1480 | case vcl::UnicodeCoverage::OGHAM: | |||
1481 | eRet = USCRIPT_OGHAM; | |||
1482 | break; | |||
1483 | case vcl::UnicodeCoverage::RUNIC: | |||
1484 | eRet = USCRIPT_RUNIC; | |||
1485 | break; | |||
1486 | case vcl::UnicodeCoverage::KHMER: | |||
1487 | eRet = USCRIPT_KHMER; | |||
1488 | break; | |||
1489 | case vcl::UnicodeCoverage::MONGOLIAN: | |||
1490 | eRet = USCRIPT_MONGOLIAN; | |||
1491 | break; | |||
1492 | case vcl::UnicodeCoverage::BRAILLE_PATTERNS: | |||
1493 | eRet = USCRIPT_BRAILLE; | |||
1494 | break; | |||
1495 | case vcl::UnicodeCoverage::YI_SYLLABLES: | |||
1496 | eRet = USCRIPT_YI; | |||
1497 | break; | |||
1498 | case vcl::UnicodeCoverage::TAGALOG: | |||
1499 | eRet = USCRIPT_TAGALOG; | |||
1500 | break; | |||
1501 | case vcl::UnicodeCoverage::OLD_ITALIC: | |||
1502 | eRet = USCRIPT_OLD_ITALIC; | |||
1503 | break; | |||
1504 | case vcl::UnicodeCoverage::GOTHIC: | |||
1505 | eRet = USCRIPT_GOTHIC; | |||
1506 | break; | |||
1507 | case vcl::UnicodeCoverage::DESERET: | |||
1508 | eRet = USCRIPT_DESERET; | |||
1509 | break; | |||
1510 | case vcl::UnicodeCoverage::BYZANTINE_MUSICAL_SYMBOLS: | |||
1511 | case vcl::UnicodeCoverage::MATHEMATICAL_ALPHANUMERIC_SYMBOLS: | |||
1512 | case vcl::UnicodeCoverage::PRIVATE_USE_PLANE_15: | |||
1513 | eRet = USCRIPT_SYMBOLS; | |||
1514 | break; | |||
1515 | case vcl::UnicodeCoverage::VARIATION_SELECTORS: | |||
1516 | eRet = USCRIPT_INHERITED; | |||
1517 | break; | |||
1518 | case vcl::UnicodeCoverage::TAGS: | |||
1519 | eRet = USCRIPT_SYMBOLS; | |||
1520 | break; | |||
1521 | case vcl::UnicodeCoverage::LIMBU: | |||
1522 | eRet = USCRIPT_LIMBU; | |||
1523 | break; | |||
1524 | case vcl::UnicodeCoverage::TAI_LE: | |||
1525 | eRet = USCRIPT_TAI_LE; | |||
1526 | break; | |||
1527 | case vcl::UnicodeCoverage::NEW_TAI_LUE: | |||
1528 | eRet = USCRIPT_NEW_TAI_LUE; | |||
1529 | break; | |||
1530 | case vcl::UnicodeCoverage::BUGINESE: | |||
1531 | eRet = USCRIPT_BUGINESE; | |||
1532 | break; | |||
1533 | case vcl::UnicodeCoverage::GLAGOLITIC: | |||
1534 | eRet = USCRIPT_GLAGOLITIC; | |||
1535 | break; | |||
1536 | case vcl::UnicodeCoverage::TIFINAGH: | |||
1537 | eRet = USCRIPT_TIFINAGH; | |||
1538 | break; | |||
1539 | case vcl::UnicodeCoverage::YIJING_HEXAGRAM_SYMBOLS: | |||
1540 | eRet = USCRIPT_SYMBOLS; | |||
1541 | break; | |||
1542 | case vcl::UnicodeCoverage::SYLOTI_NAGRI: | |||
1543 | eRet = USCRIPT_SYLOTI_NAGRI; | |||
1544 | break; | |||
1545 | case vcl::UnicodeCoverage::LINEAR_B_SYLLABARY: | |||
1546 | eRet = USCRIPT_LINEAR_B; | |||
1547 | break; | |||
1548 | case vcl::UnicodeCoverage::ANCIENT_GREEK_NUMBERS: | |||
1549 | eRet = USCRIPT_GREEK; | |||
1550 | break; | |||
1551 | case vcl::UnicodeCoverage::UGARITIC: | |||
1552 | eRet = USCRIPT_UGARITIC; | |||
1553 | break; | |||
1554 | case vcl::UnicodeCoverage::OLD_PERSIAN: | |||
1555 | eRet = USCRIPT_OLD_PERSIAN; | |||
1556 | break; | |||
1557 | case vcl::UnicodeCoverage::SHAVIAN: | |||
1558 | eRet = USCRIPT_SHAVIAN; | |||
1559 | break; | |||
1560 | case vcl::UnicodeCoverage::OSMANYA: | |||
1561 | eRet = USCRIPT_OSMANYA; | |||
1562 | break; | |||
1563 | case vcl::UnicodeCoverage::CYPRIOT_SYLLABARY: | |||
1564 | eRet = USCRIPT_CYPRIOT; | |||
1565 | break; | |||
1566 | case vcl::UnicodeCoverage::KHAROSHTHI: | |||
1567 | eRet = USCRIPT_KHAROSHTHI; | |||
1568 | break; | |||
1569 | case vcl::UnicodeCoverage::CUNEIFORM: | |||
1570 | eRet = USCRIPT_CUNEIFORM; | |||
1571 | break; | |||
1572 | case vcl::UnicodeCoverage::SUNDANESE: | |||
1573 | eRet = USCRIPT_SUNDANESE; | |||
1574 | break; | |||
1575 | case vcl::UnicodeCoverage::LEPCHA: | |||
1576 | eRet = USCRIPT_LEPCHA; | |||
1577 | break; | |||
1578 | case vcl::UnicodeCoverage::OL_CHIKI: | |||
1579 | eRet = USCRIPT_OL_CHIKI; | |||
1580 | break; | |||
1581 | case vcl::UnicodeCoverage::SAURASHTRA: | |||
1582 | eRet = USCRIPT_SAURASHTRA; | |||
1583 | break; | |||
1584 | case vcl::UnicodeCoverage::KAYAH_LI: | |||
1585 | eRet = USCRIPT_KAYAH_LI; | |||
1586 | break; | |||
1587 | case vcl::UnicodeCoverage::REJANG: | |||
1588 | eRet = USCRIPT_REJANG; | |||
1589 | break; | |||
1590 | case vcl::UnicodeCoverage::CHAM: | |||
1591 | eRet = USCRIPT_CHAM; | |||
1592 | break; | |||
1593 | case vcl::UnicodeCoverage::CARIAN: | |||
1594 | eRet = USCRIPT_CARIAN; | |||
1595 | break; | |||
1596 | case vcl::UnicodeCoverage::DOMINO_TILES: | |||
1597 | case vcl::UnicodeCoverage::TAI_XUAN_JING_SYMBOLS: | |||
1598 | case vcl::UnicodeCoverage::COUNTING_ROD_NUMERALS: | |||
1599 | case vcl::UnicodeCoverage::ANCIENT_SYMBOLS: | |||
1600 | case vcl::UnicodeCoverage::PHAISTOS_DISC: | |||
1601 | eRet = USCRIPT_SYMBOLS; | |||
1602 | break; | |||
1603 | case vcl::UnicodeCoverage::IPA_EXTENSIONS: | |||
1604 | case vcl::UnicodeCoverage::SPECIALS: | |||
1605 | case vcl::UnicodeCoverage::HALFWIDTH_AND_FULLWIDTH_FORMS: | |||
1606 | case vcl::UnicodeCoverage::VERTICAL_FORMS: | |||
1607 | case vcl::UnicodeCoverage::SMALL_FORM_VARIANTS: | |||
1608 | case vcl::UnicodeCoverage::ALPHABETIC_PRESENTATION_FORMS: | |||
1609 | case vcl::UnicodeCoverage::PRIVATE_USE_AREA_PLANE_0: | |||
1610 | case vcl::UnicodeCoverage::NONPLANE_0: | |||
1611 | case vcl::UnicodeCoverage::ENCLOSED_ALPHANUMERICS: | |||
1612 | case vcl::UnicodeCoverage::CONTROL_PICTURES: | |||
1613 | case vcl::UnicodeCoverage::SUPERSCRIPTS_AND_SUBSCRIPTS: | |||
1614 | case vcl::UnicodeCoverage::GENERAL_PUNCTUATION: | |||
1615 | case vcl::UnicodeCoverage::SPACING_MODIFIER_LETTERS: | |||
1616 | case vcl::UnicodeCoverage::RESERVED1: | |||
1617 | case vcl::UnicodeCoverage::RESERVED2: | |||
1618 | case vcl::UnicodeCoverage::RESERVED3: | |||
1619 | case vcl::UnicodeCoverage::RESERVED4: | |||
1620 | case vcl::UnicodeCoverage::RESERVED5: | |||
1621 | case vcl::UnicodeCoverage::MAX_UC_ENUM: | |||
1622 | break; | |||
1623 | } | |||
1624 | return eRet; | |||
1625 | } | |||
1626 | ||||
1627 | OUString makeRepresentativeTextForFont(sal_Int16 nScriptType, const vcl::Font &rFont) | |||
1628 | { | |||
1629 | OUString sRet(makeRepresentativeTextForLanguage(rFont.GetLanguage())); | |||
1630 | ||||
1631 | ScopedVclPtrInstance< VirtualDevice > aDevice; | |||
| ||||
1632 | if (sRet.isEmpty() || (-1 != aDevice->HasGlyphs(rFont, sRet))) | |||
1633 | { | |||
1634 | aDevice->SetFont(rFont); | |||
1635 | vcl::FontCapabilities aFontCapabilities; | |||
1636 | if (aDevice->GetFontCapabilities(aFontCapabilities)) | |||
1637 | { | |||
1638 | #if OSL_DEBUG_LEVEL1 > 0 | |||
1639 | lcl_dump_unicode_coverage(aFontCapabilities.oUnicodeRange); | |||
1640 | #endif | |||
1641 | ||||
1642 | if (aFontCapabilities.oUnicodeRange) | |||
1643 | { | |||
1644 | *aFontCapabilities.oUnicodeRange &= getWeakMask(); | |||
1645 | ||||
1646 | if (nScriptType != css::i18n::ScriptType::ASIAN) | |||
1647 | { | |||
1648 | *aFontCapabilities.oUnicodeRange &= getCJKMask(); | |||
1649 | aFontCapabilities.oCodePageRange.reset(); | |||
1650 | } | |||
1651 | if (nScriptType != css::i18n::ScriptType::LATIN) | |||
1652 | *aFontCapabilities.oUnicodeRange &= getLatinMask(); | |||
1653 | if (nScriptType != css::i18n::ScriptType::COMPLEX) | |||
1654 | *aFontCapabilities.oUnicodeRange &= getCTLMask(); | |||
1655 | } | |||
1656 | ||||
1657 | #if OSL_DEBUG_LEVEL1 > 0 | |||
1658 | SAL_INFO("svtools", "minimal")do { if (true) { switch (sal_detail_log_report(::SAL_DETAIL_LOG_LEVEL_INFO , "svtools")) { case SAL_DETAIL_LOG_ACTION_IGNORE: break; case SAL_DETAIL_LOG_ACTION_LOG: if (sizeof ::sal::detail::getResult ( ::sal::detail::StreamStart() << "minimal") == 1) { :: sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ( "/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1658" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "minimal"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "minimal"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1658" ": "), sal_detail_stream, 0); }; break; case SAL_DETAIL_LOG_ACTION_FATAL : if (sizeof ::sal::detail::getResult( ::sal::detail::StreamStart () << "minimal") == 1) { ::sal_detail_log( (::SAL_DETAIL_LOG_LEVEL_INFO ), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1658" ": "), ::sal::detail::unwrapStream( ::sal::detail ::StreamStart() << "minimal"), 0); } else { ::std::ostringstream sal_detail_stream; sal_detail_stream << "minimal"; ::sal ::detail::log( (::SAL_DETAIL_LOG_LEVEL_INFO), ("svtools"), ("/home/maarten/src/libreoffice/core/svtools/source/misc/sampletext.cxx" ":" "1658" ": "), sal_detail_stream, 0); }; std::abort(); break ; } } } while (false); | |||
1659 | lcl_dump_unicode_coverage(aFontCapabilities.oUnicodeRange); | |||
1660 | lcl_dump_codepage_coverage(aFontCapabilities.oCodePageRange); | |||
1661 | #endif | |||
1662 | ||||
1663 | UScriptCode eScript = getScript(aFontCapabilities); | |||
1664 | ||||
1665 | if (nScriptType == css::i18n::ScriptType::ASIAN) | |||
1666 | eScript = attemptToDisambiguateHan(eScript, *aDevice); | |||
1667 | ||||
1668 | sRet = makeRepresentativeTextForScript(eScript); | |||
1669 | } | |||
1670 | ||||
1671 | if (sRet.isEmpty()) | |||
1672 | { | |||
1673 | if (nScriptType == css::i18n::ScriptType::COMPLEX) | |||
1674 | { | |||
1675 | sRet = makeRepresentativeTextForScript(USCRIPT_HEBREW); | |||
1676 | if (-1 != aDevice->HasGlyphs(rFont, sRet)) | |||
1677 | { | |||
1678 | sRet = makeMinimalTextForScript(USCRIPT_HEBREW); | |||
1679 | if (-1 != aDevice->HasGlyphs(rFont, sRet)) | |||
1680 | sRet = makeRepresentativeTextForScript(USCRIPT_ARABIC); | |||
1681 | } | |||
1682 | } | |||
1683 | else if (nScriptType == css::i18n::ScriptType::LATIN) | |||
1684 | sRet = makeRepresentativeTextForScript(USCRIPT_LATIN); | |||
1685 | } | |||
1686 | } | |||
1687 | ||||
1688 | return sRet; | |||
1689 | } | |||
1690 | ||||
1691 | /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |
1 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
2 | /* |
3 | * This file is part of the LibreOffice project. |
4 | * |
5 | * This Source Code Form is subject to the terms of the Mozilla Public |
6 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
7 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. |
8 | * |
9 | * This file incorporates work covered by the following license notice: |
10 | * |
11 | * Licensed to the Apache Software Foundation (ASF) under one or more |
12 | * contributor license agreements. See the NOTICE file distributed |
13 | * with this work for additional information regarding copyright |
14 | * ownership. The ASF licenses this file to you under the Apache |
15 | * License, Version 2.0 (the "License"); you may not use this file |
16 | * except in compliance with the License. You may obtain a copy of |
17 | * the License at http://www.apache.org/licenses/LICENSE-2.0 . |
18 | */ |
19 | |
20 | #ifndef INCLUDED_VCL_PTR_HXX |
21 | #define INCLUDED_VCL_PTR_HXX |
22 | |
23 | #include <sal/config.h> |
24 | |
25 | #include <rtl/ref.hxx> |
26 | |
27 | #include <utility> |
28 | #include <type_traits> |
29 | |
30 | #ifdef DBG_UTIL |
31 | #ifndef _WIN32 |
32 | #include <vcl/vclmain.hxx> |
33 | #endif |
34 | #endif |
35 | |
36 | class VclReferenceBase; |
37 | |
38 | namespace vcl::detail { |
39 | |
40 | template<typename> |
41 | constexpr bool isIncompleteOrDerivedFromVclReferenceBase(...) { return true; } |
42 | |
43 | template<typename T> constexpr bool isIncompleteOrDerivedFromVclReferenceBase( |
44 | int (*)[sizeof(T)]) |
45 | { return std::is_base_of<VclReferenceBase, T>::value; } |
46 | |
47 | } // namespace vcl::detail |
48 | |
49 | /** |
50 | * A thin wrapper around rtl::Reference to implement the acquire and dispose semantics we want for references to vcl::Window subclasses. |
51 | * |
52 | * For more details on the design please see vcl/README.lifecycle |
53 | * |
54 | * @param reference_type must be a subclass of vcl::Window |
55 | */ |
56 | template <class reference_type> |
57 | class VclPtr |
58 | { |
59 | static_assert( |
60 | vcl::detail::isIncompleteOrDerivedFromVclReferenceBase<reference_type>( |
61 | nullptr), |
62 | "template argument type must be derived from VclReferenceBase"); |
63 | |
64 | ::rtl::Reference<reference_type> m_rInnerRef; |
65 | |
66 | public: |
67 | /** Constructor... |
68 | */ |
69 | VclPtr() |
70 | : m_rInnerRef() |
71 | {} |
72 | |
73 | /** Constructor... |
74 | */ |
75 | VclPtr (reference_type * pBody) |
76 | : m_rInnerRef(pBody) |
77 | {} |
78 | |
79 | /** Constructor... that doesn't take a ref. |
80 | */ |
81 | VclPtr (reference_type * pBody, __sal_NoAcquire) |
82 | : m_rInnerRef(pBody, SAL_NO_ACQUIRE) |
83 | {} |
84 | |
85 | /** Up-casting conversion constructor: Copies interface reference. |
86 | |
87 | Does not work for up-casts to ambiguous bases. For the special case of |
88 | up-casting to Reference< XInterface >, see the corresponding conversion |
89 | operator. |
90 | |
91 | @param rRef another reference |
92 | */ |
93 | template< class derived_type > |
94 | VclPtr( |
95 | const VclPtr< derived_type > & rRef, |
96 | typename std::enable_if< |
97 | std::is_base_of<reference_type, derived_type>::value, int>::type |
98 | = 0 ) |
99 | : m_rInnerRef( static_cast<reference_type*>(rRef) ) |
100 | { |
101 | } |
102 | |
103 | #if defined(DBG_UTIL) && !defined(_WIN32) |
104 | virtual ~VclPtr() |
105 | { |
106 | assert(m_rInnerRef.get() == nullptr || vclmain::isAlive())(static_cast <bool> (m_rInnerRef.get() == nullptr || vclmain ::isAlive()) ? void (0) : __assert_fail ("m_rInnerRef.get() == nullptr || vclmain::isAlive()" , "/home/maarten/src/libreoffice/core/include/vcl/vclptr.hxx" , 106, __extension__ __PRETTY_FUNCTION__)); |
107 | // We can be one of the intermediate counts, but if we are the last |
108 | // VclPtr keeping this object alive, then something forgot to call dispose(). |
109 | assert((!m_rInnerRef.get() || m_rInnerRef->isDisposed() || m_rInnerRef->getRefCount() > 1)(static_cast <bool> ((!m_rInnerRef.get() || m_rInnerRef ->isDisposed() || m_rInnerRef->getRefCount() > 1) && "someone forgot to call dispose()") ? void (0) : __assert_fail ("(!m_rInnerRef.get() || m_rInnerRef->isDisposed() || m_rInnerRef->getRefCount() > 1) && \"someone forgot to call dispose()\"" , "/home/maarten/src/libreoffice/core/include/vcl/vclptr.hxx" , 110, __extension__ __PRETTY_FUNCTION__)) |
110 | && "someone forgot to call dispose()")(static_cast <bool> ((!m_rInnerRef.get() || m_rInnerRef ->isDisposed() || m_rInnerRef->getRefCount() > 1) && "someone forgot to call dispose()") ? void (0) : __assert_fail ("(!m_rInnerRef.get() || m_rInnerRef->isDisposed() || m_rInnerRef->getRefCount() > 1) && \"someone forgot to call dispose()\"" , "/home/maarten/src/libreoffice/core/include/vcl/vclptr.hxx" , 110, __extension__ __PRETTY_FUNCTION__)); |
111 | } |
112 | VclPtr(VclPtr const &) = default; |
113 | VclPtr(VclPtr &&) = default; |
114 | VclPtr & operator =(VclPtr const &) = default; |
115 | VclPtr & operator =(VclPtr &&) = default; |
116 | #endif |
117 | |
118 | /** |
119 | * A construction helper for VclPtr. Since VclPtr types are created |
120 | * with a reference-count of one - to help fit into the existing |
121 | * code-flow; this helps us to construct them easily. |
122 | * |
123 | * For more details on the design please see vcl/README.lifecycle |
124 | * |
125 | * @tparam reference_type must be a subclass of vcl::Window |
126 | */ |
127 | template<typename... Arg> [[nodiscard]] static VclPtr< reference_type > Create(Arg &&... arg) |
128 | { |
129 | return VclPtr< reference_type >( new reference_type(std::forward<Arg>(arg)...), SAL_NO_ACQUIRE ); |
130 | } |
131 | |
132 | /** Probably most common used: handle->someBodyOp(). |
133 | */ |
134 | reference_type * operator->() const |
135 | { |
136 | return m_rInnerRef.get(); |
137 | } |
138 | |
139 | /** Get the body. Can be used instead of operator->(). |
140 | I.e. handle->someBodyOp() and handle.get()->someBodyOp() |
141 | are the same. |
142 | */ |
143 | reference_type * get() const |
144 | { |
145 | return m_rInnerRef.get(); |
146 | } |
147 | |
148 | void set(reference_type *pBody) |
149 | { |
150 | m_rInnerRef.set(pBody); |
151 | } |
152 | |
153 | void reset(reference_type *pBody) |
154 | { |
155 | m_rInnerRef.set(pBody); |
156 | } |
157 | |
158 | /** Up-casting copy assignment operator. |
159 | |
160 | Does not work for up-casts to ambiguous bases. |
161 | |
162 | @param rRef another reference |
163 | */ |
164 | template<typename derived_type> |
165 | typename std::enable_if< |
166 | std::is_base_of<reference_type, derived_type>::value, |
167 | VclPtr &>::type |
168 | operator =(VclPtr<derived_type> const & rRef) |
169 | { |
170 | m_rInnerRef.set(rRef.get()); |
171 | return *this; |
172 | } |
173 | |
174 | VclPtr & operator =(reference_type * pBody) |
175 | { |
176 | m_rInnerRef.set(pBody); |
177 | return *this; |
178 | } |
179 | |
180 | operator reference_type * () const |
181 | { |
182 | return m_rInnerRef.get(); |
183 | } |
184 | |
185 | explicit operator bool () const |
186 | { |
187 | return m_rInnerRef.get() != nullptr; |
188 | } |
189 | |
190 | void clear() |
191 | { |
192 | m_rInnerRef.clear(); |
193 | } |
194 | |
195 | void reset() |
196 | { |
197 | m_rInnerRef.clear(); |
198 | } |
199 | |
200 | void disposeAndClear() |
201 | { |
202 | // hold it alive for the lifetime of this method |
203 | ::rtl::Reference<reference_type> aTmp(m_rInnerRef); |
204 | m_rInnerRef.clear(); // we should use some 'swap' method ideally ;-) |
205 | if (aTmp.get()) { |
206 | aTmp->disposeOnce(); |
207 | } |
208 | } |
209 | |
210 | /** Needed to place VclPtr's into STL collection. |
211 | */ |
212 | bool operator< (const VclPtr<reference_type> & handle) const |
213 | { |
214 | return (m_rInnerRef < handle.m_rInnerRef); |
215 | } |
216 | }; // class VclPtr |
217 | |
218 | template<typename T1, typename T2> |
219 | inline bool operator ==(VclPtr<T1> const & p1, VclPtr<T2> const & p2) { |
220 | return p1.get() == p2.get(); |
221 | } |
222 | |
223 | template<typename T> inline bool operator ==(VclPtr<T> const & p1, T const * p2) |
224 | { |
225 | return p1.get() == p2; |
226 | } |
227 | |
228 | template<typename T> inline bool operator ==(VclPtr<T> const & p1, T * p2) { |
229 | return p1.get() == p2; |
230 | } |
231 | |
232 | template<typename T> inline bool operator ==(T const * p1, VclPtr<T> const & p2) |
233 | { |
234 | return p1 == p2.get(); |
235 | } |
236 | |
237 | template<typename T> inline bool operator ==(T * p1, VclPtr<T> const & p2) { |
238 | return p1 == p2.get(); |
239 | } |
240 | |
241 | template<typename T1, typename T2> |
242 | inline bool operator !=(VclPtr<T1> const & p1, VclPtr<T2> const & p2) { |
243 | return !(p1 == p2); |
244 | } |
245 | |
246 | template<typename T> inline bool operator !=(VclPtr<T> const & p1, T const * p2) |
247 | { |
248 | return !(p1 == p2); |
249 | } |
250 | |
251 | template<typename T> inline bool operator !=(VclPtr<T> const & p1, T * p2) { |
252 | return !(p1 == p2); |
253 | } |
254 | |
255 | template<typename T> inline bool operator !=(T const * p1, VclPtr<T> const & p2) |
256 | { |
257 | return !(p1 == p2); |
258 | } |
259 | |
260 | template<typename T> inline bool operator !=(T * p1, VclPtr<T> const & p2) { |
261 | return !(p1 == p2); |
262 | } |
263 | |
264 | /** |
265 | * A construction helper for a temporary VclPtr. Since VclPtr types |
266 | * are created with a reference-count of one - to help fit into |
267 | * the existing code-flow; this helps us to construct them easily. |
268 | * see also VclPtr::Create and ScopedVclPtr |
269 | * |
270 | * For more details on the design please see vcl/README.lifecycle |
271 | * |
272 | * @param reference_type must be a subclass of vcl::Window |
273 | */ |
274 | template <class reference_type> |
275 | class SAL_WARN_UNUSED__attribute__((warn_unused)) VclPtrInstance final : public VclPtr<reference_type> |
276 | { |
277 | public: |
278 | template<typename... Arg> VclPtrInstance(Arg &&... arg) |
279 | : VclPtr<reference_type>( new reference_type(std::forward<Arg>(arg)...), SAL_NO_ACQUIRE ) |
280 | { |
281 | } |
282 | |
283 | /** |
284 | * Override and disallow this, to prevent people accidentally calling it and actually |
285 | * getting VclPtr::Create and getting a naked VclPtr<> instance |
286 | */ |
287 | template<typename... Arg> static VclPtrInstance< reference_type > Create(Arg &&... ) = delete; |
288 | }; |
289 | |
290 | template <class reference_type> |
291 | class ScopedVclPtr : public VclPtr<reference_type> |
292 | { |
293 | public: |
294 | /** Constructor... |
295 | */ |
296 | ScopedVclPtr() |
297 | : VclPtr<reference_type>() |
298 | {} |
299 | |
300 | /** Constructor |
301 | */ |
302 | ScopedVclPtr (reference_type * pBody) |
303 | : VclPtr<reference_type>(pBody) |
304 | {} |
305 | |
306 | /** Copy constructor... |
307 | */ |
308 | ScopedVclPtr (const VclPtr<reference_type> & handle) |
309 | : VclPtr<reference_type>(handle) |
310 | {} |
311 | |
312 | /** |
313 | Assignment that releases the last reference. |
314 | */ |
315 | void disposeAndReset(reference_type *pBody) |
316 | { |
317 | if (pBody != this->get()) { |
318 | VclPtr<reference_type>::disposeAndClear(); |
319 | VclPtr<reference_type>::set(pBody); |
320 | } |
321 | } |
322 | |
323 | /** |
324 | Assignment that releases the last reference. |
325 | */ |
326 | ScopedVclPtr<reference_type>& operator = (reference_type * pBody) |
327 | { |
328 | disposeAndReset(pBody); |
329 | return *this; |
330 | } |
331 | |
332 | /** Up-casting conversion constructor: Copies interface reference. |
333 | |
334 | Does not work for up-casts to ambiguous bases. For the special case of |
335 | up-casting to Reference< XInterface >, see the corresponding conversion |
336 | operator. |
337 | |
338 | @param rRef another reference |
339 | */ |
340 | template< class derived_type > |
341 | ScopedVclPtr( |
342 | const VclPtr< derived_type > & rRef, |
343 | typename std::enable_if< |
344 | std::is_base_of<reference_type, derived_type>::value, int>::type |
345 | = 0 ) |
346 | : VclPtr<reference_type>( rRef ) |
347 | { |
348 | } |
349 | |
350 | /** Up-casting assignment operator. |
351 | |
352 | Does not work for up-casts to ambiguous bases. |
353 | |
354 | @param rRef another VclPtr |
355 | */ |
356 | template<typename derived_type> |
357 | typename std::enable_if< |
358 | std::is_base_of<reference_type, derived_type>::value, |
359 | ScopedVclPtr &>::type |
360 | operator =(VclPtr<derived_type> const & rRef) |
361 | { |
362 | disposeAndReset(rRef.get()); |
363 | return *this; |
364 | } |
365 | |
366 | /** |
367 | * Override and disallow this, to prevent people accidentally calling it and actually |
368 | * getting VclPtr::Create and getting a naked VclPtr<> instance |
369 | */ |
370 | template<typename... Arg> static ScopedVclPtr< reference_type > Create(Arg &&... ) = delete; |
371 | |
372 | ~ScopedVclPtr() |
373 | { |
374 | VclPtr<reference_type>::disposeAndClear(); |
375 | assert(VclPtr<reference_type>::get() == nullptr)(static_cast <bool> (VclPtr<reference_type>::get( ) == nullptr) ? void (0) : __assert_fail ("VclPtr<reference_type>::get() == nullptr" , "/home/maarten/src/libreoffice/core/include/vcl/vclptr.hxx" , 375, __extension__ __PRETTY_FUNCTION__)); // make sure there are no lingering references |
376 | } |
377 | |
378 | private: |
379 | // Most likely we don't want this default copy-constructor. |
380 | ScopedVclPtr (const ScopedVclPtr<reference_type> &) = delete; |
381 | // And certainly we don't want a default assignment operator. |
382 | ScopedVclPtr<reference_type>& operator = (const ScopedVclPtr<reference_type> &) = delete; |
383 | // And disallow reset as that doesn't call disposeAndClear on the original reference |
384 | void reset() = delete; |
385 | void reset(reference_type *pBody) = delete; |
386 | |
387 | protected: |
388 | ScopedVclPtr (reference_type * pBody, __sal_NoAcquire) |
389 | : VclPtr<reference_type>(pBody, SAL_NO_ACQUIRE) |
390 | {} |
391 | }; |
392 | |
393 | /** |
394 | * A construction helper for ScopedVclPtr. Since VclPtr types are created |
395 | * with a reference-count of one - to help fit into the existing |
396 | * code-flow; this helps us to construct them easily. |
397 | * |
398 | * For more details on the design please see vcl/README.lifecycle |
399 | * |
400 | * @param reference_type must be a subclass of vcl::Window |
401 | */ |
402 | #if defined _MSC_VER |
403 | #pragma warning(push) |
404 | #pragma warning(disable: 4521) // " multiple copy constructors specified" |
405 | #endif |
406 | template <class reference_type> |
407 | class SAL_WARN_UNUSED__attribute__((warn_unused)) ScopedVclPtrInstance final : public ScopedVclPtr<reference_type> |
408 | { |
409 | public: |
410 | template<typename... Arg> ScopedVclPtrInstance(Arg &&... arg) |
411 | : ScopedVclPtr<reference_type>( new reference_type(std::forward<Arg>(arg)...), SAL_NO_ACQUIRE ) |
412 | { |
413 | } |
414 | |
415 | /** |
416 | * Override and disallow this, to prevent people accidentally calling it and actually |
417 | * getting VclPtr::Create and getting a naked VclPtr<> instance |
418 | */ |
419 | template<typename... Arg> static ScopedVclPtrInstance< reference_type > Create(Arg &&...) = delete; |
420 | |
421 | private: |
422 | // Prevent the above perfect forwarding ctor from hijacking (accidental) |
423 | // attempts at ScopedVclPtrInstance copy construction (where the hijacking |
424 | // would typically lead to somewhat obscure error messages); both non-const |
425 | // and const variants are needed here, as the ScopedVclPtr base class has a |
426 | // const--variant copy ctor, so the implicitly declared copy ctor for |
427 | // ScopedVclPtrInstance would also be the const variant, so non-const copy |
428 | // construction attempts would be hijacked by the perfect forwarding ctor; |
429 | // but if we only declared a non-const variant here, the const variant would |
430 | // no longer be implicitly declared (as there would already be an explicitly |
431 | // declared copy ctor), so const copy construction attempts would then be |
432 | // hijacked by the perfect forwarding ctor: |
433 | ScopedVclPtrInstance(ScopedVclPtrInstance &) = delete; |
434 | ScopedVclPtrInstance(ScopedVclPtrInstance const &) = delete; |
435 | }; |
436 | #if defined _MSC_VER |
437 | #pragma warning(pop) |
438 | #endif |
439 | |
440 | #endif // INCLUDED_VCL_PTR_HXX |
441 | |
442 | /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |
1 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ | ||||||||
2 | /* | ||||||||
3 | * This file is part of the LibreOffice project. | ||||||||
4 | * | ||||||||
5 | * This Source Code Form is subject to the terms of the Mozilla Public | ||||||||
6 | * License, v. 2.0. If a copy of the MPL was not distributed with this | ||||||||
7 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||||||||
8 | * | ||||||||
9 | * This file incorporates work covered by the following license notice: | ||||||||
10 | * | ||||||||
11 | * Licensed to the Apache Software Foundation (ASF) under one or more | ||||||||
12 | * contributor license agreements. See the NOTICE file distributed | ||||||||
13 | * with this work for additional information regarding copyright | ||||||||
14 | * ownership. The ASF licenses this file to you under the Apache | ||||||||
15 | * License, Version 2.0 (the "License"); you may not use this file | ||||||||
16 | * except in compliance with the License. You may obtain a copy of | ||||||||
17 | * the License at http://www.apache.org/licenses/LICENSE-2.0 . | ||||||||
18 | */ | ||||||||
19 | |||||||||
20 | #ifndef INCLUDED_RTL_REF_HXX | ||||||||
21 | #define INCLUDED_RTL_REF_HXX | ||||||||
22 | |||||||||
23 | #include "sal/config.h" | ||||||||
24 | |||||||||
25 | #include <cassert> | ||||||||
26 | #include <cstddef> | ||||||||
27 | #include <functional> | ||||||||
28 | #ifdef LIBO_INTERNAL_ONLY1 | ||||||||
29 | #include <type_traits> | ||||||||
30 | #endif | ||||||||
31 | |||||||||
32 | #include "sal/types.h" | ||||||||
33 | |||||||||
34 | namespace rtl | ||||||||
35 | { | ||||||||
36 | |||||||||
37 | /** Template reference class for reference type. | ||||||||
38 | */ | ||||||||
39 | template <class reference_type> | ||||||||
40 | class Reference | ||||||||
41 | { | ||||||||
42 | /** The <b>reference_type</b> body pointer. | ||||||||
43 | */ | ||||||||
44 | reference_type * m_pBody; | ||||||||
45 | |||||||||
46 | |||||||||
47 | public: | ||||||||
48 | /** Constructor... | ||||||||
49 | */ | ||||||||
50 | Reference() | ||||||||
51 | : m_pBody (NULL__null) | ||||||||
52 | {} | ||||||||
53 | |||||||||
54 | |||||||||
55 | /** Constructor... | ||||||||
56 | */ | ||||||||
57 | Reference (reference_type * pBody, __sal_NoAcquire) | ||||||||
58 | : m_pBody (pBody) | ||||||||
59 | { | ||||||||
60 | } | ||||||||
61 | |||||||||
62 | /** Constructor... | ||||||||
63 | */ | ||||||||
64 | Reference (reference_type * pBody) | ||||||||
65 | : m_pBody (pBody) | ||||||||
66 | { | ||||||||
67 | if (m_pBody) | ||||||||
68 | m_pBody->acquire(); | ||||||||
69 | } | ||||||||
70 | |||||||||
71 | /** Copy constructor... | ||||||||
72 | */ | ||||||||
73 | Reference (const Reference<reference_type> & handle) | ||||||||
74 | : m_pBody (handle.m_pBody) | ||||||||
75 | { | ||||||||
76 | if (m_pBody) | ||||||||
77 | m_pBody->acquire(); | ||||||||
78 | } | ||||||||
79 | |||||||||
80 | #ifdef LIBO_INTERNAL_ONLY1 | ||||||||
81 | /** Move constructor... | ||||||||
82 | */ | ||||||||
83 | Reference (Reference<reference_type> && handle) noexcept | ||||||||
84 | : m_pBody (handle.m_pBody) | ||||||||
85 | { | ||||||||
86 | handle.m_pBody = nullptr; | ||||||||
87 | } | ||||||||
88 | #endif | ||||||||
89 | |||||||||
90 | #if defined LIBO_INTERNAL_ONLY1 | ||||||||
91 | /** Up-casting conversion constructor: Copies interface reference. | ||||||||
92 | |||||||||
93 | Does not work for up-casts to ambiguous bases. | ||||||||
94 | |||||||||
95 | @param rRef another reference | ||||||||
96 | */ | ||||||||
97 | template< class derived_type > | ||||||||
98 | inline Reference( | ||||||||
99 | const Reference< derived_type > & rRef, | ||||||||
100 | std::enable_if_t<std::is_base_of_v<reference_type, derived_type>, int> = 0 ) | ||||||||
101 | : m_pBody (rRef.get()) | ||||||||
102 | { | ||||||||
103 | if (m_pBody) | ||||||||
104 | m_pBody->acquire(); | ||||||||
105 | } | ||||||||
106 | #endif | ||||||||
107 | |||||||||
108 | /** Destructor... | ||||||||
109 | */ | ||||||||
110 | ~Reference() COVERITY_NOEXCEPT_FALSE | ||||||||
111 | { | ||||||||
112 | if (m_pBody) | ||||||||
113 | m_pBody->release(); | ||||||||
114 | } | ||||||||
115 | |||||||||
116 | /** Set... | ||||||||
117 | Similar to assignment. | ||||||||
118 | */ | ||||||||
119 | Reference<reference_type> & | ||||||||
120 | SAL_CALL set (reference_type * pBody) | ||||||||
121 | { | ||||||||
122 | if (pBody) | ||||||||
123 | pBody->acquire(); | ||||||||
124 | reference_type * const pOld = m_pBody; | ||||||||
125 | m_pBody = pBody; | ||||||||
126 | if (pOld) | ||||||||
127 | pOld->release(); | ||||||||
128 | return *this; | ||||||||
129 | } | ||||||||
130 | |||||||||
131 | /** Assignment. | ||||||||
132 | Unbinds this instance from its body (if bound) and | ||||||||
133 | bind it to the body represented by the handle. | ||||||||
134 | */ | ||||||||
135 | Reference<reference_type> & | ||||||||
136 | SAL_CALL operator= (const Reference<reference_type> & handle) | ||||||||
137 | { | ||||||||
138 | return set( handle.m_pBody ); | ||||||||
139 | } | ||||||||
140 | |||||||||
141 | #ifdef LIBO_INTERNAL_ONLY1 | ||||||||
142 | /** Assignment. | ||||||||
143 | * Unbinds this instance from its body (if bound), | ||||||||
144 | * bind it to the body represented by the handle, and | ||||||||
145 | * set the body represented by the handle to nullptr. | ||||||||
146 | */ | ||||||||
147 | Reference<reference_type> & | ||||||||
148 | operator= (Reference<reference_type> && handle) | ||||||||
149 | { | ||||||||
150 | // self-movement guts ourself | ||||||||
151 | if (m_pBody) | ||||||||
152 | m_pBody->release(); | ||||||||
153 | m_pBody = handle.m_pBody; | ||||||||
154 | handle.m_pBody = nullptr; | ||||||||
155 | return *this; | ||||||||
156 | } | ||||||||
157 | #endif | ||||||||
158 | |||||||||
159 | /** Assignment... | ||||||||
160 | */ | ||||||||
161 | Reference<reference_type> & | ||||||||
162 | SAL_CALL operator= (reference_type * pBody) | ||||||||
163 | { | ||||||||
164 | return set( pBody ); | ||||||||
165 | } | ||||||||
166 | |||||||||
167 | /** Unbind the body from this handle. | ||||||||
168 | Note that for a handle representing a large body, | ||||||||
169 | "handle.clear().set(new body());" _might_ | ||||||||
170 | perform a little bit better than "handle.set(new body());", | ||||||||
171 | since in the second case two large objects exist in memory | ||||||||
172 | (the old body and the new body). | ||||||||
173 | */ | ||||||||
174 | Reference<reference_type> & SAL_CALL clear() | ||||||||
175 | { | ||||||||
176 | if (m_pBody
| ||||||||
177 | { | ||||||||
178 | reference_type * const pOld = m_pBody; | ||||||||
179 | m_pBody = NULL__null; | ||||||||
180 | pOld->release(); | ||||||||
181 | } | ||||||||
182 | return *this; | ||||||||
183 | } | ||||||||
184 | |||||||||
185 | |||||||||
186 | /** Get the body. Can be used instead of operator->(). | ||||||||
187 | I.e. handle->someBodyOp() and handle.get()->someBodyOp() | ||||||||
188 | are the same. | ||||||||
189 | */ | ||||||||
190 | reference_type * SAL_CALL get() const | ||||||||
191 | { | ||||||||
192 | return m_pBody; | ||||||||
| |||||||||
193 | } | ||||||||
194 | |||||||||
195 | |||||||||
196 | /** Probably most common used: handle->someBodyOp(). | ||||||||
197 | */ | ||||||||
198 | reference_type * SAL_CALL operator->() const | ||||||||
199 | { | ||||||||
200 | assert(m_pBody != NULL)(static_cast <bool> (m_pBody != __null) ? void (0) : __assert_fail ("m_pBody != NULL", "/home/maarten/src/libreoffice/core/include/rtl/ref.hxx" , 200, __extension__ __PRETTY_FUNCTION__)); | ||||||||
201 | return m_pBody; | ||||||||
202 | } | ||||||||
203 | |||||||||
204 | |||||||||
205 | /** Allows (*handle).someBodyOp(). | ||||||||
206 | */ | ||||||||
207 | reference_type & SAL_CALL operator*() const | ||||||||
208 | { | ||||||||
209 | assert(m_pBody != NULL)(static_cast <bool> (m_pBody != __null) ? void (0) : __assert_fail ("m_pBody != NULL", "/home/maarten/src/libreoffice/core/include/rtl/ref.hxx" , 209, __extension__ __PRETTY_FUNCTION__)); | ||||||||
210 | return *m_pBody; | ||||||||
211 | } | ||||||||
212 | |||||||||
213 | |||||||||
214 | /** Returns True if the handle does point to a valid body. | ||||||||
215 | */ | ||||||||
216 | bool SAL_CALL is() const | ||||||||
217 | { | ||||||||
218 | return (m_pBody != NULL__null); | ||||||||
219 | } | ||||||||
220 | |||||||||
221 | #if defined LIBO_INTERNAL_ONLY1 | ||||||||
222 | /** Returns True if the handle does point to a valid body. | ||||||||
223 | */ | ||||||||
224 | explicit operator bool() const | ||||||||
225 | { | ||||||||
226 | return is(); | ||||||||
227 | } | ||||||||
228 | #endif | ||||||||
229 | |||||||||
230 | /** Returns True if this points to pBody. | ||||||||
231 | */ | ||||||||
232 | bool SAL_CALL operator== (const reference_type * pBody) const | ||||||||
233 | { | ||||||||
234 | return (m_pBody == pBody); | ||||||||
235 | } | ||||||||
236 | |||||||||
237 | |||||||||
238 | /** Returns True if handle points to the same body. | ||||||||
239 | */ | ||||||||
240 | bool | ||||||||
241 | SAL_CALL operator== (const Reference<reference_type> & handle) const | ||||||||
242 | { | ||||||||
243 | return (m_pBody == handle.m_pBody); | ||||||||
244 | } | ||||||||
245 | |||||||||
246 | |||||||||
247 | /** Needed to place References into STL collection. | ||||||||
248 | */ | ||||||||
249 | bool | ||||||||
250 | SAL_CALL operator!= (const Reference<reference_type> & handle) const | ||||||||
251 | { | ||||||||
252 | return (m_pBody != handle.m_pBody); | ||||||||
253 | } | ||||||||
254 | |||||||||
255 | |||||||||
256 | /** Needed to place References into STL collection. | ||||||||
257 | */ | ||||||||
258 | bool | ||||||||
259 | SAL_CALL operator< (const Reference<reference_type> & handle) const | ||||||||
260 | { | ||||||||
261 | return (m_pBody < handle.m_pBody); | ||||||||
262 | } | ||||||||
263 | |||||||||
264 | |||||||||
265 | /** Needed to place References into STL collection. | ||||||||
266 | */ | ||||||||
267 | bool | ||||||||
268 | SAL_CALL operator> (const Reference<reference_type> & handle) const | ||||||||
269 | { | ||||||||
270 | return (m_pBody > handle.m_pBody); | ||||||||
271 | } | ||||||||
272 | }; | ||||||||
273 | |||||||||
274 | } // namespace rtl | ||||||||
275 | |||||||||
276 | #if defined LIBO_INTERNAL_ONLY1 | ||||||||
277 | namespace std | ||||||||
278 | { | ||||||||
279 | |||||||||
280 | /// @cond INTERNAL | ||||||||
281 | /** | ||||||||
282 | Make rtl::Reference hashable by default for use in STL containers. | ||||||||
283 | |||||||||
284 | @since LibreOffice 6.3 | ||||||||
285 | */ | ||||||||
286 | template<typename T> | ||||||||
287 | struct hash<::rtl::Reference<T>> | ||||||||
288 | { | ||||||||
289 | std::size_t operator()(::rtl::Reference<T> const & s) const | ||||||||
290 | { return std::size_t(s.get()); } | ||||||||
291 | }; | ||||||||
292 | /// @endcond | ||||||||
293 | |||||||||
294 | } | ||||||||
295 | |||||||||
296 | #endif | ||||||||
297 | |||||||||
298 | #endif /* ! INCLUDED_RTL_REF_HXX */ | ||||||||
299 | |||||||||
300 | /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |
1 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
2 | /* |
3 | * This file is part of the LibreOffice project. |
4 | * |
5 | * This Source Code Form is subject to the terms of the Mozilla Public |
6 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
7 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. |
8 | * |
9 | * This file incorporates work covered by the following license notice: |
10 | * |
11 | * Licensed to the Apache Software Foundation (ASF) under one or more |
12 | * contributor license agreements. See the NOTICE file distributed |
13 | * with this work for additional information regarding copyright |
14 | * ownership. The ASF licenses this file to you under the Apache |
15 | * License, Version 2.0 (the "License"); you may not use this file |
16 | * except in compliance with the License. You may obtain a copy of |
17 | * the License at http://www.apache.org/licenses/LICENSE-2.0 . |
18 | */ |
19 | #ifndef INCLUDED_VCL_Reference_HXX |
20 | #define INCLUDED_VCL_Reference_HXX |
21 | |
22 | #include <vcl/dllapi.h> |
23 | #include <osl/interlck.h> |
24 | |
25 | class VCL_DLLPUBLIC__attribute__ ((visibility("default"))) VclReferenceBase |
26 | { |
27 | mutable oslInterlockedCount mnRefCnt; |
28 | |
29 | template<typename T> friend class VclPtr; |
30 | |
31 | public: |
32 | void acquire() const |
33 | { |
34 | osl_atomic_increment(&mnRefCnt)__sync_add_and_fetch((&mnRefCnt), 1); |
35 | } |
36 | |
37 | void release() const |
38 | { |
39 | if (osl_atomic_decrement(&mnRefCnt)__sync_sub_and_fetch((&mnRefCnt), 1) == 0) |
40 | delete this; |
41 | } |
42 | #ifdef DBG_UTIL |
43 | #ifndef _WIN32 |
44 | sal_Int32 getRefCount() const { return mnRefCnt; } |
45 | #endif |
46 | #endif |
47 | |
48 | |
49 | private: |
50 | VclReferenceBase(const VclReferenceBase&) = delete; |
51 | VclReferenceBase& operator=(const VclReferenceBase&) = delete; |
52 | |
53 | bool mbDisposed : 1; |
54 | |
55 | protected: |
56 | VclReferenceBase(); |
57 | protected: |
58 | virtual ~VclReferenceBase(); |
59 | |
60 | protected: |
61 | virtual void dispose(); |
62 | |
63 | public: |
64 | void disposeOnce(); |
65 | bool isDisposed() const { return mbDisposed; } |
66 | |
67 | }; |
68 | #endif |