1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir // include --------------------------------------------------------------- 28*cdf0e10cSrcweir#include "helpid.hrc" 29*cdf0e10cSrcweir#include "cuires.hrc" 30*cdf0e10cSrcweir#include "acccfg.hrc" 31*cdf0e10cSrcweir 32*cdf0e10cSrcweir#define MASKCOLOR MaskColor = \ 33*cdf0e10cSrcweir Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }; 34*cdf0e10cSrcweir 35*cdf0e10cSrcweir#define PUSHBUTTON_TEXT_SAVE \ 36*cdf0e10cSrcweir Text [ en-US ] = "~Save..." ; \ 37*cdf0e10cSrcweir 38*cdf0e10cSrcweir#define PUSHBUTTON_TEXT_RESET \ 39*cdf0e10cSrcweir Text [ en-US ] = "R~eset" ; \ 40*cdf0e10cSrcweir 41*cdf0e10cSrcweir#define PUSHBUTTON_TEXT_LOAD \ 42*cdf0e10cSrcweir Text [ en-US ] = "~Load..." ; \ 43*cdf0e10cSrcweir 44*cdf0e10cSrcweir#define PUSHBUTTON_TEXT_REMOVE \ 45*cdf0e10cSrcweir Text [ en-US ] = "~Delete" ; \ 46*cdf0e10cSrcweir 47*cdf0e10cSrcweir#define PUSHBUTTON_TEXT_CHANGE \ 48*cdf0e10cSrcweir Text [ en-US ] = "~Modify" ; \ 49*cdf0e10cSrcweir 50*cdf0e10cSrcweir#define PUSHBUTTON_TEXT_NEW \ 51*cdf0e10cSrcweir Text [ en-US ] = "~New" ; \ 52*cdf0e10cSrcweir 53*cdf0e10cSrcweir#define FIXEDTEXT_TEXT_GROUP \ 54*cdf0e10cSrcweir Text [ en-US ] = "~Category" ; \ 55*cdf0e10cSrcweir 56*cdf0e10cSrcweir#define FIXEDTEXT_TEXT_FUNCTION \ 57*cdf0e10cSrcweir Text [ en-US ] = "Function" ; \ 58*cdf0e10cSrcweir 59*cdf0e10cSrcweir#define GROUPBOX_TEXT_FUNCTIONS \ 60*cdf0e10cSrcweir Text [ en-US ] = "Functions" ; \ 61*cdf0e10cSrcweir 62*cdf0e10cSrcweir // TP_CONFIG_ACCEL ------------------------------------------------------- 63*cdf0e10cSrcweirTabPage RID_SVXPAGE_KEYBOARD 64*cdf0e10cSrcweir{ 65*cdf0e10cSrcweir HelpId = HID_CONFIG_ACCEL ; 66*cdf0e10cSrcweir Hide = TRUE ; 67*cdf0e10cSrcweir Size = MAP_APPFONT ( 273 , 258 ) ; 68*cdf0e10cSrcweir RadioButton RB_OFFICE 69*cdf0e10cSrcweir { 70*cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXPAGE_KEYBOARD:RB_OFFICE"; 71*cdf0e10cSrcweir Pos = MAP_APPFONT ( 192 , 6 ) ; 72*cdf0e10cSrcweir Size = MAP_APPFONT ( 75 , 10 ) ; 73*cdf0e10cSrcweir Text = "%PRODUCTNAME" ; 74*cdf0e10cSrcweir }; 75*cdf0e10cSrcweir RadioButton RB_MODULE 76*cdf0e10cSrcweir { 77*cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXPAGE_KEYBOARD:RB_MODULE"; 78*cdf0e10cSrcweir Pos = MAP_APPFONT ( 192 , 19 ) ; 79*cdf0e10cSrcweir Size = MAP_APPFONT ( 75 , 10 ) ; 80*cdf0e10cSrcweir Text = "$(MODULE)" ; 81*cdf0e10cSrcweir }; 82*cdf0e10cSrcweir PushButton BTN_ACC_CHANGE 83*cdf0e10cSrcweir { 84*cdf0e10cSrcweir HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_ACC_CHANGE"; 85*cdf0e10cSrcweir Pos = MAP_APPFONT ( 192 , 35 ) ; 86*cdf0e10cSrcweir Size = MAP_APPFONT ( 75 , 14 ) ; 87*cdf0e10cSrcweir TabStop = TRUE ; 88*cdf0e10cSrcweir PUSHBUTTON_TEXT_CHANGE 89*cdf0e10cSrcweir }; 90*cdf0e10cSrcweir PushButton BTN_ACC_REMOVE 91*cdf0e10cSrcweir { 92*cdf0e10cSrcweir HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_ACC_REMOVE"; 93*cdf0e10cSrcweir Pos = MAP_APPFONT ( 192 , 52 ) ; 94*cdf0e10cSrcweir Size = MAP_APPFONT ( 75 , 14 ) ; 95*cdf0e10cSrcweir TabStop = TRUE ; 96*cdf0e10cSrcweir Group = TRUE ; 97*cdf0e10cSrcweir PUSHBUTTON_TEXT_REMOVE 98*cdf0e10cSrcweir }; 99*cdf0e10cSrcweir FixedLine GRP_ACC_KEYBOARD 100*cdf0e10cSrcweir { 101*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 102*cdf0e10cSrcweir Size = MAP_APPFONT ( 180 , 8 ) ; 103*cdf0e10cSrcweir Group = TRUE ; 104*cdf0e10cSrcweir Text [ en-US ] = "Shortcut keys"; 105*cdf0e10cSrcweir }; 106*cdf0e10cSrcweir Control BOX_ACC_ENTRIES 107*cdf0e10cSrcweir { 108*cdf0e10cSrcweir Border = TRUE ; 109*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 110*cdf0e10cSrcweir Size = MAP_APPFONT ( 174 , 120 ) ; 111*cdf0e10cSrcweir TabStop = TRUE ; 112*cdf0e10cSrcweir Group = TRUE ; 113*cdf0e10cSrcweir HelpId = HID_ACCELCONFIG_LISTBOX ; 114*cdf0e10cSrcweir }; 115*cdf0e10cSrcweir FixedLine GRP_ACC_FUNCTIONS 116*cdf0e10cSrcweir { 117*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 140 ) ; 118*cdf0e10cSrcweir Size = MAP_APPFONT ( 258 , 8 ) ; 119*cdf0e10cSrcweir Group = TRUE ; 120*cdf0e10cSrcweir GROUPBOX_TEXT_FUNCTIONS 121*cdf0e10cSrcweir }; 122*cdf0e10cSrcweir FixedText TXT_ACC_GROUP 123*cdf0e10cSrcweir { 124*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 151 ) ; 125*cdf0e10cSrcweir Size = MAP_APPFONT ( 78 , 8 ) ; 126*cdf0e10cSrcweir Group = TRUE ; 127*cdf0e10cSrcweir Left = TRUE ; 128*cdf0e10cSrcweir FIXEDTEXT_TEXT_GROUP 129*cdf0e10cSrcweir }; 130*cdf0e10cSrcweir Control BOX_ACC_GROUP 131*cdf0e10cSrcweir { 132*cdf0e10cSrcweir Border = TRUE ; 133*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 161 ) ; 134*cdf0e10cSrcweir Size = MAP_APPFONT ( 78 , 91 ) ; 135*cdf0e10cSrcweir TabStop = TRUE ; 136*cdf0e10cSrcweir HelpId = HID_CONFIGGROUP_ACC_LISTBOX ; 137*cdf0e10cSrcweir }; 138*cdf0e10cSrcweir FixedText TXT_ACC_FUNCTION 139*cdf0e10cSrcweir { 140*cdf0e10cSrcweir Pos = MAP_APPFONT ( 93 , 151 ) ; 141*cdf0e10cSrcweir Size = MAP_APPFONT ( 88 , 8 ) ; 142*cdf0e10cSrcweir Left = TRUE ; 143*cdf0e10cSrcweir FIXEDTEXT_TEXT_FUNCTION 144*cdf0e10cSrcweir }; 145*cdf0e10cSrcweir Control BOX_ACC_FUNCTION 146*cdf0e10cSrcweir { 147*cdf0e10cSrcweir Border = TRUE ; 148*cdf0e10cSrcweir Pos = MAP_APPFONT ( 93 , 161 ) ; 149*cdf0e10cSrcweir Size = MAP_APPFONT ( 88 , 91 ) ; 150*cdf0e10cSrcweir TabStop = TRUE ; 151*cdf0e10cSrcweir HelpId = HID_CONFIGFUNCTION_ACC_LISTBOX ; 152*cdf0e10cSrcweir }; 153*cdf0e10cSrcweir FixedText TXT_ACC_KEY 154*cdf0e10cSrcweir { 155*cdf0e10cSrcweir Pos = MAP_APPFONT ( 184 , 151 ) ; 156*cdf0e10cSrcweir Size = MAP_APPFONT ( 80 , 8 ) ; 157*cdf0e10cSrcweir Text [ en-US ] = "~Keys" ; 158*cdf0e10cSrcweir Left = TRUE ; 159*cdf0e10cSrcweir }; 160*cdf0e10cSrcweir Control BOX_ACC_KEY 161*cdf0e10cSrcweir { 162*cdf0e10cSrcweir Border = TRUE ; 163*cdf0e10cSrcweir Pos = MAP_APPFONT ( 184 , 161 ) ; 164*cdf0e10cSrcweir Size = MAP_APPFONT ( 80 , 91 ) ; 165*cdf0e10cSrcweir TabStop = TRUE ; 166*cdf0e10cSrcweir }; 167*cdf0e10cSrcweir PushButton BTN_LOAD 168*cdf0e10cSrcweir { 169*cdf0e10cSrcweir HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_LOAD"; 170*cdf0e10cSrcweir Pos = MAP_APPFONT ( 192 , 86 ) ; 171*cdf0e10cSrcweir Size = MAP_APPFONT ( 75 , 14 ) ; 172*cdf0e10cSrcweir TabStop = TRUE ; 173*cdf0e10cSrcweir Group = TRUE ; 174*cdf0e10cSrcweir PUSHBUTTON_TEXT_LOAD 175*cdf0e10cSrcweir }; 176*cdf0e10cSrcweir PushButton BTN_SAVE 177*cdf0e10cSrcweir { 178*cdf0e10cSrcweir HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_SAVE"; 179*cdf0e10cSrcweir Pos = MAP_APPFONT ( 192 , 103 ) ; 180*cdf0e10cSrcweir Size = MAP_APPFONT ( 75 , 14 ) ; 181*cdf0e10cSrcweir TabStop = TRUE ; 182*cdf0e10cSrcweir Group = TRUE ; 183*cdf0e10cSrcweir PUSHBUTTON_TEXT_SAVE 184*cdf0e10cSrcweir }; 185*cdf0e10cSrcweir PushButton BTN_RESET 186*cdf0e10cSrcweir { 187*cdf0e10cSrcweir HelpID = "cui:PushButton:RID_SVXPAGE_KEYBOARD:BTN_RESET"; 188*cdf0e10cSrcweir Pos = MAP_APPFONT ( 192 , 120 ) ; 189*cdf0e10cSrcweir Size = MAP_APPFONT ( 75 , 14 ) ; 190*cdf0e10cSrcweir TabStop = TRUE ; 191*cdf0e10cSrcweir Group = TRUE ; 192*cdf0e10cSrcweir PUSHBUTTON_TEXT_RESET 193*cdf0e10cSrcweir }; 194*cdf0e10cSrcweir String STR_LOADACCELCONFIG 195*cdf0e10cSrcweir { 196*cdf0e10cSrcweir Text [ en-US ] = "Load Keyboard Configuration" ; 197*cdf0e10cSrcweir }; 198*cdf0e10cSrcweir String STR_SAVEACCELCONFIG 199*cdf0e10cSrcweir { 200*cdf0e10cSrcweir Text [ en-US ] = "Save Keyboard Configuration" ; 201*cdf0e10cSrcweir }; 202*cdf0e10cSrcweir String STR_FILTERNAME_CFG 203*cdf0e10cSrcweir { 204*cdf0e10cSrcweir Text [ en-US ] = "Configuration" ; 205*cdf0e10cSrcweir }; 206*cdf0e10cSrcweir}; 207*cdf0e10cSrcweir 208*cdf0e10cSrcweirResource RID_SVXPAGE_CONFIGGROUPBOX 209*cdf0e10cSrcweir{ 210*cdf0e10cSrcweir String STR_MYMACROS 211*cdf0e10cSrcweir { 212*cdf0e10cSrcweir Text [ en-US ] = "My Macros"; 213*cdf0e10cSrcweir }; 214*cdf0e10cSrcweir String STR_PRODMACROS 215*cdf0e10cSrcweir { 216*cdf0e10cSrcweir Text [ en-US ] = "%PRODUCTNAME Macros"; 217*cdf0e10cSrcweir }; 218*cdf0e10cSrcweir String STR_BASICMACROS 219*cdf0e10cSrcweir { 220*cdf0e10cSrcweir Text [ en-US ] = "BASIC Macros" ; 221*cdf0e10cSrcweir }; 222*cdf0e10cSrcweir String STR_DLG_MACROS 223*cdf0e10cSrcweir { 224*cdf0e10cSrcweir Text [ en-US ] = "%PRODUCTNAME Macros" ; 225*cdf0e10cSrcweir }; 226*cdf0e10cSrcweir String STR_HUMAN_APPNAME 227*cdf0e10cSrcweir { 228*cdf0e10cSrcweir TEXT = "%PRODUCTNAME" ; 229*cdf0e10cSrcweir }; 230*cdf0e10cSrcweir String STR_GROUP_STYLES 231*cdf0e10cSrcweir { 232*cdf0e10cSrcweir Text [ en-US ] = "Styles" ; 233*cdf0e10cSrcweir }; 234*cdf0e10cSrcweir Image IMG_HARDDISK 235*cdf0e10cSrcweir { 236*cdf0e10cSrcweir ImageBitmap = Bitmap { File = "harddisk_16.bmp" ; }; 237*cdf0e10cSrcweir MASKCOLOR 238*cdf0e10cSrcweir }; 239*cdf0e10cSrcweir Image IMG_HARDDISK_HC 240*cdf0e10cSrcweir { 241*cdf0e10cSrcweir ImageBitmap = Bitmap { File = "harddisk_16_h.bmp" ; }; 242*cdf0e10cSrcweir MASKCOLOR 243*cdf0e10cSrcweir }; 244*cdf0e10cSrcweir Image IMG_LIB 245*cdf0e10cSrcweir { 246*cdf0e10cSrcweir ImageBitmap = Bitmap { File = "im30820.png"; }; 247*cdf0e10cSrcweir MASKCOLOR 248*cdf0e10cSrcweir }; 249*cdf0e10cSrcweir Image IMG_LIB_HC 250*cdf0e10cSrcweir { 251*cdf0e10cSrcweir ImageBitmap = Bitmap { File = "imh30820.png"; }; 252*cdf0e10cSrcweir MASKCOLOR 253*cdf0e10cSrcweir }; 254*cdf0e10cSrcweir Image IMG_MACRO 255*cdf0e10cSrcweir { 256*cdf0e10cSrcweir ImageBitmap = Bitmap { File = "im30821.png"; }; 257*cdf0e10cSrcweir MASKCOLOR 258*cdf0e10cSrcweir }; 259*cdf0e10cSrcweir Image IMG_MACRO_HC 260*cdf0e10cSrcweir { 261*cdf0e10cSrcweir ImageBitmap = Bitmap { File = "imh30821.png"; }; 262*cdf0e10cSrcweir MASKCOLOR 263*cdf0e10cSrcweir }; 264*cdf0e10cSrcweir Image IMG_DOC 265*cdf0e10cSrcweir { 266*cdf0e10cSrcweir ImageBitmap = Bitmap { File = "im30826.png"; }; 267*cdf0e10cSrcweir MASKCOLOR 268*cdf0e10cSrcweir }; 269*cdf0e10cSrcweir Image IMG_DOC_HC 270*cdf0e10cSrcweir { 271*cdf0e10cSrcweir ImageBitmap = Bitmap { File = "imh30826.png"; }; 272*cdf0e10cSrcweir MASKCOLOR 273*cdf0e10cSrcweir }; 274*cdf0e10cSrcweir Image BMP_COLLAPSED 275*cdf0e10cSrcweir { 276*cdf0e10cSrcweir ImageBitmap = Bitmap 277*cdf0e10cSrcweir { 278*cdf0e10cSrcweir File = "plus.bmp" ; 279*cdf0e10cSrcweir }; 280*cdf0e10cSrcweir // MaskColor = Color { Predefine = COL_GREEN ; }; 281*cdf0e10cSrcweir }; 282*cdf0e10cSrcweir Image BMP_EXPANDED 283*cdf0e10cSrcweir { 284*cdf0e10cSrcweir ImageBitmap = Bitmap 285*cdf0e10cSrcweir { 286*cdf0e10cSrcweir File = "minus.bmp" ; 287*cdf0e10cSrcweir }; 288*cdf0e10cSrcweir // MaskColor = Color { Predefine = COL_GREEN ; }; 289*cdf0e10cSrcweir }; 290*cdf0e10cSrcweir Image BMP_EXPANDED_HC 291*cdf0e10cSrcweir { 292*cdf0e10cSrcweir ImageBitmap = Bitmap 293*cdf0e10cSrcweir { 294*cdf0e10cSrcweir File = "minus_h.bmp" ; 295*cdf0e10cSrcweir }; 296*cdf0e10cSrcweir }; 297*cdf0e10cSrcweir Image BMP_COLLAPSED_HC 298*cdf0e10cSrcweir { 299*cdf0e10cSrcweir ImageBitmap = Bitmap 300*cdf0e10cSrcweir { 301*cdf0e10cSrcweir File = "plus_h.bmp" ; 302*cdf0e10cSrcweir }; 303*cdf0e10cSrcweir }; 304*cdf0e10cSrcweir}; 305*cdf0e10cSrcweir 306*cdf0e10cSrcweir // ********************************************************************** EOF 307*cdf0e10cSrcweir 308*cdf0e10cSrcweir 309*cdf0e10cSrcweir 310*cdf0e10cSrcweir 311*cdf0e10cSrcweir 312*cdf0e10cSrcweir 313*cdf0e10cSrcweir 314*cdf0e10cSrcweir 315*cdf0e10cSrcweir 316*cdf0e10cSrcweir 317*cdf0e10cSrcweir 318*cdf0e10cSrcweir 319*cdf0e10cSrcweir 320*cdf0e10cSrcweir 321*cdf0e10cSrcweir 322*cdf0e10cSrcweir 323*cdf0e10cSrcweir 324*cdf0e10cSrcweir 325*cdf0e10cSrcweir 326*cdf0e10cSrcweir 327*cdf0e10cSrcweir 328*cdf0e10cSrcweir 329*cdf0e10cSrcweir 330*cdf0e10cSrcweir 331*cdf0e10cSrcweir 332*cdf0e10cSrcweir 333*cdf0e10cSrcweir 334*cdf0e10cSrcweir 335*cdf0e10cSrcweir 336*cdf0e10cSrcweir 337*cdf0e10cSrcweir 338*cdf0e10cSrcweir 339*cdf0e10cSrcweir 340*cdf0e10cSrcweir 341*cdf0e10cSrcweir 342*cdf0e10cSrcweir 343*cdf0e10cSrcweir 344*cdf0e10cSrcweir 345*cdf0e10cSrcweir 346*cdf0e10cSrcweir 347*cdf0e10cSrcweir 348*cdf0e10cSrcweir 349*cdf0e10cSrcweir 350*cdf0e10cSrcweir 351*cdf0e10cSrcweir 352*cdf0e10cSrcweir 353*cdf0e10cSrcweir 354*cdf0e10cSrcweir 355*cdf0e10cSrcweir 356*cdf0e10cSrcweir 357