bump product version to 4.1.6.2
[LibreOffice.git] / writerfilter / source / rtftok / rtfcharsets.cxx
blob674040b475900c30a7ae887f8f5333d9fadc8346
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #include <rtfcharsets.hxx>
11 #include <sal/macros.h>
13 namespace writerfilter {
14 namespace rtftok {
16 // See RTF spec v1.9.1, page 19
17 RTFEncoding aRTFEncodings[] = {
18 // charset codepage Windows / Mac name
19 {0, 1252}, // ANSI
20 {1, 0}, // Default
21 {2, 42}, // Symbol
22 {77, 10000}, // Mac Roman
23 {78, 10001}, // Mac Shift Jis
24 {79, 10003}, // Mac Hangul
25 {80, 10008}, // Mac GB2312
26 {81, 10002}, // Mac Big5
27 {83, 10005}, // Mac Herbrew
28 {84, 10004}, // Mac Arabic
29 {85, 10006}, // Mac Greek
30 {86, 10081}, // Mac Turkish
31 {87, 10021}, // Mac Thai
32 {88, 10029}, // Mac East Europe
33 {89, 10007}, // Mac Russian
34 {128, 932}, // Shift JIS
35 {129, 949}, // Hangul
36 {130, 1361}, // Johab
37 {134, 936}, // GB2312
38 {136, 950}, // Big5
39 {161, 1253}, // Greek
40 {162, 1254}, // Turkish
41 {163, 1258}, // Viatnamese
42 {177, 1255}, // Herbrew
43 {178, 1256}, // Arabic
44 {186, 1257}, // Baltic
45 {204, 1251}, // Russian
46 {222, 874}, // Thai
47 {238, 1250}, // Eastern European
48 {254, 437}, // PC 437
49 {255, 850}, // OEM
52 int nRTFEncodings = SAL_N_ELEMENTS(aRTFEncodings);
54 } // namespace rtftok
55 } // namespace writerfilter
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */