1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 // include --------------------------------------------------------------
30 #include "optjava.hrc"
34 // RID_SVXPAGE_OPTIONS_JAVA ----------------------------------------------
36 TabPage RID_SVXPAGE_OPTIONS_JAVA
38 HelpId = HID_OPTIONS_JAVA ;
42 Size = MAP_APPFONT ( 260 , 185 ) ;
43 Text [ en-US ] = "Java" ;
47 Pos = MAP_APPFONT ( 6 , 3 ) ;
48 Size = MAP_APPFONT ( 248 , 8 ) ;
49 Text [ en-US ] = "Java options" ;
51 CheckBox CB_JAVA_ENABLE
53 HelpID = "cui:CheckBox:RID_SVXPAGE_OPTIONS_JAVA:CB_JAVA_ENABLE";
54 Pos = MAP_APPFONT ( 12, 14 ) ;
55 Size = MAP_APPFONT ( 242 , 10 ) ;
56 Text [ en-US ] = "~Use a Java runtime environment" ;
58 FixedText FT_JAVA_FOUND
60 Pos = MAP_APPFONT ( 21 , 27 ) ;
61 Size = MAP_APPFONT ( 233 , 8 ) ;
62 Text [ en-US ] = "~Java runtime environments (JRE) already installed:" ;
66 Pos = MAP_APPFONT ( 21 , 38 ) ;
67 Size = MAP_APPFONT ( 177 , 130 ) ;
71 FixedText FT_JAVA_PATH
73 Pos = MAP_APPFONT ( 21 , 171 ) ;
74 Size = MAP_APPFONT ( 233 , 8 ) ;
79 HelpID = "cui:PushButton:RID_SVXPAGE_OPTIONS_JAVA:PB_ADD";
80 Pos = MAP_APPFONT ( 204 , 38 ) ;
81 Size = MAP_APPFONT ( 50 , 14 ) ;
82 Text [ en-US ] = "~Add..." ;
84 PushButton PB_PARAMETER
86 HelpID = "cui:PushButton:RID_SVXPAGE_OPTIONS_JAVA:PB_PARAMETER";
87 Pos = MAP_APPFONT ( 204 , 55 ) ;
88 Size = MAP_APPFONT ( 50 , 14 ) ;
89 Text [ en-US ] = "~Parameters..." ;
91 PushButton PB_CLASSPATH
93 HelpID = "cui:PushButton:RID_SVXPAGE_OPTIONS_JAVA:PB_CLASSPATH";
94 Pos = MAP_APPFONT ( 204 , 72 ) ;
95 Size = MAP_APPFONT ( 50 , 14 ) ;
96 Text [ en-US ] = "~Class Path..." ;
98 String STR_INSTALLED_IN
100 Text [ en-US ] = "Location: " ;
102 String STR_ACCESSIBILITY
104 Text [ en-US ] = "with accessibility support" ;
106 String STR_ADDDLGTEXT
108 Text [ en-US ] = "Select a Java Runtime Environment" ;
110 String STR_HEADER_VENDOR
112 Text [ en-US ] = "Vendor" ;
114 String STR_HEADER_VERSION
116 Text [ en-US ] = "Version" ;
118 String STR_HEADER_FEATURES
120 Text [ en-US ] = "Features" ;
124 // RID_SVXDLG_JAVA_PARAMETER ---------------------------------------------
126 ModalDialog RID_SVXDLG_JAVA_PARAMETER
128 HelpId = HID_OPTIONS_JAVA_PARAMETER ;
131 Size = MAP_APPFONT ( 270 , 140 ) ;
132 Text [ en-US ] = "Java Start Parameters" ;
134 FixedText FT_PARAMETER
136 Pos = MAP_APPFONT ( 6 , 3 ) ;
137 Size = MAP_APPFONT ( 202 , 8 ) ;
138 Text [ en-US ] = "Java start ~parameter" ;
142 HelpID = "cui:Edit:RID_SVXDLG_JAVA_PARAMETER:ED_PARAMETER";
143 Pos = MAP_APPFONT ( 6 , 15 ) ;
144 Size = MAP_APPFONT ( 202 , 12 ) ;
149 HelpID = "cui:PushButton:RID_SVXDLG_JAVA_PARAMETER:PB_ASSIGN";
150 Pos = MAP_APPFONT ( 214 , 14 ) ;
151 Size = MAP_APPFONT ( 50 , 14 ) ;
152 Text [ en-US ] = "~Assign" ;
154 FixedText FT_ASSIGNED
156 Pos = MAP_APPFONT ( 6 , 31 ) ;
157 Size = MAP_APPFONT ( 202 , 8 ) ;
158 Text [ en-US ] = "Assig~ned start parameters" ;
162 HelpID = "cui:ListBox:RID_SVXDLG_JAVA_PARAMETER:LB_ASSIGNED";
164 Pos = MAP_APPFONT ( 6 , 42 ) ;
165 Size = MAP_APPFONT ( 202 , 53 ) ;
170 Pos = MAP_APPFONT ( 6 , 98 ) ;
171 Size = MAP_APPFONT ( 202 , 8 ) ;
172 Text [ en-US ] = "For example: -Dmyprop=c:\\program files\\java" ;
176 HelpID = "cui:PushButton:RID_SVXDLG_JAVA_PARAMETER:PB_REMOVE";
177 Pos = MAP_APPFONT ( 214 , 42 ) ;
178 Size = MAP_APPFONT ( 50 , 14 ) ;
179 Text [ en-US ] = "~Remove" ;
183 Pos = MAP_APPFONT ( 3 , 109 ) ;
184 Size = MAP_APPFONT ( 264 , 8 ) ;
186 OKButton PB_PARAMETER_OK
188 Pos = MAP_APPFONT ( 105 , 120 ) ;
189 Size = MAP_APPFONT ( 50 , 14 ) ;
192 CancelButton PB_PARAMETER_ESC
194 Pos = MAP_APPFONT ( 158 , 120 ) ;
195 Size = MAP_APPFONT ( 50 , 14 ) ;
197 HelpButton PB_PARAMETER_HLP
199 Pos = MAP_APPFONT ( 214 , 120 ) ;
200 Size = MAP_APPFONT ( 50 , 14 ) ;
204 // RID_SVXDLG_JAVA_CLASSPATH ---------------------------------------------
206 ModalDialog RID_SVXDLG_JAVA_CLASSPATH
208 HelpId = HID_OPTIONS_JAVA_CLASSPATH ;
211 Size = MAP_APPFONT ( 240 , 120 ) ;
212 Text [ en-US ] = "Class Path" ;
216 Pos = MAP_APPFONT ( 6 , 3 ) ;
217 Size = MAP_APPFONT ( 172 , 8 ) ;
218 Text [ en-US ] = "A~ssigned folders and archives" ;
222 HelpID = "cui:ListBox:RID_SVXDLG_JAVA_CLASSPATH:LB_PATH";
223 Pos = MAP_APPFONT ( 6 , 14 ) ;
224 Size = MAP_APPFONT ( 172 , 72 ) ;
228 PushButton PB_ADDARCHIVE
230 HelpID = "cui:PushButton:RID_SVXDLG_JAVA_CLASSPATH:PB_ADDARCHIVE";
231 Pos = MAP_APPFONT ( 184 , 14 ) ;
232 Size = MAP_APPFONT ( 50 , 14 ) ;
233 Text [ en-US ] = "~Add Archive..." ;
235 PushButton PB_ADDPATH
237 HelpID = "cui:PushButton:RID_SVXDLG_JAVA_CLASSPATH:PB_ADDPATH";
238 Pos = MAP_APPFONT ( 184 , 31 ) ;
239 Size = MAP_APPFONT ( 50 , 14 ) ;
240 Text [ en-US ] = "Add ~Folder" ;
242 PushButton PB_REMOVE_PATH
244 HelpID = "cui:PushButton:RID_SVXDLG_JAVA_CLASSPATH:PB_REMOVE_PATH";
245 Pos = MAP_APPFONT ( 184 , 48 ) ;
246 Size = MAP_APPFONT ( 50 , 14 ) ;
247 Text [ en-US ] = "~Remove" ;
249 FixedLine FL_PATH_BUTTONS
251 Pos = MAP_APPFONT ( 3 , 89 ) ;
252 Size = MAP_APPFONT ( 236 , 8 ) ;
256 Pos = MAP_APPFONT ( 75 , 100 ) ;
257 Size = MAP_APPFONT ( 50 , 14 ) ;
260 CancelButton PB_PATH_ESC
262 Pos = MAP_APPFONT ( 128 , 100 ) ;
263 Size = MAP_APPFONT ( 50 , 14 ) ;
265 HelpButton PB_PATH_HLP
267 Pos = MAP_APPFONT ( 186 , 100 ) ;
268 Size = MAP_APPFONT ( 50 , 14 ) ;
272 ErrorBox RID_SVXERR_JRE_NOT_RECOGNIZED
275 DEFBUTTON = WB_DEF_OK ;
276 Message [ en-US ] = "The folder you selected does not contain a Java runtime environment.\nPlease select a different folder." ;
279 ErrorBox RID_SVXERR_JRE_FAILED_VERSION
282 DEFBUTTON = WB_DEF_OK ;
283 Message [ en-US ] = "The Java runtime environment you selected is not the required version.\nPlease select a different folder." ;
286 WarningBox RID_SVX_MSGBOX_JAVA_RESTART
289 DEFBUTTON = WB_DEF_OK ;
290 Message [ en-US ] = "For the selected Java runtime environment to work properly, %PRODUCTNAME must be restarted.\nPlease restart %PRODUCTNAME now." ;
293 WarningBox RID_SVX_MSGBOX_JAVA_RESTART2
296 DEFBUTTON = WB_DEF_OK ;
297 Message [ en-US ] = "You have to restart %PRODUCTNAME so the new or modified values can take effect.\nPlease restart %PRODUCTNAME now." ;