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