1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 // include ------------------------------------------------------------------ 28#include <cuires.hrc> 29#include "helpid.hrc" 30#include "tabline.hrc" 31#include <svx/dialogs.hrc> 32 33// Selecting LineStyle / Color / Width -------------------- 34 35#define MASKCOLOR MaskColor = Color{ Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }; 36 37 38TabPage RID_SVXPAGE_LINE 39{ 40 Size = MAP_APPFONT ( 260 , 185 ); 41 HelpId = HID_LINE_LINE ; 42 Hide = TRUE ; 43 Text [ en-US ] = "Lines" ; 44 FixedLine FL_LINE 45 { 46 Pos = MAP_APPFONT ( 6 , 3 ) ; 47 Size = MAP_APPFONT ( 112 , 8 ) ; 48 Text [ en-US ] = "Line properties" ; 49 }; 50 FixedText FT_LINE_STYLE 51 { 52 Pos = MAP_APPFONT ( 12 , 14 ) ; 53 Size = MAP_APPFONT ( 100 , 8 ) ; 54 Text [ en-US ] = "~Style" ; 55 }; 56 ListBox LB_LINE_STYLE 57 { 58 HelpID = "cui:ListBox:RID_SVXPAGE_LINE:LB_LINE_STYLE"; 59 Border = TRUE ; 60 Pos = MAP_APPFONT ( 12 , 25 ) ; 61 Size = MAP_APPFONT ( 100 , 100 ) ; 62 TabStop = TRUE ; 63 DropDown = TRUE ; 64 DDExtraWidth = TRUE ; 65 }; 66 FixedText FT_COLOR 67 { 68 Pos = MAP_APPFONT ( 12 , 41 ) ; 69 Size = MAP_APPFONT ( 100 , 8 ) ; 70 Text [ en-US ] = "Colo~r" ; 71 }; 72 ListBox LB_COLOR 73 { 74 HelpID = "cui:ListBox:RID_SVXPAGE_LINE:LB_COLOR"; 75 Border = TRUE ; 76 Pos = MAP_APPFONT ( 12 , 52 ) ; 77 Size = MAP_APPFONT ( 100 , 100 ) ; 78 TabStop = TRUE ; 79 DropDown = TRUE ; 80 DDExtraWidth = TRUE ; 81 }; 82 FixedText FT_LINE_WIDTH 83 { 84 Pos = MAP_APPFONT ( 12 , 68 ) ; 85 Size = MAP_APPFONT ( 100 , 8 ) ; 86 Text [ en-US ] = "~Width" ; 87 }; 88 MetricField MTR_FLD_LINE_WIDTH 89 { 90 HelpID = "cui:MetricField:RID_SVXPAGE_LINE:MTR_FLD_LINE_WIDTH"; 91 Border = TRUE ; 92 Pos = MAP_APPFONT ( 12 , 79 ) ; 93 Size = MAP_APPFONT ( 50 , 12 ) ; 94 TabStop = TRUE ; 95 Right = TRUE ; 96 Repeat = TRUE ; 97 Spin = TRUE ; 98 Maximum = 5000 ; 99 StrictFormat = TRUE ; 100 DecimalDigits = 2 ; 101 Value = 1 ; 102 Unit = FUNIT_MM ; 103 Last = 5000 ; 104 SpinSize = 10 ; 105 }; 106 FixedText FT_TRANSPARENT 107 { 108 Pos = MAP_APPFONT ( 12 , 95 ) ; 109 Size = MAP_APPFONT ( 100 , 8 ) ; 110 Text [ en-US ] = "~Transparency" ; 111 }; 112 MetricField MTR_LINE_TRANSPARENT 113 { 114 HelpID = "cui:MetricField:RID_SVXPAGE_LINE:MTR_LINE_TRANSPARENT"; 115 Border = TRUE ; 116 Pos = MAP_APPFONT ( 12 , 106 ) ; 117 Size = MAP_APPFONT ( 50 , 12 ) ; 118 TabStop = TRUE ; 119 Repeat = TRUE ; 120 Spin = TRUE ; 121 Maximum = 100 ; 122 StrictFormat = TRUE ; 123 Unit = FUNIT_CUSTOM ; 124 CustomUnitText = "%" ; 125 Last = 100 ; 126 SpinSize = 5 ; 127 }; 128 FixedLine FL_SEPARATOR 129 { 130 Pos = MAP_APPFONT ( 118 , 14 ) ; 131 Size = MAP_APPFONT ( 6 , 111 ) ; 132 Vert = TRUE; 133 }; 134 FixedLine FL_LINE_ENDS 135 { 136 Pos = MAP_APPFONT ( 124 , 3 ) ; 137 Size = MAP_APPFONT ( 130 , 8 ) ; 138 Text [ en-US ] = "Arrow styles" ; 139 }; 140 FixedText FT_LINE_ENDS_STYLE 141 { 142 Pos = MAP_APPFONT ( 130 , 14 ) ; 143 Size = MAP_APPFONT ( 118 , 8 ) ; 144 Text [ en-US ] = "St~yle" ; 145 }; 146 ListBox LB_START_STYLE 147 { 148 HelpID = "cui:ListBox:RID_SVXPAGE_LINE:LB_START_STYLE"; 149 Border = TRUE ; 150 Pos = MAP_APPFONT ( 130 , 25 ) ; 151 Size = MAP_APPFONT ( 57 , 99 ) ; 152 TabStop = TRUE ; 153 DropDown = TRUE ; 154 DDExtraWidth = TRUE ; 155 }; 156 ListBox LB_END_STYLE 157 { 158 HelpID = "cui:ListBox:RID_SVXPAGE_LINE:LB_END_STYLE"; 159 Border = TRUE ; 160 Pos = MAP_APPFONT ( 191 , 25 ) ; 161 Size = MAP_APPFONT ( 57 , 100 ) ; 162 TabStop = TRUE ; 163 DropDown = TRUE ; 164 DDExtraWidth = TRUE ; 165 }; 166 FixedText FT_LINE_ENDS_WIDTH 167 { 168 Pos = MAP_APPFONT ( 130 , 41 ) ; 169 Size = MAP_APPFONT ( 118 , 8 ) ; 170 Text [ en-US ] = "Wi~dth" ; 171 }; 172 MetricField MTR_FLD_START_WIDTH 173 { 174 HelpID = "cui:MetricField:RID_SVXPAGE_LINE:MTR_FLD_START_WIDTH"; 175 Border = TRUE ; 176 Pos = MAP_APPFONT ( 130 , 52 ) ; 177 Size = MAP_APPFONT ( 45 , 12 ) ; 178 TabStop = TRUE ; 179 Right = TRUE ; 180 Repeat = TRUE ; 181 Spin = TRUE ; 182 Maximum = 5000 ; 183 StrictFormat = TRUE ; 184 DecimalDigits = 2 ; 185 Value = 1 ; 186 Unit = FUNIT_MM ; 187 Last = 5000 ; 188 SpinSize = 10 ; 189 }; 190 MetricField MTR_FLD_END_WIDTH 191 { 192 HelpID = "cui:MetricField:RID_SVXPAGE_LINE:MTR_FLD_END_WIDTH"; 193 Border = TRUE ; 194 Pos = MAP_APPFONT ( 191 , 52 ) ; 195 Size = MAP_APPFONT ( 45 , 12 ) ; 196 TabStop = TRUE ; 197 Right = TRUE ; 198 Repeat = TRUE ; 199 Spin = TRUE ; 200 Maximum = 5000 ; 201 StrictFormat = TRUE ; 202 DecimalDigits = 2 ; 203 Value = 1 ; 204 Unit = FUNIT_MM ; 205 Last = 5000 ; 206 SpinSize = 10 ; 207 }; 208 TriStateBox TSB_CENTER_START 209 { 210 HelpID = "cui:TriStateBox:RID_SVXPAGE_LINE:TSB_CENTER_START"; 211 Pos = MAP_APPFONT ( 130 , 68 ) ; 212 Size = MAP_APPFONT ( 57 , 10 ) ; 213 Text [ en-US ] = "Ce~nter" ; 214 TabStop = TRUE ; 215 }; 216 TriStateBox TSB_CENTER_END 217 { 218 HelpID = "cui:TriStateBox:RID_SVXPAGE_LINE:TSB_CENTER_END"; 219 Pos = MAP_APPFONT ( 191 , 68 ) ; 220 Size = MAP_APPFONT ( 57 , 10 ) ; 221 Text [ en-US ] = "C~enter" ; 222 TabStop = TRUE ; 223 }; 224 CheckBox CBX_SYNCHRONIZE 225 { 226 HelpID = "cui:CheckBox:RID_SVXPAGE_LINE:CBX_SYNCHRONIZE"; 227 // #116827# 228 // Pos = MAP_APPFONT ( 130 , 107 ) ; 229 Pos = MAP_APPFONT ( 130 , 68 + (16 - 4) ) ; 230 Size = MAP_APPFONT ( 118 , 10 ) ; 231 Text [ en-US ] = "Synchroni~ze ends" ; 232 TabStop = TRUE ; 233 }; 234 235 ////////////////////////////////////////////////////////////////////////////// 236 // #116827# 237 238 FixedLine FL_EDGE_STYLE 239 { 240 Pos = MAP_APPFONT ( 124 , 3 + (16 * 6) - 4 ) ; 241 Size = MAP_APPFONT ( 130 , 8 ) ; 242 Text [ en-US ] = "Corner style" ; 243 }; 244 FixedText FT_EDGE_STYLE 245 { 246 Pos = MAP_APPFONT ( 130 , 14 + (16 * 6) - 4 ) ; 247 Size = MAP_APPFONT ( 118 , 8 ) ; 248 Text [ en-US ] = "Sty~le" ; 249 }; 250 ListBox LB_EDGE_STYLE 251 { 252 HelpID = "cui:ListBox:RID_SVXPAGE_LINE:LB_EDGE_STYLE"; 253 Border = TRUE ; 254 Pos = MAP_APPFONT ( 130 , 25 + (16 * 6) - 4 ) ; 255 Size = MAP_APPFONT ( 57 , 99 ) ; 256 TabStop = TRUE ; 257 DropDown = TRUE ; 258 StringList [ en-US ] = 259 { 260 < "Rounded" ; Default ; > ; 261 < "- none -" ; > ; 262 < "Mitered" ; > ; 263 < "Beveled" ; > ; 264 }; 265 }; 266 267 ////////////////////////////////////////////////////////////////////////////// 268 269 Control CTL_PREVIEW 270 { 271 Border = TRUE ; 272 Pos = MAP_APPFONT ( 6 , 135 ) ; 273 Size = MAP_APPFONT ( 248 , 40 ) ; 274 }; 275 276 //#58425# Symbole auf einer Linie (z.B. StarChart) -> 277 FixedLine FL_SYMBOL_FORMAT 278 { 279 Hide = TRUE ; 280 281 Pos = MAP_APPFONT ( 124 , 3 ) ; 282 Size = MAP_APPFONT ( 130 , 8 ) ; 283 Text [ en-US ] = "Icon"; 284 }; 285 286 MenuButton MB_SYMBOL_BITMAP 287 { 288 HelpID = "cui:MenuButton:RID_SVXPAGE_LINE:MB_SYMBOL_BITMAP"; 289 Hide = TRUE ; 290 Pos = MAP_APPFONT ( 130 , 14 ) ; 291 Size = MAP_APPFONT ( 50 , 14 ) ; 292 TabStop = TRUE ; 293 ButtonMenu = Menu 294 { 295 ItemList = 296 { 297 MenuItem 298 { 299 Identifier = MN_SYMBOLS_NONE; 300 Text [ en-US ] = "No Symbol"; 301 }; 302 MenuItem 303 { 304 Identifier = MN_SYMBOLS_AUTO; 305 Text [ en-US ] = "Automatic"; 306 }; 307 MenuItem 308 { 309 Identifier = MN_GRAPHIC_DLG ; 310 Text [ en-US ] = "From file..." ; 311 }; 312 MenuItem 313 { 314 Identifier = MN_GALLERY ; 315 Text [ en-US ] = "Gallery"; 316 }; 317 MenuItem 318 { 319 Identifier = MN_SYMBOLS; 320 Text [ en-US ] = "Symbols"; 321 }; 322 }; 323 }; 324 Text [ en-US ] = "Select..." ; 325 }; 326 FixedText FT_SYMBOL_WIDTH 327 { 328 Hide = TRUE ; 329 Pos = MAP_APPFONT ( 130 , 32 ) ; 330 Size = MAP_APPFONT ( 57 , 8 ) ; 331 Text [ en-US ] = "Width" ; 332 }; 333 MetricField MF_SYMBOL_WIDTH 334 { 335 HelpID = "cui:MetricField:RID_SVXPAGE_LINE:MF_SYMBOL_WIDTH"; 336 Pos = MAP_APPFONT ( 191 , 30 ); 337 Size = MAP_APPFONT ( 57 , 12 ) ; 338 Border = TRUE ; 339 TabStop = TRUE ; 340 Left = TRUE ; 341 Repeat = TRUE ; 342 Spin = TRUE ; 343 Minimum = 0 ; 344 Maximum = 1999 ; 345 DecimalDigits = 2 ; 346 Value = 0 ; 347 Unit = FUNIT_CM ; 348 First = 0 ; 349 Last = 1999 ; 350 SpinSize = 5 ; 351 Hide = TRUE ; 352 }; 353 FixedText FT_SYMBOL_HEIGHT 354 { 355 Hide = TRUE ; 356 Pos = MAP_APPFONT ( 130 , 48 ) ; 357 Size = MAP_APPFONT ( 57 , 8 ) ; 358 Text [ en-US ] = "Height" ; 359 }; 360 MetricField MF_SYMBOL_HEIGHT 361 { 362 HelpID = "cui:MetricField:RID_SVXPAGE_LINE:MF_SYMBOL_HEIGHT"; 363 Pos = MAP_APPFONT ( 191 , 46 ); 364 Size = MAP_APPFONT ( 57 , 12 ) ; 365 Border = TRUE ; 366 TabStop = TRUE ; 367 Left = TRUE ; 368 Repeat = TRUE ; 369 Spin = TRUE ; 370 Minimum = 0 ; 371 Maximum = 1999 ; 372 DecimalDigits = 2 ; 373 Value = 0 ; 374 Unit = FUNIT_CM ; 375 First = 0 ; 376 Last = 1999 ; 377 SpinSize = 5 ; 378 Hide = TRUE ; 379 }; 380 CheckBox CB_SYMBOL_RATIO 381 { 382 HelpID = "cui:CheckBox:RID_SVXPAGE_LINE:CB_SYMBOL_RATIO"; 383 Hide = TRUE ; 384 Pos = MAP_APPFONT ( 130 , 62 ); 385 Size = MAP_APPFONT ( 118 , 10 ) ; 386 Text [ en-US ] = "Keep ratio" ; 387 }; 388 String STR_STYLE 389 { 390 Text [ en-US ] = "Style" ; 391 }; 392 String STR_LB_START_STYLE 393 { 394 Text [ en-US ] = "Start style" ; 395 }; 396 String STR_LB_END_STYLE 397 { 398 Text [ en-US ] = "End style" ; 399 }; 400 String STR_MTR_FLD_START_WIDTH 401 { 402 Text [ en-US ] = "Start width" ; 403 }; 404 String STR_MTR_FLD_END_WIDTH 405 { 406 Text [ en-US ] = "End width" ; 407 }; 408 String STR_CENTER_START 409 { 410 Text [ en-US ] = "Start with center" ; 411 }; 412 String STR_CENTER_END 413 { 414 Text [ en-US ] = "End with center" ; 415 }; 416}; 417 418// Defining LineStyles -------------------- 419 420TabPage RID_SVXPAGE_LINE_DEF 421{ 422 Size = MAP_APPFONT ( 260 , 185 ) ; 423 HelpId = HID_LINE_DEF ; 424 Hide = TRUE ; 425 Text [ en-US ] = "Define line styles" ; 426 427 FixedLine FL_DEFINITION 428 { 429 Pos = MAP_APPFONT ( 6 , 3 ) ; 430 Size = MAP_APPFONT ( 248 , 8 ) ; 431 Text [ en-US ] = "Properties" ; 432 }; 433 FixedText FT_TYPE 434 { 435 Pos = MAP_APPFONT ( 12 , 34 ) ; 436 Size = MAP_APPFONT ( 52 , 8 ) ; 437 Text [ en-US ] = "~Type" ; 438 }; 439 ListBox LB_TYPE_1 440 { 441 HelpID = "cui:ListBox:RID_SVXPAGE_LINE_DEF:LB_TYPE_1"; 442 Border = TRUE ; 443 Pos = MAP_APPFONT ( 66 , 32 ) ; 444 Size = MAP_APPFONT ( 43 , 49 ) ; 445 TabStop = TRUE ; 446 DropDown = TRUE ; 447 StringList [ en-US ] = 448 { 449 < "Dot" ; Default ; > ; 450 < "Dash" ; Default ; > ; 451 }; 452 }; 453 ListBox LB_TYPE_2 454 { 455 HelpID = "cui:ListBox:RID_SVXPAGE_LINE_DEF:LB_TYPE_2"; 456 Border = TRUE ; 457 Pos = MAP_APPFONT ( 113 , 32 ) ; 458 Size = MAP_APPFONT ( 43 , 49 ) ; 459 TabStop = TRUE ; 460 DropDown = TRUE ; 461 StringList [ en-US ] = 462 { 463 < "Dot" ; Default ; > ; 464 < "Dash" ; Default ; > ; 465 }; 466 }; 467 FixedText FT_NUMBER 468 { 469 Pos = MAP_APPFONT ( 12 , 50 ) ; 470 Size = MAP_APPFONT ( 52 , 8 ) ; 471 Text [ en-US ] = "~Number" ; 472 }; 473 NumericField NUM_FLD_1 474 { 475 HelpID = "cui:NumericField:RID_SVXPAGE_LINE_DEF:NUM_FLD_1"; 476 Border = TRUE ; 477 Pos = MAP_APPFONT ( 66 , 48 ) ; 478 Size = MAP_APPFONT ( 43 , 12 ) ; 479 TabStop = TRUE ; 480 Right = TRUE ; 481 Repeat = TRUE ; 482 Spin = TRUE ; 483 Maximum = 99 ; 484 StrictFormat = TRUE ; 485 Last = 99 ; 486 SpinSize = 1 ; 487 }; 488 NumericField NUM_FLD_2 489 { 490 HelpID = "cui:NumericField:RID_SVXPAGE_LINE_DEF:NUM_FLD_2"; 491 Border = TRUE ; 492 Pos = MAP_APPFONT ( 113 , 48 ) ; 493 Size = MAP_APPFONT ( 43 , 12 ) ; 494 TabStop = TRUE ; 495 Right = TRUE ; 496 Repeat = TRUE ; 497 Spin = TRUE ; 498 Maximum = 99 ; 499 StrictFormat = TRUE ; 500 Last = 99 ; 501 SpinSize = 1 ; 502 }; 503 FixedText FT_LENGTH 504 { 505 Pos = MAP_APPFONT ( 12 , 66 ) ; 506 Size = MAP_APPFONT ( 52 , 8 ) ; 507 Text [ en-US ] = "~Length" ; 508 }; 509 MetricField MTR_FLD_LENGTH_1 510 { 511 HelpID = "cui:MetricField:RID_SVXPAGE_LINE_DEF:MTR_FLD_LENGTH_1"; 512 Border = TRUE ; 513 Pos = MAP_APPFONT ( 66 , 64 ) ; 514 Size = MAP_APPFONT ( 43 , 12 ) ; 515 TabStop = TRUE ; 516 Right = TRUE ; 517 Repeat = TRUE ; 518 Spin = TRUE ; 519 Minimum = 1 ; 520 First = 1 ; 521 Maximum = 5000 ; 522 Last = 5000 ; 523 StrictFormat = TRUE ; 524 DecimalDigits = 2 ; 525 Value = 1 ; 526 Unit = FUNIT_MM ; 527 CustomUnitText = " %" ; 528 SpinSize = 10 ; 529 }; 530 MetricField MTR_FLD_LENGTH_2 531 { 532 HelpID = "cui:MetricField:RID_SVXPAGE_LINE_DEF:MTR_FLD_LENGTH_2"; 533 Border = TRUE ; 534 Pos = MAP_APPFONT ( 113 , 64 ) ; 535 Size = MAP_APPFONT ( 43 , 12 ) ; 536 TabStop = TRUE ; 537 Right = TRUE ; 538 Repeat = TRUE ; 539 Spin = TRUE ; 540 Minimum = 1 ; 541 First = 1 ; 542 Maximum = 5000 ; 543 Last = 5000 ; 544 StrictFormat = TRUE ; 545 DecimalDigits = 2 ; 546 Value = 1 ; 547 Unit = FUNIT_MM ; 548 CustomUnitText = " %" ; 549 SpinSize = 10 ; 550 }; 551 FixedText FT_DISTANCE 552 { 553 Pos = MAP_APPFONT ( 12 , 81 ) ; 554 Size = MAP_APPFONT ( 52 , 8 ) ; 555 Text [ en-US ] = "~Spacing" ; 556 }; 557 MetricField MTR_FLD_DISTANCE 558 { 559 HelpID = "cui:MetricField:RID_SVXPAGE_LINE_DEF:MTR_FLD_DISTANCE"; 560 Border = TRUE ; 561 Pos = MAP_APPFONT ( 66 , 79 ) ; 562 Size = MAP_APPFONT ( 43 , 12 ) ; 563 TabStop = TRUE ; 564 Right = TRUE ; 565 Repeat = TRUE ; 566 Spin = TRUE ; 567 Maximum = 5000 ; 568 StrictFormat = TRUE ; 569 DecimalDigits = 2 ; 570 Value = 1 ; 571 Unit = FUNIT_MM ; 572 CustomUnitText = " %" ; 573 Last = 5000 ; 574 SpinSize = 10 ; 575 }; 576 CheckBox CBX_SYNCHRONIZE 577 { 578 HelpID = "cui:CheckBox:RID_SVXPAGE_LINE_DEF:CBX_SYNCHRONIZE"; 579 Pos = MAP_APPFONT ( 12 , 95 ) ; 580 Size = MAP_APPFONT ( 174 , 10 ) ; 581 Text [ en-US ] = "~Fit to line width" ; 582 TabStop = TRUE ; 583 }; 584 585 // ---------------------------------------- 586 587 FixedText FT_LINESTYLE 588 { 589 Pos = MAP_APPFONT ( 12 , 16 ) ; 590 Size = MAP_APPFONT ( 52 , 8 ) ; 591 Text [ en-US ] = "Line style" ; 592 }; 593 ListBox LB_LINESTYLES 594 { 595 HelpID = "cui:ListBox:RID_SVXPAGE_LINE_DEF:LB_LINESTYLES"; 596 Border = TRUE ; 597 Pos = MAP_APPFONT ( 66 , 14 ) ; 598 Size = MAP_APPFONT ( 120 , 80 ) ; 599 TabStop = TRUE ; 600 DropDown = TRUE ; 601 DDExtraWidth = TRUE ; 602 }; 603 PushButton BTN_ADD 604 { 605 HelpID = "cui:PushButton:RID_SVXPAGE_LINE_DEF:BTN_ADD"; 606 Pos = MAP_APPFONT ( 198 , 14 ) ; 607 Size = MAP_APPFONT ( 50 , 14 ) ; 608 Text [ en-US ] = "~Add..." ; 609 TabStop = TRUE ; 610 }; 611 PushButton BTN_MODIFY 612 { 613 HelpID = "cui:PushButton:RID_SVXPAGE_LINE_DEF:BTN_MODIFY"; 614 Pos = MAP_APPFONT ( 198 , 34 ) ; 615 Size = MAP_APPFONT ( 50 , 14 ) ; 616 Text [ en-US ] = "~Modify..." ; 617 TabStop = TRUE ; 618 }; 619 PushButton BTN_DELETE 620 { 621 HelpID = "cui:PushButton:RID_SVXPAGE_LINE_DEF:BTN_DELETE"; 622 Pos = MAP_APPFONT ( 198 , 54 ) ; 623 Size = MAP_APPFONT ( 50 , 14 ) ; 624 Text [ en-US ] = "~Delete..." ; 625 TabStop = TRUE ; 626 }; 627 ImageButton BTN_LOAD 628 { 629 HelpID = "cui:ImageButton:RID_SVXPAGE_LINE_DEF:BTN_LOAD"; 630 Pos = MAP_APPFONT ( 198 , 74 ) ; 631 Size = MAP_APPFONT ( 16 , 16 ) ; 632 TabStop = TRUE ; 633 QuickHelpText [ en-US ] = "Load Line Styles" ; 634 ButtonImage = Image 635 { 636 ImageBitmap = Bitmap 637 { 638 File = "sc05501.bmp" ; 639 }; 640 MASKCOLOR 641 }; 642 }; 643 ImageButton BTN_SAVE 644 { 645 HelpID = "cui:ImageButton:RID_SVXPAGE_LINE_DEF:BTN_SAVE"; 646 Pos = MAP_APPFONT ( 198 , 96 ) ; 647 Size = MAP_APPFONT ( 16 , 16 ) ; 648 TabStop = TRUE ; 649 QuickHelpText [ en-US ] = "Save Line Styles" ; 650 ButtonImage = Image 651 { 652 ImageBitmap = Bitmap 653 { 654 File = "sc05502.bmp" ; 655 }; 656 MASKCOLOR 657 }; 658 }; 659 Control CTL_PREVIEW 660 { 661 Border = TRUE ; 662 Pos = MAP_APPFONT ( 6 , 135 ) ; 663 Size = MAP_APPFONT ( 248 , 40 ) ; 664 }; 665 666 String STR_START_TYPE 667 { 668 Text [ en-US ] = "Start type" ; 669 }; 670 String STR_END_TYPE 671 { 672 Text [ en-US ] = "End type" ; 673 }; 674 String STR_START_NUM 675 { 676 Text [ en-US ] = "Start number" ; 677 }; 678 String STR_END_NUM 679 { 680 Text [ en-US ] = "End number" ; 681 }; 682 String STR_START_LENGTH 683 { 684 Text [ en-US ] = "Start length" ; 685 }; 686 String STR_END_LENGTH 687 { 688 Text [ en-US ] = "End length" ; 689 }; 690}; 691 692// Defining LineEnds -------------------- 693 694TabPage RID_SVXPAGE_LINEEND_DEF 695{ 696 Size = MAP_APPFONT ( 260 , 185 ) ; 697 HelpId = HID_LINE_ENDDEF ; 698 Hide = TRUE ; 699 Text [ en-US ] = "Arrowheads" ; 700 701 FixedLine FL_TIP 702 { 703 Pos = MAP_APPFONT ( 6 , 3 ) ; 704 Size = MAP_APPFONT ( 248 , 8 ) ; 705 Text [ en-US ] = "Organize arrow styles" ; 706 }; 707 FixedText FI_TIP 708 { 709 Pos = MAP_APPFONT ( 6 , 123 ) ; 710 Size = MAP_APPFONT ( 252 , 8 ) ; 711 Text [ en-US ] = "Add a selected object to create new arrow styles." ; 712 WordBreak = TRUE ; 713 }; 714 715 FixedText FT_LINE_END_STYLE 716 { 717 Pos = MAP_APPFONT ( 12 , 32 ) ; 718 Size = MAP_APPFONT ( 84 , 8 ) ; 719 Text [ en-US ] = "Arrow style" ; 720 }; 721 Edit EDT_NAME 722 { 723 HelpID = "cui:Edit:RID_SVXPAGE_LINEEND_DEF:EDT_NAME"; 724 Border = TRUE ; 725 Pos = MAP_APPFONT ( 98 , 14 ) ; 726 Size = MAP_APPFONT ( 87 , 12 ) ; 727 TabStop = TRUE ; 728 }; 729 FixedText FT_TITLE 730 { 731 Pos = MAP_APPFONT ( 12 , 16 ) ; 732 Size = MAP_APPFONT ( 84 , 8 ) ; 733 Text [ en-US ] = "~Title" ; 734 }; 735 ListBox LB_LINEENDS 736 { 737 HelpID = "cui:ListBox:RID_SVXPAGE_LINEEND_DEF:LB_LINEENDS"; 738 Border = TRUE ; 739 Pos = MAP_APPFONT ( 98 , 30 ) ; 740 Size = MAP_APPFONT ( 87 , 80 ) ; 741 TabStop = TRUE ; 742 DropDown = TRUE ; 743 DDExtraWidth = TRUE ; 744 }; 745 PushButton BTN_ADD 746 { 747 HelpID = "cui:PushButton:RID_SVXPAGE_LINEEND_DEF:BTN_ADD"; 748 Pos = MAP_APPFONT ( 198 , 14 ) ; 749 Size = MAP_APPFONT ( 50 , 14 ) ; 750 Text [ en-US ] = "~Add..." ; 751 TabStop = TRUE ; 752 }; 753 PushButton BTN_MODIFY 754 { 755 HelpID = "cui:PushButton:RID_SVXPAGE_LINEEND_DEF:BTN_MODIFY"; 756 Pos = MAP_APPFONT ( 198 , 34 ) ; 757 Size = MAP_APPFONT ( 50 , 14 ) ; 758 Text [ en-US ] = "~Modify..." ; 759 TabStop = TRUE ; 760 }; 761 PushButton BTN_DELETE 762 { 763 HelpID = "cui:PushButton:RID_SVXPAGE_LINEEND_DEF:BTN_DELETE"; 764 Pos = MAP_APPFONT ( 198 , 54 ) ; 765 Size = MAP_APPFONT ( 50 , 14 ) ; 766 Text [ en-US ] = "~Delete..." ; 767 TabStop = TRUE ; 768 }; 769 ImageButton BTN_LOAD 770 { 771 HelpID = "cui:ImageButton:RID_SVXPAGE_LINEEND_DEF:BTN_LOAD"; 772 Pos = MAP_APPFONT ( 198 , 74 ) ; 773 Size = MAP_APPFONT ( 16 , 16 ) ; 774 TabStop = TRUE ; 775 QuickHelpText [ en-US ] = "Load Arrow Styles" ; 776 ButtonImage = Image 777 { 778 ImageBitmap = Bitmap 779 { 780 File = "sc05501.bmp" ; 781 }; 782 MASKCOLOR 783 }; 784 }; 785 ImageButton BTN_SAVE 786 { 787 HelpID = "cui:ImageButton:RID_SVXPAGE_LINEEND_DEF:BTN_SAVE"; 788 Pos = MAP_APPFONT ( 198 , 96 ) ; 789 Size = MAP_APPFONT ( 16 , 16 ) ; 790 TabStop = TRUE ; 791 QuickHelpText [ en-US ] = "Save Arrow Styles" ; 792 ButtonImage = Image 793 { 794 ImageBitmap = Bitmap 795 { 796 File = "sc05502.bmp" ; 797 }; 798 MASKCOLOR 799 }; 800 }; 801 802 Control CTL_PREVIEW 803 { 804 Border = TRUE ; 805 Pos = MAP_APPFONT ( 6 , 135 ) ; 806 Size = MAP_APPFONT ( 248 , 40 ) ; 807 }; 808 809}; 810 // RID_SVXDLG_LINE ---------------------------------------------------------- 811TabDialog RID_SVXDLG_LINE 812{ 813 OutputSize = TRUE ; 814 SvLook = TRUE ; 815 Size = MAP_APPFONT ( 289 , 176 ) ; 816 Text [ en-US ] = "Line" ; 817 Moveable = TRUE ; 818 TabControl TAB_CONTROL 819 { 820 OutputSize = TRUE ; 821 Pos = MAP_APPFONT ( 3 , 3 ) ; 822 Size = MAP_APPFONT ( 260 , 135 ) ; 823 PageList = 824 { 825 PageItem 826 { 827 Identifier = RID_SVXPAGE_LINE ; 828 Text [ en-US ] = "Line" ; 829 PageResID = RID_SVXPAGE_LINE ; 830 }; 831 PageItem 832 { 833 Identifier = RID_SVXPAGE_SHADOW ; 834 PageResID = RID_SVXPAGE_SHADOW ; 835 Text [ en-US ] = "Shadow" ; 836 }; 837 PageItem 838 { 839 Identifier = RID_SVXPAGE_LINE_DEF ; 840 Text [ en-US ] = "Line Styles" ; 841 PageResID = RID_SVXPAGE_LINE_DEF ; 842 }; 843 PageItem 844 { 845 Identifier = RID_SVXPAGE_LINEEND_DEF ; 846 Text [ en-US ] = "Arrow Styles" ; 847 PageResID = RID_SVXPAGE_LINEEND_DEF ; 848 }; 849/* 850 PageItem 851 { 852 Identifier = RID_SVXPAGE_COLOR ; 853 Text [ en-US ] = "Colors" ; 854 PageResID = RID_SVXPAGE_COLOR ; 855 }; 856*/ 857 }; 858 }; 859}; 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891