xref: /aoo4110/main/cui/source/dialogs/scriptdlg.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
24#include <cuires.hrc>
25#include "scriptdlg.hrc"
26#include "helpid.hrc"
27
28#define MASKCOLOR  MaskColor = \
29    Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
30
31ModalDialog RID_DLG_SCRIPTORGANIZER
32{
33    OutputSize = TRUE ;
34    Size = MAP_APPFONT ( 210 , 165 ) ;
35    Moveable = TRUE ;
36    Text [ en-US ] = "%MACROLANG Macros";
37    Closeable = TRUE ;
38    HelpId = HID_SCRIPTORG_DIALOG;
39    FixedText SF_TXT_SCRIPTS
40    {
41        Pos = MAP_APPFONT ( 6 , 3 ) ;
42        Size = MAP_APPFONT ( 100 , 10 ) ;
43        Text [ en-US ] = "~Macros" ;
44    };
45
46    Control SF_CTRL_SCRIPTSBOX
47    {
48        HelpId = HID_SCRIPTSBOX ;
49        Border = TRUE ;
50        Pos = MAP_APPFONT ( 6 , 16 ) ;
51        Size = MAP_APPFONT ( 130 , 144 ) ;
52        TabStop = TRUE ;
53        Image IMG_HARDDISK
54        {
55            ImageBitmap = Bitmap { File = "harddisk_16.bmp" ; };
56            MASKCOLOR
57        };
58        Image IMG_HARDDISK_HC
59        {
60            ImageBitmap = Bitmap { File = "harddisk_16_h.bmp" ; };
61            MASKCOLOR
62        };
63        Image IMG_LIB
64        {
65            ImageBitmap = Bitmap { File = "im30820.png"; };
66            MASKCOLOR
67        };
68        Image IMG_LIB_HC
69        {
70            ImageBitmap = Bitmap { File = "imh30820.png"; };
71            MASKCOLOR
72        };
73        Image IMG_MACRO
74        {
75            ImageBitmap = Bitmap { File = "im30821.png"; };
76            MASKCOLOR
77        };
78        Image IMG_MACRO_HC
79        {
80            ImageBitmap = Bitmap { File = "imh30821.png"; };
81            MASKCOLOR
82        };
83        Image IMG_DOCUMENT
84        {
85            ImageBitmap = Bitmap { File = "im30826.png"; };
86            MASKCOLOR
87        };
88        Image IMG_DOCUMENT_HC
89        {
90            ImageBitmap = Bitmap { File = "imh30826.png"; };
91            MASKCOLOR
92        };
93        String STR_MYMACROS
94        {
95            Text [ en-US ] = "My Macros";
96        };
97        String STR_PRODMACROS
98        {
99            Text [ en-US ] = "%PRODUCTNAME Macros";
100        };
101    };
102
103    PushButton SF_PB_RUN
104    {
105        HelpID = "cui:PushButton:RID_DLG_SCRIPTORGANIZER:SF_PB_RUN";
106        Pos = MAP_APPFONT ( 144 , 6 ) ;
107        Size = MAP_APPFONT ( 60 , 14 ) ;
108        DefButton = TRUE;
109        Text [ en-US ] = "R~un" ;
110    };
111    CancelButton SF_PB_CLOSE
112    {
113        Pos = MAP_APPFONT ( 144 , 23 ) ;
114        Size = MAP_APPFONT ( 60 , 14 ) ;
115        TabStop = TRUE ;
116        Text [ en-US ] = "Close" ;
117    };
118
119    PushButton SF_PB_CREATE
120    {
121        HelpID = "cui:PushButton:RID_DLG_SCRIPTORGANIZER:SF_PB_CREATE";
122        Size = MAP_APPFONT ( 60 , 14 ) ;
123        Pos = MAP_APPFONT ( 144 , 60 ) ;
124        Text [ en-US ] = "~Create..." ;
125        TabStop = TRUE ;
126    };
127    PushButton SF_PB_EDIT
128    {
129        HelpID = "cui:PushButton:RID_DLG_SCRIPTORGANIZER:SF_PB_EDIT";
130        Size = MAP_APPFONT ( 60 , 14 ) ;
131        Pos = MAP_APPFONT ( 144 , 77 ) ;
132        Text [ en-US ] = "~Edit" ;
133        TabStop = TRUE ;
134    };
135    PushButton SF_PB_RENAME
136    {
137        HelpID = "cui:PushButton:RID_DLG_SCRIPTORGANIZER:SF_PB_RENAME";
138        Pos = MAP_APPFONT ( 144 , 94 ) ;
139        Size = MAP_APPFONT ( 60 , 14 ) ;
140        Text [ en-US ] = "Rename..." ;
141    };
142    PushButton SF_PB_DEL
143    {
144        HelpID = "cui:PushButton:RID_DLG_SCRIPTORGANIZER:SF_PB_DEL";
145        Pos = MAP_APPFONT ( 144 , 114 ) ;
146        Size = MAP_APPFONT ( 60 , 14 ) ;
147        Text [ en-US ] = "~Delete..." ;
148        TabStop = TRUE ;
149    };
150    HelpButton SF_PB_HELP
151    {
152        Pos = MAP_APPFONT ( 144 , 131 ) ;
153        Size = MAP_APPFONT ( 60 , 14 ) ;
154        TabStop = TRUE ;
155    };
156
157};
158ModalDialog RID_DLG_NEWLIB
159{
160    HelpID = "cui:ModalDialog:RID_DLG_NEWLIB";
161    Text [ en-US ] = "Create Library" ;
162    Size = MAP_APPFONT ( 160 , 50 ) ;
163    Moveable = TRUE ;
164    Closeable = TRUE ;
165    OKButton PB_OK
166    {
167        Pos = MAP_APPFONT ( 104 , 6 ) ;
168        Size = MAP_APPFONT ( 50 , 14 ) ;
169        TabStop = TRUE ;
170        DefButton = TRUE ;
171    };
172    CancelButton PB_CANCEL
173    {
174        Pos = MAP_APPFONT ( 104 , 23 ) ;
175        Size = MAP_APPFONT ( 50 , 14 ) ;
176        TabStop = TRUE ;
177    };
178    FixedText FT_NEWLIB
179    {
180        Pos = MAP_APPFONT ( 6 , 6 ) ;
181        Size = MAP_APPFONT ( 100 , 50 ) ;
182        WordBreak = TRUE ;
183        Text [ en-US ] = "Enter the name for the new library." ;
184    };
185    Edit ED_LIBNAME
186    {
187        HelpID = "cui:Edit:RID_DLG_NEWLIB:ED_LIBNAME";
188        Border = TRUE ;
189        Pos = MAP_APPFONT ( 6 , 59 ) ;
190        Size = MAP_APPFONT ( 92 , 12 ) ;
191        TabStop = TRUE ;
192    };
193    String STR_NEWLIB
194    {
195        Text [ en-US ] = "Create Library" ;
196    };
197    String STR_NEWMACRO
198    {
199        Text [ en-US ] = "Create Macro" ;
200    };
201    String STR_FT_NEWMACRO
202    {
203        Text [ en-US ] = "Enter the name for the new macro." ;
204    };
205    String STR_RENAME
206    {
207        Text [ en-US ] = "Rename" ;
208    };
209    String STR_FT_RENAME
210    {
211        Text [ en-US ] = "Enter the new name for the selected object." ;
212    };
213};
214String RID_SVXSTR_DELQUERY
215{
216    Text [ en-US ] = "Do you want to delete the following object?";
217};
218String RID_SVXSTR_DELQUERY_TITLE
219{
220    Text [ en-US ] = "Confirm Deletion";
221};
222String RID_SVXSTR_DELFAILED
223{
224    Text [ en-US ] = "The selected object could not be deleted.";
225};
226String RID_SVXSTR_DELFAILEDPERM
227{
228    Text [ en-US ] = " You do not have permission to delete this object.";
229};
230String RID_SVXSTR_DELFAILED_TITLE
231{
232    Text [ en-US ] = "Error Deleting Object";
233};
234String RID_SVXSTR_CREATEFAILED
235{
236    Text [ en-US ] = "The object could not be created.";
237};
238String RID_SVXSTR_CREATEFAILEDDUP
239{
240    Text [ en-US ] = " Object with the same name already exists.";
241};
242String RID_SVXSTR_CREATEFAILEDPERM
243{
244    Text [ en-US ] = " You do not have permission to create this object.";
245};
246String RID_SVXSTR_CREATEFAILED_TITLE
247{
248    Text [ en-US ] = "Error Creating Object";
249};
250String RID_SVXSTR_RENAMEFAILED
251{
252    Text [ en-US ] = "The object could not be renamed.";
253};
254String RID_SVXSTR_RENAMEFAILEDPERM
255{
256    Text [ en-US ] = " You do not have permission to rename this object.";
257};
258String RID_SVXSTR_RENAMEFAILED_TITLE
259{
260    Text [ en-US ] = "Error Renaming Object";
261};
262
263String RID_SVXSTR_ERROR_TITLE
264{
265    Text [ en-US ] = "%PRODUCTNAME Error";
266};
267
268String RID_SVXSTR_ERROR_LANG_NOT_SUPPORTED
269{
270    Text [ en-US ] = "The scripting language %LANGUAGENAME is not supported.";
271};
272String RID_SVXSTR_ERROR_RUNNING
273{
274    Text [ en-US ] = "An error occurred while running the %LANGUAGENAME script %SCRIPTNAME.";
275};
276
277String RID_SVXSTR_EXCEPTION_RUNNING
278{
279    Text [ en-US ] = "An exception occurred while running the %LANGUAGENAME script %SCRIPTNAME.";
280};
281
282String RID_SVXSTR_ERROR_AT_LINE
283{
284    Text [ en-US ] = "An error occurred while running the %LANGUAGENAME script %SCRIPTNAME at line: %LINENUMBER.";
285};
286
287String RID_SVXSTR_EXCEPTION_AT_LINE
288{
289    Text [ en-US ] = "An exception occurred while running the %LANGUAGENAME script %SCRIPTNAME at line: %LINENUMBER.";
290};
291
292String RID_SVXSTR_FRAMEWORK_ERROR_RUNNING
293{
294    Text [ en-US ] = "A Scripting Framework error occurred while running the %LANGUAGENAME script %SCRIPTNAME.";
295};
296
297String RID_SVXSTR_FRAMEWORK_ERROR_AT_LINE
298{
299    Text [ en-US ] = "A Scripting Framework error occurred while running the %LANGUAGENAME script %SCRIPTNAME at line: %LINENUMBER.";
300};
301
302String RID_SVXSTR_ERROR_TYPE_LABEL
303{
304    Text [ en-US ] = "Type:";
305};
306
307String RID_SVXSTR_ERROR_MESSAGE_LABEL
308{
309    Text [ en-US ] = "Message:";
310};
311