LibreOffice Module vcl (master)  1
fontcapabilities.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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  */
9 
10 #ifndef INCLUDED_VCL_FONTCAPABILITIES_HXX
11 #define INCLUDED_VCL_FONTCAPABILITIES_HXX
12 
13 #include <boost/optional.hpp>
14 #include <bitset>
15 
16 //See OS/2 table, i.e. http://www.microsoft.com/typography/otspec/os2.htm#ur
17 namespace vcl
18 {
19  namespace UnicodeCoverage
20  {
22  {
31  COPTIC = 8,
32  CYRILLIC = 9,
33  ARMENIAN = 10,
34  HEBREW = 11,
35  VAI = 12,
36  ARABIC = 13,
37  NKO = 14,
38  DEVANAGARI = 15,
39  BENGALI = 16,
40  GURMUKHI = 17,
41  GUJARATI = 18,
42  ODIA = 19,
43  TAMIL = 20,
44  TELUGU = 21,
45  KANNADA = 22,
46  MALAYALAM = 23,
47  THAI = 24,
48  LAO = 25,
49  GEORGIAN = 26,
50  BALINESE = 27,
60  ARROWS = 37,
70  DINGBATS = 47,
72  HIRAGANA = 49,
73  KATAKANA = 50,
74  BOPOMOFO = 51,
76  PHAGS_PA = 53,
80  NONPLANE_0 = 57,
81  PHOENICIAN = 58,
92  SPECIALS = 69,
93  TIBETAN = 70,
94  SYRIAC = 71,
95  THAANA = 72,
96  SINHALA = 73,
97  MYANMAR = 74,
98  ETHIOPIC = 75,
99  CHEROKEE = 76,
101  OGHAM = 78,
102  RUNIC = 79,
103  KHMER = 80,
104  MONGOLIAN = 81,
107  TAGALOG = 84,
109  GOTHIC = 86,
110  DESERET = 87,
115  TAGS = 92,
116  LIMBU = 93,
117  TAI_LE = 94,
119  BUGINESE = 96,
121  TIFINAGH = 98,
126  UGARITIC = 103,
127  OLD_PERSIAN = 104,
128  SHAVIAN = 105,
129  OSMANYA = 106,
131  KHAROSHTHI = 108,
133  CUNEIFORM = 110,
135  SUNDANESE = 112,
136  LEPCHA = 113,
137  OL_CHIKI = 114,
138  SAURASHTRA = 115,
139  KAYAH_LI = 116,
140  REJANG = 117,
141  CHAM = 118,
144  CARIAN = 121,
146  RESERVED1 = 123,
147  RESERVED2 = 124,
148  RESERVED3 = 125,
149  RESERVED4 = 126,
150  RESERVED5 = 127,
152  };
153  };
154 
155  namespace CodePageCoverage
156  {
158  {
159  CP1252 = 0,
160  CP1250 = 1,
161  CP1251 = 2,
162  CP1253 = 3,
163  CP1254 = 4,
164  CP1255 = 5,
165  CP1256 = 6,
166  CP1257 = 7,
167  CP1258 = 8,
168  CP874 = 16,
169  CP932 = 17,
170  CP936 = 18,
171  CP949 = 19,
172  CP950 = 20,
173  CP1361 = 21,
174  CP869 = 48,
175  CP866 = 49,
176  CP865 = 50,
177  CP864 = 51,
178  CP863 = 52,
179  CP862 = 53,
180  CP861 = 54,
181  CP860 = 55,
182  CP857 = 56,
183  CP855 = 57,
184  CP852 = 58,
185  CP775 = 59,
186  CP737 = 60,
187  CP780 = 61,
188  CP850 = 62,
189  CP437 = 63,
191  };
192  };
193 
195  {
198  };
199 }
200 
201 #endif
202 
203 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
boost::optional< std::bitset< CodePageCoverage::MAX_CP_ENUM > > oCodePageRange
boost::optional< std::bitset< UnicodeCoverage::MAX_UC_ENUM > > oUnicodeRange