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