1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27#include "helpid.hrc" 28#include <cuires.hrc> 29#include "selector.hrc" 30 31#define MASKCOLOR MaskColor = \ 32 Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }; 33 34#define FIXEDTEXT_DIALOG_DESCRIPTION \ 35Text [ en-US ] = "Select the library that contains the macro you want. Then select the macro under 'Macro name'." ;\ 36 37String STR_SELECTOR_ADD_COMMANDS 38{ 39 TEXT [ en-US ] = "Add Commands" ; 40}; 41 42String STR_SELECTOR_MACROS 43{ 44 Text [ en-US ] = "%PRODUCTNAME Macros" ; 45}; 46 47String STR_SELECTOR_CATEGORIES 48{ 49 Text [ en-US ] = "~Category" ; 50}; 51 52String STR_SELECTOR_COMMANDS 53{ 54 Text [ en-US ] = "Commands" ; 55}; 56 57String STR_SELECTOR_ADD 58{ 59 TEXT [ en-US ] = "Add" ; 60}; 61 62String STR_SELECTOR_RUN 63{ 64 TEXT [ en-US ] = "Run" ; 65 66}; 67 68String STR_SELECTOR_CLOSE 69{ 70 TEXT [ en-US ] = "Close" ; 71 72}; 73 74String STR_SELECTOR_ADD_COMMANDS_DESCRIPTION 75{ 76 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."; 77}; 78 79String STR_BASICMACROS 80{ 81 Text [ en-US ] = "BASIC Macros" ; 82}; 83 84 85ModelessDialog RID_DLG_SCRIPTSELECTOR 86{ 87 OutputSize = TRUE ; 88 Size = MAP_APPFONT ( 256 , 233 ) ; 89 Text [ en-US ] = "Macro Selector" ; 90 HelpId = HID_SELECTOR_DIALOG; 91 SvLook = TRUE ; 92 Moveable = TRUE ; 93 Hide = TRUE; 94 FixedText TXT_SELECTOR_DIALOG_DESCRIPTION 95 { 96 Pos = MAP_APPFONT ( 6 , 8 ) ; 97 Size = MAP_APPFONT ( 190 , 48 ) ; 98 Group = TRUE ; 99 Left = TRUE ; 100 WordBreak = TRUE ; 101 FIXEDTEXT_DIALOG_DESCRIPTION 102 }; 103 FixedText TXT_SELECTOR_CATEGORIES 104 { 105 Pos = MAP_APPFONT ( 6 , 62 ) ; 106 Size = MAP_APPFONT ( 83 , 8 ) ; 107 Group = TRUE ; 108 Left = TRUE ; 109 Text [ en-US ] = "Library" ; 110 }; 111 Control BOX_SELECTOR_CATEGORIES 112 { 113 Border = TRUE ; 114 Pos = MAP_APPFONT ( 6 , 73 ) ; 115 Size = MAP_APPFONT ( 83 , 89 ) ; 116 TabStop = TRUE; 117 HelpId = HID_SELECTOR_CATEGORIES; 118 String STR_MYMACROS 119 { 120 Text [ en-US ] = "My Macros"; 121 }; 122 String STR_PRODMACROS 123 { 124 Text [ en-US ] = "%PRODUCTNAME Macros"; 125 }; 126 Image IMG_HARDDISK 127 { 128 ImageBitmap = Bitmap { File = "harddisk_16.bmp" ; }; 129 MASKCOLOR 130 }; 131 Image IMG_HARDDISK_HC 132 { 133 ImageBitmap = Bitmap { File = "harddisk_16_h.bmp" ; }; 134 MASKCOLOR 135 }; 136 Image IMG_LIB 137 { 138 ImageBitmap = Bitmap { File = "im30820.png"; }; 139 MASKCOLOR 140 }; 141 Image IMG_LIB_HC 142 { 143 ImageBitmap = Bitmap { File = "imh30820.png"; }; 144 MASKCOLOR 145 }; 146 Image IMG_MACRO 147 { 148 ImageBitmap = Bitmap { File = "im30821.png"; }; 149 MASKCOLOR 150 }; 151 Image IMG_MACRO_HC 152 { 153 ImageBitmap = Bitmap { File = "imh30821.png"; }; 154 MASKCOLOR 155 }; 156 Image IMG_DOC 157 { 158 ImageBitmap = Bitmap { File = "im30826.png"; }; 159 MASKCOLOR 160 }; 161 Image IMG_DOC_HC 162 { 163 ImageBitmap = Bitmap { File = "imh30826.png"; }; 164 MASKCOLOR 165 }; 166 }; 167 FixedText TXT_SELECTOR_COMMANDS 168 { 169 Pos = MAP_APPFONT ( 101 , 62 ) ; 170 Size = MAP_APPFONT ( 93 , 8 ) ; 171 Left = TRUE ; 172 Text [ en-US ] = "Macro name" ; 173 }; 174 Control BOX_SELECTOR_COMMANDS 175 { 176 Border = TRUE ; 177 Pos = MAP_APPFONT ( 101 , 73 ) ; 178 Size = MAP_APPFONT ( 93 , 89 ) ; 179 TabStop = TRUE; 180 HelpId = HID_SELECTOR_COMMANDS; 181 }; 182 OKButton BTN_SELECTOR_OK 183 { 184 Pos = MAP_APPFONT ( 200 , 73 ) ; 185 Size = MAP_APPFONT ( 50 , 14 ) ; 186 DefButton = TRUE; 187 }; 188 CancelButton BTN_SELECTOR_CANCEL 189 { 190 Pos = MAP_APPFONT ( 200 , 90 ) ; 191 Size = MAP_APPFONT ( 50 , 14 ) ; 192 }; 193 HelpButton BTN_SELECTOR_HELP 194 { 195 Pos = MAP_APPFONT ( 200 , 107 ) ; 196 Size = MAP_APPFONT ( 50 , 14 ) ; 197 }; 198 FixedLine GRP_SELECTOR_DESCRIPTION 199 { 200 Pos = MAP_APPFONT ( 6 , 168 ) ; 201 Size = MAP_APPFONT ( 224 , 8 ) ; 202 Group = TRUE ; 203 Text [ en-US ] = "Description" ; 204 }; 205 FixedText TXT_SELECTOR_DESCRIPTION 206 { 207 Pos = MAP_APPFONT ( 12 , 179 ) ; 208 Size = MAP_APPFONT ( 224 , 48 ) ; 209 WordBreak = TRUE ; 210 }; 211}; 212 // ********************************************************************** EOF 213