selector.src (0e2af6af) selector.src (b4b8d4b6)
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

--- 6 unchanged lines hidden (view full) ---

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
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

--- 6 unchanged lines hidden (view full) ---

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