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 <svtools/controldims.hrc> 25#include "index.hrc" 26#include "idxmrk.hrc" 27#include "helpid.h" 28#include "cmdid.h" 29 30#define IDX_PHONETIC_LISTBOX_DESCRIPTION \ 31Text [ en-US ] = "Phonetic reading"; \ 32 33#define IDX_DIALOG_WINDOW \ 34 Window WIN_DLG \ 35 { \ 36 Pos = MAP_APPFONT ( 0 , 0 ) ; \ 37 Size = MAP_APPFONT ( IDX_WIN_WIDTH , WINDOW_HEIGHT ) ; \ 38 OKButton BT_OK \ 39 { \ 40 Pos = MAP_APPFONT ( COL_BUTTONS , 6 ) ; \ 41 Size = MAP_APPFONT ( 50 , RSC_CD_PUSHBUTTON_HEIGHT ) ; \ 42 TabStop = TRUE ; \ 43 DefButton = TRUE ; \ 44 Text [ en-US ] = "Insert";\ 45 }; \ 46 CancelButton BT_CANCEL \ 47 { \ 48 Pos = MAP_APPFONT ( COL_BUTTONS , 23 ) ; \ 49 Size = MAP_APPFONT ( 50 , RSC_CD_PUSHBUTTON_HEIGHT ) ; \ 50 Text [ en-US ] = "Close";\ 51 }; \ 52 HelpButton BT_HELP \ 53 { \ 54 Pos = MAP_APPFONT ( COL_BUTTONS , 43 ) ; \ 55 Size = MAP_APPFONT ( 50 , RSC_CD_PUSHBUTTON_HEIGHT ) ; \ 56 }; \ 57 PushButton BT_DEL \ 58 { \ 59 Pos = MAP_APPFONT ( COL_BUTTONS , 63 ) ; \ 60 Size = MAP_APPFONT ( 50 , RSC_CD_PUSHBUTTON_HEIGHT ) ; \ 61 Text [ en-US ] = "~Delete" ; \ 62 TabStop = TRUE ; \ 63 }; \ 64 ListBox DCB_INDEX \ 65 { \ 66 Pos = MAP_APPFONT ( IDX_COL2 , 14) ; \ 67 Size = MAP_APPFONT ( DCB_INDEX_WIDTH , 56 ) ; \ 68 TabStop = TRUE ; \ 69 DropDown = TRUE ; \ 70 }; \ 71 ImageButton BT_NEW \ 72 { \ 73 Pos = MAP_APPFONT ( IDX_NEWIMAGE_XPOS , 13 ) ; \ 74 Size = MAP_APPFONT ( IDX_NEWIMAGE_WIDTH , 15 ) ; \ 75 QuickHelpText [ en-US ] = "New User-defined Index";\ 76 }; \ 77 ImageButton BT_PREVSAME \ 78 { \ 79 Hide = TRUE ; \ 80 Pos = MAP_APPFONT ( COL_BUTTONS , 80 ) ; \ 81 Size = MAP_APPFONT ( 24 , 14 ) ; \ 82 TabStop = TRUE ; \ 83 SYMBOL = IMAGEBUTTON_FIRST ; \ 84 }; \ 85 ImageButton BT_PREV \ 86 { \ 87 Hide = TRUE ; \ 88 Pos = MAP_APPFONT ( COL_BUTTONS , 97 ) ; \ 89 Size = MAP_APPFONT ( 24 , 14 ) ; \ 90 TabStop = TRUE ; \ 91 SYMBOL = IMAGEBUTTON_PREV ; \ 92 }; \ 93 ImageButton BT_NXT \ 94 { \ 95 Hide = TRUE ; \ 96 Pos = MAP_APPFONT ( COL_BUTTONS_2 , 97 ) ; \ 97 Size = MAP_APPFONT ( 24 , 14 ) ; \ 98 TabStop = TRUE ; \ 99 SYMBOL = IMAGEBUTTON_NEXT ; \ 100 }; \ 101 ImageButton BT_NXTSAME \ 102 { \ 103 Hide = TRUE ; \ 104 Pos = MAP_APPFONT ( COL_BUTTONS_2 , 80 ) ; \ 105 Size = MAP_APPFONT ( 24 , 14 ) ; \ 106 TabStop = TRUE ; \ 107 SYMBOL = IMAGEBUTTON_LAST ; \ 108 }; \ 109 FixedLine FL_INDEX \ 110 { \ 111 Pos = MAP_APPFONT ( 6 , 3 ) ; \ 112 Size = MAP_APPFONT ( COL_BUTTONS-5-6 , RSC_CD_FIXEDLINE_HEIGHT ) ; \ 113 Text [ en-US ] = "Selection" ; \ 114 }; \ 115 FixedText LBL_INDEX \ 116 { \ 117 Pos = MAP_APPFONT ( IDX_COL1 , 16 ) ; \ 118 Size = MAP_APPFONT ( 40 , 10 ) ; \ 119 Text [ en-US ] = "~Index" ; \ 120 Left = TRUE ; \ 121 }; \ 122 Edit SL_ENTRY \ 123 { \ 124 Border = TRUE ; \ 125 Pos = MAP_APPFONT ( IDX_COL2 , IDX_ROW_2_LIST ) ; \ 126 Size = MAP_APPFONT ( LIST_WIDTH , 12 ) ; \ 127 TabStop = TRUE ; \ 128 Left = TRUE ; \ 129 }; \ 130 FixedText LBL_ENTRY \ 131 { \ 132 Pos = MAP_APPFONT ( IDX_COL1 , IDX_ROW_2_TEXT ) ; \ 133 Size = MAP_APPFONT ( 27 , RSC_CD_FIXEDTEXT_HEIGHT ) ; \ 134 Text [ en-US ] = "~Entry" ; \ 135 Left = TRUE ; \ 136 }; \ 137 FixedText LBL_KEY \ 138 { \ 139 Disable = TRUE ; \ 140 Pos = MAP_APPFONT ( IDX_COL1 , IDX_ROW_3_TEXT ) ; \ 141 Size = MAP_APPFONT ( 42 , RSC_CD_FIXEDTEXT_HEIGHT ) ; \ 142 Text [ en-US ] = "~1st key" ; \ 143 Left = TRUE ; \ 144 }; \ 145 ComboBox DCB_KEY \ 146 { \ 147 Disable = TRUE ; \ 148 Pos = MAP_APPFONT ( IDX_COL2 , IDX_ROW_3_LIST ) ; \ 149 Size = MAP_APPFONT ( LIST_WIDTH , 56 ) ; \ 150 TabStop = TRUE ; \ 151 DropDown = TRUE ; \ 152 }; \ 153 FixedText LBL_KEY2 \ 154 { \ 155 Disable = TRUE ; \ 156 Pos = MAP_APPFONT ( IDX_COL1 , IDX_ROW_4_TEXT ) ; \ 157 Size = MAP_APPFONT ( 42 , RSC_CD_FIXEDTEXT_HEIGHT ) ; \ 158 Text [ en-US ] = "~2nd key" ; \ 159 Left = TRUE ; \ 160 }; \ 161 ComboBox DCB_KEY2 \ 162 { \ 163 Disable = TRUE ; \ 164 Pos = MAP_APPFONT ( IDX_COL2 , IDX_ROW_4_LIST ) ; \ 165 Size = MAP_APPFONT ( LIST_WIDTH , 56 ) ; \ 166 TabStop = TRUE ; \ 167 DropDown = TRUE ; \ 168 }; \ 169 FixedText FT_PHONETIC_1 \ 170 { \ 171 Pos = MAP_APPFONT ( IDX_COL_PHONETIC_TEXT , IDX_ROW_2_TEXT ) ; \ 172 Size = MAP_APPFONT ( IDX_PHONETIC_TEXT_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ; \ 173 Hide = PHONETIC_HIDDEN; \ 174 IDX_PHONETIC_LISTBOX_DESCRIPTION \ 175 }; \ 176 Edit ED_PHONETIC_1 \ 177 { \ 178 Border = TRUE ; \ 179 Pos = MAP_APPFONT ( IDX_COL_PHONETIC_EDIT , IDX_ROW_2_LIST ) ; \ 180 Size = MAP_APPFONT ( IDX_PHONETIC_EDIT_WIDTH , 12 ) ; \ 181 Hide = PHONETIC_HIDDEN; \ 182 TabStop = TRUE ; \ 183 Left = TRUE ; \ 184 }; \ 185 FixedText FT_PHONETIC_2 \ 186 { \ 187 Pos = MAP_APPFONT ( IDX_COL_PHONETIC_TEXT , IDX_ROW_3_TEXT ) ; \ 188 Size = MAP_APPFONT ( IDX_PHONETIC_TEXT_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ; \ 189 Hide = PHONETIC_HIDDEN; \ 190 IDX_PHONETIC_LISTBOX_DESCRIPTION \ 191 }; \ 192 Edit ED_PHONETIC_2 \ 193 { \ 194 Border = TRUE ; \ 195 Pos = MAP_APPFONT ( IDX_COL_PHONETIC_EDIT , IDX_ROW_3_LIST ) ; \ 196 Size = MAP_APPFONT ( IDX_PHONETIC_EDIT_WIDTH , 12 ) ; \ 197 Hide = PHONETIC_HIDDEN; \ 198 TabStop = TRUE ; \ 199 Left = TRUE ; \ 200 }; \ 201 FixedText FT_PHONETIC_3 \ 202 { \ 203 Pos = MAP_APPFONT ( IDX_COL_PHONETIC_TEXT , IDX_ROW_4_TEXT ) ; \ 204 Size = MAP_APPFONT ( IDX_PHONETIC_TEXT_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ; \ 205 Hide = PHONETIC_HIDDEN; \ 206 IDX_PHONETIC_LISTBOX_DESCRIPTION \ 207 }; \ 208 Edit ED_PHONETIC_3 \ 209 { \ 210 Border = TRUE ; \ 211 Pos = MAP_APPFONT ( IDX_COL_PHONETIC_EDIT , IDX_ROW_4_LIST ) ; \ 212 Size = MAP_APPFONT ( IDX_PHONETIC_EDIT_WIDTH , 12 ) ; \ 213 Hide = PHONETIC_HIDDEN; \ 214 TabStop = TRUE ; \ 215 Left = TRUE ; \ 216 }; \ 217 FixedText LBL_LEVEL \ 218 { \ 219 Pos = MAP_APPFONT ( IDX_COL1 , 76 ) ; \ 220 Size = MAP_APPFONT ( 41 , RSC_CD_FIXEDTEXT_HEIGHT ) ; \ 221 Text [ en-US ] = "~Level" ; \ 222 Left = TRUE ; \ 223 }; \ 224 NumericField SL_LEVEL \ 225 { \ 226 Border = TRUE ; \ 227 Pos = MAP_APPFONT ( IDX_COL2 , 74 ) ; \ 228 Size = MAP_APPFONT ( 18 , 12 ) ; \ 229 TabStop = TRUE ; \ 230 Left = TRUE ; \ 231 Repeat = TRUE ; \ 232 Spin = TRUE ; \ 233 Minimum = 1 ; \ 234 Maximum = 10 ; \ 235 Value = 1 ; \ 236 Last = 10 ; \ 237 SpinSize = 1 ; \ 238 }; \ 239 CheckBox CB_MAIN_ENTRY \ 240 { \ 241 Pos = MAP_APPFONT ( IDX_COL1 , 76 ) ; \ 242 Size = MAP_APPFONT ( 100 , 8 ) ; \ 243 Text [ en-US ] = "~Main entry";\ 244 }; \ 245 CheckBox CB_APPLY_TO_ALL \ 246 { \ 247 Pos = MAP_APPFONT ( IDX_COL1 , 90 ) ; \ 248 Size = MAP_APPFONT ( 140 , 12 ) ; \ 249 Hide = TRUE; \ 250 Text [ en-US ] = "~Apply to all similar texts."; \ 251 }; \ 252 CheckBox CB_CASESENSITIVE \ 253 { \ 254 Pos = MAP_APPFONT ( 21 , 104 ) ; \ 255 Size = MAP_APPFONT ( 131 , 12 ) ; \ 256 Hide = TRUE;\ 257 Text [ en-US ] = "Ma~tch case";\ 258 }; \ 259 CheckBox CB_WORDONLY \ 260 { \ 261 Pos = MAP_APPFONT ( 21 , 118 ) ; \ 262 Size = MAP_APPFONT ( 131 , 12 ) ; \ 263 Hide = TRUE;\ 264 Text [ en-US ] = "~Whole words only";\ 265 }; \ 266 }; 267 268ModalDialog DLG_EDIT_IDXMARK 269{ 270 OutputSize = TRUE ; 271 Moveable = TRUE ; 272 Closeable = TRUE; 273 Sizeable = FALSE ; 274 HelpId = CMD_FN_EDIT_IDX_ENTRY_DLG; 275 SVLook = TRUE ; 276 #define IDX_WIN_WIDTH IDX_WIN_WIDTH_NORMAL 277 Size = MAP_APPFONT ( IDX_WIN_WIDTH , 118 ) ; 278 #define GB_HEIGHT 109 279 #define DCB_INDEX_WIDTH 94 280 #define PHONETIC_HIDDEN TRUE 281 #define LIST_WIDTH 94 282 #define COL_BUTTONS IDX_COL_BUTTONS_NORMAL 283 #define COL_BUTTONS_2 (COL_BUTTONS+26) 284 #define WINDOW_HEIGHT 118 285 IDX_DIALOG_WINDOW 286 #undef IDX_WIN_WIDTH 287 #undef GB_HEIGHT 288 #undef DCB_INDEX_WIDTH 289 #undef PHONETIC_HIDDEN 290 #undef LIST_WIDTH 291 #undef COL_BUTTONS 292 #undef COL_BUTTONS_2 293 #undef WINDOW_HEIGHT 294}; 295ModalDialog DLG_EDIT_IDXMARK_CJK 296{ 297 OutputSize = TRUE ; 298 Moveable = TRUE ; 299 Closeable = TRUE; 300 Sizeable = FALSE ; 301 HelpId = CMD_FN_EDIT_IDX_ENTRY_DLG; 302 SVLook = TRUE ; 303 #define IDX_WIN_WIDTH IDX_WIN_WIDTH_CJK 304 Size = MAP_APPFONT ( IDX_WIN_WIDTH , 118 ) ; 305 #define GB_HEIGHT 109 306 #define DCB_INDEX_WIDTH 94 307 #define PHONETIC_HIDDEN FALSE 308 #define LIST_WIDTH IDX_PHONETIC_EDIT_WIDTH 309 #define COL_BUTTONS IDX_COL_BUTTONS_CJK 310 #define COL_BUTTONS_2 (COL_BUTTONS+26) 311 #define WINDOW_HEIGHT 118 312 IDX_DIALOG_WINDOW 313 #undef IDX_WIN_WIDTH 314 #undef GB_HEIGHT 315 #undef DCB_INDEX_WIDTH 316 #undef PHONETIC_HIDDEN 317 #undef LIST_WIDTH 318 #undef COL_BUTTONS 319 #undef COL_BUTTONS_2 320 #undef WINDOW_HEIGHT 321}; 322ModelessDialog DLG_INSIDXMARK 323{ 324 OutputSize = TRUE ; 325 Moveable = TRUE ; 326 Closeable = TRUE; 327 Sizeable = FALSE ; 328 Hide = TRUE ; 329// Zoomable = TRUE ; 330 HelpId = CMD_FN_INSERT_IDX_ENTRY_DLG; 331 SVLook = TRUE ; 332 #define IDX_WIN_WIDTH IDX_WIN_WIDTH_NORMAL 333 Size = MAP_APPFONT ( IDX_WIN_WIDTH , 138) ; 334// Moveable = TRUE ; 335 #define GB_HEIGHT 129 336 #define DCB_INDEX_WIDTH 79 337 #define PHONETIC_HIDDEN TRUE 338 #define LIST_WIDTH 94 339 #define COL_BUTTONS IDX_COL_BUTTONS_NORMAL 340 #define COL_BUTTONS_2 (COL_BUTTONS+26) 341 #define WINDOW_HEIGHT 138 342 IDX_DIALOG_WINDOW 343 #undef IDX_WIN_WIDTH 344 #undef GB_HEIGHT 345 #undef DCB_INDEX_WIDTH 346 #undef PHONETIC_HIDDEN 347 #undef LIST_WIDTH 348 #undef COL_BUTTONS 349 #undef COL_BUTTONS_2 350 #undef WINDOW_HEIGHT 351}; 352ModelessDialog DLG_INSIDXMARK_CJK 353{ 354 OutputSize = TRUE ; 355 Moveable = TRUE ; 356 Closeable = TRUE; 357 Sizeable = FALSE ; 358// Zoomable = TRUE ; 359 HelpId = CMD_FN_INSERT_IDX_ENTRY_DLG; 360 SVLook = TRUE ; 361 #define IDX_WIN_WIDTH IDX_WIN_WIDTH_CJK 362 Size = MAP_APPFONT ( IDX_WIN_WIDTH , 138) ; 363// Moveable = TRUE ; 364 #define GB_HEIGHT 129 365 #define DCB_INDEX_WIDTH 79 366 #define PHONETIC_HIDDEN FALSE 367 #define LIST_WIDTH IDX_PHONETIC_EDIT_WIDTH 368 #define COL_BUTTONS IDX_COL_BUTTONS_CJK 369 #define COL_BUTTONS_2 (COL_BUTTONS+26) 370 #define WINDOW_HEIGHT 138 371 IDX_DIALOG_WINDOW 372 #undef IDX_WIN_WIDTH 373 #undef GB_HEIGHT 374 #undef DCB_INDEX_WIDTH 375 #undef PHONETIC_HIDDEN 376 #undef LIST_WIDTH 377 #undef COL_BUTTONS 378 #undef COL_BUTTONS_2 379 #undef WINDOW_HEIGHT 380}; 381ModalDialog DLG_NEW_USER_IDX 382{ 383 OutputSize = TRUE ; 384 Moveable = TRUE ; 385 Closeable = TRUE; 386 Sizeable = FALSE ; 387 HelpID = HID_DLG_NEW_USER_IDX; 388 SVLook = TRUE ; 389 Size = MAP_APPFONT ( 194 , 60 ) ; 390 OKButton PB_OK 391 { 392 Pos = MAP_APPFONT ( 141 , 6 ) ; 393 Size = MAP_APPFONT ( 50 , 14 ) ; 394 TabStop = TRUE ; 395 DefButton = TRUE ; 396 }; 397 CancelButton PB_CANCEL 398 { 399 Pos = MAP_APPFONT ( 141 , 23 ) ; 400 Size = MAP_APPFONT ( 50 , 14 ) ; 401 }; 402 HelpButton PB_HELP 403 { 404 Pos = MAP_APPFONT ( 141 , 43 ) ; 405 Size = MAP_APPFONT ( 50 , 14 ) ; 406 }; 407 FixedLine FL_NAME 408 { 409 Pos = MAP_APPFONT ( 6 , 3 ) ; 410 Size = MAP_APPFONT ( 130 , 8 ) ; 411 412 Text [ en-US ] = "New user index"; 413 }; 414 FixedText FT_NAME 415 { 416 Pos = MAP_APPFONT ( 12 , 17 ) ; 417 Size = MAP_APPFONT ( 40 , 8 ) ; 418 419 Text [ en-US ] = "~Name"; 420 }; 421 Edit ED_NAME 422 { 423 HelpID = "sw:Edit:DLG_NEW_USER_IDX:ED_NAME"; 424 Border = TRUE ; 425 Pos = MAP_APPFONT ( 55 , 15 ) ; 426 Size = MAP_APPFONT ( 78 , 12 ) ; 427 TabStop = TRUE ; 428 Left = TRUE ; 429 }; 430 Text [ en-US ] = "Create New User-defined Index"; 431}; 432 433String STR_IDXMRK_EDIT 434{ 435 Text [ en-US ] = "Edit Index Entry" ; 436}; 437String STR_IDXMRK_INSERT 438{ 439 /* ### ACHTUNG: Neuer Text in Resource? Verzeichniseintrag einf�gen : Verzeichniseintrag einf�gen */ 440 Text [ en-US ] = "Insert Index Entry" ; 441}; 442 443#define AUTH_DIALOG_WINDOW \ 444 Window WIN_DLG \ 445 { \ 446 Pos = MAP_APPFONT ( 0 , 0 ) ; \ 447 Size = MAP_APPFONT ( 218 , 118 + RADIO_BUTTON_HEIGHT) ; \ 448 RadioButton RB_FROMCOMPONENT \ 449 { \ 450 Pos = MAP_APPFONT ( 12 , 14 ) ; \ 451 Size = MAP_APPFONT ( 147 , 12 ) ; \ 452 Text [ en-US ] = "From bibliography ~database";\ 453 }; \ 454 RadioButton RB_FROMDOCCONTENT \ 455 { \ 456 Pos = MAP_APPFONT ( 12, 29 ) ; \ 457 Size = MAP_APPFONT ( 147 , 12 ) ; \ 458 Text [ en-US ] = "~From document content";\ 459 }; \ 460 FixedText FT_AUTHOR \ 461 { \ 462 Pos = MAP_APPFONT ( 12 , 14 + RADIO_BUTTON_HEIGHT) ; \ 463 Size = MAP_APPFONT ( 60 , 8 ) ; \ 464 Text [ en-US ] = "Author";\ 465 }; \ 466 FixedText FI_AUTHOR \ 467 { \ 468 Pos = MAP_APPFONT ( 12 , 25 + RADIO_BUTTON_HEIGHT) ; \ 469 Size = MAP_APPFONT ( 140, 8 ) ; \ 470 WordBreak = TRUE; \ 471 }; \ 472 FixedText FT_TITLE \ 473 { \ 474 Pos = MAP_APPFONT ( 12 , 37 + RADIO_BUTTON_HEIGHT) ; \ 475 Size = MAP_APPFONT ( 60 , 8 ) ; \ 476 Text [ en-US ] = "Title";\ 477 }; \ 478 FixedText FI_TITLE \ 479 { \ 480 Pos = MAP_APPFONT ( 12 , 48 + RADIO_BUTTON_HEIGHT) ; \ 481 Size = MAP_APPFONT ( 140, 8 ) ; \ 482 WordBreak = TRUE; \ 483 }; \ 484 FixedText FT_ENTRY \ 485 { \ 486 Pos = MAP_APPFONT ( 12 , 62 + RADIO_BUTTON_HEIGHT) ; \ 487 Size = MAP_APPFONT ( 60 , 8 ) ; \ 488 Text [ en-US ] = "Short ~name";\ 489 }; \ 490 Edit ED_ENTRY \ 491 { \ 492 Border = TRUE ; \ 493 Pos = MAP_APPFONT ( 12 , 73 + RADIO_BUTTON_HEIGHT) ; \ 494 Size = MAP_APPFONT ( 140 , 12 ) ; \ 495 TabStop = TRUE ; \ 496 Left = TRUE ; \ 497 }; \ 498 ListBox LB_ENTRY \ 499 { \ 500 Border = TRUE ; \ 501 Pos = MAP_APPFONT ( 12 , 73 + RADIO_BUTTON_HEIGHT) ; \ 502 Size = MAP_APPFONT ( 140 , 50 ) ; \ 503 TabStop = TRUE ; \ 504 DropDown = TRUE ; \ 505 }; \ 506 FixedLine FL_ENTRY \ 507 { \ 508 Pos = MAP_APPFONT ( 6 , 3 ) ; \ 509 Size = MAP_APPFONT ( 146 , 8 ) ; \ 510 Text [ en-US ] = "Entry";\ 511 }; \ 512 OKButton PB_OK \ 513 { \ 514 Pos = MAP_APPFONT ( 162 , 6 ) ; \ 515 Size = MAP_APPFONT ( 50 , 14 ) ; \ 516 TabStop = TRUE ; \ 517 DefButton = TRUE ; \ 518 Text [ en-US ] = "Insert";\ 519 }; \ 520 CancelButton PB_CANCEL \ 521 { \ 522 Pos = MAP_APPFONT ( 162 , 23 ) ; \ 523 Size = MAP_APPFONT ( 50 , 14 ) ; \ 524 Text [ en-US ] = "Close";\ 525 }; \ 526 HelpButton PB_HELP \ 527 { \ 528 Pos = MAP_APPFONT ( 162 , 43 ) ; \ 529 Size = MAP_APPFONT ( 50 , 14 ) ; \ 530 }; \ 531 PushButton PB_CREATEENTRY \ 532 { \ 533 Pos = MAP_APPFONT ( 162 , 60 ) ; \ 534 Size = MAP_APPFONT ( 50 , 14 ) ; \ 535 Text [ en-US ] = "~New";\ 536 }; \ 537 PushButton PB_EDITENTRY \ 538 { \ 539 Pos = MAP_APPFONT ( 162 , 77 ) ; \ 540 Size = MAP_APPFONT ( 50 , 14 ) ; \ 541 Text [ en-US ] = "Edit";\ 542 }; \ 543 String ST_CHANGE \ 544 { \ 545 Text [ en-US ] = "Modify";\ 546 }; \ 547 }; 548 549ModalDialog DLG_EDIT_AUTHMARK 550{ 551 OutputSize = TRUE ; 552 Moveable = TRUE ; 553 Closeable = TRUE ; 554 Sizeable = FALSE ; 555 HelpId = CMD_FN_EDIT_AUTH_ENTRY_DLG; 556 SVLook = TRUE ; 557 Size = MAP_APPFONT ( 218 , 118 ) ; 558 #define RADIO_BUTTON_HEIGHT 0 559 AUTH_DIALOG_WINDOW 560 #undef RADIO_BUTTON_HEIGHT 561}; 562ModelessDialog DLG_INSAUTHMARK 563{ 564 OutputSize = TRUE ; 565 Moveable = TRUE ; 566 Closeable = TRUE ; 567 Sizeable = FALSE ; 568// Zoomable = TRUE ; 569 HelpId = CMD_FN_INSERT_AUTH_ENTRY_DLG; 570 SVLook = TRUE ; 571 #define RADIO_BUTTON_HEIGHT 30 572 Size = MAP_APPFONT ( 218 , 118 + RADIO_BUTTON_HEIGHT) ; 573// Moveable = TRUE ; 574 AUTH_DIALOG_WINDOW 575 #undef RADIO_BUTTON_HEIGHT 576}; 577ModalDialog DLG_CREATE_AUTH_ENTRY 578{ 579 HelpId = HID_DLG_CREATE_AUTH_ENTRY; 580 OutputSize = TRUE ; 581 SVLook = TRUE ; 582 Size = MAP_APPFONT ( 365 , 203 ) ; 583 Moveable = TRUE ; 584 OKButton PB_OK 585 { 586 Pos = MAP_APPFONT ( 312 , 6 ) ; 587 Size = MAP_APPFONT ( 50 , 14 ) ; 588 TabStop = TRUE ; 589 DefButton = TRUE ; 590 }; 591 CancelButton PB_CANCEL 592 { 593 Pos = MAP_APPFONT ( 312 , 23 ) ; 594 Size = MAP_APPFONT ( 50 , 14 ) ; 595 }; 596 HelpButton PB_HELP 597 { 598 Pos = MAP_APPFONT ( 312 , 43 ) ; 599 Size = MAP_APPFONT ( 50 , 14 ) ; 600 }; 601 FixedLine FL_ENTRIES 602 { 603 Pos = MAP_APPFONT ( 6 , 3 ) ; 604 Size = MAP_APPFONT ( 300 , 8 ) ; 605 Text [ en-US ] = "Entry data"; 606 }; 607 Text [ en-US ] = "Define Bibliography Entry"; 608}; 609String STR_AUTHMRK_EDIT 610{ 611 612 Text [ en-US ] = "Edit Bibliography Entry"; 613}; 614String STR_AUTHMRK_INSERT 615{ 616 617 Text [ en-US ] = "Insert Bibliography Entry"; 618}; 619QueryBox DLG_CHANGE_AUTH_ENTRY 620{ 621 BUTTONS = WB_YES_NO ; 622 DEFBUTTON = WB_DEF_NO ; 623 Message [ en-US ] = "The document already contains the bibliography entry but with different data. Do you want to adjust the existing entries?"; 624}; 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667