Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / awt / Key.idl
blobb3358441fadccf2e90226cf705f6e0c712c1499e
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_awt_Key_idl__
20 #define __com_sun_star_awt_Key_idl__
24 module com { module sun { module star { module awt {
27 /** These values are used to specify distinct physical keys, plus
28 some special values used by the OS X implementation.
30 published constants Key
33 const short NUM0 = 256;
36 const short NUM1 = 257;
39 const short NUM2 = 258;
42 const short NUM3 = 259;
45 const short NUM4 = 260;
48 const short NUM5 = 261;
51 const short NUM6 = 262;
54 const short NUM7 = 263;
57 const short NUM8 = 264;
60 const short NUM9 = 265;
63 const short A = 512;
66 const short B = 513;
69 const short C = 514;
72 const short D = 515;
75 const short E = 516;
78 const short F = 517;
81 const short G = 518;
84 const short H = 519;
87 const short I = 520;
90 const short J = 521;
93 const short K = 522;
96 const short L = 523;
99 const short M = 524;
102 const short N = 525;
105 const short O = 526;
108 const short P = 527;
111 const short Q = 528;
114 const short R = 529;
117 const short S = 530;
120 const short T = 531;
123 const short U = 532;
126 const short V = 533;
129 const short W = 534;
132 const short X = 535;
135 const short Y = 536;
138 const short Z = 537;
141 const short F1 = 768;
144 const short F2 = 769;
147 const short F3 = 770;
150 const short F4 = 771;
153 const short F5 = 772;
156 const short F6 = 773;
159 const short F7 = 774;
162 const short F8 = 775;
165 const short F9 = 776;
168 const short F10 = 777;
171 const short F11 = 778;
174 const short F12 = 779;
177 const short F13 = 780;
180 const short F14 = 781;
183 const short F15 = 782;
186 const short F16 = 783;
189 const short F17 = 784;
192 const short F18 = 785;
195 const short F19 = 786;
198 const short F20 = 787;
201 const short F21 = 788;
204 const short F22 = 789;
207 const short F23 = 790;
210 const short F24 = 791;
213 const short F25 = 792;
216 const short F26 = 793;
219 const short DOWN = 1024;
222 const short UP = 1025;
225 const short LEFT = 1026;
228 const short RIGHT = 1027;
231 const short HOME = 1028;
234 const short END = 1029;
237 const short PAGEUP = 1030;
240 const short PAGEDOWN = 1031;
243 const short RETURN = 1280;
246 const short ESCAPE = 1281;
249 const short TAB = 1282;
252 const short BACKSPACE = 1283;
255 const short SPACE = 1284;
258 const short INSERT = 1285;
261 const short DELETE = 1286;
264 const short ADD = 1287;
267 const short SUBTRACT = 1288;
270 const short MULTIPLY = 1289;
273 const short DIVIDE = 1290;
276 const short POINT = 1291;
279 const short COMMA = 1292;
282 const short LESS = 1293;
285 const short GREATER = 1294;
288 const short EQUAL = 1295;
291 const short OPEN = 1296;
294 const short CUT = 1297;
297 const short COPY = 1298;
300 const short PASTE = 1299;
303 const short UNDO = 1300;
306 const short REPEAT = 1301;
309 const short FIND = 1302;
312 const short PROPERTIES = 1303;
315 const short FRONT = 1304;
318 const short CONTEXTMENU = 1305;
321 const short HELP = 1306;
324 const short MENU = 1307;
327 const short HANGUL_HANJA = 1308;
330 const short DECIMAL = 1309;
333 const short TILDE = 1310;
336 const short QUOTELEFT = 1311;
339 const short CAPSLOCK = 1312;
342 const short NUMLOCK = 1313;
345 const short SCROLLLOCK = 1314;
348 const short DELETE_TO_BEGIN_OF_LINE = 1536;
351 const short DELETE_TO_END_OF_LINE = 1537;
354 const short DELETE_TO_BEGIN_OF_PARAGRAPH = 1538;
357 const short BRACKETLEFT = 1315;
360 const short BRACKETRIGHT = 1316;
363 const short SEMICOLON = 1317;
366 /** @since LibreOffice 4.3 **/
367 const short QUOTERIGHT = 1318;
370 /** The following values don't correspond to physical keys on any
371 keyboard but are used in the OS X implementation of VCL. They
372 correspond to some of the action messages of the NSResponder
373 abstract class.
376 const short DELETE_TO_END_OF_PARAGRAPH = 1539;
379 const short DELETE_WORD_BACKWARD = 1540;
382 const short DELETE_WORD_FORWARD = 1541;
385 const short INSERT_LINEBREAK = 1542;
388 const short INSERT_PARAGRAPH = 1543;
391 const short MOVE_WORD_BACKWARD = 1544;
394 const short MOVE_WORD_FORWARD = 1545;
397 const short MOVE_TO_BEGIN_OF_LINE = 1546;
400 const short MOVE_TO_END_OF_LINE = 1547;
403 const short MOVE_TO_BEGIN_OF_PARAGRAPH = 1548;
406 const short MOVE_TO_END_OF_PARAGRAPH = 1549;
409 const short SELECT_BACKWARD = 1550;
412 const short SELECT_FORWARD = 1551;
415 const short SELECT_WORD_BACKWARD = 1552;
418 const short SELECT_WORD_FORWARD = 1553;
421 const short SELECT_WORD = 1554;
424 const short SELECT_LINE = 1555;
427 const short SELECT_PARAGRAPH = 1556;
430 const short SELECT_ALL = 1557;
433 const short SELECT_TO_BEGIN_OF_LINE = 1558;
436 const short SELECT_TO_END_OF_LINE = 1559;
439 const short MOVE_TO_BEGIN_OF_DOCUMENT = 1560;
442 const short MOVE_TO_END_OF_DOCUMENT = 1561;
445 const short SELECT_TO_BEGIN_OF_DOCUMENT = 1562;
448 const short SELECT_TO_END_OF_DOCUMENT = 1563;
451 const short SELECT_TO_BEGIN_OF_PARAGRAPH = 1564;
454 const short SELECT_TO_END_OF_PARAGRAPH = 1565;
458 }; }; }; };
460 #endif
462 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */