287 lines
7.8 KiB
Text
287 lines
7.8 KiB
Text
/*************************************************************************
|
|
*
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
*
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
*
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
*
|
|
* This file is part of OpenOffice.org.
|
|
*
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
* only, as published by the Free Software Foundation.
|
|
*
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License version 3 for more details
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
* <http://www.openoffice.org/license.html>
|
|
* for a copy of the LGPLv3 License.
|
|
*
|
|
************************************************************************/
|
|
|
|
// include --------------------------------------------------------------
|
|
|
|
#include "optjava.hrc"
|
|
#include <cuires.hrc>
|
|
#include "helpid.hrc"
|
|
|
|
// RID_SVXPAGE_OPTIONS_JAVA ----------------------------------------------
|
|
|
|
TabPage RID_SVXPAGE_OPTIONS_JAVA
|
|
{
|
|
HelpId = HID_OPTIONS_JAVA ;
|
|
OutputSize = TRUE ;
|
|
SVLook = TRUE ;
|
|
Hide = TRUE ;
|
|
Size = MAP_APPFONT ( 260 , 185 ) ;
|
|
Text [ en-US ] = "Java" ;
|
|
|
|
FixedLine FL_JAVA
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 3 ) ;
|
|
Size = MAP_APPFONT ( 248 , 8 ) ;
|
|
Text [ en-US ] = "Java options" ;
|
|
};
|
|
CheckBox CB_JAVA_ENABLE
|
|
{
|
|
Pos = MAP_APPFONT ( 12, 14 ) ;
|
|
Size = MAP_APPFONT ( 242 , 10 ) ;
|
|
Text [ en-US ] = "~Use a Java runtime environment" ;
|
|
};
|
|
FixedText FT_JAVA_FOUND
|
|
{
|
|
Pos = MAP_APPFONT ( 21 , 27 ) ;
|
|
Size = MAP_APPFONT ( 233 , 8 ) ;
|
|
Text [ en-US ] = "~Java runtime environments (JRE) already installed:" ;
|
|
};
|
|
Control LB_JAVA
|
|
{
|
|
Pos = MAP_APPFONT ( 21 , 38 ) ;
|
|
Size = MAP_APPFONT ( 177 , 130 ) ;
|
|
Border = TRUE ;
|
|
TabStop = TRUE ;
|
|
};
|
|
FixedText FT_JAVA_PATH
|
|
{
|
|
Pos = MAP_APPFONT ( 21 , 171 ) ;
|
|
Size = MAP_APPFONT ( 233 , 8 ) ;
|
|
NoLabel = TRUE ;
|
|
};
|
|
PushButton PB_ADD
|
|
{
|
|
Pos = MAP_APPFONT ( 204 , 38 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
Text [ en-US ] = "~Add..." ;
|
|
};
|
|
PushButton PB_PARAMETER
|
|
{
|
|
Pos = MAP_APPFONT ( 204 , 55 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
Text [ en-US ] = "~Parameters..." ;
|
|
};
|
|
PushButton PB_CLASSPATH
|
|
{
|
|
Pos = MAP_APPFONT ( 204 , 72 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
Text [ en-US ] = "~Class Path..." ;
|
|
};
|
|
String STR_INSTALLED_IN
|
|
{
|
|
Text [ en-US ] = "Location: " ;
|
|
};
|
|
String STR_ACCESSIBILITY
|
|
{
|
|
Text [ en-US ] = "with accessibility support" ;
|
|
};
|
|
String STR_ADDDLGTEXT
|
|
{
|
|
Text [ en-US ] = "Select a Java Runtime Environment" ;
|
|
};
|
|
String STR_HEADER_VENDOR
|
|
{
|
|
Text [ en-US ] = "Vendor" ;
|
|
};
|
|
String STR_HEADER_VERSION
|
|
{
|
|
Text [ en-US ] = "Version" ;
|
|
};
|
|
String STR_HEADER_FEATURES
|
|
{
|
|
Text [ en-US ] = "Features" ;
|
|
};
|
|
};
|
|
|
|
// RID_SVXDLG_JAVA_PARAMETER ---------------------------------------------
|
|
|
|
ModalDialog RID_SVXDLG_JAVA_PARAMETER
|
|
{
|
|
HelpId = HID_OPTIONS_JAVA_PARAMETER ;
|
|
OutputSize = TRUE ;
|
|
SVLook = TRUE ;
|
|
Size = MAP_APPFONT ( 270 , 140 ) ;
|
|
Text [ en-US ] = "Java Start Parameters" ;
|
|
Moveable = TRUE ;
|
|
FixedText FT_PARAMETER
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 3 ) ;
|
|
Size = MAP_APPFONT ( 202 , 8 ) ;
|
|
Text [ en-US ] = "Java start ~parameter" ;
|
|
};
|
|
Edit ED_PARAMETER
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 15 ) ;
|
|
Size = MAP_APPFONT ( 202 , 12 ) ;
|
|
Border = TRUE ;
|
|
};
|
|
PushButton PB_ASSIGN
|
|
{
|
|
Pos = MAP_APPFONT ( 214 , 14 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
Text [ en-US ] = "~Assign" ;
|
|
};
|
|
FixedText FT_ASSIGNED
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 31 ) ;
|
|
Size = MAP_APPFONT ( 202 , 8 ) ;
|
|
Text [ en-US ] = "Assig~ned start parameters" ;
|
|
};
|
|
ListBox LB_ASSIGNED
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 6 , 42 ) ;
|
|
Size = MAP_APPFONT ( 202 , 53 ) ;
|
|
AutoHScroll = TRUE ;
|
|
};
|
|
FixedText FT_EXAMPLE
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 98 ) ;
|
|
Size = MAP_APPFONT ( 202 , 8 ) ;
|
|
Text [ en-US ] = "For example: -Dmyprop=c:\\program files\\java" ;
|
|
};
|
|
PushButton PB_REMOVE
|
|
{
|
|
Pos = MAP_APPFONT ( 214 , 42 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
Text [ en-US ] = "~Remove" ;
|
|
};
|
|
FixedLine FL_BUTTONS
|
|
{
|
|
Pos = MAP_APPFONT ( 3 , 109 ) ;
|
|
Size = MAP_APPFONT ( 264 , 8 ) ;
|
|
};
|
|
OKButton PB_PARAMETER_OK
|
|
{
|
|
Pos = MAP_APPFONT ( 105 , 120 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
DefButton = TRUE ;
|
|
};
|
|
CancelButton PB_PARAMETER_ESC
|
|
{
|
|
Pos = MAP_APPFONT ( 158 , 120 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
};
|
|
HelpButton PB_PARAMETER_HLP
|
|
{
|
|
Pos = MAP_APPFONT ( 214 , 120 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
};
|
|
};
|
|
|
|
// RID_SVXDLG_JAVA_CLASSPATH ---------------------------------------------
|
|
|
|
ModalDialog RID_SVXDLG_JAVA_CLASSPATH
|
|
{
|
|
HelpId = HID_OPTIONS_JAVA_CLASSPATH ;
|
|
OutputSize = TRUE ;
|
|
SVLook = TRUE ;
|
|
Size = MAP_APPFONT ( 240 , 120 ) ;
|
|
Text [ en-US ] = "Class Path" ;
|
|
Moveable = TRUE ;
|
|
FixedText FT_PATH
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 3 ) ;
|
|
Size = MAP_APPFONT ( 172 , 8 ) ;
|
|
Text [ en-US ] = "A~ssigned folders and archives" ;
|
|
};
|
|
ListBox LB_PATH
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 14 ) ;
|
|
Size = MAP_APPFONT ( 172 , 72 ) ;
|
|
Border = TRUE ;
|
|
AutoHScroll = TRUE ;
|
|
};
|
|
PushButton PB_ADDARCHIVE
|
|
{
|
|
Pos = MAP_APPFONT ( 184 , 14 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
Text [ en-US ] = "~Add Archive..." ;
|
|
};
|
|
PushButton PB_ADDPATH
|
|
{
|
|
Pos = MAP_APPFONT ( 184 , 31 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
Text [ en-US ] = "Add ~Folder" ;
|
|
};
|
|
PushButton PB_REMOVE_PATH
|
|
{
|
|
Pos = MAP_APPFONT ( 184 , 48 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
Text [ en-US ] = "~Remove" ;
|
|
};
|
|
FixedLine FL_PATH_BUTTONS
|
|
{
|
|
Pos = MAP_APPFONT ( 3 , 89 ) ;
|
|
Size = MAP_APPFONT ( 236 , 8 ) ;
|
|
};
|
|
OKButton PB_PATH_OK
|
|
{
|
|
Pos = MAP_APPFONT ( 75 , 100 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
DefButton = TRUE ;
|
|
};
|
|
CancelButton PB_PATH_ESC
|
|
{
|
|
Pos = MAP_APPFONT ( 128 , 100 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
};
|
|
HelpButton PB_PATH_HLP
|
|
{
|
|
Pos = MAP_APPFONT ( 186 , 100 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
};
|
|
};
|
|
|
|
ErrorBox RID_SVXERR_JRE_NOT_RECOGNIZED
|
|
{
|
|
BUTTONS = WB_OK ;
|
|
DEFBUTTON = WB_DEF_OK ;
|
|
Message [ en-US ] = "The folder you selected does not contain a Java runtime environment.\nPlease select a different folder." ;
|
|
};
|
|
|
|
ErrorBox RID_SVXERR_JRE_FAILED_VERSION
|
|
{
|
|
BUTTONS = WB_OK ;
|
|
DEFBUTTON = WB_DEF_OK ;
|
|
Message [ en-US ] = "The Java runtime environment you selected is not the required version.\nPlease select a different folder." ;
|
|
};
|
|
|
|
WarningBox RID_SVX_MSGBOX_JAVA_RESTART
|
|
{
|
|
BUTTONS = WB_OK ;
|
|
DEFBUTTON = WB_DEF_OK ;
|
|
Message [ en-US ] = "For the selected Java runtime environment to work properly, %PRODUCTNAME must be restarted.\nPlease restart %PRODUCTNAME now." ;
|
|
};
|
|
|
|
WarningBox RID_SVX_MSGBOX_JAVA_RESTART2
|
|
{
|
|
BUTTONS = WB_OK ;
|
|
DEFBUTTON = WB_DEF_OK ;
|
|
Message [ en-US ] = "You have to restart %PRODUCTNAME so the new or modified values can take effect.\nPlease restart %PRODUCTNAME now." ;
|
|
};
|
|
|