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