2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1995-2000 The LyX Team.
10 * ====================================================== */
23 typedef unsigned short int Uchar;
40 Encoding(string const & l, Uchar const * e)
41 : LatexName_(l) , encoding_table(e) {}
43 string const & LatexName() const {
47 Uchar ucs(unsigned char c) const {
48 return encoding_table[c];
52 bool IsComposeChar_hebrew(unsigned char c);
55 bool IsComposeChar_arabic(unsigned char c);
58 bool is_arabic(unsigned char c);
61 unsigned char TransformChar(unsigned char c, Letter_Form form);
66 Uchar const * encoding_table;
70 extern Encoding iso8859_1;
72 extern Encoding iso8859_2;
74 extern Encoding iso8859_3;
76 extern Encoding iso8859_4;
78 extern Encoding iso8859_6;
80 extern Encoding iso8859_7;
82 extern Encoding iso8859_9;
84 extern Encoding cp1255;
88 extern Encoding symbol_encoding;