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#include <svx/dialogs.hrc> 25#include "helpid.hrc" 26 27#include "docrecovery.hrc" 28 29TabDialog RID_SVX_TABDLG_DOCRECOVERY 30{ 31 Size = MAP_APPFONT( TABDLG_WIDTH, TABDLG_HEIGHT ); 32 HelpId = HID_SVX_TABDLG_DOCRECOVERY; 33 OutputSize = TRUE; 34 SVLook = TRUE; 35 Moveable = TRUE; 36 Closeable = FALSE; 37 Text = "%PRODUCTNAME %PRODUCTVERSION"; 38}; 39 40TabPage RID_SVXPAGE_DOCRECOVERY_SAVE 41{ 42 Size = MAP_APPFONT( SAVE_WIDTH, SAVE_HEIGHT ); 43 HelpId = HID_SVX_TP_DOCRECOVERY_SAVE; 44 OutputSize = TRUE; 45 SVLook = TRUE; 46 Hide = TRUE; 47 Window WIN_SAVE_TITLE 48 { 49 Pos = MAP_APPFONT( 0 , 0 ); 50 Size = MAP_APPFONT( SAVE_WIDTH, SAVE_ROW1 ); 51 }; 52 FixedText FT_SAVE_TITLE 53 { 54 Pos = MAP_APPFONT( SAVE_COL0 , SAVE_ROW0 ); 55 Size = MAP_APPFONT( SAVE_CONTROLWIDTH, RSC_CD_FIXEDTEXT_HEIGHT ); 56 Text[ en-US ] = "%PRODUCTNAME Document Recovery"; 57 }; 58 FixedLine FL_SAVE_TITLE 59 { 60 Pos = MAP_APPFONT( 0 , SAVE_ROW1 ); 61 Size = MAP_APPFONT( SAVE_WIDTH, 2 ); 62 }; 63 FixedText FT_SAVE_DESCR 64 { 65 Pos = MAP_APPFONT( SAVE_COL0 , SAVE_ROW2 ); 66 Size = MAP_APPFONT( SAVE_CONTROLWIDTH, (SAVE_ROW3-SAVE_ROW2-RSC_SP_CTRL_DESC_Y) ); 67 WordBreak = TRUE; 68 Text[ en-US ] = "Due to an unexpected error, %PRODUCTNAME crashed. All the files you were working on will now be saved. The next time %PRODUCTNAME is launched, your files will be recovered automatically."; 69 }; 70 FixedText FT_SAVE_FILELIST 71 { 72 Pos = MAP_APPFONT( SAVE_COL0 , SAVE_ROW3 ); 73 Size = MAP_APPFONT( SAVE_CONTROLWIDTH, RSC_CD_FIXEDTEXT_HEIGHT ); 74 Text[ en-US ] = "The following files will be recovered:"; 75 }; 76 ListBox LB_SAVE_FILELIST 77 { 78 HelpID = "svx:ListBox:RID_SVXPAGE_DOCRECOVERY_SAVE:LB_SAVE_FILELIST"; 79 Pos = MAP_APPFONT( SAVE_COL0 , SAVE_ROW4 ); 80 Size = MAP_APPFONT( SAVE_CONTROLWIDTH, SAVE_FILELISTHEIGHT ); 81 Border = TRUE; 82 TabStop = TRUE; 83 }; 84 FixedLine FL_SAVE_BOTTOM 85 { 86 Pos = MAP_APPFONT( 0 , SAVE_ROW7 ); 87 Size = MAP_APPFONT( SAVE_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ); 88 }; 89 OKButton BT_SAVE_OK 90 { 91 Pos = MAP_APPFONT( SAVE_COL1 , SAVE_ROW8 ); 92 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 93 DefButton = TRUE; 94 }; 95}; 96 97ModalDialog RID_SVX_MDLG_DOCRECOVERY_PROGR 98{ 99 Size = MAP_APPFONT( SAVEPROGR_WIDTH, SAVEPROGR_HEIGHT ); 100 HelpId = HID_SVX_MDLG_DOCRECOVERY_PROGR; 101 OutputSize = TRUE; 102 SVLook = TRUE; 103 Moveable = TRUE; 104 Closeable = FALSE; 105 Text = "%PRODUCTNAME %PRODUCTVERSION"; 106 107 FixedText FT_SAVEPROGR_HINT 108 { 109 Pos = MAP_APPFONT( SAVEPROGR_COL0, SAVEPROGR_ROW0 ); 110 Size = MAP_APPFONT( SAVEPROGR_CONTROLWIDTH, RSC_CD_FIXEDTEXT_HEIGHT ); 111 Text[ en-US ] = "Documents are being saved."; 112 }; 113 FixedText FT_SAVEPROGR_PROGR 114 { 115 Pos = MAP_APPFONT( SAVEPROGR_COL0, SAVEPROGR_ROW1 ); 116 Size = MAP_APPFONT( SAVEPROGR_CONTROLWIDTH, RSC_CD_FIXEDTEXT_HEIGHT ); 117 Text[ en-US ] = "Progress of saving: "; 118 }; 119 Window WIN_SAVEPROGR_PROGR 120 { 121 Pos = MAP_APPFONT( SAVEPROGR_COL0, SAVEPROGR_ROW2 ); 122 Size = MAP_APPFONT( SAVEPROGR_CONTROLWIDTH, PROGR_HEIGHT ); 123 Border = TRUE; 124 }; 125}; 126 127TabPage RID_SVXPAGE_DOCRECOVERY_RECOVER 128{ 129 Size = MAP_APPFONT( RECOV_WIDTH, RECOV_HEIGHT ); 130 HelpId = HID_SVX_TP_DOCRECOVERY_RECOVER; 131 OutputSize = TRUE; 132 SVLook = TRUE; 133 Hide = TRUE; 134 Window WIN_RECOV_TITLE 135 { 136 Pos = MAP_APPFONT( 0 , 0 ); 137 Size = MAP_APPFONT( RECOV_WIDTH, RECOV_TITLEWINHEIGHT ); 138 }; 139 FixedText FT_RECOV_TITLE 140 { 141 Pos = MAP_APPFONT( RECOV_COL1, RECOV_ROW0 ); 142 Size = MAP_APPFONT( RECOV_CONTROLWIDTH, RSC_CD_FIXEDTEXT_HEIGHT ); 143 Text[ en-US ] = "%PRODUCTNAME Document Recovery"; 144 }; 145 FixedLine FL_RECOV_TITLE 146 { 147 Pos = MAP_APPFONT( 0 , RECOV_TITLEWINHEIGHT ); 148 Size = MAP_APPFONT( RECOV_WIDTH, 2 ); 149 }; 150 FixedText FT_RECOV_DESCR 151 { 152 Pos = MAP_APPFONT( RECOV_COL1, RECOV_ROW2 ); 153 Size = MAP_APPFONT( RECOV_CONTROLWIDTH, RECOV_DESCRHEIGHT ); 154 WordBreak = TRUE; 155 Text[ en-US ] = "Press 'Start Recovery' to start the recovery process of the documents listed below.\n\nThe 'Status' column shows whether the document can be recovered."; 156 }; 157 FixedText FT_RECOV_PROGR 158 { 159 Pos = MAP_APPFONT( RECOV_COL1, RECOV_ROW3 ); 160 Size = MAP_APPFONT( RECOV_CONTROLWIDTH, RSC_CD_FIXEDTEXT_HEIGHT ); 161 Text[ en-US ] = "Recovering document:"; 162 }; 163 Window WIN_RECOV_PROGR 164 { 165 Pos = MAP_APPFONT( RECOV_COL1, RECOV_ROW4 ); 166 Size = MAP_APPFONT( RECOV_CONTROLWIDTH, PROGR_HEIGHT ); 167 Border = TRUE; 168 }; 169 FixedText FT_RECOV_FILELIST 170 { 171 Pos = MAP_APPFONT( RECOV_COL1, RECOV_ROW5 ); 172 Size = MAP_APPFONT( RECOV_CONTROLWIDTH, RSC_CD_FIXEDTEXT_HEIGHT ); 173 Text[ en-US ] = "Status of recovered documents:"; 174 }; 175 String STR_HEADERBAR 176 { 177 Text[ en-US ] = "Document Name\tStatus"; 178 }; 179 Control LB_RECOV_FILELIST 180 { 181 Pos = MAP_APPFONT( RECOV_COL1, RECOV_ROW6 ); 182 Size = MAP_APPFONT( RECOV_CONTROLWIDTH, RECOV_FILELISTHEIGHT ); 183 Border = TRUE; 184 SVLook = TRUE; 185 }; 186 FixedLine FL_RECOV_BOTTOM 187 { 188 Pos = MAP_APPFONT( 0 , RECOV_ROW8 ); 189 Size = MAP_APPFONT( RECOV_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ); 190 }; 191 PushButton BTN_RECOV_NEXT 192 { 193 HelpID = "svx:PushButton:RID_SVXPAGE_DOCRECOVERY_RECOVER:BTN_RECOV_NEXT"; 194 Pos = MAP_APPFONT( RECOV_COL_C, RECOV_ROW9 ); 195 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH*2, RSC_CD_PUSHBUTTON_HEIGHT ); 196 Text[ en-US ] = "~Start Recovery >"; 197 DefButton = TRUE; 198 }; 199 String STR_RECOVERY_NEXT 200 { 201 Text[ en-US ] = "~Next >"; 202 }; 203 CancelButton BTN_RECOV_CANCEL 204 { 205 Pos = MAP_APPFONT( RECOV_COL_F, RECOV_ROW9 ); 206 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 207 }; 208 Image IMG_GREENCHECK 209 { 210 ImageBitmap = Bitmap { File = "nu01.png"; }; 211 }; 212 Image IMG_GREENCHECK_HC 213 { 214 ImageBitmap = Bitmap { File = "nuh01.png"; }; 215 }; 216 Image IMG_YELLOWCHECK 217 { 218 ImageBitmap = Bitmap { File = "nu04.png"; }; 219 }; 220 Image IMG_YELLOWCHECK_HC 221 { 222 ImageBitmap = Bitmap { File = "nuh04.png"; }; 223 }; 224 Image IMG_REDCROSS 225 { 226 ImageBitmap = Bitmap { File = "nu02.png"; }; 227 }; 228 Image IMG_REDCROSS_HC 229 { 230 ImageBitmap = Bitmap { File = "nuh02.png"; }; 231 }; 232 String STR_SUCCESSRECOV 233 { 234 Text[ en-US ] = "Successfully recovered"; 235 }; 236 String STR_ORIGDOCRECOV 237 { 238 Text[ en-US ] = "Original document recovered"; 239 }; 240 String STR_RECOVFAILED 241 { 242 Text[ en-US ] = "Recovery failed"; 243 }; 244 String STR_RECOVINPROGR 245 { 246 Text[ en-US ] = "Recovery in progress"; 247 }; 248 String STR_NOTRECOVYET 249 { 250 Text[ en-US ] = "Not recovered yet"; 251 }; 252 String STR_RECOVERY_INPROGRESS 253 { 254 Text[ en-US ] = "%PRODUCTNAME %PRODUCTVERSION will start to recover your documents. Depending on the size of the documents this process can take some time." ; 255 }; 256 String STR_RECOVERY_REPORT 257 { 258 Text[ en-US ] = "A report of the crash was created to help us identify the reason why %PRODUCTNAME crashed. Click 'Next' to get to the Error Report Tool or press 'Cancel' to skip this step." ; 259 }; 260 String STR_RECOVERYONLY_FINISH_DESCR 261 { 262 Text[ en-US ] = "Recovery of your documents was finished.\nClick 'Finish' to see your documents."; 263 }; 264 String STR_RECOVERYONLY_FINISH 265 { 266 Text[ en-US ] = "~Finish"; 267 }; 268}; 269 270QueryBox RID_SVXQB_EXIT_RECOVERY 271{ 272 BUTTONS = WB_YES_NO ; 273 DEFBUTTON = WB_DEF_YES ; 274 Message [ en-US ] = "Are you sure you want to cancel the %PRODUCTNAME document recovery?"; 275}; 276 277ModalDialog RID_SVX_MDLG_DOCRECOVERY_BROKEN 278{ 279 Size = MAP_APPFONT( BROKEN_WIDTH, BROKEN_HEIGHT ); 280 HelpId = HID_SVX_MDLG_DOCRECOVERY_BROKEN; 281 OutputSize = TRUE; 282 SVLook = TRUE; 283 Moveable = TRUE; 284 Text = "%PRODUCTNAME %PRODUCTVERSION"; 285 286 FixedText FT_BROKEN_DESCR 287 { 288 Pos = MAP_APPFONT( BROKEN_COL0, BROKEN_ROW0 ); 289 Size = MAP_APPFONT( BROKEN_CONTROLWIDTH, (5*RSC_CD_FIXEDTEXT_HEIGHT) ); 290 WordBreak = TRUE; 291 Text[ en-US ] = "The automatic recovery process was interrupted.\n\nThe documents listed below will be saved in the folder noted below if you click 'Save'. Click 'Cancel' to close the wizard without saving the documents."; 292 }; 293 FixedText FT_BROKEN_FILELIST 294 { 295 Pos = MAP_APPFONT( BROKEN_COL0, BROKEN_ROW1 ); 296 Size = MAP_APPFONT( BROKEN_CONTROLWIDTH, RSC_CD_FIXEDTEXT_HEIGHT ); 297 Text[ en-US ] = "Documents"; 298 }; 299 ListBox LB_BROKEN_FILELIST 300 { 301 HelpID = "svx:ListBox:RID_SVX_MDLG_DOCRECOVERY_BROKEN:LB_BROKEN_FILELIST"; 302 Pos = MAP_APPFONT( BROKEN_COL0, BROKEN_ROW2 ); 303 Size = MAP_APPFONT( BROKEN_CONTROLWIDTH, (BROKEN_ROW3-BROKEN_ROW2) ); 304 Border = TRUE; 305 TabStop = TRUE; 306 }; 307 FixedText FT_BROKEN_SAVEDIR 308 { 309 Pos = MAP_APPFONT( BROKEN_COL0, BROKEN_ROW4 + 1 ); // see ED_BROKEN_SAVEDIR 310 Size = MAP_APPFONT( BROKEN_CONTROLWIDTH, RSC_CD_FIXEDTEXT_HEIGHT ); 311 Text[ en-US ] = "~Save to"; 312 }; 313 Edit ED_BROKEN_SAVEDIR 314 { 315 HelpID = "svx:Edit:RID_SVX_MDLG_DOCRECOVERY_BROKEN:ED_BROKEN_SAVEDIR"; 316 Pos = MAP_APPFONT( BROKEN_COL0, BROKEN_ROW5 + 1 ); // center to pushbutton 317 Size = MAP_APPFONT( BROKEN_COL2 - BROKEN_COL0, RSC_CD_TEXTBOX_HEIGHT ); 318 Border = TRUE; 319 }; 320 PushButton BTN_BROKEN_SAVEDIR 321 { 322 HelpID = "svx:PushButton:RID_SVX_MDLG_DOCRECOVERY_BROKEN:BTN_BROKEN_SAVEDIR"; 323 Pos = MAP_APPFONT( BROKEN_COL3, BROKEN_ROW5 ); 324 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 325 Text [ en-US ] = "Chan~ge..."; 326 }; 327 FixedLine FL_BROKEN_BOTTOM 328 { 329 Pos = MAP_APPFONT( 0 , BROKEN_ROW6 ); 330 Size = MAP_APPFONT( BROKEN_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ); 331 }; 332 OKButton BTN_BROKEN_OK 333 { 334 Pos = MAP_APPFONT( BROKEN_COL1, BROKEN_ROW7 ); 335 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 336 DefButton = TRUE; 337 Text [ en-US ] = "~Save"; 338 }; 339 CancelButton BTN_BROKEN_CANCEL 340 { 341 Pos = MAP_APPFONT( BROKEN_COL3, BROKEN_ROW7 ); 342 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 343 }; 344}; 345 346TabPage RID_SVXPAGE_ERR_REP_WELCOME 347{ 348 Size = MAP_APPFONT( RECOV_WIDTH, RECOV_HEIGHT ); 349 HelpId = HID_SVX_TP_ERR_REP_WELCOME; 350 OutputSize = TRUE; 351 SVLook = TRUE; 352 Hide = TRUE; 353 Window WIN_RECOV_TITLE 354 { 355 Pos = MAP_APPFONT( 0 , 0 ); 356 Size = MAP_APPFONT( RECOV_WIDTH, RECOV_TITLEWINHEIGHT ); 357 }; 358 FixedText FT_RECOV_TITLE 359 { 360 Pos = MAP_APPFONT( RECOV_COL1, RECOV_ROW0 ); 361 Size = MAP_APPFONT( RECOV_CONTROLWIDTH, RSC_CD_FIXEDTEXT_HEIGHT ); 362 Text[ en-US ] = "Welcome to the %PRODUCTNAME %PRODUCTVERSION Error Report"; 363 }; 364 FixedLine FL_RECOV_TITLE 365 { 366 Pos = MAP_APPFONT( 0 , RECOV_TITLEWINHEIGHT ); 367 Size = MAP_APPFONT( RECOV_WIDTH, 2 ); 368 }; 369 FixedText FT_RECOV_DESCR 370 { 371 Pos = MAP_APPFONT( RECOV_COL1, RECOV_ROW2 ); 372 Size = MAP_APPFONT( RECOV_CONTROLWIDTH, (RECOV_ROW7-RECOV_ROW2-RSC_SP_CTRL_Y) ); 373 WordBreak = TRUE; 374 Text[ en-US ] = "This error report tool gathers information about how %PRODUCTNAME is working and sends it to Apache OpenOffice to help improve future versions.\n\nIt's easy - just send the report without any further effort on your part by clicking 'Send' in the next dialog, or you can briefly describe how the error occurred and then click 'Send'. If you want to see the report, click the 'Show Report' button. No data will be sent if you click 'Do Not Send'.\n\nCustomer Privacy\nThe information gathered is limited to data concerning the state of %PRODUCTNAME %PRODUCTVERSION when the error occurred. Other information about passwords or document contents is not collected.\n\nThe information will only be used to improve the quality of %PRODUCTNAME and will not be shared with third parties.\nFor more information on Apache OpenOffice's privacy policy, visit\nhttp://www.openoffice.org/privacy.html"; 375 }; 376 FixedLine FL_RECOV_BOTTOM 377 { 378 Pos = MAP_APPFONT( 0 , RECOV_ROW8 ); 379 Size = MAP_APPFONT( RECOV_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ); 380 }; 381 PushButton BTN_RECOV_PREV 382 { 383 HelpID = "svx:PushButton:RID_SVXPAGE_ERR_REP_WELCOME:BTN_RECOV_PREV"; 384 Pos = MAP_APPFONT( RECOV_COL_C, RECOV_ROW9 ); 385 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 386 Text[ en-US ] = "< ~Back"; 387 }; 388 OKButton BTN_RECOV_NEXT 389 { 390 Pos = MAP_APPFONT( RECOV_COL_D, RECOV_ROW9 ); 391 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 392 Text[ en-US ] = "~Next >"; 393 DefButton = TRUE; 394 }; 395 CancelButton BTN_RECOV_CANCEL 396 { 397 Pos = MAP_APPFONT( RECOV_COL_F, RECOV_ROW9 ); 398 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 399 }; 400}; 401 402TabPage RID_SVXPAGE_ERR_REP_SEND 403{ 404 Size = MAP_APPFONT( ERRSEND_WIDTH, ERRSEND_HEIGHT ); 405 HelpId = HID_SVX_TP_ERR_REP_SEND; 406 OutputSize = TRUE; 407 SVLook = TRUE; 408 Hide = TRUE; 409 Window WIN_RECOV_TITLE 410 { 411 Pos = MAP_APPFONT( 0 , 0 ); 412 Size = MAP_APPFONT( ERRSEND_WIDTH, RECOV_TITLEWINHEIGHT ); 413 }; 414 FixedText FT_RECOV_TITLE 415 { 416 Pos = MAP_APPFONT( ERRSEND_COL0, ERRSEND_ROW0 ); 417 Size = MAP_APPFONT( ERRSEND_CONTROLWIDTH1, RSC_CD_FIXEDTEXT_HEIGHT ); 418 Text[ en-US ] = "Sending the Error Report"; 419 }; 420 FixedLine FL_RECOV_TITLE 421 { 422 Pos = MAP_APPFONT( 0 , RECOV_TITLEWINHEIGHT ); 423 Size = MAP_APPFONT( RECOV_WIDTH, 2 ); 424 }; 425 FixedText FT_RECOV_DESCR 426 { 427 Pos = MAP_APPFONT( ERRSEND_COL0, ERRSEND_ROW2 ); 428 Size = MAP_APPFONT( ERRSEND_CONTROLWIDTH2, (ERRSEND_ROW3-ERRSEND_ROW2) ); 429 WordBreak = TRUE; 430 Text[ en-US ] = "In the spaces below, you can enter a title for your error report and describe the action you were trying to carry out when the error occurred. Then click 'Send'."; 431 }; 432 433 FixedText FT_ERRSEND_DOCTYPE 434 { 435 Pos = MAP_APPFONT( ERRSEND_COL0, ERRSEND_ROW4 ); 436 Size = MAP_APPFONT( ERRSEND_CONTROLWIDTH2, 2*RSC_CD_FIXEDTEXT_HEIGHT ); 437 WordBreak = TRUE; 438 Text[ en-US ] = "~Which type of document (e.g. presentation) were you using when the error occurred?"; 439 }; 440 Edit ED_ERRSEND_DOCTYPE 441 { 442 HelpID = "svx:Edit:RID_SVXPAGE_ERR_REP_SEND:ED_ERRSEND_DOCTYPE"; 443 Pos = MAP_APPFONT( ERRSEND_COL0, ERRSEND_ROW5 ); 444 Size = MAP_APPFONT( ERRSEND_CONTROLWIDTH2, RSC_CD_TEXTBOX_HEIGHT ); 445 Border = TRUE; 446 }; 447 FixedText FT_ERRSEND_USING 448 { 449 Pos = MAP_APPFONT( ERRSEND_COL0, ERRSEND_ROW7 ); 450 Size = MAP_APPFONT( ERRSEND_CONTROLWIDTH2, RSC_CD_FIXEDTEXT_HEIGHT ); 451 Text[ en-US ] = "~How were you using %PRODUCTNAME when the error occurred? (optional)"; 452 }; 453 MultiLineEdit ML_ERRSEND_USING 454 { 455 HelpID = "svx:MultiLineEdit:RID_SVXPAGE_ERR_REP_SEND:ML_ERRSEND_USING"; 456 Pos = MAP_APPFONT( ERRSEND_COL0, ERRSEND_ROW8 ); 457 Size = MAP_APPFONT( ERRSEND_CONTROLWIDTH2, (ERRSEND_ROW12-ERRSEND_ROW8-RSC_SP_CTRL_Y) ); 458 VScroll = TRUE; 459 IgnoreTab = TRUE; 460 Border = TRUE; 461 }; 462 PushButton BTN_ERRSEND_SHOWREP 463 { 464 HelpID = "svx:PushButton:RID_SVXPAGE_ERR_REP_SEND:BTN_ERRSEND_SHOWREP"; 465 Pos = MAP_APPFONT( ERRSEND_COL3, ERRSEND_ROW8 ); 466 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 467 Text[ en-US ] = "Show ~Report"; 468 }; 469 PushButton BTN_ERRSEND_OPT 470 { 471 HelpID = "svx:PushButton:RID_SVXPAGE_ERR_REP_SEND:BTN_ERRSEND_OPT"; 472 Pos = MAP_APPFONT( ERRSEND_COL3, ERRSEND_ROW10 ); 473 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 474 Text[ en-US ] = "~Options..."; 475 }; 476 CheckBox CB_ERRSEND_CONTACT 477 { 478 HelpID = "svx:CheckBox:RID_SVXPAGE_ERR_REP_SEND:CB_ERRSEND_CONTACT"; 479 Pos = MAP_APPFONT( ERRSEND_COL0, ERRSEND_ROW12 ); 480 Size = MAP_APPFONT( ERRSEND_CONTROLWIDTH2, RSC_CD_CHECKBOX_HEIGHT ); 481 Check = FALSE; 482 Text[ en-US ] = "~I allow Apache OpenOffice to contact me regarding this report."; 483 }; 484 FixedText FT_ERRSEND_EMAILADDR 485 { 486 Pos = MAP_APPFONT( ERRSEND_COL1, ERRSEND_ROW13 ); 487 Size = MAP_APPFONT( ERRSEND_CONTROLWIDTH3, RSC_CD_FIXEDTEXT_HEIGHT ); 488 Text[ en-US ] = "~Please enter your e-mail address"; 489 }; 490 Edit ED_ERRSEND_EMAILADDR 491 { 492 HelpID = "svx:Edit:RID_SVXPAGE_ERR_REP_SEND:ED_ERRSEND_EMAILADDR"; 493 Pos = MAP_APPFONT( ERRSEND_COL1, ERRSEND_ROW14 ); 494 Size = MAP_APPFONT( ERRSEND_CONTROLWIDTH3, RSC_CD_TEXTBOX_HEIGHT ); 495 Border = TRUE; 496 }; 497 FixedLine FL_RECOV_BOTTOM 498 { 499 Pos = MAP_APPFONT( 0 , ERRSEND_ROW15 ); 500 Size = MAP_APPFONT( ERRSEND_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ); 501 }; 502 PushButton BTN_RECOV_PREV 503 { 504 HelpID = "svx:PushButton:RID_SVXPAGE_ERR_REP_SEND:BTN_RECOV_PREV"; 505 Pos = MAP_APPFONT( ERRSEND_COL5, ERRSEND_ROW16 ); 506 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 507 Text[ en-US ] = "< ~Back"; 508 }; 509 OKButton BTN_RECOV_NEXT 510 { 511 Pos = MAP_APPFONT( ERRSEND_COL6, ERRSEND_ROW16 ); 512 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 513 Text[ en-US ] = "S~end"; 514 DefButton = TRUE; 515 }; 516 CancelButton BTN_RECOV_CANCEL 517 { 518 Pos = MAP_APPFONT( ERRSEND_COL3, ERRSEND_ROW16 ); 519 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 520 Text[ en-US ] = "Do ~Not Send"; 521 }; 522}; 523 524ModalDialog RID_SVX_MDLG_ERR_REP_OPTIONS 525{ 526 Size = MAP_APPFONT( ERROPT_WIDTH, ERROPT_HEIGHT ); 527 HelpId = HID_SVX_MDLG_ERR_REP_OPTIONS; 528 OutputSize = TRUE; 529 SVLook = TRUE; 530 Moveable = TRUE; 531 Text[ en-US ] = "Options"; 532 533 FixedLine FL_ERROPT_PROXY 534 { 535 Pos = MAP_APPFONT( ERROPT_COLA, ERROPT_ROW0 ); 536 Size = MAP_APPFONT( ERROPT_COLF - ERROPT_COLA, RSC_CD_FIXEDLINE_HEIGHT ); 537 Text[ en-US ] = "Proxy settings"; 538 }; 539 540 RadioButton BTN_ERROPT_SYSTEM 541 { 542 HelpID = "svx:RadioButton:RID_SVX_MDLG_ERR_REP_OPTIONS:BTN_ERROPT_SYSTEM"; 543 Pos = MAP_APPFONT( ERROPT_COLB, ERROPT_ROW1 ); 544 Size = MAP_APPFONT( ERROPT_COLF - ERROPT_COLB, RSC_CD_RADIOBUTTON_HEIGHT ); 545 Text[ en-US ] = "Use ~system settings"; 546 }; 547 548 RadioButton BTN_ERROPT_DIRECT 549 { 550 HelpID = "svx:RadioButton:RID_SVX_MDLG_ERR_REP_OPTIONS:BTN_ERROPT_DIRECT"; 551 Pos = MAP_APPFONT( ERROPT_COLB, ERROPT_ROW2 ); 552 Size = MAP_APPFONT( ERROPT_COLF - ERROPT_COLB, RSC_CD_RADIOBUTTON_HEIGHT ); 553 Text[ en-US ] = "Use ~direct connection to the Internet"; 554 }; 555 556 RadioButton BTN_ERROPT_MANUAL 557 { 558 HelpID = "svx:RadioButton:RID_SVX_MDLG_ERR_REP_OPTIONS:BTN_ERROPT_MANUAL"; 559 Pos = MAP_APPFONT( ERROPT_COLB, ERROPT_ROW3 ); 560 Size = MAP_APPFONT( ERROPT_COLF - ERROPT_COLB, RSC_CD_RADIOBUTTON_HEIGHT ); 561 Text[ en-US ] = "Use ~manual settings"; 562 }; 563 564 FixedText FT_ERROPT_PROXYSERVER 565 { 566 Pos = MAP_APPFONT( ERROPT_COLC, ERROPT_ROW4 ); 567 Size = MAP_APPFONT( ERROPT_SERVER_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT ); 568 Text[ en-US ] = "HT~TP Proxy"; 569 }; 570 571 Edit ED_ERROPT_PROXYSERVER 572 { 573 HelpID = "svx:Edit:RID_SVX_MDLG_ERR_REP_OPTIONS:ED_ERROPT_PROXYSERVER"; 574 Pos = MAP_APPFONT( ERROPT_COLC, ERROPT_ROW5 ); 575 Size = MAP_APPFONT( ERROPT_SERVER_WIDTH, RSC_CD_TEXTBOX_HEIGHT ); 576 Border = TRUE; 577 }; 578 579 FixedText FT_ERROPT_PROXYPORT 580 { 581 Pos = MAP_APPFONT( ERROPT_COLC + ERROPT_SERVER_WIDTH + RSC_SP_CTRL_GROUP_X, ERROPT_ROW4 ); 582 Size = MAP_APPFONT( ERROPT_PORT_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT ); 583 Text[ en-US ] = "~Port"; 584 }; 585 586 Edit ED_ERROPT_PROXYPORT 587 { 588 HelpID = "svx:Edit:RID_SVX_MDLG_ERR_REP_OPTIONS:ED_ERROPT_PROXYPORT"; 589 Pos = MAP_APPFONT( ERROPT_COLC + ERROPT_SERVER_WIDTH + RSC_SP_CTRL_GROUP_X, ERROPT_ROW5 ); 590 Size = MAP_APPFONT( ERROPT_PORT_WIDTH, RSC_CD_TEXTBOX_HEIGHT ); 591 Border = TRUE; 592 }; 593 594 FixedText FT_ERROPT_DESCRIPTION 595 { 596 Pos = MAP_APPFONT( ERROPT_COLB, ERROPT_ROW6 ); 597 Size = MAP_APPFONT( ERROPT_COLF - ERROPT_COLB, ERROPT_ROW7 - ERROPT_ROW6 ); 598 WordBreak = TRUE; 599 Text[ en-US ] = "The %PRODUCTNAME Error Report tool needs to be connected to the Internet to be able to send error reports.\nCompanies often use proxy servers in conjunction with a firewall to protect the network.\nIf this applies to your situation, you have to specify the address and port for the server."; 600 }; 601 602 FixedLine FL_ERROPT_BUTTONS 603 { 604 Pos = MAP_APPFONT( 0, ERROPT_ROW8 ); 605 Size = MAP_APPFONT( ERROPT_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ); 606 }; 607 608 OKButton BTN_ERROPT_OK 609 { 610 Pos = MAP_APPFONT( ERROPT_COLD, ERROPT_ROW9 ); 611 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 612 DefButton = TRUE; 613 }; 614 615 CancelButton BTN_ERROPT_CANCEL 616 { 617 Pos = MAP_APPFONT( ERROPT_COLE, ERROPT_ROW9 ); 618 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 619 }; 620}; 621 622 623ModalDialog RID_SVX_MDLG_ERR_REP_PREVIEW 624{ 625 Size = MAP_APPFONT( ERRPREVIEW_WIDTH, ERRPREVIEW_HEIGHT ); 626 HelpId = HID_SVX_MDLG_ERR_REP_PREVIEW; 627 OutputSize = TRUE; 628 SVLook = TRUE; 629 Moveable = TRUE; 630 Sizeable = TRUE; 631 Text[ en-US ] = "Error Report"; 632 633 MultiLineEdit ML_ERRPREVIEW_CONTENT 634 { 635 HelpID = "svx:MultiLineEdit:RID_SVX_MDLG_ERR_REP_PREVIEW:ML_ERRPREVIEW_CONTENT"; 636 Pos = MAP_APPFONT( ERRPREVIEW_COLA, ERRPREVIEW_ROW0 ); 637 Size = MAP_APPFONT( ERRPREVIEW_COLC - ERRPREVIEW_COLA, ERRPREVIEW_ROW1 - ERRPREVIEW_ROW0 ); 638 VScroll = TRUE; 639 HScroll = TRUE; 640 ReadOnly = TRUE; 641 Border = TRUE; 642 }; 643 644 OKButton BTN_ERRPREVIEW_OK 645 { 646 Pos = MAP_APPFONT( ERRPREVIEW_COLB, ERRPREVIEW_ROW2 ); 647 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 648 DefButton = TRUE; 649 }; 650}; 651