Changed the CreateDC driver entry point to use an HDC instead of a DC
[wine] / dlls / richedit / ansi_gen.h
1 /*
2  RTF ANSI character set (\ansi) general map
3  These are taken from the ISO-Latin-1 (ISO-8859-1) encodings, with
4  a few additions
5
6  Field 1 is the standard character name which the character value in
7  field 2 maps onto.  (It doesn't mean "to produce the character in field 1,
8  use the value in field 2.)
9
10  The character value may be given either as a single character (which will be
11  converted to the ASCII value of the character), or in numeric format, either
12  in decimal or 0xyy as hex yy.  Single or double quotes may be used to quote
13  characters.*/
14
15 int ansi_gen[] =
16 {
17   rtfSC_formula          ,0x06,
18   rtfSC_nobrkhyphen      ,0x1e,
19   rtfSC_opthyphen        ,0x1f,
20   rtfSC_space            ,' ',
21   rtfSC_exclam           ,'!',
22   rtfSC_quotedbl         ,'"',
23   rtfSC_numbersign       ,'#',
24   rtfSC_dollar           ,'$',
25   rtfSC_percent          ,'%',
26   rtfSC_ampersand        ,'&',
27   rtfSC_quoteright       ,'\\',
28   rtfSC_parenleft        ,'(',
29   rtfSC_parenright       ,')',
30   rtfSC_asterisk         ,'*',
31   rtfSC_plus             ,'+',
32   rtfSC_comma            ,',',
33   rtfSC_hyphen           ,'-',
34   rtfSC_period           ,'.',
35   rtfSC_slash            ,'/',
36   rtfSC_zero             ,'0',
37   rtfSC_one              ,'1',
38   rtfSC_two              ,'2',
39   rtfSC_three            ,'3',
40   rtfSC_four             ,'4',
41   rtfSC_five             ,'5',
42   rtfSC_six              ,'6',
43   rtfSC_seven            ,'7',
44   rtfSC_eight            ,'8',
45   rtfSC_nine             ,'9',
46   rtfSC_colon            ,':',
47   rtfSC_semicolon        ,';',
48   rtfSC_less             ,'<',
49   rtfSC_equal            ,'=',
50   rtfSC_greater          ,'>',
51   rtfSC_question         ,'?',
52   rtfSC_at               ,'@',
53   rtfSC_A                ,'A',
54   rtfSC_B                ,'B',
55   rtfSC_C                ,'C',
56   rtfSC_D                ,'D',
57   rtfSC_E                ,'E',
58   rtfSC_F                ,'F',
59   rtfSC_G                ,'G',
60   rtfSC_H                ,'H',
61   rtfSC_I                ,'I',
62   rtfSC_J                ,'J',
63   rtfSC_K                ,'K',
64   rtfSC_L                ,'L',
65   rtfSC_M                ,'M',
66   rtfSC_N                ,'N',
67   rtfSC_O                ,'O',
68   rtfSC_P                ,'P',
69   rtfSC_Q                ,'Q',
70   rtfSC_R                ,'R',
71   rtfSC_S                ,'S',
72   rtfSC_T                ,'T',
73   rtfSC_U                ,'U',
74   rtfSC_V                ,'V',
75   rtfSC_W                ,'W',
76   rtfSC_X                ,'X',
77   rtfSC_Y                ,'Y',
78   rtfSC_Z                ,'Z',
79   rtfSC_bracketleft      ,'[',
80   rtfSC_backslash        ,'\\',
81   rtfSC_bracketright     ,']',
82   rtfSC_asciicircum      ,'^',
83   rtfSC_underscore       ,'_',
84   rtfSC_quoteleft        ,'`',
85   rtfSC_a                ,'a',
86   rtfSC_b                ,'b',
87   rtfSC_c                ,'c',
88   rtfSC_d                ,'d',
89   rtfSC_e                ,'e',
90   rtfSC_f                ,'f',
91   rtfSC_g                ,'g',
92   rtfSC_h                ,'h',
93   rtfSC_i                ,'i',
94   rtfSC_j                ,'j',
95   rtfSC_k                ,'k',
96   rtfSC_l                ,'l',
97   rtfSC_m                ,'m',
98   rtfSC_n                ,'n',
99   rtfSC_o                ,'o',
100   rtfSC_p                ,'p',
101   rtfSC_q                ,'q',
102   rtfSC_r                ,'r',
103   rtfSC_s                ,'s',
104   rtfSC_t                ,'t',
105   rtfSC_u                ,'u',
106   rtfSC_v                ,'v',
107   rtfSC_w                ,'w',
108   rtfSC_x                ,'x',
109   rtfSC_y                ,'y',
110   rtfSC_z                ,'z',
111   rtfSC_braceleft        ,'{',
112   rtfSC_bar              ,'|',
113   rtfSC_braceright       ,'}',
114   rtfSC_asciitilde       ,'~',
115   rtfSC_nobrkspace       ,0xa0,
116   rtfSC_exclamdown       ,0xa1,
117   rtfSC_cent             ,0xa2,
118   rtfSC_sterling         ,0xa3,
119   rtfSC_currency         ,0xa4,
120   rtfSC_yen              ,0xa5,
121   rtfSC_brokenbar        ,0xa6,
122   rtfSC_section          ,0xa7,
123   rtfSC_dieresis         ,0xa8,
124   rtfSC_copyright        ,0xa9,
125   rtfSC_ordfeminine      ,0xaa,
126   rtfSC_guillemotleft    ,0xab,
127   rtfSC_logicalnot       ,0xac,
128   rtfSC_opthyphen        ,0xad,
129   rtfSC_registered       ,0xae,
130   rtfSC_macron           ,0xaf,
131   rtfSC_degree           ,0xb0,
132   rtfSC_plusminus        ,0xb1,
133   rtfSC_twosuperior      ,0xb2,
134   rtfSC_threesuperior    ,0xb3,
135   rtfSC_acute            ,0xb4,
136   rtfSC_mu               ,0xb5,
137   rtfSC_paragraph        ,0xb6,
138   rtfSC_periodcentered   ,0xb7,
139   rtfSC_cedilla          ,0xb8,
140   rtfSC_onesuperior      ,0xb9,
141   rtfSC_ordmasculine     ,0xba,
142   rtfSC_guillemotright   ,0xbb,
143   rtfSC_onequarter       ,0xbc,
144   rtfSC_onehalf          ,0xbd,
145   rtfSC_threequarters    ,0xbe,
146   rtfSC_questiondown     ,0xbf,
147   rtfSC_Agrave           ,0xc0,
148   rtfSC_Aacute           ,0xc1,
149   rtfSC_Acircumflex      ,0xc2,
150   rtfSC_Atilde           ,0xc3,
151   rtfSC_Adieresis        ,0xc4,
152   rtfSC_Aring            ,0xc5,
153   rtfSC_AE               ,0xc6,
154   rtfSC_Ccedilla         ,0xc7,
155   rtfSC_Egrave           ,0xc8,
156   rtfSC_Eacute           ,0xc9,
157   rtfSC_Ecircumflex      ,0xca,
158   rtfSC_Edieresis        ,0xcb,
159   rtfSC_Igrave           ,0xcc,
160   rtfSC_Iacute           ,0xcd,
161   rtfSC_Icircumflex      ,0xce,
162   rtfSC_Idieresis        ,0xcf,
163   rtfSC_Eth              ,0xd0,
164   rtfSC_Ntilde           ,0xd1,
165   rtfSC_Ograve           ,0xd2,
166   rtfSC_Oacute           ,0xd3,
167   rtfSC_Ocircumflex      ,0xd4,
168   rtfSC_Otilde           ,0xd5,
169   rtfSC_Odieresis        ,0xd6,
170   rtfSC_multiply         ,0xd7,
171   rtfSC_Oslash           ,0xd8,
172   rtfSC_Ugrave           ,0xd9,
173   rtfSC_Uacute           ,0xda,
174   rtfSC_Ucircumflex      ,0xdb,
175   rtfSC_Udieresis        ,0xdc,
176   rtfSC_Yacute           ,0xdd,
177   rtfSC_Thorn            ,0xde,
178   rtfSC_germandbls       ,0xdf,
179   rtfSC_agrave           ,0xe0,
180   rtfSC_aacute           ,0xe1,
181   rtfSC_acircumflex      ,0xe2,
182   rtfSC_atilde           ,0xe3,
183   rtfSC_adieresis        ,0xe4,
184   rtfSC_aring            ,0xe5,
185   rtfSC_ae               ,0xe6,
186   rtfSC_ccedilla         ,0xe7,
187   rtfSC_egrave           ,0xe8,
188   rtfSC_eacute           ,0xe9,
189   rtfSC_ecircumflex      ,0xea,
190   rtfSC_edieresis        ,0xeb,
191   rtfSC_igrave           ,0xec,
192   rtfSC_iacute           ,0xed,
193   rtfSC_icircumflex      ,0xee,
194   rtfSC_idieresis        ,0xef,
195   rtfSC_eth              ,0xf0,
196   rtfSC_ntilde           ,0xf1,
197   rtfSC_ograve           ,0xf2,
198   rtfSC_oacute           ,0xf3,
199   rtfSC_ocircumflex      ,0xf4,
200   rtfSC_otilde           ,0xf5,
201   rtfSC_odieresis        ,0xf6,
202   rtfSC_divide           ,0xf7,
203   rtfSC_oslash           ,0xf8,
204   rtfSC_ugrave           ,0xf9,
205   rtfSC_uacute           ,0xfa,
206   rtfSC_ucircumflex      ,0xfb,
207   rtfSC_udieresis        ,0xfc,
208   rtfSC_yacute           ,0xfd,
209   rtfSC_thorn            ,0xfe,
210   rtfSC_ydieresis        ,0xff
211 };