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