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