2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #include "optjava.hrc"
23 // RID_SVXPAGE_OPTIONS_JAVA ----------------------------------------------
25 TabPage RID_SVXPAGE_OPTIONS_JAVA
27 HelpId = HID_OPTIONS_JAVA ;
31 Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
32 Text [ en-US ] = "Java" ;
36 Pos = MAP_APPFONT ( 6 , 3 ) ;
37 Size = MAP_APPFONT ( 248 , 8 ) ;
38 Text [ en-US ] = "Java options" ;
40 CheckBox CB_JAVA_ENABLE
42 HelpID = "cui:CheckBox:RID_SVXPAGE_OPTIONS_JAVA:CB_JAVA_ENABLE";
43 Pos = MAP_APPFONT ( 12, 14 ) ;
44 Size = MAP_APPFONT ( 242 , 10 ) ;
45 Text [ en-US ] = "~Use a Java runtime environment" ;
47 FixedText FT_JAVA_FOUND
49 Pos = MAP_APPFONT ( 21 , 27 ) ;
50 Size = MAP_APPFONT ( 233 , 8 ) ;
51 Text [ en-US ] = "~Java runtime environments (JRE) already installed:" ;
55 Pos = MAP_APPFONT ( 21 , 38 ) ;
56 Size = MAP_APPFONT ( 177 , 60 ) ;
60 FixedText FT_JAVA_PATH
62 Pos = MAP_APPFONT ( 21 , 100 ) ;
63 Size = MAP_APPFONT ( 233 , 8 ) ;
68 HelpID = "cui:PushButton:RID_SVXPAGE_OPTIONS_JAVA:PB_ADD";
69 Pos = MAP_APPFONT ( 204 , 38 ) ;
70 Size = MAP_APPFONT ( 50 , 14 ) ;
71 Text [ en-US ] = "~Add..." ;
73 PushButton PB_PARAMETER
75 HelpID = "cui:PushButton:RID_SVXPAGE_OPTIONS_JAVA:PB_PARAMETER";
76 Pos = MAP_APPFONT ( 204 , 55 ) ;
77 Size = MAP_APPFONT ( 50 , 14 ) ;
78 Text [ en-US ] = "~Parameters..." ;
80 PushButton PB_CLASSPATH
82 HelpID = "cui:PushButton:RID_SVXPAGE_OPTIONS_JAVA:PB_CLASSPATH";
83 Pos = MAP_APPFONT ( 204 , 72 ) ;
84 Size = MAP_APPFONT ( 50 , 14 ) ;
85 Text [ en-US ] = "~Class Path..." ;
87 FixedLine FL_EXPERIMENTAL
89 Pos = MAP_APPFONT ( 6 , 120 ) ;
90 Size = MAP_APPFONT ( 248 , 8 ) ;
91 Text [ en-US ] = "Optional (unstable) options" ;
93 CheckBox CB_EXPERIMENTAL
95 Pos = MAP_APPFONT( 12, 130 );
96 Size = MAP_APPFONT ( 242 , 10 );
97 Text [ en-US ] = "Enable experimental features";
101 Pos = MAP_APPFONT( 12, 140 );
102 Size = MAP_APPFONT ( 242 , 10 );
103 Text [ en-US ] = "Enable macro recording";
105 String STR_INSTALLED_IN
107 Text [ en-US ] = "Location: " ;
109 String STR_ACCESSIBILITY
111 Text [ en-US ] = "with accessibility support" ;
113 String STR_ADDDLGTEXT
115 Text [ en-US ] = "Select a Java Runtime Environment" ;
117 String STR_HEADER_VENDOR
119 Text [ en-US ] = "Vendor" ;
121 String STR_HEADER_VERSION
123 Text [ en-US ] = "Version" ;
125 String STR_HEADER_FEATURES
127 Text [ en-US ] = "Features" ;
131 // RID_SVXDLG_JAVA_PARAMETER ---------------------------------------------
133 ModalDialog RID_SVXDLG_JAVA_PARAMETER
135 HelpId = HID_OPTIONS_JAVA_PARAMETER ;
138 Size = MAP_APPFONT ( 270 , 140 ) ;
139 Text [ en-US ] = "Java Start Parameters" ;
141 FixedText FT_PARAMETER
143 Pos = MAP_APPFONT ( 6 , 3 ) ;
144 Size = MAP_APPFONT ( 202 , 8 ) ;
145 Text [ en-US ] = "Java start ~parameter" ;
149 HelpID = "cui:Edit:RID_SVXDLG_JAVA_PARAMETER:ED_PARAMETER";
150 Pos = MAP_APPFONT ( 6 , 15 ) ;
151 Size = MAP_APPFONT ( 202 , 12 ) ;
156 HelpID = "cui:PushButton:RID_SVXDLG_JAVA_PARAMETER:PB_ASSIGN";
157 Pos = MAP_APPFONT ( 214 , 14 ) ;
158 Size = MAP_APPFONT ( 50 , 14 ) ;
159 Text [ en-US ] = "~Assign" ;
161 FixedText FT_ASSIGNED
163 Pos = MAP_APPFONT ( 6 , 31 ) ;
164 Size = MAP_APPFONT ( 202 , 8 ) ;
165 Text [ en-US ] = "Assig~ned start parameters" ;
169 HelpID = "cui:ListBox:RID_SVXDLG_JAVA_PARAMETER:LB_ASSIGNED";
171 Pos = MAP_APPFONT ( 6 , 42 ) ;
172 Size = MAP_APPFONT ( 202 , 53 ) ;
177 Pos = MAP_APPFONT ( 6 , 98 ) ;
178 Size = MAP_APPFONT ( 202 , 8 ) ;
179 Text [ en-US ] = "For example: -Dmyprop=c:\\program files\\java" ;
183 HelpID = "cui:PushButton:RID_SVXDLG_JAVA_PARAMETER:PB_REMOVE";
184 Pos = MAP_APPFONT ( 214 , 42 ) ;
185 Size = MAP_APPFONT ( 50 , 14 ) ;
186 Text [ en-US ] = "~Remove" ;
190 Pos = MAP_APPFONT ( 3 , 109 ) ;
191 Size = MAP_APPFONT ( 264 , 8 ) ;
193 OKButton PB_PARAMETER_OK
195 Pos = MAP_APPFONT ( 105 , 120 ) ;
196 Size = MAP_APPFONT ( 50 , 14 ) ;
199 CancelButton PB_PARAMETER_ESC
201 Pos = MAP_APPFONT ( 158 , 120 ) ;
202 Size = MAP_APPFONT ( 50 , 14 ) ;
204 HelpButton PB_PARAMETER_HLP
206 Pos = MAP_APPFONT ( 214 , 120 ) ;
207 Size = MAP_APPFONT ( 50 , 14 ) ;
211 // RID_SVXDLG_JAVA_CLASSPATH ---------------------------------------------
213 ModalDialog RID_SVXDLG_JAVA_CLASSPATH
215 HelpId = HID_OPTIONS_JAVA_CLASSPATH ;
218 Size = MAP_APPFONT ( 240 , 120 ) ;
219 Text [ en-US ] = "Class Path" ;
223 Pos = MAP_APPFONT ( 6 , 3 ) ;
224 Size = MAP_APPFONT ( 172 , 8 ) ;
225 Text [ en-US ] = "A~ssigned folders and archives" ;
229 HelpID = "cui:ListBox:RID_SVXDLG_JAVA_CLASSPATH:LB_PATH";
230 Pos = MAP_APPFONT ( 6 , 14 ) ;
231 Size = MAP_APPFONT ( 172 , 72 ) ;
235 PushButton PB_ADDARCHIVE
237 HelpID = "cui:PushButton:RID_SVXDLG_JAVA_CLASSPATH:PB_ADDARCHIVE";
238 Pos = MAP_APPFONT ( 184 , 14 ) ;
239 Size = MAP_APPFONT ( 50 , 14 ) ;
240 Text [ en-US ] = "~Add Archive..." ;
242 PushButton PB_ADDPATH
244 HelpID = "cui:PushButton:RID_SVXDLG_JAVA_CLASSPATH:PB_ADDPATH";
245 Pos = MAP_APPFONT ( 184 , 31 ) ;
246 Size = MAP_APPFONT ( 50 , 14 ) ;
247 Text [ en-US ] = "Add ~Folder" ;
249 PushButton PB_REMOVE_PATH
251 HelpID = "cui:PushButton:RID_SVXDLG_JAVA_CLASSPATH:PB_REMOVE_PATH";
252 Pos = MAP_APPFONT ( 184 , 48 ) ;
253 Size = MAP_APPFONT ( 50 , 14 ) ;
254 Text [ en-US ] = "~Remove" ;
256 FixedLine FL_PATH_BUTTONS
258 Pos = MAP_APPFONT ( 3 , 89 ) ;
259 Size = MAP_APPFONT ( 236 , 8 ) ;
263 Pos = MAP_APPFONT ( 75 , 100 ) ;
264 Size = MAP_APPFONT ( 50 , 14 ) ;
267 CancelButton PB_PATH_ESC
269 Pos = MAP_APPFONT ( 128 , 100 ) ;
270 Size = MAP_APPFONT ( 50 , 14 ) ;
272 HelpButton PB_PATH_HLP
274 Pos = MAP_APPFONT ( 186 , 100 ) ;
275 Size = MAP_APPFONT ( 50 , 14 ) ;
279 ErrorBox RID_SVXERR_JRE_NOT_RECOGNIZED
282 DEFBUTTON = WB_DEF_OK ;
283 Message [ en-US ] = "The folder you selected does not contain a Java runtime environment.\nPlease select a different folder." ;
286 ErrorBox RID_SVXERR_JRE_FAILED_VERSION
289 DEFBUTTON = WB_DEF_OK ;
290 Message [ en-US ] = "The Java runtime environment you selected is not the required version.\nPlease select a different folder." ;
293 WarningBox RID_SVX_MSGBOX_OPTIONS_RESTART
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." ;