1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
29 #include "selector.hrc"
31 #define MASKCOLOR MaskColor = \
32 Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
34 #define FIXEDTEXT_DIALOG_DESCRIPTION \
35 Text [ en-US ] = "Select the library that contains the macro you want. Then select the macro under 'Macro name'." ;\
37 String STR_SELECTOR_ADD_COMMANDS
39 TEXT [ en-US ] = "Add Commands" ;
42 String STR_SELECTOR_MACROS
44 Text [ en-US ] = "%PRODUCTNAME Macros" ;
47 String STR_SELECTOR_CATEGORIES
49 Text [ en-US ] = "~Category" ;
52 String STR_SELECTOR_COMMANDS
54 Text [ en-US ] = "Commands" ;
57 String STR_SELECTOR_ADD
59 TEXT [ en-US ] = "Add" ;
62 String STR_SELECTOR_RUN
64 TEXT [ en-US ] = "Run" ;
68 String STR_SELECTOR_CLOSE
70 TEXT [ en-US ] = "Close" ;
74 String STR_SELECTOR_ADD_COMMANDS_DESCRIPTION
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.";
79 String STR_BASICMACROS
81 Text [ en-US ] = "BASIC Macros" ;
85 ModelessDialog RID_DLG_SCRIPTSELECTOR
88 Size = MAP_APPFONT ( 256 , 233 ) ;
89 Text [ en-US ] = "Macro Selector" ;
90 HelpId = HID_SELECTOR_DIALOG;
94 FixedText TXT_SELECTOR_DIALOG_DESCRIPTION
96 Pos = MAP_APPFONT ( 6 , 8 ) ;
97 Size = MAP_APPFONT ( 190 , 48 ) ;
101 FIXEDTEXT_DIALOG_DESCRIPTION
103 FixedText TXT_SELECTOR_CATEGORIES
105 Pos = MAP_APPFONT ( 6 , 62 ) ;
106 Size = MAP_APPFONT ( 83 , 8 ) ;
109 Text [ en-US ] = "Library" ;
111 Control BOX_SELECTOR_CATEGORIES
114 Pos = MAP_APPFONT ( 6 , 73 ) ;
115 Size = MAP_APPFONT ( 83 , 89 ) ;
117 HelpId = HID_SELECTOR_CATEGORIES;
120 Text [ en-US ] = "My Macros";
122 String STR_PRODMACROS
124 Text [ en-US ] = "%PRODUCTNAME Macros";
128 ImageBitmap = Bitmap { File = "harddisk_16.bmp" ; };
131 Image IMG_HARDDISK_HC
133 ImageBitmap = Bitmap { File = "harddisk_16_h.bmp" ; };
138 ImageBitmap = Bitmap { File = "im30820.png"; };
143 ImageBitmap = Bitmap { File = "imh30820.png"; };
148 ImageBitmap = Bitmap { File = "im30821.png"; };
153 ImageBitmap = Bitmap { File = "imh30821.png"; };
158 ImageBitmap = Bitmap { File = "im30826.png"; };
163 ImageBitmap = Bitmap { File = "imh30826.png"; };
167 FixedText TXT_SELECTOR_COMMANDS
169 Pos = MAP_APPFONT ( 101 , 62 ) ;
170 Size = MAP_APPFONT ( 93 , 8 ) ;
172 Text [ en-US ] = "Macro name" ;
174 Control BOX_SELECTOR_COMMANDS
177 Pos = MAP_APPFONT ( 101 , 73 ) ;
178 Size = MAP_APPFONT ( 93 , 89 ) ;
180 HelpId = HID_SELECTOR_COMMANDS;
182 OKButton BTN_SELECTOR_OK
184 Pos = MAP_APPFONT ( 200 , 73 ) ;
185 Size = MAP_APPFONT ( 50 , 14 ) ;
188 CancelButton BTN_SELECTOR_CANCEL
190 Pos = MAP_APPFONT ( 200 , 90 ) ;
191 Size = MAP_APPFONT ( 50 , 14 ) ;
193 HelpButton BTN_SELECTOR_HELP
195 Pos = MAP_APPFONT ( 200 , 107 ) ;
196 Size = MAP_APPFONT ( 50 , 14 ) ;
198 FixedLine GRP_SELECTOR_DESCRIPTION
200 Pos = MAP_APPFONT ( 6 , 168 ) ;
201 Size = MAP_APPFONT ( 224 , 8 ) ;
203 Text [ en-US ] = "Description" ;
205 FixedText TXT_SELECTOR_DESCRIPTION
207 Pos = MAP_APPFONT ( 12 , 179 ) ;
208 Size = MAP_APPFONT ( 224 , 48 ) ;
212 // ********************************************************************** EOF