1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22module ooo { module vba { module word { 23 constants WdKey { 24 const long wdKey0 = 48; 25 const long wdKey1 = 49; 26 const long wdKey2 = 50; 27 const long wdKey3 = 51; 28 const long wdKey4 = 52; 29 const long wdKey5 = 53; 30 const long wdKey6 = 54; 31 const long wdKey7 = 55; 32 const long wdKey8 = 56; 33 const long wdKey9 = 57; 34 const long wdKeyA = 65; 35 const long wdKeyAlt = 1024; 36 const long wdKeyB = 66; 37 const long wdKeyBackSingleQuote = 192; 38 const long wdKeyBackSlash = 220; 39 const long wdKeyBackspace = 8; 40 const long wdKeyC = 67; 41 const long wdKeyCloseSquareBrace = 221; 42 const long wdKeyComma = 188; 43 const long wdKeyCommand = 512; 44 const long wdKeyControl = 512; 45 const long wdKeyD = 68; 46 const long wdKeyDelete = 46; 47 const long wdKeyE = 69; 48 const long wdKeyEnd = 35; 49 const long wdKeyEquals = 187; 50 const long wdKeyEsc = 27; 51 const long wdKeyF = 70; 52 const long wdKeyF1 = 112; 53 const long wdKeyF10 = 121; 54 const long wdKeyF11 = 122; 55 const long wdKeyF12 = 123; 56 const long wdKeyF13 = 124; 57 const long wdKeyF14 = 125; 58 const long wdKeyF15 = 126; 59 const long wdKeyF16 = 127; 60 const long wdKeyF2 = 113; 61 const long wdKeyF3 = 114; 62 const long wdKeyF4 = 115; 63 const long wdKeyF5 = 116; 64 const long wdKeyF6 = 117; 65 const long wdKeyF7 = 118; 66 const long wdKeyF8 = 119; 67 const long wdKeyF9 = 120; 68 const long wdKeyG = 71; 69 const long wdKeyH = 72; 70 const long wdKeyHome = 36; 71 const long wdKeyHyphen = 189; 72 const long wdKeyI = 73; 73 const long wdKeyInsert = 45; 74 const long wdKeyJ = 74; 75 const long wdKeyK = 75; 76 const long wdKeyL = 76; 77 const long wdKeyM = 77; 78 const long wdKeyN = 78; 79 const long wdKeyNumeric0 = 96; 80 const long wdKeyNumeric1 = 97; 81 const long wdKeyNumeric2 = 98; 82 const long wdKeyNumeric3 = 99; 83 const long wdKeyNumeric4 = 100; 84 const long wdKeyNumeric5 = 101; 85 const long wdKeyNumeric5Special = 12; 86 const long wdKeyNumeric6 = 102; 87 const long wdKeyNumeric7 = 103; 88 const long wdKeyNumeric8 = 104; 89 const long wdKeyNumeric9 = 105; 90 const long wdKeyNumericAdd = 107; 91 const long wdKeyNumericDecimal = 110; 92 const long wdKeyNumericDivide = 111; 93 const long wdKeyNumericMultiply = 106; 94 const long wdKeyNumericSubtract = 109; 95 const long wdKeyO = 79; 96 const long wdKeyOpenSquareBrace = 219; 97 const long wdKeyOption = 1024; 98 const long wdKeyP = 80; 99 const long wdKeyPageDown = 34; 100 const long wdKeyPageUp = 33; 101 const long wdKeyPause = 19; 102 const long wdKeyPeriod = 190; 103 const long wdKeyQ = 81; 104 const long wdKeyR = 82; 105 const long wdKeyReturn = 13; 106 const long wdKeyS = 83; 107 const long wdKeyScrollLock = 145; 108 const long wdKeySemiColon = 186; 109 const long wdKeyShift = 256; 110 const long wdKeySingleQuote = 222; 111 const long wdKeySlash = 191; 112 const long wdKeySpacebar = 32; 113 const long wdKeyT = 84; 114 const long wdKeyTab = 9; 115 const long wdKeyU = 85; 116 const long wdKeyV = 86; 117 const long wdKeyW = 87; 118 const long wdKeyX = 88; 119 const long wdKeyY = 89; 120 const long wdKeyZ = 90; 121 const long wdNoKey = 255; 122 }; 123}; }; }; 124