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