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