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