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