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 Text [ en-US ] = "Insert Index Entry" ; 440}; 441 442#define AUTH_DIALOG_WINDOW \ 443 Window WIN_DLG \ 444 { \ 445 Pos = MAP_APPFONT ( 0, 0 ) ; \ 446 Size = MAP_APPFONT ( 218, 118 + RADIO_BUTTON_HEIGHT) ; \ 447 RadioButton RB_FROMCOMPONENT \ 448 { \ 449 Pos = MAP_APPFONT ( 12, 14 ) ; \ 450 Size = MAP_APPFONT ( 147, 12 ) ; \ 451 Text [ en-US ] = "From bibliography ~database" ; \ 452 }; \ 453 RadioButton RB_FROMDOCCONTENT \ 454 { \ 455 Pos = MAP_APPFONT ( 12, 29 ) ; \ 456 Size = MAP_APPFONT ( 147, 12 ) ; \ 457 Text [ en-US ] = "~From document content" ; \ 458 }; \ 459 FixedText FT_AUTHOR \ 460 { \ 461 Pos = MAP_APPFONT ( 12, 14 + RADIO_BUTTON_HEIGHT) ; \ 462 Size = MAP_APPFONT ( 60, 8 ) ; \ 463 Text [ en-US ] = "Author" ; \ 464 }; \ 465 FixedText FI_AUTHOR \ 466 { \ 467 Pos = MAP_APPFONT ( 12, 25 + RADIO_BUTTON_HEIGHT) ; \ 468 Size = MAP_APPFONT ( 140, 8 ) ; \ 469 WordBreak = TRUE ; \ 470 }; \ 471 FixedText FT_TITLE \ 472 { \ 473 Pos = MAP_APPFONT ( 12, 37 + RADIO_BUTTON_HEIGHT) ; \ 474 Size = MAP_APPFONT ( 60, 8 ) ; \ 475 Text [ en-US ] = "Title" ; \ 476 }; \ 477 FixedText FI_TITLE \ 478 { \ 479 Pos = MAP_APPFONT ( 12, 48 + RADIO_BUTTON_HEIGHT) ; \ 480 Size = MAP_APPFONT ( 140, 8 ) ; \ 481 WordBreak = TRUE ; \ 482 }; \ 483 FixedText FT_ENTRY \ 484 { \ 485 Pos = MAP_APPFONT ( 12, 62 + RADIO_BUTTON_HEIGHT) ; \ 486 Size = MAP_APPFONT ( 60, 8 ) ; \ 487 Text [ en-US ] = "Short ~name" ; \ 488 }; \ 489 Edit ED_ENTRY \ 490 { \ 491 Border = TRUE ; \ 492 Pos = MAP_APPFONT ( 12, 73 + RADIO_BUTTON_HEIGHT) ; \ 493 Size = MAP_APPFONT ( 140, 12 ) ; \ 494 TabStop = TRUE ; \ 495 Left = TRUE ; \ 496 }; \ 497 ListBox LB_ENTRY \ 498 { \ 499 Border = TRUE ; \ 500 Pos = MAP_APPFONT ( 12, 73 + RADIO_BUTTON_HEIGHT) ; \ 501 Size = MAP_APPFONT ( 140, 50 ) ; \ 502 TabStop = TRUE ; \ 503 DropDown = TRUE ; \ 504 }; \ 505 FixedLine FL_ENTRY \ 506 { \ 507 Pos = MAP_APPFONT ( 6, 3 ) ; \ 508 Size = MAP_APPFONT ( 146, 8 ) ; \ 509 Text [ en-US ] = "Entry" ; \ 510 }; \ 511 OKButton PB_OK \ 512 { \ 513 Pos = MAP_APPFONT ( 162, 6 ) ; \ 514 Size = MAP_APPFONT ( 50, 14 ) ; \ 515 TabStop = TRUE ; \ 516 DefButton = TRUE ; \ 517 Text [ en-US ] = "Insert" ; \ 518 }; \ 519 CancelButton PB_CANCEL \ 520 { \ 521 Pos = MAP_APPFONT ( 162, 23 ) ; \ 522 Size = MAP_APPFONT ( 50, 14 ) ; \ 523 Text [ en-US ] = "Close" ; \ 524 }; \ 525 HelpButton PB_HELP \ 526 { \ 527 Pos = MAP_APPFONT ( 162, 43 ) ; \ 528 Size = MAP_APPFONT ( 50, 14 ) ; \ 529 }; \ 530 PushButton PB_CREATEENTRY \ 531 { \ 532 Pos = MAP_APPFONT ( 162, 60 ) ; \ 533 Size = MAP_APPFONT ( 50, 14 ) ; \ 534 Text [ en-US ] = "~New" ; \ 535 }; \ 536 PushButton PB_EDITENTRY \ 537 { \ 538 Pos = MAP_APPFONT ( 162, 77 ) ; \ 539 Size = MAP_APPFONT ( 50, 14 ) ; \ 540 Text [ en-US ] = "Edit" ; \ 541 }; \ 542 String ST_CHANGE \ 543 { \ 544 Text [ en-US ] = "Modify" ; \ 545 }; \ 546 }; 547 548ModalDialog DLG_EDIT_AUTHMARK 549{ 550 OutputSize = TRUE ; 551 Moveable = TRUE ; 552 Closeable = TRUE ; 553 Sizeable = FALSE ; 554 HelpId = CMD_FN_EDIT_AUTH_ENTRY_DLG ; 555 SVLook = TRUE ; 556 Size = MAP_APPFONT ( 218, 118 ) ; 557 #define RADIO_BUTTON_HEIGHT 0 558 AUTH_DIALOG_WINDOW 559 #undef RADIO_BUTTON_HEIGHT 560}; 561ModelessDialog DLG_INSAUTHMARK 562{ 563 OutputSize = TRUE ; 564 Moveable = TRUE ; 565 Closeable = TRUE ; 566 Sizeable = FALSE ; 567// Zoomable = TRUE ; 568 HelpId = CMD_FN_INSERT_AUTH_ENTRY_DLG ; 569 SVLook = TRUE ; 570 #define RADIO_BUTTON_HEIGHT 30 571 Size = MAP_APPFONT ( 218, 118 + RADIO_BUTTON_HEIGHT) ; 572// Moveable = TRUE ; 573 AUTH_DIALOG_WINDOW 574 #undef RADIO_BUTTON_HEIGHT 575}; 576ModalDialog DLG_CREATE_AUTH_ENTRY 577{ 578 HelpId = HID_DLG_CREATE_AUTH_ENTRY ; 579 OutputSize = TRUE ; 580 SVLook = TRUE ; 581 Size = MAP_APPFONT ( 365, 203 ) ; 582 Moveable = TRUE ; 583 OKButton PB_OK 584 { 585 Pos = MAP_APPFONT ( 312, 6 ) ; 586 Size = MAP_APPFONT ( 50, 14 ) ; 587 TabStop = TRUE ; 588 DefButton = TRUE ; 589 }; 590 CancelButton PB_CANCEL 591 { 592 Pos = MAP_APPFONT ( 312, 23 ) ; 593 Size = MAP_APPFONT ( 50, 14 ) ; 594 }; 595 HelpButton PB_HELP 596 { 597 Pos = MAP_APPFONT ( 312, 43 ) ; 598 Size = MAP_APPFONT ( 50, 14 ) ; 599 }; 600 FixedLine FL_ENTRIES 601 { 602 Pos = MAP_APPFONT ( 6, 3 ) ; 603 Size = MAP_APPFONT ( 300, 8 ) ; 604 Text [ en-US ] = "Entry data" ; 605 }; 606 Text [ en-US ] = "Define Bibliography Entry" ; 607}; 608String STR_AUTHMRK_EDIT 609{ 610 611 Text [ en-US ] = "Edit Bibliography Entry" ; 612}; 613String STR_AUTHMRK_INSERT 614{ 615 616 Text [ en-US ] = "Insert Bibliography Entry" ; 617}; 618QueryBox DLG_CHANGE_AUTH_ENTRY 619{ 620 BUTTONS = WB_YES_NO ; 621 DEFBUTTON = WB_DEF_NO ; 622 Message [ en-US ] = "The document already contains the bibliography entry but with different data. Do you want to adjust the existing entries?" ; 623}; 624 625// ********************************************************************** EOF 626