| 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 |
|
| 20 |
module ooo { module vba { module word { |
| 21 |
constants WdKey { |
| 22 |
const long wdKey0 = 48; |
| 23 |
const long wdKey1 = 49; |
| 24 |
const long wdKey2 = 50; |
| 25 |
const long wdKey3 = 51; |
| 26 |
const long wdKey4 = 52; |
| 27 |
const long wdKey5 = 53; |
| 28 |
const long wdKey6 = 54; |
| 29 |
const long wdKey7 = 55; |
| 30 |
const long wdKey8 = 56; |
| 31 |
const long wdKey9 = 57; |
| 32 |
const long wdKeyA = 65; |
| 33 |
const long wdKeyAlt = 1024; |
| 34 |
const long wdKeyB = 66; |
| 35 |
const long wdKeyBackSingleQuote = 192; |
| 36 |
const long wdKeyBackSlash = 220; |
| 37 |
const long wdKeyBackspace = 8; |
| 38 |
const long wdKeyC = 67; |
| 39 |
const long wdKeyCloseSquareBrace = 221; |
| 40 |
const long wdKeyComma = 188; |
| 41 |
const long wdKeyCommand = 512; |
| 42 |
const long wdKeyControl = 512; |
| 43 |
const long wdKeyD = 68; |
| 44 |
const long wdKeyDelete = 46; |
| 45 |
const long wdKeyE = 69; |
| 46 |
const long wdKeyEnd = 35; |
| 47 |
const long wdKeyEquals = 187; |
| 48 |
const long wdKeyEsc = 27; |
| 49 |
const long wdKeyF = 70; |
| 50 |
const long wdKeyF1 = 112; |
| 51 |
const long wdKeyF10 = 121; |
| 52 |
const long wdKeyF11 = 122; |
| 53 |
const long wdKeyF12 = 123; |
| 54 |
const long wdKeyF13 = 124; |
| 55 |
const long wdKeyF14 = 125; |
| 56 |
const long wdKeyF15 = 126; |
| 57 |
const long wdKeyF16 = 127; |
| 58 |
const long wdKeyF2 = 113; |
| 59 |
const long wdKeyF3 = 114; |
| 60 |
const long wdKeyF4 = 115; |
| 61 |
const long wdKeyF5 = 116; |
| 62 |
const long wdKeyF6 = 117; |
| 63 |
const long wdKeyF7 = 118; |
| 64 |
const long wdKeyF8 = 119; |
| 65 |
const long wdKeyF9 = 120; |
| 66 |
const long wdKeyG = 71; |
| 67 |
const long wdKeyH = 72; |
| 68 |
const long wdKeyHome = 36; |
| 69 |
const long wdKeyHyphen = 189; |
| 70 |
const long wdKeyI = 73; |
| 71 |
const long wdKeyInsert = 45; |
| 72 |
const long wdKeyJ = 74; |
| 73 |
const long wdKeyK = 75; |
| 74 |
const long wdKeyL = 76; |
| 75 |
const long wdKeyM = 77; |
| 76 |
const long wdKeyN = 78; |
| 77 |
const long wdKeyNumeric0 = 96; |
| 78 |
const long wdKeyNumeric1 = 97; |
| 79 |
const long wdKeyNumeric2 = 98; |
| 80 |
const long wdKeyNumeric3 = 99; |
| 81 |
const long wdKeyNumeric4 = 100; |
| 82 |
const long wdKeyNumeric5 = 101; |
| 83 |
const long wdKeyNumeric5Special = 12; |
| 84 |
const long wdKeyNumeric6 = 102; |
| 85 |
const long wdKeyNumeric7 = 103; |
| 86 |
const long wdKeyNumeric8 = 104; |
| 87 |
const long wdKeyNumeric9 = 105; |
| 88 |
const long wdKeyNumericAdd = 107; |
| 89 |
const long wdKeyNumericDecimal = 110; |
| 90 |
const long wdKeyNumericDivide = 111; |
| 91 |
const long wdKeyNumericMultiply = 106; |
| 92 |
const long wdKeyNumericSubtract = 109; |
| 93 |
const long wdKeyO = 79; |
| 94 |
const long wdKeyOpenSquareBrace = 219; |
| 95 |
const long wdKeyOption = 1024; |
| 96 |
const long wdKeyP = 80; |
| 97 |
const long wdKeyPageDown = 34; |
| 98 |
const long wdKeyPageUp = 33; |
| 99 |
const long wdKeyPause = 19; |
| 100 |
const long wdKeyPeriod = 190; |
| 101 |
const long wdKeyQ = 81; |
| 102 |
const long wdKeyR = 82; |
| 103 |
const long wdKeyReturn = 13; |
| 104 |
const long wdKeyS = 83; |
| 105 |
const long wdKeyScrollLock = 145; |
| 106 |
const long wdKeySemiColon = 186; |
| 107 |
const long wdKeyShift = 256; |
| 108 |
const long wdKeySingleQuote = 222; |
| 109 |
const long wdKeySlash = 191; |
| 110 |
const long wdKeySpacebar = 32; |
| 111 |
const long wdKeyT = 84; |
| 112 |
const long wdKeyTab = 9; |
| 113 |
const long wdKeyU = 85; |
| 114 |
const long wdKeyV = 86; |
| 115 |
const long wdKeyW = 87; |
| 116 |
const long wdKeyX = 88; |
| 117 |
const long wdKeyY = 89; |
| 118 |
const long wdKeyZ = 90; |
| 119 |
const long wdNoKey = 255; |
| 120 |
}; |
| 121 |
}; }; }; |
| 122 |
|
| 123 |
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |