xref: /trunk/main/offapi/com/sun/star/awt/Key.idl (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27#ifndef __com_sun_star_awt_Key_idl__
28#define __com_sun_star_awt_Key_idl__
29
30
31//=============================================================================
32
33 module com {  module sun {  module star {  module awt {
34
35//=============================================================================
36
37/** These values are used to specifies distinct physical keys.
38 */
39published constants Key
40{
41	//-------------------------------------------------------------------------
42
43	const short NUM0 = 256;
44
45	//-------------------------------------------------------------------------
46
47	const short NUM1 = 257;
48
49	//-------------------------------------------------------------------------
50
51	const short NUM2 = 258;
52
53	//-------------------------------------------------------------------------
54
55	const short NUM3 = 259;
56
57	//-------------------------------------------------------------------------
58
59	const short NUM4 = 260;
60
61	//-------------------------------------------------------------------------
62
63	const short NUM5 = 261;
64
65	//-------------------------------------------------------------------------
66
67	const short NUM6 = 262;
68
69	//-------------------------------------------------------------------------
70
71	const short NUM7 = 263;
72
73	//-------------------------------------------------------------------------
74
75	const short NUM8 = 264;
76
77	//-------------------------------------------------------------------------
78
79	const short NUM9 = 265;
80
81	//-------------------------------------------------------------------------
82
83	const short A = 512;
84
85	//-------------------------------------------------------------------------
86
87	const short B = 513;
88
89	//-------------------------------------------------------------------------
90
91	const short C = 514;
92
93	//-------------------------------------------------------------------------
94
95	const short D = 515;
96
97	//-------------------------------------------------------------------------
98
99	const short E = 516;
100
101	//-------------------------------------------------------------------------
102
103	const short F = 517;
104
105	//-------------------------------------------------------------------------
106
107	const short G = 518;
108
109	//-------------------------------------------------------------------------
110
111	const short H = 519;
112
113	//-------------------------------------------------------------------------
114
115	const short I = 520;
116
117	//-------------------------------------------------------------------------
118
119	const short J = 521;
120
121	//-------------------------------------------------------------------------
122
123	const short K = 522;
124
125	//-------------------------------------------------------------------------
126
127	const short L = 523;
128
129	//-------------------------------------------------------------------------
130
131	const short M = 524;
132
133	//-------------------------------------------------------------------------
134
135	const short N = 525;
136
137	//-------------------------------------------------------------------------
138
139	const short O = 526;
140
141	//-------------------------------------------------------------------------
142
143	const short P = 527;
144
145	//-------------------------------------------------------------------------
146
147	const short Q = 528;
148
149	//-------------------------------------------------------------------------
150
151	const short R = 529;
152
153	//-------------------------------------------------------------------------
154
155	const short S = 530;
156
157	//-------------------------------------------------------------------------
158
159	const short T = 531;
160
161	//-------------------------------------------------------------------------
162
163	const short U = 532;
164
165	//-------------------------------------------------------------------------
166
167	const short V = 533;
168
169	//-------------------------------------------------------------------------
170
171	const short W = 534;
172
173	//-------------------------------------------------------------------------
174
175	const short X = 535;
176
177	//-------------------------------------------------------------------------
178
179	const short Y = 536;
180
181	//-------------------------------------------------------------------------
182
183	const short Z = 537;
184
185	//-------------------------------------------------------------------------
186
187	const short F1 = 768;
188
189	//-------------------------------------------------------------------------
190
191	const short F2 = 769;
192
193	//-------------------------------------------------------------------------
194
195	const short F3 = 770;
196
197	//-------------------------------------------------------------------------
198
199	const short F4 = 771;
200
201	//-------------------------------------------------------------------------
202
203	const short F5 = 772;
204
205	//-------------------------------------------------------------------------
206
207	const short F6 = 773;
208
209	//-------------------------------------------------------------------------
210
211	const short F7 = 774;
212
213	//-------------------------------------------------------------------------
214
215	const short F8 = 775;
216
217	//-------------------------------------------------------------------------
218
219	const short F9 = 776;
220
221	//-------------------------------------------------------------------------
222
223	const short F10 = 777;
224
225	//-------------------------------------------------------------------------
226
227	const short F11 = 778;
228
229	//-------------------------------------------------------------------------
230
231	const short F12 = 779;
232
233	//-------------------------------------------------------------------------
234
235	const short F13 = 780;
236
237	//-------------------------------------------------------------------------
238
239	const short F14 = 781;
240
241	//-------------------------------------------------------------------------
242
243	const short F15 = 782;
244
245	//-------------------------------------------------------------------------
246
247	const short F16 = 783;
248
249	//-------------------------------------------------------------------------
250
251	const short F17 = 784;
252
253	//-------------------------------------------------------------------------
254
255	const short F18 = 785;
256
257	//-------------------------------------------------------------------------
258
259	const short F19 = 786;
260
261	//-------------------------------------------------------------------------
262
263	const short F20 = 787;
264
265	//-------------------------------------------------------------------------
266
267	const short F21 = 788;
268
269	//-------------------------------------------------------------------------
270
271	const short F22 = 789;
272
273	//-------------------------------------------------------------------------
274
275	const short F23 = 790;
276
277	//-------------------------------------------------------------------------
278
279	const short F24 = 791;
280
281	//-------------------------------------------------------------------------
282
283	const short F25 = 792;
284
285	//-------------------------------------------------------------------------
286
287	const short F26 = 793;
288
289	//-------------------------------------------------------------------------
290
291	const short DOWN = 1024;
292
293	//-------------------------------------------------------------------------
294
295	const short UP = 1025;
296
297	//-------------------------------------------------------------------------
298
299	const short LEFT = 1026;
300
301	//-------------------------------------------------------------------------
302
303	const short RIGHT = 1027;
304
305	//-------------------------------------------------------------------------
306
307	const short HOME = 1028;
308
309	//-------------------------------------------------------------------------
310
311	const short END = 1029;
312
313	//-------------------------------------------------------------------------
314
315	const short PAGEUP = 1030;
316
317	//-------------------------------------------------------------------------
318
319	const short PAGEDOWN = 1031;
320
321	//-------------------------------------------------------------------------
322
323	const short RETURN = 1280;
324
325	//-------------------------------------------------------------------------
326
327	const short ESCAPE = 1281;
328
329	//-------------------------------------------------------------------------
330
331	const short TAB = 1282;
332
333	//-------------------------------------------------------------------------
334
335	const short BACKSPACE = 1283;
336
337	//-------------------------------------------------------------------------
338
339	const short SPACE = 1284;
340
341	//-------------------------------------------------------------------------
342
343	const short INSERT = 1285;
344
345	//-------------------------------------------------------------------------
346
347	const short DELETE = 1286;
348
349	//-------------------------------------------------------------------------
350
351	const short ADD = 1287;
352
353	//-------------------------------------------------------------------------
354
355	const short SUBTRACT = 1288;
356
357	//-------------------------------------------------------------------------
358
359	const short MULTIPLY = 1289;
360
361	//-------------------------------------------------------------------------
362
363	const short DIVIDE = 1290;
364
365	//-------------------------------------------------------------------------
366
367	const short POINT = 1291;
368
369	//-------------------------------------------------------------------------
370
371	const short COMMA = 1292;
372
373	//-------------------------------------------------------------------------
374
375	const short LESS = 1293;
376
377	//-------------------------------------------------------------------------
378
379	const short GREATER = 1294;
380
381	//-------------------------------------------------------------------------
382
383	const short EQUAL = 1295;
384
385	//-------------------------------------------------------------------------
386
387	const short OPEN = 1296;
388
389	//-------------------------------------------------------------------------
390
391	const short CUT = 1297;
392
393	//-------------------------------------------------------------------------
394
395	const short COPY = 1298;
396
397	//-------------------------------------------------------------------------
398
399	const short PASTE = 1299;
400
401	//-------------------------------------------------------------------------
402
403	const short UNDO = 1300;
404
405	//-------------------------------------------------------------------------
406
407	const short REPEAT = 1301;
408
409	//-------------------------------------------------------------------------
410
411	const short FIND = 1302;
412
413	//-------------------------------------------------------------------------
414
415	const short PROPERTIES = 1303;
416
417	//-------------------------------------------------------------------------
418
419	const short FRONT = 1304;
420
421	//-------------------------------------------------------------------------
422
423	const short CONTEXTMENU = 1305;
424
425	//-------------------------------------------------------------------------
426
427	const short HELP = 1306;
428
429	//-------------------------------------------------------------------------
430
431    const short MENU = 1307;
432
433    //-------------------------------------------------------------------------
434
435	const short HANGUL_HANJA = 1308;
436
437	//-------------------------------------------------------------------------
438
439	const short DECIMAL = 1309;
440
441	//-------------------------------------------------------------------------
442
443	const short TILDE = 1310;
444
445	//-------------------------------------------------------------------------
446
447	const short QUOTELEFT = 1311;
448
449	//-------------------------------------------------------------------------
450
451    const short DELETE_TO_BEGIN_OF_LINE = 1536;
452
453	//-------------------------------------------------------------------------
454
455    const short DELETE_TO_END_OF_LINE = 1537;
456
457	//-------------------------------------------------------------------------
458
459    const short DELETE_TO_BEGIN_OF_PARAGRAPH = 1538;
460
461	//-------------------------------------------------------------------------
462
463    const short DELETE_TO_END_OF_PARAGRAPH = 1539;
464
465	//-------------------------------------------------------------------------
466
467    const short DELETE_WORD_BACKWARD = 1540;
468
469	//-------------------------------------------------------------------------
470
471    const short DELETE_WORD_FORWARD = 1541;
472
473	//-------------------------------------------------------------------------
474
475    const short INSERT_LINEBREAK = 1542;
476
477	//-------------------------------------------------------------------------
478
479    const short INSERT_PARAGRAPH = 1543;
480
481	//-------------------------------------------------------------------------
482
483    const short MOVE_WORD_BACKWARD = 1544;
484
485	//-------------------------------------------------------------------------
486
487    const short MOVE_WORD_FORWARD = 1545;
488
489	//-------------------------------------------------------------------------
490
491    const short MOVE_TO_BEGIN_OF_LINE = 1546;
492
493	//-------------------------------------------------------------------------
494
495    const short MOVE_TO_END_OF_LINE = 1547;
496
497	//-------------------------------------------------------------------------
498
499    const short MOVE_TO_BEGIN_OF_PARAGRAPH = 1548;
500
501	//-------------------------------------------------------------------------
502
503    const short MOVE_TO_END_OF_PARAGRAPH = 1549;
504
505	//-------------------------------------------------------------------------
506
507    const short SELECT_BACKWARD = 1550;
508
509	//-------------------------------------------------------------------------
510
511    const short SELECT_FORWARD = 1551;
512
513	//-------------------------------------------------------------------------
514
515    const short SELECT_WORD_BACKWARD = 1552;
516
517	//-------------------------------------------------------------------------
518
519    const short SELECT_WORD_FORWARD = 1553;
520
521	//-------------------------------------------------------------------------
522
523    const short SELECT_WORD = 1554;
524
525	//-------------------------------------------------------------------------
526
527    const short SELECT_LINE = 1555;
528
529	//-------------------------------------------------------------------------
530
531    const short SELECT_PARAGRAPH = 1556;
532
533	//-------------------------------------------------------------------------
534
535    const short SELECT_ALL = 1557;
536
537	//-------------------------------------------------------------------------
538
539    const short SELECT_TO_BEGIN_OF_LINE = 1558;
540
541	//-------------------------------------------------------------------------
542
543    const short SELECT_TO_END_OF_LINE = 1559;
544
545    //-------------------------------------------------------------------------
546
547    const short MOVE_TO_BEGIN_OF_DOCUMENT = 1560;
548
549    //-------------------------------------------------------------------------
550
551    const short MOVE_TO_END_OF_DOCUMENT = 1561;
552
553    //-------------------------------------------------------------------------
554
555    const short SELECT_TO_BEGIN_OF_DOCUMENT = 1562;
556
557    //-------------------------------------------------------------------------
558
559    const short SELECT_TO_END_OF_DOCUMENT = 1563;
560
561    //-------------------------------------------------------------------------
562
563    const short SELECT_TO_BEGIN_OF_PARAGRAPH = 1564;
564
565    //-------------------------------------------------------------------------
566
567    const short SELECT_TO_END_OF_PARAGRAPH = 1565;
568};
569
570//=============================================================================
571
572}; }; }; };
573
574#endif
575