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