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#include "cmdid.h" 23#include "utlui.hrc" 24#include "navipi.hrc" 25#include "helpid.h" 26#include "access.hrc" 27 28Window DLG_NAVIGATION_PI 29{ 30 HelpID = HID_NAVIGATION_PI ; 31 OutputSize = TRUE ; 32 DialogControl = TRUE ; 33 SVLook = TRUE ; 34 // Size = MAP_PIXEL( 235, 195 ) ; 35 // ZoomInOutputSize = MAP_PIXEL (235, 56) ; 36 Size = MAP_PIXEL ( 282, 59 ) ; 37 // Closeable = TRUE ; 38 // Zoomable = TRUE ; 39 // Moveable = TRUE ; 40 // ZoomIn = FALSE ; 41 Hide = TRUE ; 42 // HideWhenDeactivate = TRUE ; 43 // Sizeable = TRUE ; 44 // EnableResizing = TRUE ; 45 // Dockable = TRUE ; 46 // Sizeable = TRUE ; 47 Text [ en-US ] = "Navigator" ; 48 ExtraData = 49 { 50 198; 51 }; 52 /************************************************************************************ 53 Toolbox begins at 323 x 54 ************************************************************************************/ 55#define NAVI_IDLIST \ 56 IdList = \ 57 { \ 58 FN_UP ; \ 59 FN_DOWN ; \ 60 FN_SELECT_HEADER ; \ 61 FN_SELECT_FOOTER ; \ 62 FN_SELECT_FOOTNOTE ; \ 63 FN_SHOW_CONTENT_BOX ; \ 64 FN_SHOW_ROOT ; \ 65 FN_ITEM_UP ; \ 66 FN_ITEM_DOWN ; \ 67 FN_ITEM_LEFT ; \ 68 FN_ITEM_RIGHT ; \ 69 FN_DROP_REGION ; \ 70 FN_OUTLINE_LEVEL ; \ 71 FN_SELECT_SET_AUTO_BOOKMARK ; \ 72 FN_DROP_REGION_LINK ; \ 73 FN_DROP_REGION_COPY ; \ 74 FN_GLOBAL_SWITCH ; \ 75 FN_GLOBAL_EDIT ; \ 76 FN_GLOBAL_UPDATE ; \ 77 FN_GLOBAL_OPEN ; \ 78 FN_GLOBAL_SAVE_CONTENT ; \ 79 FN_CREATE_NAVIGATION ; \ 80 }; \ 81 IdCount = { 21 ; } ; 82 83 ImageList IL_CONTENT 84 { 85 Prefix = "sc" ; 86 MaskColor = IMAGE_MASK_COLOR ; 87 NAVI_IDLIST 88 }; 89 ImageList ILH_CONTENT 90 { 91 Prefix = "sch" ; 92 MaskColor = IMAGE_MASK_COLOR ; 93 NAVI_IDLIST 94 }; 95 Toolbox TB_CONTENT 96 { 97 Pos = MAP_PIXEL ( 5, 5 ) ; 98 Size = MAP_PIXEL ( 300, 47 ) ; 99 LineCount = 2 ; 100 ItemList = 101 { 102 ToolBoxItem 103 { 104 Identifier = FN_GLOBAL_SWITCH ; 105 HelpID = HID_NAVI_TBX17 ; 106 Text [ en-US ] = "Toggle" ; 107 }; 108 ToolBoxItem 109 { 110 Identifier = FN_CREATE_NAVIGATION ; 111 HelpID = HID_NAVI_TBX24 ; 112 Text [ en-US ] = "Navigation" ; 113 DropDown = TRUE ; 114 }; 115 ToolBoxItem 116 { 117 Identifier = FN_UP ; 118 // ItemBitmap = Bitmap { File = "navup.png" ; }; 119 HelpID = HID_NAVI_TBX2 ; 120 Text [ en-US ] = "Back" ; 121 }; 122 ToolBoxItem 123 { 124 Identifier = FN_DOWN ; 125 // ItemBitmap = Bitmap { File = "navdn.png" ; }; 126 HelpID = HID_NAVI_TBX3 ; 127 Text [ en-US ] = "Forward" ; 128 }; 129 ToolBoxItem 130 { 131 Identifier = FN_DROP_REGION ; 132 HelpID = HID_NAVI_TBX4 ; 133 DropDown = TRUE ; 134 Text [ en-US ] = "Drag Mode" ; 135 }; 136 ToolBoxItem 137 { 138 Type = TOOLBOXITEM_SEPARATOR ; 139 }; 140 ToolBoxItem 141 { 142 Identifier = FN_ITEM_UP ; 143 // ItemBitmap = Bitmap { File = "navchup.png" ; }; 144 HelpID = HID_NAVI_TBX5 ; 145 Text [ en-US ] = "Promote Chapter" ; 146 }; 147 ToolBoxItem 148 { 149 Identifier = FN_ITEM_DOWN ; 150 // ItemBitmap = Bitmap { File = "navchdn.png" ; }; 151 HelpID = HID_NAVI_TBX6 ; 152 Text [ en-US ] = "Demote Chapter" ; 153 }; 154 ToolBoxItem 155 { 156 Type = TOOLBOXITEM_BREAK ; 157 }; 158 ToolBoxItem 159 { 160 Identifier = FN_SHOW_CONTENT_BOX ; 161 HelpID = HID_NAVI_TBX7 ; 162 Text [ en-US ] = "List Box On/Off" ; 163 }; 164 ToolBoxItem 165 { 166 Identifier = FN_SHOW_ROOT ; 167 HelpID = HID_NAVI_TBX8 ; 168 Text [ en-US ] = "Content View" ; 169 }; 170 ToolBoxItem 171 { 172 Type = TOOLBOXITEM_SEPARATOR ; 173 }; 174 ToolBoxItem 175 { 176 Identifier = FN_SELECT_SET_AUTO_BOOKMARK ; 177 HelpID = HID_NAVI_TBX9 ; 178 // ItemBitmap = Bitmap { File = "navstmp.png" ; }; 179 Text [ en-US ] = "Set Reminder" ; 180 }; 181 ToolBoxItem 182 { 183 Type = TOOLBOXITEM_SEPARATOR ; 184 }; 185 ToolBoxItem 186 { 187 Identifier = FN_SELECT_HEADER ; 188 // ItemBitmap = Bitmap { File = "navhead.png" ; }; 189 HelpID = HID_NAVI_TBX10 ; 190 Text [ en-US ] = "Header" ; 191 }; 192 ToolBoxItem 193 { 194 Identifier = FN_SELECT_FOOTER ; 195 // ItemBitmap = Bitmap { File = "navfoot.png" ; }; 196 HelpID = HID_NAVI_TBX11 ; 197 Text [ en-US ] = "Footer" ; 198 }; 199 ToolBoxItem 200 { 201 Identifier = FN_SELECT_FOOTNOTE ; 202 // ItemBitmap = Bitmap { File = "navnote.png" ; }; 203 HelpID = HID_NAVI_TBX12 ; 204 Text [ en-US ] = "Anchor<->Text" ; 205 }; 206 ToolBoxItem 207 { 208 Type = TOOLBOXITEM_SEPARATOR ; 209 }; 210 ToolBoxItem 211 { 212 Identifier = FN_OUTLINE_LEVEL ; 213 HelpID = HID_NAVI_TBX13 ; 214 Text [ en-US ] = "Heading Levels Shown" ; 215 DropDown = TRUE ; 216 }; 217 ToolBoxItem 218 { 219 Type = TOOLBOXITEM_SEPARATOR ; 220 }; 221 ToolBoxItem 222 { 223 Identifier = FN_ITEM_LEFT ; 224 HelpID = HID_NAVI_TBX14 ; 225 // ItemBitmap = Bitmap { File = "navchlf.png" ; }; 226 Text [ en-US ] = "Promote Level" ; 227 }; 228 ToolBoxItem 229 { 230 Identifier = FN_ITEM_RIGHT ; 231 // ItemBitmap = Bitmap { File = "navchrg.png" ; }; 232 HelpID = HID_NAVI_TBX15 ; 233 Text [ en-US ] = "Demote Level" ; 234 }; 235 }; 236 }; 237 ToolBox TB_GLOBAL 238 { 239 Pos = MAP_PIXEL ( 5, 5 ) ; 240 Size = MAP_PIXEL ( 300, 47 ) ; 241 LineCount = 1 ; 242 Hide = TRUE ; 243 ItemList = 244 { 245 ToolBoxItem 246 { 247 Identifier = FN_GLOBAL_SWITCH ; 248 HelpID = HID_NAVI_TBX17 ; 249 Text [ en-US ] = "Toggle" ; 250 }; 251 ToolBoxItem 252 { 253 Type = TOOLBOXITEM_SEPARATOR ; 254 }; 255 ToolBoxItem 256 { 257 Identifier = FN_GLOBAL_EDIT ; 258 HelpID = HID_NAVI_TBX18 ; 259 Text [ en-US ] = "Edit" ; 260 }; 261 ToolBoxItem 262 { 263 Identifier = FN_GLOBAL_UPDATE ; 264 HelpID = HID_NAVI_TBX19 ; 265 Text [ en-US ] = "Update" ; 266 }; 267 ToolBoxItem 268 { 269 Identifier = FN_GLOBAL_OPEN ; 270 HelpID = HID_NAVI_TBX20 ; 271 Text [ en-US ] = "Insert" ; 272 }; 273 ToolBoxItem 274 { 275 Type = TOOLBOXITEM_SEPARATOR ; 276 }; 277 ToolBoxItem 278 { 279 Identifier = FN_GLOBAL_SAVE_CONTENT ; 280 HelpID = HID_NAVI_TBX21 ; 281 Text [ en-US ] = "Save Contents as well" ; 282 }; 283 ToolBoxItem 284 { 285 Type = TOOLBOXITEM_SEPARATOR ; 286 }; 287 ToolBoxItem 288 { 289 Identifier = FN_ITEM_UP ; 290 HelpID = HID_NAVI_TBX22 ; 291 Text [ en-US ] = "Move Up" ; 292 }; 293 ToolBoxItem 294 { 295 Identifier = FN_ITEM_DOWN ; 296 HelpID = HID_NAVI_TBX23 ; 297 Text [ en-US ] = "Move Down" ; 298 }; 299 }; 300 }; 301 /* TreeListBox */ 302 Control TL_CONTENT 303 { 304 HelpID = HID_NAVI_CONTENT ; 305 Border = TRUE ; 306 Pos = MAP_PIXEL ( 5, 62 ) ; 307 Size = MAP_PIXEL ( 274, 112 ) ; 308 TabStop = TRUE ; 309 ClipChildren = TRUE ; 310 Hide = TRUE ; 311 }; 312 Control TL_GLOBAL 313 { 314 HelpID = HID_NAVI_GLOBAL ; 315 Border = TRUE ; 316 Pos = MAP_PIXEL ( 5, 34 ) ; 317 Size = MAP_PIXEL ( 274, 112 ) ; 318 TabStop = TRUE ; 319 ClipChildren = TRUE ; 320 Hide = TRUE ; 321 }; 322 ListBox LB_DOCS 323 { 324 Border = TRUE ; 325 Pos = MAP_PIXEL ( 5, 115 ) ; 326 Size = MAP_APPFONT ( 150, 50 ) ; 327 DropDown = TRUE ; 328 }; 329 NumericField NF_PAGE 330 { 331 Border = TRUE ; 332 Pos = MAP_PIXEL ( 50, 29 ) ; 333 Size = MAP_PIXEL ( 34, 20 ) ; 334 TabStop = TRUE ; 335 Left = TRUE ; 336 Repeat = TRUE ; 337 Spin = TRUE ; 338 Minimum = 1 ; 339 First = 1 ; 340 // Outline as Default 341 Maximum = 5 ; 342 Last = 5 ; 343 Value = 5 ; 344 }; 345 String ST_OUTLINE_LEVEL 346 { 347 Text [ en-US ] = "Outline Level" ; 348 }; 349 String ST_DRAGMODE 350 { 351 Text [ en-US ] = "Drag Mode" ; 352 }; 353 String ST_HYPERLINK 354 { 355 Text [ en-US ] = "Insert as Hyperlink" ; 356 }; 357 String ST_LINK_REGION 358 { 359 Text [ en-US ] = "Insert as Link" ; 360 }; 361 String ST_COPY_REGION 362 { 363 Text [ en-US ] = "Insert as Copy" ; 364 }; 365 String ST_DISPLAY 366 { 367 Text [ en-US ] = "Display" ; 368 }; 369 String ST_ACTIVE_VIEW 370 { 371 Text [ en-US ] = "Active Window" ; 372 }; 373 String ST_HIDDEN 374 { 375 Text [ en-US ] = "hidden" ; 376 }; 377 String ST_ACTIVE 378 { 379 Text [ en-US ] = "active" ; 380 }; 381 String ST_INACTIVE 382 { 383 Text [ en-US ] = "inactive" ; 384 }; 385 String ST_EDIT_ENTRY 386 { 387 Text [ en-US ] = "Edit..." ; 388 }; 389 String ST_UPDATE 390 { 391 Text [ en-US ] = "~Update" ; 392 }; 393 String ST_EDIT_CONTENT 394 { 395 Text [ en-US ] = "Edit" ; 396 }; 397 String ST_EDIT_LINK 398 { 399 Text [ en-US ] = "Edit link" ; 400 }; 401 String ST_INSERT 402 { 403 Text [ en-US ] = "Insert" ; 404 }; 405 String ST_INDEX 406 { 407 Text [ en-US ] = "~Index" ; 408 }; 409 String ST_FILE 410 { 411 Text [ en-US ] = "File" ; 412 }; 413 String ST_NEW_FILE 414 { 415 Text [ en-US ] = "New Document" ; 416 }; 417 String ST_TEXT 418 { 419 Text [ en-US ] = "Text" ; 420 }; 421 String ST_DELETE 422 { 423 Text [ en-US ] = "Delete" ; 424 }; 425 String ST_DELETE_ENTRY 426 { 427 Text [ en-US ] = "~Delete" ; 428 }; 429 String ST_UPDATE_SEL 430 { 431 Text [ en-US ] = "Selection" ; 432 }; 433 String ST_UPDATE_INDEX 434 { 435 Text [ en-US ] = "Indexes" ; 436 }; 437 String ST_UPDATE_LINK 438 { 439 Text [ en-US ] = "Links" ; 440 }; 441 String ST_UPDATE_ALL 442 { 443 Text [ en-US ] = "All" ; 444 }; 445 String ST_REMOVE_INDEX 446 { 447 Text [ en-US ] = "~Remove Index" ; 448 }; 449 String ST_REMOVE_TBL_PROTECTION 450 { 451 Text [ en-US ] = "~Unprotect" ; 452 }; 453 String ST_INVISIBLE 454 { 455 Text [ en-US ] = "hidden" ; 456 }; 457 String ST_BROKEN_LINK 458 { 459 Text [ en-US ] = "File not found: " ; 460 }; 461 String ST_RENAME 462 { 463 Text [ en-US ] = "~Rename" ; 464 }; 465 String ST_READONLY_IDX 466 { 467 Text [ en-US ] = "Read-~only" ; 468 }; 469 String ST_POSTIT_SHOW 470 { 471 Text [ en-US ] = "Show All" ; 472 }; 473 String ST_POSTIT_HIDE 474 { 475 Text [ en-US ] = "Hide All" ; 476 }; 477 String ST_POSTIT_DELETE 478 { 479 Text [ en-US ] = "Delete All" ; 480 }; 481}; 482#define NAVI_ENTRY_IDS \ 483 IdList = \ 484 { \ 485 20000 ; \ 486 20001 ; \ 487 20002 ; \ 488 20003 ; \ 489 20004 ; \ 490 20005 ; \ 491 20006 ; \ 492 20007 ; \ 493 20008 ; \ 494 20009 ; \ 495 20010 ; \ 496 20011 ; \ 497 }; \ 498 IdCount = { 12 ; } ; 499 500 501 502ImageList IMG_NAVI_ENTRYBMP 503{ 504 Prefix = "nc" ; 505 MaskColor = IMAGE_MASK_COLOR ; 506 NAVI_ENTRY_IDS 507}; 508 509ImageList IMG_NAVI_ENTRYBMPH 510{ 511 Prefix = "nch" ; 512 MaskColor = IMAGE_MASK_COLOR ; 513 NAVI_ENTRY_IDS 514}; 515 516String STR_ACCESS_TL_GLOBAL 517{ 518 Text [ en-US ] = "Global View" ; 519}; 520String STR_ACCESS_TL_CONTENT 521{ 522 Text [ en-US ] = "Content View" ; 523}; 524 525// ********************************************************************** EOF 526