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