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