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