1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #include <rtfcharsets.hxx>
11 #include <sal/macros.h>
13 namespace writerfilter
{
16 // See RTF spec v1.9.1, page 19
17 RTFEncoding aRTFEncodings
[] = {
18 // charset codepage Windows / Mac name
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
40 {162, 1254}, // Turkish
41 {163, 1258}, // Viatnamese
42 {177, 1255}, // Herbrew
43 {178, 1256}, // Arabic
44 {186, 1257}, // Baltic
45 {204, 1251}, // Russian
47 {238, 1250}, // Eastern European
52 int nRTFEncodings
= SAL_N_ELEMENTS(aRTFEncodings
);
55 } // namespace writerfilter
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */