xref: /aoo4110/main/cui/source/customize/selector.src (revision b1cdbd2c)
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 "helpid.hrc"
24#include <cuires.hrc>
25#include "selector.hrc"
26
27#define MASKCOLOR  MaskColor = \
28    Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
29
30#define FIXEDTEXT_DIALOG_DESCRIPTION \
31Text [ 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{
35  TEXT [ en-US ] = "Add Commands" ;
36};
37
38String STR_SELECTOR_MACROS
39{
40  Text [ en-US ] = "%PRODUCTNAME Macros" ;
41};
42
43String STR_SELECTOR_CATEGORIES
44{
45    Text [ en-US ] = "~Category" ;
46};
47
48String STR_SELECTOR_COMMANDS
49{
50  Text [ en-US ] = "Commands" ;
51};
52
53String STR_SELECTOR_ADD
54{
55  TEXT [ en-US ] = "Add" ;
56};
57
58String STR_SELECTOR_RUN
59{
60  TEXT [ en-US ] = "Run" ;
61
62};
63
64String STR_SELECTOR_CLOSE
65{
66  TEXT [ en-US ] = "Close" ;
67
68};
69
70String STR_SELECTOR_ADD_COMMANDS_DESCRIPTION
71{
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.";
73};
74
75String STR_BASICMACROS
76{
77	Text [ en-US ] = "BASIC Macros" ;
78};
79
80
81ModelessDialog RID_DLG_SCRIPTSELECTOR
82{
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  };
207};
208 // ********************************************************************** EOF
209