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