xref: /trunk/main/cui/source/options/optjava.src (revision 28f5cb23)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24// include --------------------------------------------------------------
25#include "optjava.hrc"
26#include <cuires.hrc>
27#include "helpid.hrc"
28
29// RID_SVXPAGE_OPTIONS_JAVA ----------------------------------------------
30
31TabPage RID_SVXPAGE_OPTIONS_JAVA
32{
33	HelpId = HID_OPTIONS_JAVA ;
34	OutputSize = TRUE ;
35	SVLook = TRUE ;
36	Hide = TRUE ;
37	Size = MAP_APPFONT ( 260, 185 ) ;
38	Text [ en-US ] = "Java" ;
39
40	FixedLine FL_JAVA
41	{
42		Pos = MAP_APPFONT ( 6, 3 ) ;
43		Size = MAP_APPFONT ( 248, 8 ) ;
44		Text [ en-US ] = "Java options" ;
45	};
46	CheckBox CB_JAVA_ENABLE
47	{
48		HelpID = "cui:CheckBox:RID_SVXPAGE_OPTIONS_JAVA:CB_JAVA_ENABLE" ;
49		Pos = MAP_APPFONT ( 12, 14 ) ;
50		Size = MAP_APPFONT ( 242, 10 ) ;
51		Text [ en-US ] = "~Use a Java runtime environment" ;
52	};
53	FixedText FT_JAVA_FOUND
54	{
55		Pos = MAP_APPFONT ( 21, 27 ) ;
56		Size = MAP_APPFONT ( 233, 8 ) ;
57		Text [ en-US ] = "~Java runtime environments (JRE) already installed:" ;
58	};
59	Control LB_JAVA
60	{
61		Pos = MAP_APPFONT ( 21, 38 ) ;
62		Size = MAP_APPFONT ( 177, 130 ) ;
63		Border = TRUE ;
64		TabStop = TRUE ;
65	};
66	FixedText FT_JAVA_PATH
67	{
68		Pos = MAP_APPFONT ( 21, 171 ) ;
69		Size = MAP_APPFONT ( 233, 8 ) ;
70		NoLabel = TRUE ;
71	};
72	PushButton PB_ADD
73	{
74		HelpID = "cui:PushButton:RID_SVXPAGE_OPTIONS_JAVA:PB_ADD" ;
75		Pos = MAP_APPFONT ( 204, 38 ) ;
76		Size = MAP_APPFONT ( 50, 14 ) ;
77		Text [ en-US ] = "~Add..." ;
78	};
79	PushButton PB_PARAMETER
80	{
81		HelpID = "cui:PushButton:RID_SVXPAGE_OPTIONS_JAVA:PB_PARAMETER" ;
82		Pos = MAP_APPFONT ( 204, 55 ) ;
83		Size = MAP_APPFONT ( 50, 14 ) ;
84		Text [ en-US ] = "~Parameters..." ;
85	};
86	PushButton PB_CLASSPATH
87	{
88		HelpID = "cui:PushButton:RID_SVXPAGE_OPTIONS_JAVA:PB_CLASSPATH" ;
89		Pos = MAP_APPFONT ( 204, 72 ) ;
90		Size = MAP_APPFONT ( 50, 14 ) ;
91		Text [ en-US ] = "~Class Path..." ;
92	};
93	String STR_INSTALLED_IN
94	{
95		Text [ en-US ] = "Location: " ;
96	};
97	String STR_ACCESSIBILITY
98	{
99		Text [ en-US ] = "with accessibility support" ;
100	};
101	String STR_ADDDLGTEXT
102	{
103		Text [ en-US ] = "Select a Java Runtime Environment" ;
104	};
105	String STR_HEADER_VENDOR
106	{
107		Text [ en-US ] = "Vendor" ;
108	};
109	String STR_HEADER_VERSION
110	{
111		Text [ en-US ] = "Version" ;
112	};
113	String STR_HEADER_FEATURES
114	{
115		Text [ en-US ] = "Features" ;
116	};
117};
118
119// RID_SVXDLG_JAVA_PARAMETER ---------------------------------------------
120
121ModalDialog RID_SVXDLG_JAVA_PARAMETER
122{
123	HelpId = HID_OPTIONS_JAVA_PARAMETER ;
124	OutputSize = TRUE ;
125	SVLook = TRUE ;
126	Size = MAP_APPFONT ( 270, 140 ) ;
127	Text [ en-US ] = "Java Start Parameters" ;
128	Moveable = TRUE ;
129	FixedText FT_PARAMETER
130	{
131		Pos = MAP_APPFONT ( 6, 3 ) ;
132		Size = MAP_APPFONT ( 202, 8 ) ;
133		Text [ en-US ] = "Java start ~parameter" ;
134	};
135	Edit ED_PARAMETER
136	{
137		HelpID = "cui:Edit:RID_SVXDLG_JAVA_PARAMETER:ED_PARAMETER" ;
138		Pos = MAP_APPFONT ( 6, 15 ) ;
139		Size = MAP_APPFONT ( 202, 12 ) ;
140		Border = TRUE ;
141	};
142	PushButton PB_ASSIGN
143	{
144		HelpID = "cui:PushButton:RID_SVXDLG_JAVA_PARAMETER:PB_ASSIGN" ;
145		Pos = MAP_APPFONT ( 214, 14 ) ;
146		Size = MAP_APPFONT ( 50, 14 ) ;
147		Text [ en-US ] = "~Assign" ;
148	};
149	FixedText FT_ASSIGNED
150	{
151		Pos = MAP_APPFONT ( 6, 31 ) ;
152		Size = MAP_APPFONT ( 202, 8 ) ;
153		Text [ en-US ] = "Assig~ned start parameters" ;
154	};
155	ListBox LB_ASSIGNED
156	{
157		HelpID = "cui:ListBox:RID_SVXDLG_JAVA_PARAMETER:LB_ASSIGNED" ;
158		Border = TRUE ;
159		Pos = MAP_APPFONT ( 6, 42 ) ;
160		Size = MAP_APPFONT ( 202, 53 ) ;
161		AutoHScroll = TRUE ;
162	};
163	FixedText FT_EXAMPLE
164	{
165		Pos = MAP_APPFONT ( 6, 98 ) ;
166		Size = MAP_APPFONT ( 202, 8 ) ;
167		Text [ en-US ] = "For example: -Dmyprop=c:\\program files\\java" ;
168	};
169	PushButton PB_REMOVE
170	{
171		HelpID = "cui:PushButton:RID_SVXDLG_JAVA_PARAMETER:PB_REMOVE" ;
172		Pos = MAP_APPFONT ( 214, 42 ) ;
173		Size = MAP_APPFONT ( 50, 14 ) ;
174		Text [ en-US ] = "~Remove" ;
175	};
176	FixedLine FL_BUTTONS
177	{
178		Pos = MAP_APPFONT ( 3, 109 ) ;
179		Size = MAP_APPFONT ( 264, 8 ) ;
180	};
181	OKButton PB_PARAMETER_OK
182	{
183		Pos = MAP_APPFONT ( 105, 120 ) ;
184		Size = MAP_APPFONT ( 50, 14 ) ;
185		DefButton = TRUE ;
186	};
187	CancelButton PB_PARAMETER_ESC
188	{
189		Pos = MAP_APPFONT ( 158, 120 ) ;
190		Size = MAP_APPFONT ( 50, 14 ) ;
191	};
192	HelpButton PB_PARAMETER_HLP
193	{
194		Pos = MAP_APPFONT ( 214, 120 ) ;
195		Size = MAP_APPFONT ( 50, 14 ) ;
196	};
197};
198
199// RID_SVXDLG_JAVA_CLASSPATH ---------------------------------------------
200
201ModalDialog RID_SVXDLG_JAVA_CLASSPATH
202{
203	HelpId = HID_OPTIONS_JAVA_CLASSPATH ;
204	OutputSize = TRUE ;
205	SVLook = TRUE ;
206	Size = MAP_APPFONT ( 240, 120 ) ;
207	Text [ en-US ] = "Class Path" ;
208	Moveable = TRUE ;
209	FixedText FT_PATH
210	{
211		Pos = MAP_APPFONT ( 6, 3 ) ;
212		Size = MAP_APPFONT ( 172, 8 ) ;
213		Text [ en-US ] = "A~ssigned folders and archives" ;
214	};
215	ListBox LB_PATH
216	{
217		HelpID = "cui:ListBox:RID_SVXDLG_JAVA_CLASSPATH:LB_PATH" ;
218		Pos = MAP_APPFONT ( 6, 14 ) ;
219		Size = MAP_APPFONT ( 172, 72 ) ;
220		Border = TRUE ;
221		AutoHScroll = TRUE ;
222	};
223	PushButton PB_ADDARCHIVE
224	{
225		HelpID = "cui:PushButton:RID_SVXDLG_JAVA_CLASSPATH:PB_ADDARCHIVE" ;
226		Pos = MAP_APPFONT ( 184, 14 ) ;
227		Size = MAP_APPFONT ( 50, 14 ) ;
228		Text [ en-US ] = "~Add Archive..." ;
229	};
230	PushButton PB_ADDPATH
231	{
232		HelpID = "cui:PushButton:RID_SVXDLG_JAVA_CLASSPATH:PB_ADDPATH" ;
233		Pos = MAP_APPFONT ( 184, 31 ) ;
234		Size = MAP_APPFONT ( 50, 14 ) ;
235		Text [ en-US ] = "Add ~Folder" ;
236	};
237	PushButton PB_REMOVE_PATH
238	{
239		HelpID = "cui:PushButton:RID_SVXDLG_JAVA_CLASSPATH:PB_REMOVE_PATH" ;
240		Pos = MAP_APPFONT ( 184, 48 ) ;
241		Size = MAP_APPFONT ( 50, 14 ) ;
242		Text [ en-US ] = "~Remove" ;
243	};
244	FixedLine FL_PATH_BUTTONS
245	{
246		Pos = MAP_APPFONT ( 3, 89 ) ;
247		Size = MAP_APPFONT ( 236, 8 ) ;
248	};
249	OKButton PB_PATH_OK
250	{
251		Pos = MAP_APPFONT ( 75, 100 ) ;
252		Size = MAP_APPFONT ( 50, 14 ) ;
253		DefButton = TRUE ;
254	};
255	CancelButton PB_PATH_ESC
256	{
257		Pos = MAP_APPFONT ( 128, 100 ) ;
258		Size = MAP_APPFONT ( 50, 14 ) ;
259	};
260	HelpButton PB_PATH_HLP
261	{
262		Pos = MAP_APPFONT ( 186, 100 ) ;
263		Size = MAP_APPFONT ( 50, 14 ) ;
264	};
265};
266
267ErrorBox RID_SVXERR_JRE_NOT_RECOGNIZED
268{
269	BUTTONS = WB_OK ;
270	DEFBUTTON = WB_DEF_OK ;
271	Message [ en-US ] = "The folder you selected does not contain a Java runtime environment.\nPlease select a different folder." ;
272};
273
274ErrorBox RID_SVXERR_JRE_FAILED_VERSION
275{
276	BUTTONS = WB_OK ;
277	DEFBUTTON = WB_DEF_OK ;
278	Message [ en-US ] = "The Java runtime environment you selected is not the required version.\nPlease select a different folder." ;
279};
280
281WarningBox RID_SVX_MSGBOX_JAVA_RESTART
282{
283	BUTTONS = WB_OK ;
284	DEFBUTTON = WB_DEF_OK ;
285	Message [ en-US ] = "For the selected Java runtime environment to work properly, %PRODUCTNAME must be restarted.\nPlease restart %PRODUCTNAME now." ;
286};
287
288WarningBox RID_SVX_MSGBOX_JAVA_RESTART2
289{
290	BUTTONS = WB_OK ;
291	DEFBUTTON = WB_DEF_OK ;
292	Message [ en-US ] = "You have to restart %PRODUCTNAME so the new or modified values can take effect.\nPlease restart %PRODUCTNAME now." ;
293};
294
295// ******************************************************************* EOF
296