1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: optjava.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // include --------------------------------------------------------------
33 #include "optjava.hrc"
34 #include <svx/dialogs.hrc>
37 // RID_SVXPAGE_OPTIONS_JAVA ----------------------------------------------
39 TabPage RID_SVXPAGE_OPTIONS_JAVA
41 HelpId = HID_OPTIONS_JAVA ;
45 Size = MAP_APPFONT ( 260 , 185 ) ;
46 Text [ en-US ] = "Java" ;
50 Pos = MAP_APPFONT ( 6 , 3 ) ;
51 Size = MAP_APPFONT ( 248 , 8 ) ;
52 Text [ en-US ] = "Java options" ;
54 CheckBox CB_JAVA_ENABLE
56 Pos = MAP_APPFONT ( 12, 14 ) ;
57 Size = MAP_APPFONT ( 242 , 10 ) ;
58 Text [ en-US ] = "~Use a Java runtime environment" ;
60 FixedText FT_JAVA_FOUND
62 Pos = MAP_APPFONT ( 21 , 27 ) ;
63 Size = MAP_APPFONT ( 233 , 8 ) ;
64 Text [ en-US ] = "~Java runtime environments (JRE) already installed:" ;
68 Pos = MAP_APPFONT ( 21 , 38 ) ;
69 Size = MAP_APPFONT ( 177 , 130 ) ;
73 FixedText FT_JAVA_PATH
75 Pos = MAP_APPFONT ( 21 , 171 ) ;
76 Size = MAP_APPFONT ( 233 , 8 ) ;
81 Pos = MAP_APPFONT ( 204 , 38 ) ;
82 Size = MAP_APPFONT ( 50 , 14 ) ;
83 Text [ en-US ] = "~Add..." ;
85 PushButton PB_PARAMETER
87 Pos = MAP_APPFONT ( 204 , 55 ) ;
88 Size = MAP_APPFONT ( 50 , 14 ) ;
89 Text [ en-US ] = "~Parameters..." ;
91 PushButton PB_CLASSPATH
93 Pos = MAP_APPFONT ( 204 , 72 ) ;
94 Size = MAP_APPFONT ( 50 , 14 ) ;
95 Text [ en-US ] = "~Class Path..." ;
97 String STR_INSTALLED_IN
99 Text [ en-US ] = "Location: " ;
101 String STR_ACCESSIBILITY
103 Text [ en-US ] = "with accessibility support" ;
105 String STR_ADDDLGTEXT
107 Text [ en-US ] = "Select a Java Runtime Environment" ;
109 String STR_HEADER_VENDOR
111 Text [ en-US ] = "Vendor" ;
113 String STR_HEADER_VERSION
115 Text [ en-US ] = "Version" ;
117 String STR_HEADER_FEATURES
119 Text [ en-US ] = "Features" ;
123 // RID_SVXDLG_JAVA_PARAMETER ---------------------------------------------
125 ModalDialog RID_SVXDLG_JAVA_PARAMETER
127 HelpId = HID_OPTIONS_JAVA_PARAMETER ;
130 Size = MAP_APPFONT ( 270 , 140 ) ;
131 Text [ en-US ] = "Java Start Parameters" ;
133 FixedText FT_PARAMETER
135 Pos = MAP_APPFONT ( 6 , 3 ) ;
136 Size = MAP_APPFONT ( 202 , 8 ) ;
137 Text [ en-US ] = "Java start ~parameter" ;
141 Pos = MAP_APPFONT ( 6 , 15 ) ;
142 Size = MAP_APPFONT ( 202 , 12 ) ;
147 Pos = MAP_APPFONT ( 214 , 14 ) ;
148 Size = MAP_APPFONT ( 50 , 14 ) ;
149 Text [ en-US ] = "~Assign" ;
151 FixedText FT_ASSIGNED
153 Pos = MAP_APPFONT ( 6 , 31 ) ;
154 Size = MAP_APPFONT ( 202 , 8 ) ;
155 Text [ en-US ] = "Assig~ned start parameters" ;
160 Pos = MAP_APPFONT ( 6 , 42 ) ;
161 Size = MAP_APPFONT ( 202 , 53 ) ;
166 Pos = MAP_APPFONT ( 6 , 98 ) ;
167 Size = MAP_APPFONT ( 202 , 8 ) ;
168 Text [ en-US ] = "For example: -Dmyprop=c:\\program files\\java" ;
172 Pos = MAP_APPFONT ( 214 , 42 ) ;
173 Size = MAP_APPFONT ( 50 , 14 ) ;
174 Text [ en-US ] = "~Remove" ;
178 Pos = MAP_APPFONT ( 3 , 109 ) ;
179 Size = MAP_APPFONT ( 264 , 8 ) ;
181 OKButton PB_PARAMETER_OK
183 Pos = MAP_APPFONT ( 105 , 120 ) ;
184 Size = MAP_APPFONT ( 50 , 14 ) ;
187 CancelButton PB_PARAMETER_ESC
189 Pos = MAP_APPFONT ( 158 , 120 ) ;
190 Size = MAP_APPFONT ( 50 , 14 ) ;
192 HelpButton PB_PARAMETER_HLP
194 Pos = MAP_APPFONT ( 214 , 120 ) ;
195 Size = MAP_APPFONT ( 50 , 14 ) ;
199 // RID_SVXDLG_JAVA_CLASSPATH ---------------------------------------------
201 ModalDialog RID_SVXDLG_JAVA_CLASSPATH
203 HelpId = HID_OPTIONS_JAVA_CLASSPATH ;
206 Size = MAP_APPFONT ( 240 , 120 ) ;
207 Text [ en-US ] = "Class Path" ;
211 Pos = MAP_APPFONT ( 6 , 3 ) ;
212 Size = MAP_APPFONT ( 172 , 8 ) ;
213 Text [ en-US ] = "A~ssigned folders and archives" ;
217 Pos = MAP_APPFONT ( 6 , 14 ) ;
218 Size = MAP_APPFONT ( 172 , 72 ) ;
222 PushButton PB_ADDARCHIVE
224 Pos = MAP_APPFONT ( 184 , 14 ) ;
225 Size = MAP_APPFONT ( 50 , 14 ) ;
226 Text [ en-US ] = "~Add Archive..." ;
228 PushButton PB_ADDPATH
230 Pos = MAP_APPFONT ( 184 , 31 ) ;
231 Size = MAP_APPFONT ( 50 , 14 ) ;
232 Text [ en-US ] = "Add ~Folder" ;
234 PushButton PB_REMOVE_PATH
236 Pos = MAP_APPFONT ( 184 , 48 ) ;
237 Size = MAP_APPFONT ( 50 , 14 ) ;
238 Text [ en-US ] = "~Remove" ;
240 FixedLine FL_PATH_BUTTONS
242 Pos = MAP_APPFONT ( 3 , 89 ) ;
243 Size = MAP_APPFONT ( 236 , 8 ) ;
247 Pos = MAP_APPFONT ( 75 , 100 ) ;
248 Size = MAP_APPFONT ( 50 , 14 ) ;
251 CancelButton PB_PATH_ESC
253 Pos = MAP_APPFONT ( 128 , 100 ) ;
254 Size = MAP_APPFONT ( 50 , 14 ) ;
256 HelpButton PB_PATH_HLP
258 Pos = MAP_APPFONT ( 186 , 100 ) ;
259 Size = MAP_APPFONT ( 50 , 14 ) ;
263 ErrorBox RID_SVXERR_JRE_NOT_RECOGNIZED
266 DEFBUTTON = WB_DEF_OK ;
267 Message [ en-US ] = "The folder you selected does not contain a Java runtime environment.\nPlease select a different folder." ;
270 ErrorBox RID_SVXERR_JRE_FAILED_VERSION
273 DEFBUTTON = WB_DEF_OK ;
274 Message [ en-US ] = "The Java runtime environment you selected is not the required version.\nPlease select a different folder." ;
277 WarningBox RID_SVX_MSGBOX_JAVA_RESTART
280 DEFBUTTON = WB_DEF_OK ;
281 Message [ en-US ] = "For the selected Java runtime environment to work properly, %PRODUCTNAME must be restarted.\nPlease restart %PRODUCTNAME now." ;
284 WarningBox RID_SVX_MSGBOX_JAVA_RESTART2
287 DEFBUTTON = WB_DEF_OK ;
288 Message [ en-US ] = "You have to restart %PRODUCTNAME so the new or modified values can take effect.\nPlease restart %PRODUCTNAME now." ;