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