summaryrefslogtreecommitdiff
path: root/cui/source/options/optjava.src
blob: 4ee27517a2bffe8a0bb4d6de1ae0f3f242a04713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#include "optjava.hrc"
#include <cuires.hrc>
#include "helpid.hrc"

// RID_SVXPAGE_OPTIONS_JAVA ----------------------------------------------

TabPage RID_SVXPAGE_OPTIONS_JAVA
{
    HelpId = HID_OPTIONS_JAVA ;
    OutputSize = TRUE ;
    SVLook = TRUE ;
    Hide = TRUE ;
    Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
    Text [ en-US ] = "Java" ;

    FixedLine FL_JAVA
    {
        Pos = MAP_APPFONT ( 6 , 3 ) ;
        Size = MAP_APPFONT ( 248 , 8 ) ;
        Text [ en-US ] = "Java options" ;
    };
    CheckBox CB_JAVA_ENABLE
    {
        HelpID = "cui:CheckBox:RID_SVXPAGE_OPTIONS_JAVA:CB_JAVA_ENABLE";
        Pos = MAP_APPFONT ( 12, 14 ) ;
        Size = MAP_APPFONT ( 242 , 10 ) ;
        Text [ en-US ] = "~Use a Java runtime environment" ;
    };
    FixedText FT_JAVA_FOUND
    {
        Pos = MAP_APPFONT ( 21 , 27 ) ;
        Size = MAP_APPFONT ( 233 , 8 ) ;
        Text [ en-US ] = "~Java runtime environments (JRE) already installed:" ;
    };
    Control LB_JAVA
    {
        Pos = MAP_APPFONT ( 21 , 38 ) ;
        Size = MAP_APPFONT ( 177 , 60 ) ;
        Border = TRUE ;
        TabStop = TRUE ;
    };
    FixedText FT_JAVA_PATH
    {
        Pos = MAP_APPFONT ( 21 , 100 ) ;
        Size = MAP_APPFONT ( 233 , 8 ) ;
        NoLabel = TRUE ;
    };
    PushButton PB_ADD
    {
        HelpID = "cui:PushButton:RID_SVXPAGE_OPTIONS_JAVA:PB_ADD";
        Pos = MAP_APPFONT ( 204 , 38 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "~Add..." ;
    };
    PushButton PB_PARAMETER
    {
        HelpID = "cui:PushButton:RID_SVXPAGE_OPTIONS_JAVA:PB_PARAMETER";
        Pos = MAP_APPFONT ( 204 , 55 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "~Parameters..." ;
    };
    PushButton PB_CLASSPATH
    {
        HelpID = "cui:PushButton:RID_SVXPAGE_OPTIONS_JAVA:PB_CLASSPATH";
        Pos = MAP_APPFONT ( 204 , 72 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "~Class Path..." ;
    };
    FixedLine FL_EXPERIMENTAL
    {
        Pos = MAP_APPFONT ( 6 , 120 ) ;
        Size = MAP_APPFONT ( 248 , 8 ) ;
        Text [ en-US ] = "Optional (unstable) options" ;
    };
    CheckBox CB_EXPERIMENTAL
    {
        Pos = MAP_APPFONT( 12, 130 );
        Size = MAP_APPFONT ( 242 , 10 );
        Text [ en-US ] = "Enable experimental features";
    };
    CheckBox CB_MACRO
    {
        Pos = MAP_APPFONT( 12, 140 );
        Size = MAP_APPFONT ( 242 , 10 );
        Text [ en-US ] = "Enable macro recording";
    };
    String STR_INSTALLED_IN
    {
        Text [ en-US ] = "Location: " ;
    };
    String STR_ACCESSIBILITY
    {
        Text [ en-US ] = "with accessibility support" ;
    };
    String STR_ADDDLGTEXT
    {
        Text [ en-US ] = "Select a Java Runtime Environment" ;
    };
    String STR_HEADER_VENDOR
    {
        Text [ en-US ] = "Vendor" ;
    };
    String STR_HEADER_VERSION
    {
        Text [ en-US ] = "Version" ;
    };
    String STR_HEADER_FEATURES
    {
        Text [ en-US ] = "Features" ;
    };
};

// RID_SVXDLG_JAVA_PARAMETER ---------------------------------------------

ModalDialog RID_SVXDLG_JAVA_PARAMETER
{
    HelpId = HID_OPTIONS_JAVA_PARAMETER ;
    OutputSize = TRUE ;
    SVLook = TRUE ;
    Size = MAP_APPFONT ( 270 , 140 ) ;
    Text [ en-US ] = "Java Start Parameters" ;
    Moveable = TRUE ;
    FixedText FT_PARAMETER
    {
        Pos = MAP_APPFONT ( 6 , 3 ) ;
        Size = MAP_APPFONT ( 202 , 8 ) ;
        Text [ en-US ] = "Java start ~parameter" ;
    };
    Edit ED_PARAMETER
    {
        HelpID = "cui:Edit:RID_SVXDLG_JAVA_PARAMETER:ED_PARAMETER";
        Pos = MAP_APPFONT ( 6 , 15 ) ;
        Size = MAP_APPFONT ( 202 , 12 ) ;
        Border = TRUE ;
    };
    PushButton PB_ASSIGN
    {
        HelpID = "cui:PushButton:RID_SVXDLG_JAVA_PARAMETER:PB_ASSIGN";
        Pos = MAP_APPFONT ( 214 , 14 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "~Assign" ;
    };
    FixedText FT_ASSIGNED
    {
        Pos = MAP_APPFONT ( 6 , 31 ) ;
        Size = MAP_APPFONT ( 202 , 8 ) ;
        Text [ en-US ] = "Assig~ned start parameters" ;
    };
    ListBox LB_ASSIGNED
    {
        HelpID = "cui:ListBox:RID_SVXDLG_JAVA_PARAMETER:LB_ASSIGNED";
        Border = TRUE ;
        Pos = MAP_APPFONT ( 6 , 42 ) ;
        Size = MAP_APPFONT ( 202 , 53 ) ;
        AutoHScroll = TRUE ;
    };
    FixedText FT_EXAMPLE
    {
        Pos = MAP_APPFONT ( 6 , 98 ) ;
        Size = MAP_APPFONT ( 202 , 8 ) ;
        Text [ en-US ] = "For example: -Dmyprop=c:\\program files\\java" ;
    };
    PushButton PB_REMOVE
    {
        HelpID = "cui:PushButton:RID_SVXDLG_JAVA_PARAMETER:PB_REMOVE";
        Pos = MAP_APPFONT ( 214 , 42 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "~Remove" ;
    };
    FixedLine FL_BUTTONS
    {
        Pos = MAP_APPFONT ( 3 , 109 ) ;
        Size = MAP_APPFONT ( 264 , 8 ) ;
    };
    OKButton PB_PARAMETER_OK
    {
        Pos = MAP_APPFONT ( 105 , 120 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        DefButton = TRUE ;
    };
    CancelButton PB_PARAMETER_ESC
    {
        Pos = MAP_APPFONT ( 158 , 120 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
    };
    HelpButton PB_PARAMETER_HLP
    {
        Pos = MAP_APPFONT ( 214 , 120 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
    };
};

// RID_SVXDLG_JAVA_CLASSPATH ---------------------------------------------

ModalDialog RID_SVXDLG_JAVA_CLASSPATH
{
    HelpId = HID_OPTIONS_JAVA_CLASSPATH ;
    OutputSize = TRUE ;
    SVLook = TRUE ;
    Size = MAP_APPFONT ( 240 , 120 ) ;
    Text [ en-US ] = "Class Path" ;
    Moveable = TRUE ;
    FixedText FT_PATH
    {
        Pos = MAP_APPFONT ( 6 , 3 ) ;
        Size = MAP_APPFONT ( 172 , 8 ) ;
        Text [ en-US ] = "A~ssigned folders and archives" ;
    };
    ListBox LB_PATH
    {
        HelpID = "cui:ListBox:RID_SVXDLG_JAVA_CLASSPATH:LB_PATH";
        Pos = MAP_APPFONT ( 6 , 14 ) ;
        Size = MAP_APPFONT ( 172 , 72 ) ;
        Border = TRUE ;
        AutoHScroll = TRUE ;
    };
    PushButton PB_ADDARCHIVE
    {
        HelpID = "cui:PushButton:RID_SVXDLG_JAVA_CLASSPATH:PB_ADDARCHIVE";
        Pos = MAP_APPFONT ( 184 , 14 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "~Add Archive..." ;
    };
    PushButton PB_ADDPATH
    {
        HelpID = "cui:PushButton:RID_SVXDLG_JAVA_CLASSPATH:PB_ADDPATH";
        Pos = MAP_APPFONT ( 184 , 31 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "Add ~Folder" ;
    };
    PushButton PB_REMOVE_PATH
    {
        HelpID = "cui:PushButton:RID_SVXDLG_JAVA_CLASSPATH:PB_REMOVE_PATH";
        Pos = MAP_APPFONT ( 184 , 48 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "~Remove" ;
    };
    FixedLine FL_PATH_BUTTONS
    {
        Pos = MAP_APPFONT ( 3 , 89 ) ;
        Size = MAP_APPFONT ( 236 , 8 ) ;
    };
    OKButton PB_PATH_OK
    {
        Pos = MAP_APPFONT ( 75 , 100 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        DefButton = TRUE ;
    };
    CancelButton PB_PATH_ESC
    {
        Pos = MAP_APPFONT ( 128 , 100 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
    };
    HelpButton PB_PATH_HLP
    {
        Pos = MAP_APPFONT ( 186 , 100 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
    };
};

ErrorBox RID_SVXERR_JRE_NOT_RECOGNIZED
{
    BUTTONS = WB_OK ;
    DEFBUTTON = WB_DEF_OK ;
    Message [ en-US ] = "The folder you selected does not contain a Java runtime environment.\nPlease select a different folder." ;
};

ErrorBox RID_SVXERR_JRE_FAILED_VERSION
{
    BUTTONS = WB_OK ;
    DEFBUTTON = WB_DEF_OK ;
    Message [ en-US ] = "The Java runtime environment you selected is not the required version.\nPlease select a different folder." ;
};

WarningBox RID_SVX_MSGBOX_OPTIONS_RESTART
{
    BUTTONS = WB_OK ;
    DEFBUTTON = WB_DEF_OK ;
    Message [ en-US ] = "You have to restart %PRODUCTNAME so the new or modified values can take effect.\nPlease restart %PRODUCTNAME now." ;
};