Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / writerfilter / source / rtftok / rtfcharsets.cxx
blob4309351d9f70a2f4bdec70990fc697b90f80d2df
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
15 namespace rtftok
17 // See RTF spec v1.9.1, page 19
18 RTFEncoding const aRTFEncodings[] = {
19 // charset codepage Windows / Mac name
20 { 0, 1252 }, // ANSI
21 { 1, 0 }, // Default
22 { 2, 42 }, // Symbol
23 { 77, 10000 }, // Mac Roman
24 { 78, 10001 }, // Mac Shift Jis
25 { 79, 10003 }, // Mac Hangul
26 { 80, 10008 }, // Mac GB2312
27 { 81, 10002 }, // Mac Big5
28 { 83, 10005 }, // Mac Herbrew
29 { 84, 10004 }, // Mac Arabic
30 { 85, 10006 }, // Mac Greek
31 { 86, 10081 }, // Mac Turkish
32 { 87, 10021 }, // Mac Thai
33 { 88, 10029 }, // Mac East Europe
34 { 89, 10007 }, // Mac Russian
35 { 128, 932 }, // Shift JIS
36 { 129, 949 }, // Hangul
37 { 130, 1361 }, // Johab
38 { 134, 936 }, // GB2312
39 { 136, 950 }, // Big5
40 { 161, 1253 }, // Greek
41 { 162, 1254 }, // Turkish
42 { 163, 1258 }, // Vietnamese
43 { 177, 1255 }, // Herbrew
44 { 178, 1256 }, // Arabic
45 { 186, 1257 }, // Baltic
46 { 204, 1251 }, // Russian
47 { 222, 874 }, // Thai
48 { 238, 1250 }, // Eastern European
49 { 254, 437 }, // PC 437
50 { 255, 850 }, // OEM
53 int nRTFEncodings = SAL_N_ELEMENTS(aRTFEncodings);
55 } // namespace rtftok
56 } // namespace writerfilter
58 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */