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 22 23// include --------------------------------------------------------------- 24#include "helpid.hrc" 25#include "cuires.hrc" 26#include "acccfg.hrc" 27 28#define PUSHBUTTON_TEXT_SAVE \ 29 Text [ en-US ] = "~Save..." ; \ 30 31#define PUSHBUTTON_TEXT_RESET \ 32 Text [ en-US ] = "R~eset" ; \ 33 34#define PUSHBUTTON_TEXT_LOAD \ 35 Text [ en-US ] = "~Load..." ; \ 36 37#define PUSHBUTTON_TEXT_REMOVE \ 38 Text [ en-US ] = "~Delete" ; \ 39 40#define PUSHBUTTON_TEXT_CHANGE \ 41 Text [ en-US ] = "~Modify" ; \ 42 43#define PUSHBUTTON_TEXT_NEW \ 44 Text [ en-US ] = "~New" ; \ 45 46#define FIXEDTEXT_TEXT_GROUP \ 47 Text [ en-US ] = "~Category" ; \ 48 49#define FIXEDTEXT_TEXT_FUNCTION \ 50 Text [ en-US ] = "Function" ; \ 51 52#define GROUPBOX_TEXT_FUNCTIONS \ 53 Text [ en-US ] = "Functions" ; \ 54 55// TP_CONFIG_ACCEL ------------------------------------------------------- 56TabPage RID_SVXPAGE_KEYBOARD 57{ 58 HelpId = HID_CONFIG_ACCEL ; 59 Hide = TRUE ; 60 Size = MAP_APPFONT ( 273, 258 ) ; 61 RadioButton RB_OFFICE 62 { 63 HelpID = "cui:RadioButton:RID_SVXPAGE_KEYBOARD:RB_OFFICE"; 64 Pos = MAP_APPFONT ( 192, 6 ) ; 65 Size = MAP_APPFONT ( 75, 10 ) ; 66 Text = "%PRODUCTNAME" ; 67 }; 68 RadioButton RB_MODULE 69 { 70 HelpID = "cui:RadioButton:RID_SVXPAGE_KEYBOARD:RB_MODULE"; 71 Pos = MAP_APPFONT ( 192, 19 ) ; 72 Size = MAP_APPFONT ( 75, 10 ) ; 73 Text = "$(MODULE)" ; 74 }; 75 PushButton BTN_ACC_CHANGE 76 { 77 HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_ACC_CHANGE"; 78 Pos = MAP_APPFONT ( 192, 35 ) ; 79 Size = MAP_APPFONT ( 75, 14 ) ; 80 TabStop = TRUE ; 81 PUSHBUTTON_TEXT_CHANGE 82 }; 83 PushButton BTN_ACC_REMOVE 84 { 85 HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_ACC_REMOVE"; 86 Pos = MAP_APPFONT ( 192, 52 ) ; 87 Size = MAP_APPFONT ( 75, 14 ) ; 88 TabStop = TRUE ; 89 Group = TRUE ; 90 PUSHBUTTON_TEXT_REMOVE 91 }; 92 FixedLine GRP_ACC_KEYBOARD 93 { 94 Pos = MAP_APPFONT ( 6, 3 ) ; 95 Size = MAP_APPFONT ( 180, 8 ) ; 96 Group = TRUE ; 97 Text [ en-US ] = "Shortcut keys"; 98 }; 99 Control BOX_ACC_ENTRIES 100 { 101 Border = TRUE ; 102 Pos = MAP_APPFONT ( 12, 14 ) ; 103 Size = MAP_APPFONT ( 174, 120 ) ; 104 TabStop = TRUE ; 105 Group = TRUE ; 106 HelpId = HID_ACCELCONFIG_LISTBOX ; 107 }; 108 FixedLine GRP_ACC_FUNCTIONS 109 { 110 Pos = MAP_APPFONT ( 6, 140 ) ; 111 Size = MAP_APPFONT ( 258, 8 ) ; 112 Group = TRUE ; 113 GROUPBOX_TEXT_FUNCTIONS 114 }; 115 FixedText TXT_ACC_GROUP 116 { 117 Pos = MAP_APPFONT ( 12, 151 ) ; 118 Size = MAP_APPFONT ( 78, 8 ) ; 119 Group = TRUE ; 120 Left = TRUE ; 121 FIXEDTEXT_TEXT_GROUP 122 }; 123 Control BOX_ACC_GROUP 124 { 125 Border = TRUE ; 126 Pos = MAP_APPFONT ( 12, 161 ) ; 127 Size = MAP_APPFONT ( 78, 91 ) ; 128 TabStop = TRUE ; 129 HelpId = HID_CONFIGGROUP_ACC_LISTBOX ; 130 }; 131 FixedText TXT_ACC_FUNCTION 132 { 133 Pos = MAP_APPFONT ( 93, 151 ) ; 134 Size = MAP_APPFONT ( 88, 8 ) ; 135 Left = TRUE ; 136 FIXEDTEXT_TEXT_FUNCTION 137 }; 138 Control BOX_ACC_FUNCTION 139 { 140 Border = TRUE ; 141 Pos = MAP_APPFONT ( 93, 161 ) ; 142 Size = MAP_APPFONT ( 88, 91 ) ; 143 TabStop = TRUE ; 144 HelpId = HID_CONFIGFUNCTION_ACC_LISTBOX ; 145 }; 146 FixedText TXT_ACC_KEY 147 { 148 Pos = MAP_APPFONT ( 184, 151 ) ; 149 Size = MAP_APPFONT ( 80, 8 ) ; 150 Text [ en-US ] = "~Keys" ; 151 Left = TRUE ; 152 }; 153 Control BOX_ACC_KEY 154 { 155 Border = TRUE ; 156 Pos = MAP_APPFONT ( 184, 161 ) ; 157 Size = MAP_APPFONT ( 80, 91 ) ; 158 TabStop = TRUE ; 159 }; 160 PushButton BTN_LOAD 161 { 162 HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_LOAD"; 163 Pos = MAP_APPFONT ( 192, 86 ) ; 164 Size = MAP_APPFONT ( 75, 14 ) ; 165 TabStop = TRUE ; 166 Group = TRUE ; 167 PUSHBUTTON_TEXT_LOAD 168 }; 169 PushButton BTN_SAVE 170 { 171 HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_SAVE"; 172 Pos = MAP_APPFONT ( 192, 103 ) ; 173 Size = MAP_APPFONT ( 75, 14 ) ; 174 TabStop = TRUE ; 175 Group = TRUE ; 176 PUSHBUTTON_TEXT_SAVE 177 }; 178 PushButton BTN_RESET 179 { 180 HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_RESET"; 181 Pos = MAP_APPFONT ( 192, 120 ) ; 182 Size = MAP_APPFONT ( 75, 14 ) ; 183 TabStop = TRUE ; 184 Group = TRUE ; 185 PUSHBUTTON_TEXT_RESET 186 }; 187 String STR_LOADACCELCONFIG 188 { 189 Text [ en-US ] = "Load Keyboard Configuration" ; 190 }; 191 String STR_SAVEACCELCONFIG 192 { 193 Text [ en-US ] = "Save Keyboard Configuration" ; 194 }; 195 String STR_FILTERNAME_CFG 196 { 197 Text [ en-US ] = "Configuration (*.cfg)" ; 198 }; 199}; 200 201Resource RID_SVXPAGE_CONFIGGROUPBOX 202{ 203 String STR_MYMACROS 204 { 205 Text [ en-US ] = "My Macros"; 206 }; 207 String STR_PRODMACROS 208 { 209 Text [ en-US ] = "%PRODUCTNAME Macros"; 210 }; 211 String STR_BASICMACROS 212 { 213 Text [ en-US ] = "BASIC Macros" ; 214 }; 215 String STR_DLG_MACROS 216 { 217 Text [ en-US ] = "%PRODUCTNAME Macros" ; 218 }; 219 String STR_HUMAN_APPNAME 220 { 221 Text = "%PRODUCTNAME" ; 222 }; 223 String STR_GROUP_STYLES 224 { 225 Text [ en-US ] = "Styles" ; 226 }; 227 Image IMG_HARDDISK 228 { 229 ImageBitmap = Bitmap { File = "harddisk_16.png" ; }; 230 }; 231 Image IMG_HARDDISK_HC 232 { 233 ImageBitmap = Bitmap { File = "harddisk_16_h.png" ; }; 234 }; 235 Image IMG_LIB 236 { 237 ImageBitmap = Bitmap { File = "im30820.png"; }; 238 }; 239 Image IMG_LIB_HC 240 { 241 ImageBitmap = Bitmap { File = "imh30820.png"; }; 242 }; 243 Image IMG_MACRO 244 { 245 ImageBitmap = Bitmap { File = "im30821.png"; }; 246 }; 247 Image IMG_MACRO_HC 248 { 249 ImageBitmap = Bitmap { File = "imh30821.png"; }; 250 }; 251 Image IMG_DOC 252 { 253 ImageBitmap = Bitmap { File = "im30826.png"; }; 254 }; 255 Image IMG_DOC_HC 256 { 257 ImageBitmap = Bitmap { File = "imh30826.png"; }; 258 }; 259 Image BMP_COLLAPSED 260 { 261 ImageBitmap = Bitmap 262 { 263 File = "plus.png" ; 264 }; 265 }; 266 Image BMP_EXPANDED 267 { 268 ImageBitmap = Bitmap 269 { 270 File = "minus.png" ; 271 }; 272 }; 273 Image BMP_EXPANDED_HC 274 { 275 ImageBitmap = Bitmap 276 { 277 File = "minus_h.png" ; 278 }; 279 }; 280 Image BMP_COLLAPSED_HC 281 { 282 ImageBitmap = Bitmap 283 { 284 File = "plus_h.png" ; 285 }; 286 }; 287}; 288 289// ********************************************************************** EOF 290