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