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 10*0e2af6afSAndrew Rist * 11*0e2af6afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*0e2af6afSAndrew Rist * 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. 19*0e2af6afSAndrew Rist * 20*0e2af6afSAndrew Rist *************************************************************/ 21*0e2af6afSAndrew Rist 22*0e2af6afSAndrew Rist 23cdf0e10cSrcweir#include "helpid.hrc" 24cdf0e10cSrcweir#include <cuires.hrc> 25cdf0e10cSrcweir#include "selector.hrc" 26cdf0e10cSrcweir 27cdf0e10cSrcweir#define MASKCOLOR MaskColor = \ 28cdf0e10cSrcweir Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }; 29cdf0e10cSrcweir 30cdf0e10cSrcweir#define FIXEDTEXT_DIALOG_DESCRIPTION \ 31cdf0e10cSrcweirText [ en-US ] = "Select the library that contains the macro you want. Then select the macro under 'Macro name'." ;\ 32cdf0e10cSrcweir 33cdf0e10cSrcweirString STR_SELECTOR_ADD_COMMANDS 34cdf0e10cSrcweir{ 35cdf0e10cSrcweir TEXT [ en-US ] = "Add Commands" ; 36cdf0e10cSrcweir}; 37cdf0e10cSrcweir 38cdf0e10cSrcweirString STR_SELECTOR_MACROS 39cdf0e10cSrcweir{ 40cdf0e10cSrcweir Text [ en-US ] = "%PRODUCTNAME Macros" ; 41cdf0e10cSrcweir}; 42cdf0e10cSrcweir 43cdf0e10cSrcweirString STR_SELECTOR_CATEGORIES 44cdf0e10cSrcweir{ 45cdf0e10cSrcweir Text [ en-US ] = "~Category" ; 46cdf0e10cSrcweir}; 47cdf0e10cSrcweir 48cdf0e10cSrcweirString STR_SELECTOR_COMMANDS 49cdf0e10cSrcweir{ 50cdf0e10cSrcweir Text [ en-US ] = "Commands" ; 51cdf0e10cSrcweir}; 52cdf0e10cSrcweir 53cdf0e10cSrcweirString STR_SELECTOR_ADD 54cdf0e10cSrcweir{ 55cdf0e10cSrcweir TEXT [ en-US ] = "Add" ; 56cdf0e10cSrcweir}; 57cdf0e10cSrcweir 58cdf0e10cSrcweirString STR_SELECTOR_RUN 59cdf0e10cSrcweir{ 60cdf0e10cSrcweir TEXT [ en-US ] = "Run" ; 61cdf0e10cSrcweir 62cdf0e10cSrcweir}; 63cdf0e10cSrcweir 64cdf0e10cSrcweirString STR_SELECTOR_CLOSE 65cdf0e10cSrcweir{ 66cdf0e10cSrcweir TEXT [ en-US ] = "Close" ; 67cdf0e10cSrcweir 68cdf0e10cSrcweir}; 69cdf0e10cSrcweir 70cdf0e10cSrcweirString STR_SELECTOR_ADD_COMMANDS_DESCRIPTION 71cdf0e10cSrcweir{ 72cdf0e10cSrcweir TEXT [ en-US ] = "To add a command to a toolbar, select the category and then the command. Then drag the command to the Commands list of the Toolbars tab page in the Customize dialog."; 73cdf0e10cSrcweir}; 74cdf0e10cSrcweir 75cdf0e10cSrcweirString STR_BASICMACROS 76cdf0e10cSrcweir{ 77cdf0e10cSrcweir Text [ en-US ] = "BASIC Macros" ; 78cdf0e10cSrcweir}; 79cdf0e10cSrcweir 80cdf0e10cSrcweir 81cdf0e10cSrcweirModelessDialog RID_DLG_SCRIPTSELECTOR 82cdf0e10cSrcweir{ 83cdf0e10cSrcweir OutputSize = TRUE ; 84cdf0e10cSrcweir Size = MAP_APPFONT ( 256 , 233 ) ; 85cdf0e10cSrcweir Text [ en-US ] = "Macro Selector" ; 86cdf0e10cSrcweir HelpId = HID_SELECTOR_DIALOG; 87cdf0e10cSrcweir SvLook = TRUE ; 88cdf0e10cSrcweir Moveable = TRUE ; 89cdf0e10cSrcweir Hide = TRUE; 90cdf0e10cSrcweir FixedText TXT_SELECTOR_DIALOG_DESCRIPTION 91cdf0e10cSrcweir { 92cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 8 ) ; 93cdf0e10cSrcweir Size = MAP_APPFONT ( 190 , 48 ) ; 94cdf0e10cSrcweir Group = TRUE ; 95cdf0e10cSrcweir Left = TRUE ; 96cdf0e10cSrcweir WordBreak = TRUE ; 97cdf0e10cSrcweir FIXEDTEXT_DIALOG_DESCRIPTION 98cdf0e10cSrcweir }; 99cdf0e10cSrcweir FixedText TXT_SELECTOR_CATEGORIES 100cdf0e10cSrcweir { 101cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 62 ) ; 102cdf0e10cSrcweir Size = MAP_APPFONT ( 83 , 8 ) ; 103cdf0e10cSrcweir Group = TRUE ; 104cdf0e10cSrcweir Left = TRUE ; 105cdf0e10cSrcweir Text [ en-US ] = "Library" ; 106cdf0e10cSrcweir }; 107cdf0e10cSrcweir Control BOX_SELECTOR_CATEGORIES 108cdf0e10cSrcweir { 109cdf0e10cSrcweir Border = TRUE ; 110cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 73 ) ; 111cdf0e10cSrcweir Size = MAP_APPFONT ( 83 , 89 ) ; 112cdf0e10cSrcweir TabStop = TRUE; 113cdf0e10cSrcweir HelpId = HID_SELECTOR_CATEGORIES; 114cdf0e10cSrcweir String STR_MYMACROS 115cdf0e10cSrcweir { 116cdf0e10cSrcweir Text [ en-US ] = "My Macros"; 117cdf0e10cSrcweir }; 118cdf0e10cSrcweir String STR_PRODMACROS 119cdf0e10cSrcweir { 120cdf0e10cSrcweir Text [ en-US ] = "%PRODUCTNAME Macros"; 121cdf0e10cSrcweir }; 122cdf0e10cSrcweir Image IMG_HARDDISK 123cdf0e10cSrcweir { 124cdf0e10cSrcweir ImageBitmap = Bitmap { File = "harddisk_16.bmp" ; }; 125cdf0e10cSrcweir MASKCOLOR 126cdf0e10cSrcweir }; 127cdf0e10cSrcweir Image IMG_HARDDISK_HC 128cdf0e10cSrcweir { 129cdf0e10cSrcweir ImageBitmap = Bitmap { File = "harddisk_16_h.bmp" ; }; 130cdf0e10cSrcweir MASKCOLOR 131cdf0e10cSrcweir }; 132cdf0e10cSrcweir Image IMG_LIB 133cdf0e10cSrcweir { 134cdf0e10cSrcweir ImageBitmap = Bitmap { File = "im30820.png"; }; 135cdf0e10cSrcweir MASKCOLOR 136cdf0e10cSrcweir }; 137cdf0e10cSrcweir Image IMG_LIB_HC 138cdf0e10cSrcweir { 139cdf0e10cSrcweir ImageBitmap = Bitmap { File = "imh30820.png"; }; 140cdf0e10cSrcweir MASKCOLOR 141cdf0e10cSrcweir }; 142cdf0e10cSrcweir Image IMG_MACRO 143cdf0e10cSrcweir { 144cdf0e10cSrcweir ImageBitmap = Bitmap { File = "im30821.png"; }; 145cdf0e10cSrcweir MASKCOLOR 146cdf0e10cSrcweir }; 147cdf0e10cSrcweir Image IMG_MACRO_HC 148cdf0e10cSrcweir { 149cdf0e10cSrcweir ImageBitmap = Bitmap { File = "imh30821.png"; }; 150cdf0e10cSrcweir MASKCOLOR 151cdf0e10cSrcweir }; 152cdf0e10cSrcweir Image IMG_DOC 153cdf0e10cSrcweir { 154cdf0e10cSrcweir ImageBitmap = Bitmap { File = "im30826.png"; }; 155cdf0e10cSrcweir MASKCOLOR 156cdf0e10cSrcweir }; 157cdf0e10cSrcweir Image IMG_DOC_HC 158cdf0e10cSrcweir { 159cdf0e10cSrcweir ImageBitmap = Bitmap { File = "imh30826.png"; }; 160cdf0e10cSrcweir MASKCOLOR 161cdf0e10cSrcweir }; 162cdf0e10cSrcweir }; 163cdf0e10cSrcweir FixedText TXT_SELECTOR_COMMANDS 164cdf0e10cSrcweir { 165cdf0e10cSrcweir Pos = MAP_APPFONT ( 101 , 62 ) ; 166cdf0e10cSrcweir Size = MAP_APPFONT ( 93 , 8 ) ; 167cdf0e10cSrcweir Left = TRUE ; 168cdf0e10cSrcweir Text [ en-US ] = "Macro name" ; 169cdf0e10cSrcweir }; 170cdf0e10cSrcweir Control BOX_SELECTOR_COMMANDS 171cdf0e10cSrcweir { 172cdf0e10cSrcweir Border = TRUE ; 173cdf0e10cSrcweir Pos = MAP_APPFONT ( 101 , 73 ) ; 174cdf0e10cSrcweir Size = MAP_APPFONT ( 93 , 89 ) ; 175cdf0e10cSrcweir TabStop = TRUE; 176cdf0e10cSrcweir HelpId = HID_SELECTOR_COMMANDS; 177cdf0e10cSrcweir }; 178cdf0e10cSrcweir OKButton BTN_SELECTOR_OK 179cdf0e10cSrcweir { 180cdf0e10cSrcweir Pos = MAP_APPFONT ( 200 , 73 ) ; 181cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 182cdf0e10cSrcweir DefButton = TRUE; 183cdf0e10cSrcweir }; 184cdf0e10cSrcweir CancelButton BTN_SELECTOR_CANCEL 185cdf0e10cSrcweir { 186cdf0e10cSrcweir Pos = MAP_APPFONT ( 200 , 90 ) ; 187cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 188cdf0e10cSrcweir }; 189cdf0e10cSrcweir HelpButton BTN_SELECTOR_HELP 190cdf0e10cSrcweir { 191cdf0e10cSrcweir Pos = MAP_APPFONT ( 200 , 107 ) ; 192cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 193cdf0e10cSrcweir }; 194cdf0e10cSrcweir FixedLine GRP_SELECTOR_DESCRIPTION 195cdf0e10cSrcweir { 196cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 168 ) ; 197cdf0e10cSrcweir Size = MAP_APPFONT ( 224 , 8 ) ; 198cdf0e10cSrcweir Group = TRUE ; 199cdf0e10cSrcweir Text [ en-US ] = "Description" ; 200cdf0e10cSrcweir }; 201cdf0e10cSrcweir FixedText TXT_SELECTOR_DESCRIPTION 202cdf0e10cSrcweir { 203cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 179 ) ; 204cdf0e10cSrcweir Size = MAP_APPFONT ( 224 , 48 ) ; 205cdf0e10cSrcweir WordBreak = TRUE ; 206cdf0e10cSrcweir }; 207cdf0e10cSrcweir}; 208cdf0e10cSrcweir // ********************************************************************** EOF 209