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 /*
25  * encoding for resources: windows-1252
26  */
27
28#include "wizard.hrc"
29#include <svtools/controldims.hrc>
30
31ModalDialog DLG_FIRSTSTART_WIZARD
32{
33	Text [ en-US ] = "Welcome to %PRODUCTNAME %PRODUCTVERSION";
34
35	OutputSize		= TRUE ;
36	SVLook			= TRUE ;
37	Moveable		= TRUE ;
38	Closeable		= TRUE ;
39	Hide			= TRUE;
40    HelpID          = HID_FIRSTSTART_DIALOG;
41
42    FixedImage CTRL_THROBBER
43    {
44        Pos = MAP_APPFONT( 5, 210 );
45        Size = MAP_APPFONT( 11, 11 );
46        Hide = TRUE;
47    };
48};
49
50String STR_STATE_WELCOME
51{
52    Text [ en-US ] = "Welcome";
53};
54String STR_STATE_LICENSE
55{
56    Text [ en-US ] = "License Agreement";
57};
58String STR_STATE_MIGRATION
59{
60    Text [ en-US ] = "Personal Data";
61};
62String STR_STATE_USER
63{
64    Text [ en-US ] = "User name";
65};
66
67String STR_STATE_UPDATE_CHECK
68{
69    Text [ en-US ] = "Online Update";
70};
71
72String STR_STATE_REGISTRATION
73{
74    Text [ en-US ] = "Registration";
75};
76
77String STR_WELCOME_MIGRATION
78{
79    Text [ en-US ] = "This wizard will guide you through the license agreement, the transfer of user data from %OLD_VERSION and the registration of %PRODUCTNAME.\n\nClick 'Next' to continue.";
80
81};
82
83String STR_WELCOME_WITHOUT_LICENSE
84{
85    Text [ en-US ] = "This wizard will guide you through the registration of %PRODUCTNAME.\n\nClick 'Next' to continue.";
86};
87
88String STR_FINISH
89{
90    Text [ en-US ] = "~Finish";
91};
92
93String STR_REGISTRATION_OOO
94{
95    Text [ en-US ] = "You now have the opportunity to support and contribute to the fastest growing open source community in the world.\n\nHelp us prove that %PRODUCTNAME has already gained significant market share by registering.\n\nRegistering is voluntary and without obligation.";
96};
97
98ErrorBox ERRBOX_REG_NOSYSBROWSER
99{
100	BUTTONS = WB_OK ;
101	DEFBUTTON = WB_DEF_OK ;
102
103	Message [ en-US ] = "An error occurred in starting the web browser.\nPlease check the %PRODUCTNAME and web browser settings.";
104};
105
106QueryBox QB_ASK_DECLINE
107{
108	Buttons = WB_YES_NO;
109    DefButton = WB_DEF_NO;
110
111	Message [ en-US ] = "Do you really want to decline?";
112};
113
114
115#define ROWHEIGHT 8
116#define MARGINLEFT 10
117#define MARGINRIGHT 10
118#define BODYWIDTH TP_WIDTH-MARGINLEFT-MARGINRIGHT
119#define MARGINTOP 10
120#define MARGINBOTTOM 2
121#define BODYHEIGHT TP_HEIGHT-MARGINTOP-MARGINBOTTOM
122#define INDENT 10
123#define INDENT2 12
124
125TabPage TP_WELCOME
126{
127    SVLook = TRUE ;
128    Hide = TRUE ;
129    Size = MAP_APPFONT(TP_WIDTH, TP_HEIGHT);
130    HelpID          = HID_FIRSTSTART_WELCOME;
131    // bold fixedtext for header
132    FixedText FT_WELCOME_HEADER
133    {
134        NoLabel = TRUE;
135        Pos = MAP_APPFONT(MARGINRIGHT, MARGINTOP);
136        Size = MAP_APPFONT( BODYWIDTH, ROWHEIGHT );
137        Text [ en-US ] = "Welcome to %PRODUCTNAME %PRODUCTVERSION";
138    };
139    FixedText FT_WELCOME_BODY
140    {
141        NoLabel = TRUE;
142        Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP + 2*ROWHEIGHT);
143        Size = MAP_APPFONT( BODYWIDTH, BODYHEIGHT-MARGINTOP - 2*ROWHEIGHT );
144        WordBreak = TRUE;
145        Text [ en-US ] = "This wizard will guide you through the license agreement and the registration of %PRODUCTNAME.\n\nClick 'Next' to continue.";
146    };
147};
148
149TabPage TP_LICENSE
150{
151    SVLook = TRUE ;
152    Hide = TRUE ;
153    Size = MAP_APPFONT(TP_WIDTH, TP_HEIGHT);
154    HelpID          = HID_FIRSTSTART_LICENSE;
155    FixedText FT_LICENSE_HEADER
156    {
157        Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP);
158        Size = MAP_APPFONT( BODYWIDTH, ROWHEIGHT );
159        NoLabel = TRUE;
160        Text [ en-US ] = "Please follow these steps to accept the license";
161    };
162    FixedText FT_LICENSE_BODY_1
163    {
164        Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP + 2*ROWHEIGHT);
165        Size = MAP_APPFONT( INDENT, ROWHEIGHT );
166        NoLabel = TRUE;
167        Text [ en-US ] = "1.";
168    };
169    FixedText FT_LICENSE_BODY_1_TXT
170    {
171        Pos = MAP_APPFONT(MARGINLEFT+INDENT, MARGINTOP +2*ROWHEIGHT);
172        Size = MAP_APPFONT( BODYWIDTH-INDENT, 3*ROWHEIGHT);
173        WordBreak = TRUE;
174        NoLabel = TRUE;
175        Text [ en-US ] = "View the complete License Agreement. Please use the scrollbar or the '%PAGEDOWN' button in this dialog to view the entire license text.";
176    };
177    FixedText FT_LICENSE_BODY_2
178    {
179        Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP + 5*ROWHEIGHT);
180        Size = MAP_APPFONT(INDENT, ROWHEIGHT );
181        NoLabel = TRUE;
182        Text [ en-US ] = "2.";
183    };
184    FixedText FT_LICENSE_BODY_2_TXT
185    {
186        Pos = MAP_APPFONT(MARGINLEFT+INDENT, MARGINTOP + 5*ROWHEIGHT);
187        Size = MAP_APPFONT( BODYWIDTH-INDENT, 2*ROWHEIGHT);
188        WordBreak = TRUE;
189        NoLabel = TRUE;
190        Text [ en-US ] = "Click 'Accept' to accept the terms of the Agreement.";
191    };
192	MultiLineEdit ML_LICENSE
193	{
194	    HelpID = "desktop:MultiLineEdit:TP_LICENSE:ML_LICENSE";
195		PosSize = MAP_APPFONT (MARGINLEFT+INDENT, MARGINTOP + 8*ROWHEIGHT, BODYWIDTH-INDENT , BODYHEIGHT - 8*ROWHEIGHT - 20-2*MARGINBOTTOM) ;
196		Border = TRUE;
197		VScroll = TRUE;
198		ReadOnly = TRUE;
199	};
200	PushButton PB_LICENSE_DOWN
201	{
202	    HelpID = "desktop:PushButton:TP_LICENSE:PB_LICENSE_DOWN";
203		TabStop = TRUE ;
204		Pos = MAP_APPFONT ( TP_WIDTH-MARGINRIGHT-50 , TP_HEIGHT-MARGINBOTTOM-18 ) ;
205		Size = MAP_APPFONT ( 50, 15 ) ;
206		Text [ en-US ] = "Scroll Do~wn";
207	};
208};
209
210String STR_LICENSE_ACCEPT
211{
212    Text [ en-US ] = "~Accept";
213};
214String STR_LICENSE_DECLINE
215{
216    Text [ en-US ] = "~Decline";
217};
218
219
220TabPage TP_MIGRATION
221{
222    SVLook = TRUE ;
223    Hide = TRUE ;
224    Size = MAP_APPFONT(TP_WIDTH, TP_HEIGHT);
225    HelpID          = HID_FIRSTSTART_MIGRATION;
226
227    FixedText FT_MIGRATION_HEADER
228    {
229        NoLabel = TRUE;
230        Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP);
231        Size = MAP_APPFONT( BODYWIDTH, ROWHEIGHT );
232        Text [ en-US ] = "Transfer personal data";
233
234    };
235
236    FixedText FT_MIGRATION_BODY
237    {
238        NoLabel = TRUE;
239        Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP+ROWHEIGHT*2);
240        Size = MAP_APPFONT(BODYWIDTH, ROWHEIGHT*8);
241        WordBreak = TRUE;
242        Text [ en-US ] = "Most personal data from %OLDPRODUCT installation can be reused in %PRODUCTNAME %PRODUCTVERSION.\n\nIf you do not want to reuse any settings in %PRODUCTNAME %PRODUCTVERSION, unmark the check box.";
243
244    };
245
246    CheckBox CB_MIGRATION
247    {
248        HelpID = "desktop:CheckBox:TP_MIGRATION:CB_MIGRATION";
249        Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP+ROWHEIGHT*10);
250        Size = MAP_APPFONT(BODYWIDTH, ROWHEIGHT*2);
251        Check = TRUE;
252        Text [ en-US ] = "Transfer personal data";
253    };
254};
255
256TabPage TP_UPDATE_CHECK
257{
258    SVLook = TRUE ;
259    Hide = TRUE ;
260    Size = MAP_APPFONT(TP_WIDTH, TP_HEIGHT);
261    HelpID          = HID_FIRSTSTART_UPDATE_CHECK;
262
263    FixedText FT_UPDATE_CHECK_HEADER
264    {
265        NoLabel = TRUE;
266        Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP);
267        Size = MAP_APPFONT( BODYWIDTH, ROWHEIGHT );
268        Text [ en-US ] = "Online Update";
269
270    };
271
272    FixedText FT_UPDATE_CHECK_BODY
273    {
274        NoLabel = TRUE;
275        Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP+ROWHEIGHT*2);
276        Size = MAP_APPFONT(BODYWIDTH, ROWHEIGHT*8);
277        WordBreak = TRUE;
278        Text [ en-US ] = "%PRODUCTNAME searches automatically at regular intervals for new versions.\nIn doing so online update does not transfer personal data.\nAs soon as a new version is available, you will be notified.\n\nYou can configure this feature at Tools / Options... / %PRODUCTNAME / Online Update.";
279
280    };
281
282    CheckBox CB_UPDATE_CHECK
283    {
284        HelpID = "desktop:CheckBox:TP_UPDATE_CHECK:CB_UPDATE_CHECK";
285        Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP+ROWHEIGHT*10);
286        Size = MAP_APPFONT(BODYWIDTH, ROWHEIGHT*2);
287        Check = TRUE;
288        Text [ en-US ] = "~Check for updates automatically";
289    };
290};
291
292#define USERINDENT 40
293#define EDHEIGHT 12
294#define INITIALSWIDTH 50
295#define FTADD 2
296
297TabPage TP_USER
298{
299    SVLook = TRUE ;
300    Hide = TRUE ;
301    Size = MAP_APPFONT(TP_WIDTH, TP_HEIGHT);
302    HelpID = HID_FIRSTSTART_USER;
303
304    FixedText FT_USER_HEADER
305    {
306        NoLabel = TRUE;
307        Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP);
308        Size = MAP_APPFONT( BODYWIDTH, ROWHEIGHT );
309        Text [ en-US ] = "Provide your full name and initials below";
310
311    };
312
313    FixedText FT_USER_BODY
314    {
315        NoLabel = TRUE;
316        Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP+ROWHEIGHT*2);
317        Size = MAP_APPFONT(BODYWIDTH, ROWHEIGHT*3);
318        WordBreak = TRUE;
319        Text [ en-US ] = "The user name will be used in the document properties, templates and when you record changes made to documents.";
320    };
321
322
323    FixedText FT_USER_FIRST
324    {
325        Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP+ROWHEIGHT*7+FTADD);
326        Size = MAP_APPFONT(USERINDENT, ROWHEIGHT);
327        Text [ en-US ] = "~First name";
328    };
329    Edit ED_USER_FIRST
330    {
331        HelpID = "desktop:Edit:TP_USER:ED_USER_FIRST";
332        Border = TRUE;
333        Pos = MAP_APPFONT(MARGINLEFT+USERINDENT, MARGINTOP+ROWHEIGHT*7);
334        Size = MAP_APPFONT(BODYWIDTH-USERINDENT, EDHEIGHT);
335    };
336    FixedText FT_USER_LAST
337    {
338        Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP+ROWHEIGHT*9+FTADD);
339        Size = MAP_APPFONT(USERINDENT, ROWHEIGHT);
340        Text [ en-US ] = "~Last name";
341    };
342    Edit ED_USER_LAST
343    {
344        HelpID = "desktop:Edit:TP_USER:ED_USER_LAST";
345        Border = TRUE;
346        Pos = MAP_APPFONT(MARGINLEFT+USERINDENT, MARGINTOP+ROWHEIGHT*9);
347        Size = MAP_APPFONT(BODYWIDTH-USERINDENT, EDHEIGHT);
348    };
349    FixedText FT_USER_INITIALS
350    {
351        Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP+ROWHEIGHT*11+FTADD);
352        Size = MAP_APPFONT(USERINDENT, ROWHEIGHT);
353        Text [ en-US ] = "~Initials";
354    };
355    Edit ED_USER_INITIALS
356    {
357        HelpID = "desktop:Edit:TP_USER:ED_USER_INITIALS";
358        Border = TRUE;
359        Pos = MAP_APPFONT(MARGINLEFT+USERINDENT, MARGINTOP+ROWHEIGHT*11);
360        Size = MAP_APPFONT(INITIALSWIDTH, EDHEIGHT);
361    };
362
363    FixedText FT_USER_FATHER
364    {
365        Hide = TRUE;
366        Pos = MAP_APPFONT(MARGINLEFT+USERINDENT+INITIALSWIDTH+10, MARGINTOP+ROWHEIGHT*11+FTADD);
367        Size = MAP_APPFONT(USERINDENT, ROWHEIGHT);
368        Text [ en-US ] = "~Father's name";
369    };
370    Edit ED_USER_FATHER
371    {
372        HelpID = "desktop:Edit:TP_USER:ED_USER_FATHER";
373        Border = TRUE;
374        Hide = TRUE;
375        Pos = MAP_APPFONT(MARGINLEFT+USERINDENT*2+INITIALSWIDTH+10, MARGINTOP+ROWHEIGHT*11);
376        Size = MAP_APPFONT(BODYWIDTH-10-USERINDENT*2-INITIALSWIDTH, EDHEIGHT);
377    };
378};
379
380#define RB_HEIGHT   (RSC_CD_CHECKBOX_HEIGHT+RSC_SP_GRP_SPACE_Y)
381
382TabPage TP_REGISTRATION
383{
384    SVLook = TRUE ;
385    Hide = TRUE ;
386    Size = MAP_APPFONT(TP_WIDTH, TP_HEIGHT);
387    HelpID = HID_FIRSTSTART_REGISTRATION;
388    FixedText FT_REGISTRATION_HEADER
389    {
390        NoLabel = TRUE;
391        Text [ en-US ] = "%PRODUCTNAME Registration";
392        Pos = MAP_APPFONT(MARGINLEFT, MARGINRIGHT);
393        Size = MAP_APPFONT(BODYWIDTH, MARGINRIGHT);
394    };
395    FixedText FT_REGISTRATION_BODY
396    {
397        NoLabel = TRUE;
398        Text [ en-US ] = "You now have the opportunity to register as a %PRODUCTNAME user. Registration is voluntary and is without obligation.\n\nIf you register, we can inform you about new developments concerning this product.";
399        WordBreak = TRUE;
400        Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP+ROWHEIGHT*2);
401        Size = MAP_APPFONT(BODYWIDTH, ROWHEIGHT*8);
402    };
403    RadioButton RB_REGISTRATION_NOW
404    {
405        HelpID = "desktop:RadioButton:TP_REGISTRATION:RB_REGISTRATION_NOW";
406        Text [ en-US ] = "I want to register ~now";
407        Pos = MAP_APPFONT(MARGINLEFT+INDENT2, ROWHEIGHT*12+2);
408        Size = MAP_APPFONT(BODYWIDTH-INDENT2, RSC_CD_CHECKBOX_HEIGHT);
409        Check = TRUE;
410    };
411    RadioButton RB_REGISTRATION_LATER
412    {
413        HelpID = "desktop:RadioButton:TP_REGISTRATION:RB_REGISTRATION_LATER";
414        Text [ en-US ] = "I want to register ~later";
415        Pos = MAP_APPFONT(MARGINLEFT+INDENT2, ROWHEIGHT*12+2+RB_HEIGHT);
416        Size = MAP_APPFONT(BODYWIDTH-INDENT2, RSC_CD_CHECKBOX_HEIGHT);
417    };
418    RadioButton RB_REGISTRATION_NEVER
419    {
420        HelpID = "desktop:RadioButton:TP_REGISTRATION:RB_REGISTRATION_NEVER";
421        Text [ en-US ] = "I do not want to ~register";
422        Pos = MAP_APPFONT(MARGINLEFT+INDENT2, ROWHEIGHT*12+2+RB_HEIGHT*2);
423        Size = MAP_APPFONT(BODYWIDTH-INDENT2, RSC_CD_CHECKBOX_HEIGHT);
424    };
425    FixedLine FL_REGISTRATION
426    {
427        Pos = MAP_APPFONT(MARGINLEFT, TP_HEIGHT-MARGINBOTTOM-ROWHEIGHT*6);
428        Size = MAP_APPFONT(BODYWIDTH, ROWHEIGHT);
429    };
430    FixedText FT_REGISTRATION_END
431    {
432        NoLabel = TRUE;
433        Text [ en-US ] = "We hope you enjoy working with %PRODUCTNAME.\n\nTo exit the wizard, click 'Finish'.";
434        Pos = MAP_APPFONT(MARGINLEFT, TP_HEIGHT-MARGINBOTTOM-ROWHEIGHT*4);
435        Size = MAP_APPFONT(BODYWIDTH, ROWHEIGHT*4);
436    };
437};
438
439