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#include "app.hrc" 29#include "newhelp.hrc" 30#include "helpid.hrc" 31 32Window WIN_HELPINDEX 33{ 34 Hide = TRUE ; 35 Size = MAP_APPFONT ( 120 , 200 ) ; 36 DialogControl = TRUE; 37 ListBox LB_ACTIVE 38 { 39 HelpId = HID_HELP_LISTBOX; 40 Border = TRUE ; 41 DropDown = TRUE; 42 Pos = MAP_APPFONT ( 3 , 3 ) ; 43 Size = MAP_APPFONT ( 114 , 40 ) ; 44 }; 45 FixedLine FL_ACTIVE 46 { 47 Hide = True; 48 Pos = MAP_APPFONT ( 2, 19 ) ; 49 Size = MAP_APPFONT ( 118 , 1 ) ; 50 }; 51 TabControl TC_INDEX 52 { 53 HelpId = HID_HELP_TABCONTROL; 54 Pos = MAP_APPFONT ( 3, 19 ) ; 55 TabStop = TRUE; 56 PageList = 57 { 58 PageItem 59 { 60 Identifier = HELP_INDEX_PAGE_CONTENTS ; 61 Text [ en-US ] = "Contents"; 62 }; 63 PageItem 64 { 65 Identifier = HELP_INDEX_PAGE_INDEX ; 66 Text [ en-US ] = "Index"; 67 }; 68 PageItem 69 { 70 Identifier = HELP_INDEX_PAGE_SEARCH ; 71 Text [ en-US ] = "Find"; 72 }; 73 PageItem 74 { 75 Identifier = HELP_INDEX_PAGE_BOOKMARKS ; 76 Text [ en-US ] = "Bookmarks"; 77 }; 78 }; 79 }; 80}; 81 82TabPage TP_HELP_INDEX 83{ 84 HelpId = HID_HELP_TABPAGE_INDEX; 85 Hide = TRUE ; 86 DialogControl = TRUE; 87 Size = MAP_APPFONT ( 120 , 200 ) ; 88 FixedText FT_EXPRESSION 89 { 90 Pos = MAP_APPFONT ( 6 , 6 ) ; 91 Size = MAP_APPFONT ( 108 , 10 ) ; 92 Text [ en-US ] = "~Search term" ; 93 }; 94 ComboBox CB_INDEX 95 { 96 HelpID = "sfx2:ComboBox:TP_HELP_INDEX:CB_INDEX"; 97 Border = TRUE ; 98 Pos = MAP_APPFONT ( 6 , 17 ) ; 99 Size = MAP_APPFONT ( 108 , 97 ) ; 100 }; 101 PushButton PB_OPEN_INDEX 102 { 103 HelpID = "sfx2:PushButton:TP_HELP_INDEX:PB_OPEN_INDEX"; 104 Pos = MAP_APPFONT ( 64 , 115 ) ; 105 Size = MAP_APPFONT ( 50 , 14 ) ; 106 Text [ en-US ] = "~Display" ; 107 }; 108}; 109 110TabPage TP_HELP_SEARCH 111{ 112 HelpId = HID_HELP_TABPAGE_SEARCH; 113 Hide = TRUE ; 114 DialogControl = TRUE; 115 Size = MAP_APPFONT ( 140 , 122 ) ; 116 FixedText FT_SEARCH 117 { 118 Pos = MAP_APPFONT ( 6 , 6 ) ; 119 Size = MAP_APPFONT ( 128 , 10 ) ; 120 Text [ en-US ] = "S~earch term" ; 121 }; 122 ComboBox ED_SEARCH 123 { 124 HelpID = "sfx2:ComboBox:TP_HELP_SEARCH:ED_SEARCH"; 125 Border = TRUE ; 126 DropDown = TRUE; 127 Pos = MAP_APPFONT ( 6 , 17 ) ; 128 Size = MAP_APPFONT ( 92 , 40 ) ; 129 }; 130 PushButton PB_SEARCH 131 { 132 HelpID = "sfx2:PushButton:TP_HELP_SEARCH:PB_SEARCH"; 133 Pos = MAP_APPFONT ( 101 , 17 ) ; 134 Size = MAP_APPFONT ( 50 , 14 ) ; 135 Text [ en-US ] = "~Find"; 136 }; 137 CheckBox CB_FULLWORDS 138 { 139 HelpID = "sfx2:CheckBox:TP_HELP_SEARCH:CB_FULLWORDS"; 140 Pos = MAP_APPFONT ( 6, 34 ) ; 141 Size = MAP_APPFONT ( 128 , 10 ) ; 142 Text [ en-US ] = "~Complete words only"; 143 }; 144 CheckBox CB_SCOPE 145 { 146 HelpID = "sfx2:CheckBox:TP_HELP_SEARCH:CB_SCOPE"; 147 Pos = MAP_APPFONT ( 6, 47 ) ; 148 Size = MAP_APPFONT ( 128 , 10 ) ; 149 Text [ en-US ] = "Find in ~headings only"; 150 }; 151 ListBox LB_RESULT 152 { 153 HelpID = "sfx2:ListBox:TP_HELP_SEARCH:LB_RESULT"; 154 Border = TRUE ; 155 Pos = MAP_APPFONT ( 6 , 60 ) ; 156 Size = MAP_APPFONT ( 128 , 30 ) ; 157 }; 158 PushButton PB_OPEN_SEARCH 159 { 160 HelpID = "sfx2:PushButton:TP_HELP_SEARCH:PB_OPEN_SEARCH"; 161 Pos = MAP_APPFONT ( 84 , 182 ) ; 162 Size = MAP_APPFONT ( 50 , 14 ) ; 163 Text [ en-US ] = "~Display" ; 164 }; 165}; 166 167TabPage TP_HELP_BOOKMARKS 168{ 169 HelpId = HID_HELP_TABPAGE_BOOKMARKS; 170 Hide = TRUE ; 171 DialogControl = TRUE; 172 Size = MAP_APPFONT ( 120 , 200 ) ; 173 FixedText FT_BOOKMARKS 174 { 175 Pos = MAP_APPFONT ( 6 , 6 ) ; 176 Size = MAP_APPFONT ( 108 , 10 ) ; 177 Text [ en-US ] = "~Bookmarks" ; 178 }; 179 ListBox LB_BOOKMARKS 180 { 181 HelpID = "sfx2:ListBox:TP_HELP_BOOKMARKS:LB_BOOKMARKS"; 182 Border = TRUE ; 183 Sort = TRUE; 184 Pos = MAP_APPFONT ( 6 , 19 ) ; 185 Size = MAP_APPFONT ( 108 , 97 ) ; 186 }; 187 PushButton PB_BOOKMARKS 188 { 189 HelpID = "sfx2:PushButton:TP_HELP_BOOKMARKS:PB_BOOKMARKS"; 190 Pos = MAP_APPFONT ( 64 , 119 ) ; 191 Size = MAP_APPFONT ( 50 , 14 ) ; 192 Text [ en-US ] = "~Display" ; 193 }; 194}; 195 196TabPage TP_HELP_CONTENT 197{ 198 HelpId = HID_HELP_TABPAGE_CONTENTS; 199 Hide = TRUE ; 200 DialogControl = TRUE; 201 Size = MAP_APPFONT ( 120 , 200 ) ; 202 Control LB_CONTENTS 203 { 204 HelpId = HID_HELP_TREELISTBOX_CONTENTS ; 205 Border = TRUE ; 206 TabStop = TRUE; 207 Pos = MAP_APPFONT ( 6 , 6 ) ; 208 Size = MAP_APPFONT ( 108 , 188 ) ; 209 }; 210}; 211 212#define MASKCOLOR_MAGENTA \ 213 MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }; 214 215Image IMG_HELP_TOOLBOX_INDEX_ON 216{ 217 ImageBitmap = Bitmap { File = "indexon_small.bmp" ; }; 218 MASKCOLOR_MAGENTA 219}; 220Image IMG_HELP_TOOLBOX_INDEX_OFF 221{ 222 ImageBitmap = Bitmap { File = "indexoff_small.bmp" ; }; 223 MASKCOLOR_MAGENTA 224}; 225Image IMG_HELP_TOOLBOX_START 226{ 227 ImageBitmap = Bitmap { File = "sc06303.bmp" ; }; 228 MASKCOLOR_MAGENTA 229}; 230Image IMG_HELP_TOOLBOX_PREV 231{ 232 ImageBitmap = Bitmap { File = "sc06301.bmp" ; }; 233 MASKCOLOR_MAGENTA 234}; 235Image IMG_HELP_TOOLBOX_NEXT 236{ 237 ImageBitmap = Bitmap { File = "sc06300.bmp" ; }; 238 MASKCOLOR_MAGENTA 239}; 240Image IMG_HELP_TOOLBOX_PRINT 241{ 242 ImageBitmap = Bitmap { File = "sc05504.bmp" ; }; 243 MASKCOLOR_MAGENTA 244}; 245Image IMG_HELP_TOOLBOX_BOOKMARKS 246{ 247 ImageBitmap = Bitmap { File = "favourite.bmp" ; }; 248 MASKCOLOR_MAGENTA 249}; 250Image IMG_HELP_TOOLBOX_SEARCHDIALOG 251{ 252 ImageBitmap = Bitmap { File = "sc05961.bmp" ; }; 253 MASKCOLOR_MAGENTA 254}; 255Image IMG_HELP_TOOLBOX_COPY 256{ 257 ImageBitmap = Bitmap { File = "sc05711.bmp" ; }; 258 MASKCOLOR_MAGENTA 259}; 260Image IMG_HELP_CONTENT_BOOK_OPEN 261{ 262 ImageBitmap = Bitmap { File = "hlpbookopen.bmp" ; }; 263 MASKCOLOR_MAGENTA 264}; 265Image IMG_HELP_CONTENT_BOOK_OPEN_HC 266{ 267 ImageBitmap = Bitmap { File = "hlpbookopen_h.bmp" ; }; 268 MASKCOLOR_MAGENTA 269}; 270Image IMG_HELP_CONTENT_BOOK_CLOSED 271{ 272 ImageBitmap = Bitmap { File = "hlpbookclosed.bmp" ; }; 273 MASKCOLOR_MAGENTA 274}; 275Image IMG_HELP_CONTENT_BOOK_CLOSED_HC 276{ 277 ImageBitmap = Bitmap { File = "hlpbookclosed_h.bmp" ; }; 278 MASKCOLOR_MAGENTA 279}; 280Image IMG_HELP_CONTENT_DOC 281{ 282 ImageBitmap = Bitmap { File = "hlpdoc.bmp" ; }; 283 MASKCOLOR_MAGENTA 284}; 285Image IMG_HELP_CONTENT_DOC_HC 286{ 287 ImageBitmap = Bitmap { File = "hlpdoc_h.bmp" ; }; 288 MASKCOLOR_MAGENTA 289}; 290 291String STR_HELP_WINDOW_TITLE 292{ 293 Text [ en-US ] = "%PRODUCTNAME Help"; 294}; 295String STR_HELP_BUTTON_INDEX_ON 296{ 297 Text [ en-US ] = "Show Navigation Pane"; 298}; 299String STR_HELP_BUTTON_INDEX_OFF 300{ 301 Text [ en-US ] = "Hide Navigation Pane"; 302}; 303String STR_HELP_BUTTON_START 304{ 305 Text [ en-US ] = "First Page"; 306}; 307String STR_HELP_BUTTON_PREV 308{ 309 Text [ en-US ] = "Previous Page"; 310}; 311String STR_HELP_BUTTON_NEXT 312{ 313 Text [ en-US ] = "Next Page"; 314}; 315String STR_HELP_BUTTON_PRINT 316{ 317 Text [ en-US ] = "Print..."; 318}; 319String STR_HELP_BUTTON_ADDBOOKMARK 320{ 321 Text [ en-US ] = "Add to Bookmarks..."; 322}; 323String STR_HELP_BUTTON_SEARCHDIALOG 324{ 325 Text [ en-US ] = "Find on this Page..."; 326}; 327String STR_HELP_BUTTON_SOURCEVIEW 328{ 329 Text [ en-US ] = "HTML Source"; 330}; 331 332String STR_HELP_FIRST_MESSAGE 333{ 334 Text [ en-US ] = "The Help is being started..."; 335}; 336String STR_HELP_FIRST_HTML 337{ 338 Text = "<html></head><body><center><br></br><br></br><p><tt>%1</tt></center></body></html>"; 339}; 340String STR_HELP_MENU_TEXT_SELECTION_MODE 341{ 342 Text [ en-US ] = "Select Text"; 343}; 344String STR_HELP_MENU_TEXT_COPY 345{ 346 Text [ en-US ] = "~Copy" ; 347}; 348ModalDialog DLG_HELP_ADDBOOKMARK 349{ 350 HelpID = "sfx2:ModalDialog:DLG_HELP_ADDBOOKMARK"; 351 Size = MAP_APPFONT ( 208 , 43 ) ; 352 Text [ en-US ] = "Add to Bookmarks"; 353 MOVEABLE = TRUE ; 354 CLOSEABLE = TRUE ; 355 OUTPUTSIZE = TRUE ; 356 SVLOOK = TRUE ; 357 FixedText FT_BOOKMARK_TITLE 358 { 359 PosSize = MAP_APPFONT ( 6 , 6 , 140 , 10 ) ; 360 Text [ en-US ] = "Bookmark:" ; 361 TABSTOP = FALSE ; 362 GROUP = TRUE ; 363 LEFT = TRUE ; 364 }; 365 Edit ED_BOOKMARK_TITLE 366 { 367 HelpID = "sfx2:Edit:DLG_HELP_ADDBOOKMARK:ED_BOOKMARK_TITLE"; 368 PosSize = MAP_APPFONT ( 6 , 19 , 140 , 12 ) ; 369 TABSTOP = TRUE ; 370 BORDER = TRUE ; 371 }; 372 OKButton PB_BOOKMARK_OK 373 { 374 PosSize = MAP_APPFONT ( 152 , 6 , 50 , 14 ) ; 375 HIDE = FALSE ; 376 TABSTOP = TRUE ; 377 GROUP = TRUE ; 378 Disable = FALSE ; 379 DefButton = TRUE ; 380 }; 381 CancelButton PB_BOOKMARK_CANCEL 382 { 383 PosSize = MAP_APPFONT ( 152 , 23 , 50 , 14 ) ; 384 TABSTOP = TRUE ; 385 GROUP = TRUE ; 386 }; 387 HelpButton PB_BOOKMARK_HELP 388 { 389 PosSize = MAP_APPFONT ( 152 , 43 , 50 , 14 ) ; 390 TABSTOP = TRUE ; 391 GROUP = TRUE ; 392 Hide = TRUE; 393 }; 394 String STR_BOOKMARK_RENAME 395 { 396 Text [ en-US ] = "Rename Bookmark"; 397 }; 398}; 399 400Menu MENU_HELP_BOOKMARKS 401{ 402 ItemList = 403 { 404 MenuItem 405 { 406 Identifier = MID_OPEN ; 407 HelpId = HID_HELP_BOOKMARKS_OPEN; 408 Text [ en-US ] = "Display"; 409 }; 410 MenuItem 411 { 412 Separator = TRUE ; 413 }; 414 MenuItem 415 { 416 Identifier = MID_RENAME ; 417 HelpId = HID_HELP_BOOKMARKS_RENAME; 418 Text [ en-US ] = "Rename..."; 419 }; 420 MenuItem 421 { 422 Identifier = MID_DELETE ; 423 HelpId = HID_HELP_BOOKMARKS_DELETE; 424 Text [ en-US ] = "Delete"; 425 }; 426 }; 427}; 428 429InfoBox RID_INFO_NOSEARCHRESULTS 430{ 431 BUTTONS = WB_OK ; 432 DEFBUTTON = WB_DEF_OK ; 433 Message [ en-US ] = "No topics found."; 434}; 435 436InfoBox RID_INFO_NOSEARCHTEXTFOUND 437{ 438 BUTTONS = WB_OK ; 439 DEFBUTTON = WB_DEF_OK ; 440 Message [ en-US ] = "The text you entered was not found."; 441}; 442 443Image IMG_HELP_TOOLBOX_HC_INDEX_ON 444{ 445 ImageBitmap = Bitmap { File = "indexon_small_h.bmp" ; }; 446 MASKCOLOR_MAGENTA 447}; 448Image IMG_HELP_TOOLBOX_HC_INDEX_OFF 449{ 450 ImageBitmap = Bitmap { File = "indexoff_small_h.bmp" ; }; 451 MASKCOLOR_MAGENTA 452}; 453Image IMG_HELP_TOOLBOX_HC_START 454{ 455 ImageBitmap = Bitmap { File = "sch06303.bmp" ; }; 456 MASKCOLOR_MAGENTA 457}; 458Image IMG_HELP_TOOLBOX_HC_PREV 459{ 460 ImageBitmap = Bitmap { File = "sch06301.bmp" ; }; 461 MASKCOLOR_MAGENTA 462}; 463Image IMG_HELP_TOOLBOX_HC_NEXT 464{ 465 ImageBitmap = Bitmap { File = "sch06300.bmp" ; }; 466 MASKCOLOR_MAGENTA 467}; 468Image IMG_HELP_TOOLBOX_HC_PRINT 469{ 470 ImageBitmap = Bitmap { File = "sch05504.bmp" ; }; 471 MASKCOLOR_MAGENTA 472}; 473Image IMG_HELP_TOOLBOX_HC_BOOKMARKS 474{ 475 ImageBitmap = Bitmap { File = "favourite_h.bmp" ; }; 476 MASKCOLOR_MAGENTA 477}; 478Image IMG_HELP_TOOLBOX_HC_SEARCHDIALOG 479{ 480 ImageBitmap = Bitmap { File = "sch05961.bmp" ; }; 481 MASKCOLOR_MAGENTA 482}; 483Image IMG_HELP_TOOLBOX_HC_COPY 484{ 485 ImageBitmap = Bitmap { File = "sch05711.bmp" ; }; 486 MASKCOLOR_MAGENTA 487}; 488 489Image IMG_HELP_TOOLBOX_L_INDEX_ON 490{ 491 ImageBitmap = Bitmap { File = "indexon_big.bmp" ; }; 492 MASKCOLOR_MAGENTA 493}; 494Image IMG_HELP_TOOLBOX_L_INDEX_OFF 495{ 496 ImageBitmap = Bitmap { File = "indexoff_big.bmp" ; }; 497 MASKCOLOR_MAGENTA 498}; 499Image IMG_HELP_TOOLBOX_L_START 500{ 501 ImageBitmap = Bitmap { File = "lc06303.bmp" ; }; 502 MASKCOLOR_MAGENTA 503}; 504Image IMG_HELP_TOOLBOX_L_PREV 505{ 506 ImageBitmap = Bitmap { File = "lc06301.bmp" ; }; 507 MASKCOLOR_MAGENTA 508}; 509Image IMG_HELP_TOOLBOX_L_NEXT 510{ 511 ImageBitmap = Bitmap { File = "lc06300.bmp" ; }; 512 MASKCOLOR_MAGENTA 513}; 514Image IMG_HELP_TOOLBOX_L_PRINT 515{ 516 ImageBitmap = Bitmap { File = "lc05504.bmp" ; }; 517 MASKCOLOR_MAGENTA 518}; 519Image IMG_HELP_TOOLBOX_L_BOOKMARKS 520{ 521 ImageBitmap = Bitmap { File = "favourite_big.bmp" ; }; 522 MASKCOLOR_MAGENTA 523}; 524Image IMG_HELP_TOOLBOX_L_SEARCHDIALOG 525{ 526 ImageBitmap = Bitmap { File = "lc05961.bmp" ; }; 527 MASKCOLOR_MAGENTA 528}; 529Image IMG_HELP_TOOLBOX_L_COPY 530{ 531 ImageBitmap = Bitmap { File = "lc05711.bmp" ; }; 532 MASKCOLOR_MAGENTA 533}; 534 535Image IMG_HELP_TOOLBOX_HCL_INDEX_ON 536{ 537 ImageBitmap = Bitmap { File = "indexon_big_h.bmp" ; }; 538 MASKCOLOR_MAGENTA 539}; 540Image IMG_HELP_TOOLBOX_HCL_INDEX_OFF 541{ 542 ImageBitmap = Bitmap { File = "indexoff_big_h.bmp" ; }; 543 MASKCOLOR_MAGENTA 544}; 545Image IMG_HELP_TOOLBOX_HCL_START 546{ 547 ImageBitmap = Bitmap { File = "lch06303.bmp" ; }; 548 MASKCOLOR_MAGENTA 549}; 550Image IMG_HELP_TOOLBOX_HCL_PREV 551{ 552 ImageBitmap = Bitmap { File = "lch06301.bmp" ; }; 553 MASKCOLOR_MAGENTA 554}; 555Image IMG_HELP_TOOLBOX_HCL_NEXT 556{ 557 ImageBitmap = Bitmap { File = "lch06300.bmp" ; }; 558 MASKCOLOR_MAGENTA 559}; 560Image IMG_HELP_TOOLBOX_HCL_PRINT 561{ 562 ImageBitmap = Bitmap { File = "lch05504.bmp" ; }; 563 MASKCOLOR_MAGENTA 564}; 565Image IMG_HELP_TOOLBOX_HCL_BOOKMARKS 566{ 567 ImageBitmap = Bitmap { File = "favourite_big_h.bmp" ; }; 568 MASKCOLOR_MAGENTA 569}; 570Image IMG_HELP_TOOLBOX_HCL_SEARCHDIALOG 571{ 572 ImageBitmap = Bitmap { File = "lch05961.bmp" ; }; 573 MASKCOLOR_MAGENTA 574}; 575Image IMG_HELP_TOOLBOX_HCL_COPY 576{ 577 ImageBitmap = Bitmap { File = "lch05711.bmp" ; }; 578 MASKCOLOR_MAGENTA 579}; 580 581CheckBox RID_HELP_ONSTARTUP_BOX 582{ 583 HelpId = HID_HELP_ONSTARTUP_BOX; 584 Hide = TRUE; 585 TabStop = TRUE; 586 Size = MAP_APPFONT ( 200 , 10 ) ; 587}; 588String RID_HELP_ONSTARTUP_TEXT 589{ 590 Text [ en-US ] = "~Display %PRODUCTNAME %MODULENAME Help at Startup"; 591}; 592 593