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