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