1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
22 module com
{ module sun
{ module star
{ module awt
{
25 /** These values are used to specify distinct physical keys, plus
26 some special values used by the macOS implementation.
28 Noting that these numbers are simply allocated here, and not taken from any specification.
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;
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;
369 /** @since LibreOffice 7.5 **/
370 const short RIGHTCURLYBRACKET
= 1319;
372 /** @since LibreOffice 7.6 **/
373 const short COLON
= 1320;
375 /* # sign. @since LibreOffice 24.2 */
376 const short NUMBERSIGN
= 191;
378 /* XF86Forward @since LibreOffice 24.2 */
379 const short XF86FORWARD
= 167;
381 /* XF86Back @since LibreOffice 24.2 */
382 const short XF86BACK
= 166;
384 /** The following values don't correspond to physical keys on any
385 keyboard but are used in the macOS implementation of VCL. They
386 correspond to some of the action messages of the NSResponder
390 const short DELETE_TO_END_OF_PARAGRAPH
= 1539;
393 const short DELETE_WORD_BACKWARD
= 1540;
396 const short DELETE_WORD_FORWARD
= 1541;
399 const short INSERT_LINEBREAK
= 1542;
402 const short INSERT_PARAGRAPH
= 1543;
405 const short MOVE_WORD_BACKWARD
= 1544;
408 const short MOVE_WORD_FORWARD
= 1545;
411 const short MOVE_TO_BEGIN_OF_LINE
= 1546;
414 const short MOVE_TO_END_OF_LINE
= 1547;
417 const short MOVE_TO_BEGIN_OF_PARAGRAPH
= 1548;
420 const short MOVE_TO_END_OF_PARAGRAPH
= 1549;
423 const short SELECT_BACKWARD
= 1550;
426 const short SELECT_FORWARD
= 1551;
429 const short SELECT_WORD_BACKWARD
= 1552;
432 const short SELECT_WORD_FORWARD
= 1553;
435 const short SELECT_WORD
= 1554;
438 const short SELECT_LINE
= 1555;
441 const short SELECT_PARAGRAPH
= 1556;
444 const short SELECT_ALL
= 1557;
447 const short SELECT_TO_BEGIN_OF_LINE
= 1558;
450 const short SELECT_TO_END_OF_LINE
= 1559;
453 const short MOVE_TO_BEGIN_OF_DOCUMENT
= 1560;
456 const short MOVE_TO_END_OF_DOCUMENT
= 1561;
459 const short SELECT_TO_BEGIN_OF_DOCUMENT
= 1562;
462 const short SELECT_TO_END_OF_DOCUMENT
= 1563;
465 const short SELECT_TO_BEGIN_OF_PARAGRAPH
= 1564;
468 const short SELECT_TO_END_OF_PARAGRAPH
= 1565;
474 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */