tdf#39279: Prioritise Thunderbird address books in first-match search
[LibreOffice.git] / sal / textenc / converteuctw.tab
blobf45b10969efa3d984915c5bcaecb5c4dffa8fba0
1 /*
2  * This file is part of the LibreOffice project.
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  *
8  * This file incorporates work covered by the following license notice:
9  *
10  *   Licensed to the Apache Software Foundation (ASF) under one or more
11  *   contributor license agreements. See the NOTICE file distributed
12  *   with this work for additional information regarding copyright
13  *   ownership. The ASF licenses this file to you under the Apache
14  *   License, Version 2.0 (the "License"); you may not use this file
15  *   except in compliance with the License. You may obtain a copy of
16  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
17  */
19 #include "sal/config.h"
21 #include "rtl/tencinfo.h"
22 #include "rtl/textenc.h"
24 #include "context.hxx"
25 #include "converteuctw.hxx"
27 #include "generate/cns116431992.tab"
29 static ImplEucTwConverterData const aImplEucTwConvertData
30     = { aImplCns116431992ToUnicodeData,
31         aImplCns116431992ToUnicodeRowOffsets,
32         aImplCns116431992ToUnicodePlaneOffsets,
33         aImplUnicodeToCns116431992Data,
34         aImplUnicodeToCns116431992PageOffsets,
35         aImplUnicodeToCns116431992PlaneOffsets };
37 static ImplTextEncodingData const aImplEucTwTextEncodingData
38     = { { &aImplEucTwConvertData,
39           &ImplConvertEucTwToUnicode,
40           &ImplConvertUnicodeToEucTw,
41           &ImplCreateEucTwToUnicodeContext,
42           &ImplDestroyEucTwToUnicodeContext,
43           &ImplResetEucTwToUnicodeContext,
44           &ImplCreateUnicodeToTextContext,
45           &ImplDestroyUnicodeToTextContext,
46           &ImplResetUnicodeToTextContext },
47         1,
48         4,
49         2,
50         136,
51         "cns11643-1",
52         "Big5",
53         RTL_TEXTENCODING_INFO_ASCII | RTL_TEXTENCODING_INFO_MULTIBYTE };
54     /* SCRIPT_CHINESE_TRADITIONAL */