xref: /trunk/main/cui/source/dialogs/scriptdlg.src (revision 72ce4a31)
10e2af6afSAndrew Rist/**************************************************************
26bb5a7b1Smseidel *
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
106bb5a7b1Smseidel *
110e2af6afSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
126bb5a7b1Smseidel *
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.
196bb5a7b1Smseidel *
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{
306bb5a7b1Smseidel	OutputSize = TRUE ;
316bb5a7b1Smseidel	Size = MAP_APPFONT ( 210, 165 ) ;
326bb5a7b1Smseidel	Moveable = TRUE ;
336bb5a7b1Smseidel	Text [ en-US ] = "%MACROLANG Macros" ;
346bb5a7b1Smseidel	Closeable = TRUE ;
356bb5a7b1Smseidel	HelpId = HID_SCRIPTORG_DIALOG ;
366bb5a7b1Smseidel	FixedText SF_TXT_SCRIPTS
376bb5a7b1Smseidel	{
386bb5a7b1Smseidel		Pos = MAP_APPFONT ( 6, 3 ) ;
396bb5a7b1Smseidel		Size = MAP_APPFONT ( 100, 10 ) ;
406bb5a7b1Smseidel		Text [ en-US ] = "~Macros" ;
416bb5a7b1Smseidel	};
42cdf0e10cSrcweir
436bb5a7b1Smseidel	Control SF_CTRL_SCRIPTSBOX
446bb5a7b1Smseidel	{
456bb5a7b1Smseidel		HelpId = HID_SCRIPTSBOX ;
466bb5a7b1Smseidel		Border = TRUE ;
476bb5a7b1Smseidel		Pos = MAP_APPFONT ( 6, 16 ) ;
486bb5a7b1Smseidel		Size = MAP_APPFONT ( 130, 144 ) ;
496bb5a7b1Smseidel		TabStop = TRUE ;
506bb5a7b1Smseidel		Image IMG_HARDDISK
516bb5a7b1Smseidel		{
526bb5a7b1Smseidel			ImageBitmap = Bitmap {File = "harddisk_16.png" ;} ;
536bb5a7b1Smseidel		};
546bb5a7b1Smseidel		Image IMG_HARDDISK_HC
556bb5a7b1Smseidel		{
566bb5a7b1Smseidel			ImageBitmap = Bitmap {File = "harddisk_16_h.png" ;} ;
576bb5a7b1Smseidel		};
586bb5a7b1Smseidel		Image IMG_LIB
596bb5a7b1Smseidel		{
606bb5a7b1Smseidel			ImageBitmap = Bitmap {File = "im30820.png" ;} ;
616bb5a7b1Smseidel		};
626bb5a7b1Smseidel		Image IMG_LIB_HC
636bb5a7b1Smseidel		{
646bb5a7b1Smseidel			ImageBitmap = Bitmap {File = "imh30820.png" ;} ;
656bb5a7b1Smseidel		};
666bb5a7b1Smseidel		Image IMG_MACRO
676bb5a7b1Smseidel		{
686bb5a7b1Smseidel			ImageBitmap = Bitmap {File = "im30821.png" ;} ;
696bb5a7b1Smseidel		};
706bb5a7b1Smseidel		Image IMG_MACRO_HC
716bb5a7b1Smseidel		{
726bb5a7b1Smseidel			ImageBitmap = Bitmap {File = "imh30821.png" ;} ;
736bb5a7b1Smseidel		};
746bb5a7b1Smseidel		Image IMG_DOCUMENT
756bb5a7b1Smseidel		{
766bb5a7b1Smseidel			ImageBitmap = Bitmap {File = "im30826.png" ;} ;
776bb5a7b1Smseidel		};
786bb5a7b1Smseidel		Image IMG_DOCUMENT_HC
796bb5a7b1Smseidel		{
806bb5a7b1Smseidel			ImageBitmap = Bitmap {File = "imh30826.png" ;} ;
816bb5a7b1Smseidel		};
826bb5a7b1Smseidel		String STR_MYMACROS
836bb5a7b1Smseidel		{
846bb5a7b1Smseidel			Text [ en-US ] = "My Macros" ;
856bb5a7b1Smseidel		};
866bb5a7b1Smseidel		String STR_PRODMACROS
876bb5a7b1Smseidel		{
886bb5a7b1Smseidel			Text [ en-US ] = "%PRODUCTNAME Macros" ;
896bb5a7b1Smseidel		};
906bb5a7b1Smseidel	};
91cdf0e10cSrcweir
926bb5a7b1Smseidel	PushButton SF_PB_RUN
936bb5a7b1Smseidel	{
946bb5a7b1Smseidel		HelpID = "cui:PushButton:RID_DLG_SCRIPTORGANIZER:SF_PB_RUN" ;
956bb5a7b1Smseidel		Pos = MAP_APPFONT ( 144, 6 ) ;
966bb5a7b1Smseidel		Size = MAP_APPFONT ( 60, 14 ) ;
976bb5a7b1Smseidel		DefButton = TRUE ;
986bb5a7b1Smseidel		Text [ en-US ] = "R~un" ;
996bb5a7b1Smseidel	};
1006bb5a7b1Smseidel	CancelButton SF_PB_CLOSE
1016bb5a7b1Smseidel	{
1026bb5a7b1Smseidel		Pos = MAP_APPFONT ( 144, 23 ) ;
1036bb5a7b1Smseidel		Size = MAP_APPFONT ( 60, 14 ) ;
1046bb5a7b1Smseidel		TabStop = TRUE ;
1056bb5a7b1Smseidel		Text [ en-US ] = "Close" ;
1066bb5a7b1Smseidel	};
107cdf0e10cSrcweir
1086bb5a7b1Smseidel	PushButton SF_PB_CREATE
1096bb5a7b1Smseidel	{
1106bb5a7b1Smseidel		HelpID = "cui:PushButton:RID_DLG_SCRIPTORGANIZER:SF_PB_CREATE" ;
1116bb5a7b1Smseidel		Size = MAP_APPFONT ( 60, 14 ) ;
1126bb5a7b1Smseidel		Pos = MAP_APPFONT ( 144, 60 ) ;
1136bb5a7b1Smseidel		Text [ en-US ] = "~Create..." ;
1146bb5a7b1Smseidel		TabStop = TRUE ;
1156bb5a7b1Smseidel	};
1166bb5a7b1Smseidel	PushButton SF_PB_EDIT
1176bb5a7b1Smseidel	{
1186bb5a7b1Smseidel		HelpID = "cui:PushButton:RID_DLG_SCRIPTORGANIZER:SF_PB_EDIT" ;
1196bb5a7b1Smseidel		Size = MAP_APPFONT ( 60, 14 ) ;
1206bb5a7b1Smseidel		Pos = MAP_APPFONT ( 144, 77 ) ;
1216bb5a7b1Smseidel		Text [ en-US ] = "~Edit" ;
1226bb5a7b1Smseidel		TabStop = TRUE ;
1236bb5a7b1Smseidel	};
1246bb5a7b1Smseidel	PushButton SF_PB_RENAME
1256bb5a7b1Smseidel	{
1266bb5a7b1Smseidel		HelpID = "cui:PushButton:RID_DLG_SCRIPTORGANIZER:SF_PB_RENAME" ;
1276bb5a7b1Smseidel		Pos = MAP_APPFONT ( 144, 94 ) ;
1286bb5a7b1Smseidel		Size = MAP_APPFONT ( 60, 14 ) ;
1296bb5a7b1Smseidel		Text [ en-US ] = "Rename..." ;
1306bb5a7b1Smseidel	};
1316bb5a7b1Smseidel	PushButton SF_PB_DEL
1326bb5a7b1Smseidel	{
1336bb5a7b1Smseidel		HelpID = "cui:PushButton:RID_DLG_SCRIPTORGANIZER:SF_PB_DEL" ;
1346bb5a7b1Smseidel		Pos = MAP_APPFONT ( 144, 114 ) ;
1356bb5a7b1Smseidel		Size = MAP_APPFONT ( 60, 14 ) ;
1366bb5a7b1Smseidel		Text [ en-US ] = "~Delete..." ;
1376bb5a7b1Smseidel		TabStop = TRUE ;
1386bb5a7b1Smseidel	};
1396bb5a7b1Smseidel	HelpButton SF_PB_HELP
1406bb5a7b1Smseidel	{
1416bb5a7b1Smseidel		Pos = MAP_APPFONT ( 144, 131 ) ;
1426bb5a7b1Smseidel		Size = MAP_APPFONT ( 60, 14 ) ;
1436bb5a7b1Smseidel		TabStop = TRUE ;
1446bb5a7b1Smseidel	};
145cdf0e10cSrcweir
146cdf0e10cSrcweir};
147cdf0e10cSrcweirModalDialog RID_DLG_NEWLIB
148cdf0e10cSrcweir{
1496bb5a7b1Smseidel	HelpID = "cui:ModalDialog:RID_DLG_NEWLIB" ;
1506bb5a7b1Smseidel	Text [ en-US ] = "Create Library" ;
1516bb5a7b1Smseidel	Size = MAP_APPFONT ( 160, 50 ) ;
1526bb5a7b1Smseidel	Moveable = TRUE ;
1536bb5a7b1Smseidel	Closeable = TRUE ;
1546bb5a7b1Smseidel	OKButton PB_OK
1556bb5a7b1Smseidel	{
1566bb5a7b1Smseidel		Pos = MAP_APPFONT ( 104, 6 ) ;
1576bb5a7b1Smseidel		Size = MAP_APPFONT ( 50, 14 ) ;
1586bb5a7b1Smseidel		TabStop = TRUE ;
1596bb5a7b1Smseidel		DefButton = TRUE ;
1606bb5a7b1Smseidel	};
1616bb5a7b1Smseidel	CancelButton PB_CANCEL
1626bb5a7b1Smseidel	{
1636bb5a7b1Smseidel		Pos = MAP_APPFONT ( 104, 23 ) ;
1646bb5a7b1Smseidel		Size = MAP_APPFONT ( 50, 14 ) ;
1656bb5a7b1Smseidel		TabStop = TRUE ;
1666bb5a7b1Smseidel	};
1676bb5a7b1Smseidel	FixedText FT_NEWLIB
1686bb5a7b1Smseidel	{
1696bb5a7b1Smseidel		Pos = MAP_APPFONT ( 6, 6 ) ;
170*72ce4a31Smseidel		Size = MAP_APPFONT ( 92, 50 ) ;
1716bb5a7b1Smseidel		WordBreak = TRUE ;
1726bb5a7b1Smseidel		Text [ en-US ] = "Enter the name for the new library." ;
1736bb5a7b1Smseidel	};
1746bb5a7b1Smseidel	Edit ED_LIBNAME
1756bb5a7b1Smseidel	{
1766bb5a7b1Smseidel		HelpID = "cui:Edit:RID_DLG_NEWLIB:ED_LIBNAME" ;
1776bb5a7b1Smseidel		Border = TRUE ;
1786bb5a7b1Smseidel		Pos = MAP_APPFONT ( 6, 59 ) ;
1796bb5a7b1Smseidel		Size = MAP_APPFONT ( 92, 12 ) ;
1806bb5a7b1Smseidel		TabStop = TRUE ;
1816bb5a7b1Smseidel	};
1826bb5a7b1Smseidel	String STR_NEWLIB
1836bb5a7b1Smseidel	{
1846bb5a7b1Smseidel		Text [ en-US ] = "Create Library" ;
1856bb5a7b1Smseidel	};
1866bb5a7b1Smseidel	String STR_NEWMACRO
1876bb5a7b1Smseidel	{
1886bb5a7b1Smseidel		Text [ en-US ] = "Create Macro" ;
1896bb5a7b1Smseidel	};
1906bb5a7b1Smseidel	String STR_FT_NEWMACRO
1916bb5a7b1Smseidel	{
1926bb5a7b1Smseidel		Text [ en-US ] = "Enter the name for the new macro." ;
1936bb5a7b1Smseidel	};
1946bb5a7b1Smseidel	String STR_RENAME
1956bb5a7b1Smseidel	{
1966bb5a7b1Smseidel		Text [ en-US ] = "Rename" ;
1976bb5a7b1Smseidel	};
1986bb5a7b1Smseidel	String STR_FT_RENAME
1996bb5a7b1Smseidel	{
2006bb5a7b1Smseidel		Text [ en-US ] = "Enter the new name for the selected object." ;
2016bb5a7b1Smseidel	};
202cdf0e10cSrcweir};
203cdf0e10cSrcweirString RID_SVXSTR_DELQUERY
204cdf0e10cSrcweir{
2056bb5a7b1Smseidel	Text [ en-US ] = "Do you want to delete the following object?" ;
206cdf0e10cSrcweir};
207cdf0e10cSrcweirString RID_SVXSTR_DELQUERY_TITLE
208cdf0e10cSrcweir{
2096bb5a7b1Smseidel	Text [ en-US ] = "Confirm Deletion" ;
210cdf0e10cSrcweir};
211cdf0e10cSrcweirString RID_SVXSTR_DELFAILED
212cdf0e10cSrcweir{
2136bb5a7b1Smseidel	Text [ en-US ] = "The selected object could not be deleted." ;
214cdf0e10cSrcweir};
215cdf0e10cSrcweirString RID_SVXSTR_DELFAILEDPERM
216cdf0e10cSrcweir{
2176bb5a7b1Smseidel	Text [ en-US ] = " You do not have permission to delete this object." ;
218cdf0e10cSrcweir};
219cdf0e10cSrcweirString RID_SVXSTR_DELFAILED_TITLE
220cdf0e10cSrcweir{
2216bb5a7b1Smseidel	Text [ en-US ] = "Error Deleting Object" ;
222cdf0e10cSrcweir};
223cdf0e10cSrcweirString RID_SVXSTR_CREATEFAILED
224cdf0e10cSrcweir{
2256bb5a7b1Smseidel	Text [ en-US ] = "The object could not be created." ;
226cdf0e10cSrcweir};
227cdf0e10cSrcweirString RID_SVXSTR_CREATEFAILEDDUP
228cdf0e10cSrcweir{
2296bb5a7b1Smseidel	Text [ en-US ] = " Object with the same name already exists." ;
230cdf0e10cSrcweir};
231cdf0e10cSrcweirString RID_SVXSTR_CREATEFAILEDPERM
232cdf0e10cSrcweir{
2336bb5a7b1Smseidel	Text [ en-US ] = " You do not have permission to create this object." ;
234cdf0e10cSrcweir};
235cdf0e10cSrcweirString RID_SVXSTR_CREATEFAILED_TITLE
236cdf0e10cSrcweir{
2376bb5a7b1Smseidel	Text [ en-US ] = "Error Creating Object" ;
238cdf0e10cSrcweir};
239cdf0e10cSrcweirString RID_SVXSTR_RENAMEFAILED
240cdf0e10cSrcweir{
2416bb5a7b1Smseidel	Text [ en-US ] = "The object could not be renamed." ;
242cdf0e10cSrcweir};
243cdf0e10cSrcweirString RID_SVXSTR_RENAMEFAILEDPERM
244cdf0e10cSrcweir{
2456bb5a7b1Smseidel	Text [ en-US ] = " You do not have permission to rename this object." ;
246cdf0e10cSrcweir};
247cdf0e10cSrcweirString RID_SVXSTR_RENAMEFAILED_TITLE
248cdf0e10cSrcweir{
2496bb5a7b1Smseidel	Text [ en-US ] = "Error Renaming Object" ;
250cdf0e10cSrcweir};
251cdf0e10cSrcweir
252cdf0e10cSrcweirString RID_SVXSTR_ERROR_TITLE
253cdf0e10cSrcweir{
2546bb5a7b1Smseidel	Text [ en-US ] = "%PRODUCTNAME Error" ;
255cdf0e10cSrcweir};
256cdf0e10cSrcweir
257cdf0e10cSrcweirString RID_SVXSTR_ERROR_LANG_NOT_SUPPORTED
258cdf0e10cSrcweir{
2596bb5a7b1Smseidel	Text [ en-US ] = "The scripting language %LANGUAGENAME is not supported." ;
260cdf0e10cSrcweir};
261cdf0e10cSrcweirString RID_SVXSTR_ERROR_RUNNING
262cdf0e10cSrcweir{
2636bb5a7b1Smseidel	Text [ en-US ] = "An error occurred while running the %LANGUAGENAME script %SCRIPTNAME." ;
264cdf0e10cSrcweir};
265cdf0e10cSrcweir
266cdf0e10cSrcweirString RID_SVXSTR_EXCEPTION_RUNNING
267cdf0e10cSrcweir{
2686bb5a7b1Smseidel	Text [ en-US ] = "An exception occurred while running the %LANGUAGENAME script %SCRIPTNAME." ;
269cdf0e10cSrcweir};
270cdf0e10cSrcweir
271cdf0e10cSrcweirString RID_SVXSTR_ERROR_AT_LINE
272cdf0e10cSrcweir{
2736bb5a7b1Smseidel	Text [ en-US ] = "An error occurred while running the %LANGUAGENAME script %SCRIPTNAME at line: %LINENUMBER." ;
274cdf0e10cSrcweir};
275cdf0e10cSrcweir
276cdf0e10cSrcweirString RID_SVXSTR_EXCEPTION_AT_LINE
277cdf0e10cSrcweir{
2786bb5a7b1Smseidel	Text [ en-US ] = "An exception occurred while running the %LANGUAGENAME script %SCRIPTNAME at line: %LINENUMBER." ;
279cdf0e10cSrcweir};
280cdf0e10cSrcweir
281cdf0e10cSrcweirString RID_SVXSTR_FRAMEWORK_ERROR_RUNNING
282cdf0e10cSrcweir{
2836bb5a7b1Smseidel	Text [ en-US ] = "A Scripting Framework error occurred while running the %LANGUAGENAME script %SCRIPTNAME." ;
284cdf0e10cSrcweir};
285cdf0e10cSrcweir
286cdf0e10cSrcweirString RID_SVXSTR_FRAMEWORK_ERROR_AT_LINE
287cdf0e10cSrcweir{
2886bb5a7b1Smseidel	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{
2936bb5a7b1Smseidel	Text [ en-US ] = "Type:" ;
294cdf0e10cSrcweir};
295cdf0e10cSrcweir
296cdf0e10cSrcweirString RID_SVXSTR_ERROR_MESSAGE_LABEL
297cdf0e10cSrcweir{
2986bb5a7b1Smseidel	Text [ en-US ] = "Message:" ;
299cdf0e10cSrcweir};
3006bb5a7b1Smseidel
3016bb5a7b1Smseidel// ********************************************************************** EOF
302