xref: /aoo41x/main/cui/source/options/optjava.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
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.
14 *
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).
20 *
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.
25 *
26 ************************************************************************/
27
28 // include --------------------------------------------------------------
29
30#include "optjava.hrc"
31#include <cuires.hrc>
32#include "helpid.hrc"
33
34// RID_SVXPAGE_OPTIONS_JAVA ----------------------------------------------
35
36TabPage RID_SVXPAGE_OPTIONS_JAVA
37{
38	HelpId = HID_OPTIONS_JAVA ;
39	OutputSize = TRUE ;
40	SVLook = TRUE ;
41	Hide = TRUE ;
42	Size = MAP_APPFONT ( 260 , 185 ) ;
43	Text [ en-US ] = "Java" ;
44
45	FixedLine FL_JAVA
46	{
47		Pos = MAP_APPFONT ( 6 , 3 ) ;
48		Size = MAP_APPFONT ( 248 , 8 ) ;
49		Text [ en-US ] = "Java options" ;
50	};
51    CheckBox CB_JAVA_ENABLE
52    {
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" ;
57	};
58	FixedText FT_JAVA_FOUND
59	{
60		Pos = MAP_APPFONT ( 21 , 27 ) ;
61		Size = MAP_APPFONT ( 233 , 8 ) ;
62		Text [ en-US ] = "~Java runtime environments (JRE) already installed:" ;
63	};
64	Control LB_JAVA
65	{
66		Pos = MAP_APPFONT ( 21 , 38 ) ;
67		Size = MAP_APPFONT ( 177 , 130 ) ;
68		Border = TRUE ;
69		TabStop = TRUE ;
70	};
71	FixedText FT_JAVA_PATH
72	{
73		Pos = MAP_APPFONT ( 21 , 171 ) ;
74		Size = MAP_APPFONT ( 233 , 8 ) ;
75		NoLabel = TRUE ;
76	};
77	PushButton PB_ADD
78	{
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..." ;
83	};
84	PushButton PB_PARAMETER
85	{
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..." ;
90	};
91	PushButton PB_CLASSPATH
92	{
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..." ;
97	};
98	String STR_INSTALLED_IN
99	{
100		Text [ en-US ] = "Location: " ;
101	};
102	String STR_ACCESSIBILITY
103	{
104		Text [ en-US ] = "with accessibility support" ;
105	};
106	String STR_ADDDLGTEXT
107	{
108		Text [ en-US ] = "Select a Java Runtime Environment" ;
109	};
110	String STR_HEADER_VENDOR
111	{
112		Text [ en-US ] = "Vendor" ;
113	};
114	String STR_HEADER_VERSION
115	{
116		Text [ en-US ] = "Version" ;
117	};
118	String STR_HEADER_FEATURES
119	{
120		Text [ en-US ] = "Features" ;
121	};
122};
123
124// RID_SVXDLG_JAVA_PARAMETER ---------------------------------------------
125
126ModalDialog RID_SVXDLG_JAVA_PARAMETER
127{
128	HelpId = HID_OPTIONS_JAVA_PARAMETER ;
129	OutputSize = TRUE ;
130	SVLook = TRUE ;
131    Size = MAP_APPFONT ( 270 , 140 ) ;
132	Text [ en-US ] = "Java Start Parameters" ;
133	Moveable = TRUE ;
134	FixedText FT_PARAMETER
135	{
136		Pos = MAP_APPFONT ( 6 , 3 ) ;
137		Size = MAP_APPFONT ( 202 , 8 ) ;
138		Text [ en-US ] = "Java start ~parameter" ;
139	};
140	Edit ED_PARAMETER
141	{
142	    HelpID = "cui:Edit:RID_SVXDLG_JAVA_PARAMETER:ED_PARAMETER";
143		Pos = MAP_APPFONT ( 6 , 15 ) ;
144		Size = MAP_APPFONT ( 202 , 12 ) ;
145		Border = TRUE ;
146	};
147	PushButton PB_ASSIGN
148	{
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" ;
153	};
154	FixedText FT_ASSIGNED
155	{
156		Pos = MAP_APPFONT ( 6 , 31 ) ;
157		Size = MAP_APPFONT ( 202 , 8 ) ;
158		Text [ en-US ] = "Assig~ned start parameters" ;
159	};
160	ListBox LB_ASSIGNED
161	{
162	    HelpID = "cui:ListBox:RID_SVXDLG_JAVA_PARAMETER:LB_ASSIGNED";
163		Border = TRUE ;
164        Pos = MAP_APPFONT ( 6 , 42 ) ;
165        Size = MAP_APPFONT ( 202 , 53 ) ;
166		AutoHScroll = TRUE ;
167	};
168	FixedText FT_EXAMPLE
169	{
170		Pos = MAP_APPFONT ( 6 , 98 ) ;
171		Size = MAP_APPFONT ( 202 , 8 ) ;
172		Text [ en-US ] = "For example: -Dmyprop=c:\\program files\\java" ;
173	};
174	PushButton PB_REMOVE
175	{
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" ;
180	};
181	FixedLine FL_BUTTONS
182	{
183		Pos = MAP_APPFONT ( 3 , 109 ) ;
184		Size = MAP_APPFONT ( 264 , 8 ) ;
185	};
186	OKButton PB_PARAMETER_OK
187	{
188		Pos = MAP_APPFONT ( 105 , 120 ) ;
189		Size = MAP_APPFONT ( 50 , 14 ) ;
190		DefButton = TRUE ;
191	};
192	CancelButton PB_PARAMETER_ESC
193	{
194		Pos = MAP_APPFONT ( 158 , 120 ) ;
195		Size = MAP_APPFONT ( 50 , 14 ) ;
196	};
197	HelpButton PB_PARAMETER_HLP
198	{
199		Pos = MAP_APPFONT ( 214 , 120 ) ;
200		Size = MAP_APPFONT ( 50 , 14 ) ;
201	};
202};
203
204// RID_SVXDLG_JAVA_CLASSPATH ---------------------------------------------
205
206ModalDialog RID_SVXDLG_JAVA_CLASSPATH
207{
208	HelpId = HID_OPTIONS_JAVA_CLASSPATH ;
209	OutputSize = TRUE ;
210	SVLook = TRUE ;
211    Size = MAP_APPFONT ( 240 , 120 ) ;
212	Text [ en-US ] = "Class Path" ;
213	Moveable = TRUE ;
214	FixedText FT_PATH
215	{
216		Pos = MAP_APPFONT ( 6 , 3 ) ;
217		Size = MAP_APPFONT ( 172 , 8 ) ;
218		Text [ en-US ] = "A~ssigned folders and archives" ;
219	};
220	ListBox LB_PATH
221	{
222	    HelpID = "cui:ListBox:RID_SVXDLG_JAVA_CLASSPATH:LB_PATH";
223		Pos = MAP_APPFONT ( 6 , 14 ) ;
224		Size = MAP_APPFONT ( 172 , 72 ) ;
225		Border = TRUE ;
226		AutoHScroll = TRUE ;
227	};
228	PushButton PB_ADDARCHIVE
229	{
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..." ;
234	};
235	PushButton PB_ADDPATH
236	{
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" ;
241	};
242	PushButton PB_REMOVE_PATH
243	{
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" ;
248	};
249	FixedLine FL_PATH_BUTTONS
250	{
251		Pos = MAP_APPFONT ( 3 , 89 ) ;
252		Size = MAP_APPFONT ( 236 , 8 ) ;
253	};
254	OKButton PB_PATH_OK
255	{
256		Pos = MAP_APPFONT ( 75 , 100 ) ;
257		Size = MAP_APPFONT ( 50 , 14 ) ;
258		DefButton = TRUE ;
259	};
260	CancelButton PB_PATH_ESC
261	{
262		Pos = MAP_APPFONT ( 128 , 100 ) ;
263		Size = MAP_APPFONT ( 50 , 14 ) ;
264	};
265	HelpButton PB_PATH_HLP
266	{
267		Pos = MAP_APPFONT ( 186 , 100 ) ;
268		Size = MAP_APPFONT ( 50 , 14 ) ;
269	};
270};
271
272ErrorBox RID_SVXERR_JRE_NOT_RECOGNIZED
273{
274	BUTTONS = WB_OK ;
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." ;
277};
278
279ErrorBox RID_SVXERR_JRE_FAILED_VERSION
280{
281	BUTTONS = WB_OK ;
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." ;
284};
285
286WarningBox RID_SVX_MSGBOX_JAVA_RESTART
287{
288	BUTTONS = WB_OK ;
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." ;
291};
292
293WarningBox RID_SVX_MSGBOX_JAVA_RESTART2
294{
295	BUTTONS = WB_OK ;
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." ;
298};
299
300