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 and cap styles" ; 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 ] = "~Corner style" ; 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 FixedText FT_CAP_STYLE 263 { 264 Pos = MAP_APPFONT ( 191 , 14 + (16 * 6) - 4 ) ; 265 Size = MAP_APPFONT ( 118 , 8 ) ; 266 Text [ en-US ] = "Ca~p style" ; 267 }; 268 ListBox LB_CAP_STYLE 269 { 270 HelpID = "cui:ListBox:RID_SVXPAGE_LINE:LB_CAP_STYLE"; 271 Border = TRUE ; 272 Pos = MAP_APPFONT ( 191 , 25 + (16 * 6) - 4 ) ; 273 Size = MAP_APPFONT ( 57 , 99 ) ; 274 TabStop = TRUE ; 275 DropDown = TRUE ; 276 StringList [ en-US ] = 277 { 278 < "Flat" ; Default ; > ; // Same string as in Excel 279 < "Round" ; > ; 280 < "Square" ; > ; 281 }; 282 }; 283 284 ////////////////////////////////////////////////////////////////////////////// 285 286 Control CTL_PREVIEW 287 { 288 Border = TRUE ; 289 Pos = MAP_APPFONT ( 6 , 135 ) ; 290 Size = MAP_APPFONT ( 248 , 40 ) ; 291 }; 292 293 //#58425# Symbole auf einer Linie (z.B. StarChart) -> 294 FixedLine FL_SYMBOL_FORMAT 295 { 296 Hide = TRUE ; 297 298 Pos = MAP_APPFONT ( 124 , 3 ) ; 299 Size = MAP_APPFONT ( 130 , 8 ) ; 300 Text [ en-US ] = "Icon"; 301 }; 302 303 MenuButton MB_SYMBOL_BITMAP 304 { 305 HelpID = "cui:MenuButton:RID_SVXPAGE_LINE:MB_SYMBOL_BITMAP"; 306 Hide = TRUE ; 307 Pos = MAP_APPFONT ( 130 , 14 ) ; 308 Size = MAP_APPFONT ( 50 , 14 ) ; 309 TabStop = TRUE ; 310 ButtonMenu = Menu 311 { 312 ItemList = 313 { 314 MenuItem 315 { 316 Identifier = MN_SYMBOLS_NONE; 317 Text [ en-US ] = "No Symbol"; 318 }; 319 MenuItem 320 { 321 Identifier = MN_SYMBOLS_AUTO; 322 Text [ en-US ] = "Automatic"; 323 }; 324 MenuItem 325 { 326 Identifier = MN_GRAPHIC_DLG ; 327 Text [ en-US ] = "From file..." ; 328 }; 329 MenuItem 330 { 331 Identifier = MN_GALLERY ; 332 Text [ en-US ] = "Gallery"; 333 }; 334 MenuItem 335 { 336 Identifier = MN_SYMBOLS; 337 Text [ en-US ] = "Symbols"; 338 }; 339 }; 340 }; 341 Text [ en-US ] = "Select..." ; 342 }; 343 FixedText FT_SYMBOL_WIDTH 344 { 345 Hide = TRUE ; 346 Pos = MAP_APPFONT ( 130 , 32 ) ; 347 Size = MAP_APPFONT ( 57 , 8 ) ; 348 Text [ en-US ] = "Width" ; 349 }; 350 MetricField MF_SYMBOL_WIDTH 351 { 352 HelpID = "cui:MetricField:RID_SVXPAGE_LINE:MF_SYMBOL_WIDTH"; 353 Pos = MAP_APPFONT ( 191 , 30 ); 354 Size = MAP_APPFONT ( 57 , 12 ) ; 355 Border = TRUE ; 356 TabStop = TRUE ; 357 Left = TRUE ; 358 Repeat = TRUE ; 359 Spin = TRUE ; 360 Minimum = 0 ; 361 Maximum = 1999 ; 362 DecimalDigits = 2 ; 363 Value = 0 ; 364 Unit = FUNIT_CM ; 365 First = 0 ; 366 Last = 1999 ; 367 SpinSize = 5 ; 368 Hide = TRUE ; 369 }; 370 FixedText FT_SYMBOL_HEIGHT 371 { 372 Hide = TRUE ; 373 Pos = MAP_APPFONT ( 130 , 48 ) ; 374 Size = MAP_APPFONT ( 57 , 8 ) ; 375 Text [ en-US ] = "Height" ; 376 }; 377 MetricField MF_SYMBOL_HEIGHT 378 { 379 HelpID = "cui:MetricField:RID_SVXPAGE_LINE:MF_SYMBOL_HEIGHT"; 380 Pos = MAP_APPFONT ( 191 , 46 ); 381 Size = MAP_APPFONT ( 57 , 12 ) ; 382 Border = TRUE ; 383 TabStop = TRUE ; 384 Left = TRUE ; 385 Repeat = TRUE ; 386 Spin = TRUE ; 387 Minimum = 0 ; 388 Maximum = 1999 ; 389 DecimalDigits = 2 ; 390 Value = 0 ; 391 Unit = FUNIT_CM ; 392 First = 0 ; 393 Last = 1999 ; 394 SpinSize = 5 ; 395 Hide = TRUE ; 396 }; 397 CheckBox CB_SYMBOL_RATIO 398 { 399 HelpID = "cui:CheckBox:RID_SVXPAGE_LINE:CB_SYMBOL_RATIO"; 400 Hide = TRUE ; 401 Pos = MAP_APPFONT ( 130 , 62 ); 402 Size = MAP_APPFONT ( 118 , 10 ) ; 403 Text [ en-US ] = "Keep ratio" ; 404 }; 405 String STR_STYLE 406 { 407 Text [ en-US ] = "Style" ; 408 }; 409 String STR_LB_START_STYLE 410 { 411 Text [ en-US ] = "Start style" ; 412 }; 413 String STR_LB_END_STYLE 414 { 415 Text [ en-US ] = "End style" ; 416 }; 417 String STR_MTR_FLD_START_WIDTH 418 { 419 Text [ en-US ] = "Start width" ; 420 }; 421 String STR_MTR_FLD_END_WIDTH 422 { 423 Text [ en-US ] = "End width" ; 424 }; 425 String STR_CENTER_START 426 { 427 Text [ en-US ] = "Start with center" ; 428 }; 429 String STR_CENTER_END 430 { 431 Text [ en-US ] = "End with center" ; 432 }; 433}; 434 435// Defining LineStyles -------------------- 436 437TabPage RID_SVXPAGE_LINE_DEF 438{ 439 Size = MAP_APPFONT ( 260 , 185 ) ; 440 HelpId = HID_LINE_DEF ; 441 Hide = TRUE ; 442 Text [ en-US ] = "Define line styles" ; 443 444 FixedLine FL_DEFINITION 445 { 446 Pos = MAP_APPFONT ( 6 , 3 ) ; 447 Size = MAP_APPFONT ( 248 , 8 ) ; 448 Text [ en-US ] = "Properties" ; 449 }; 450 FixedText FT_TYPE 451 { 452 Pos = MAP_APPFONT ( 12 , 34 ) ; 453 Size = MAP_APPFONT ( 52 , 8 ) ; 454 Text [ en-US ] = "~Type" ; 455 }; 456 ListBox LB_TYPE_1 457 { 458 HelpID = "cui:ListBox:RID_SVXPAGE_LINE_DEF:LB_TYPE_1"; 459 Border = TRUE ; 460 Pos = MAP_APPFONT ( 66 , 32 ) ; 461 Size = MAP_APPFONT ( 43 , 49 ) ; 462 TabStop = TRUE ; 463 DropDown = TRUE ; 464 StringList [ en-US ] = 465 { 466 < "Dot" ; Default ; > ; 467 < "Dash" ; Default ; > ; 468 }; 469 }; 470 ListBox LB_TYPE_2 471 { 472 HelpID = "cui:ListBox:RID_SVXPAGE_LINE_DEF:LB_TYPE_2"; 473 Border = TRUE ; 474 Pos = MAP_APPFONT ( 113 , 32 ) ; 475 Size = MAP_APPFONT ( 43 , 49 ) ; 476 TabStop = TRUE ; 477 DropDown = TRUE ; 478 StringList [ en-US ] = 479 { 480 < "Dot" ; Default ; > ; 481 < "Dash" ; Default ; > ; 482 }; 483 }; 484 FixedText FT_NUMBER 485 { 486 Pos = MAP_APPFONT ( 12 , 50 ) ; 487 Size = MAP_APPFONT ( 52 , 8 ) ; 488 Text [ en-US ] = "~Number" ; 489 }; 490 NumericField NUM_FLD_1 491 { 492 HelpID = "cui:NumericField:RID_SVXPAGE_LINE_DEF:NUM_FLD_1"; 493 Border = TRUE ; 494 Pos = MAP_APPFONT ( 66 , 48 ) ; 495 Size = MAP_APPFONT ( 43 , 12 ) ; 496 TabStop = TRUE ; 497 Right = TRUE ; 498 Repeat = TRUE ; 499 Spin = TRUE ; 500 Maximum = 99 ; 501 StrictFormat = TRUE ; 502 Last = 99 ; 503 SpinSize = 1 ; 504 }; 505 NumericField NUM_FLD_2 506 { 507 HelpID = "cui:NumericField:RID_SVXPAGE_LINE_DEF:NUM_FLD_2"; 508 Border = TRUE ; 509 Pos = MAP_APPFONT ( 113 , 48 ) ; 510 Size = MAP_APPFONT ( 43 , 12 ) ; 511 TabStop = TRUE ; 512 Right = TRUE ; 513 Repeat = TRUE ; 514 Spin = TRUE ; 515 Maximum = 99 ; 516 StrictFormat = TRUE ; 517 Last = 99 ; 518 SpinSize = 1 ; 519 }; 520 FixedText FT_LENGTH 521 { 522 Pos = MAP_APPFONT ( 12 , 66 ) ; 523 Size = MAP_APPFONT ( 52 , 8 ) ; 524 Text [ en-US ] = "~Length" ; 525 }; 526 MetricField MTR_FLD_LENGTH_1 527 { 528 HelpID = "cui:MetricField:RID_SVXPAGE_LINE_DEF:MTR_FLD_LENGTH_1"; 529 Border = TRUE ; 530 Pos = MAP_APPFONT ( 66 , 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 MetricField MTR_FLD_LENGTH_2 548 { 549 HelpID = "cui:MetricField:RID_SVXPAGE_LINE_DEF:MTR_FLD_LENGTH_2"; 550 Border = TRUE ; 551 Pos = MAP_APPFONT ( 113 , 64 ) ; 552 Size = MAP_APPFONT ( 43 , 12 ) ; 553 TabStop = TRUE ; 554 Right = TRUE ; 555 Repeat = TRUE ; 556 Spin = TRUE ; 557 Minimum = 1 ; 558 First = 1 ; 559 Maximum = 5000 ; 560 Last = 5000 ; 561 StrictFormat = TRUE ; 562 DecimalDigits = 2 ; 563 Value = 1 ; 564 Unit = FUNIT_MM ; 565 CustomUnitText = " %" ; 566 SpinSize = 10 ; 567 }; 568 FixedText FT_DISTANCE 569 { 570 Pos = MAP_APPFONT ( 12 , 81 ) ; 571 Size = MAP_APPFONT ( 52 , 8 ) ; 572 Text [ en-US ] = "~Spacing" ; 573 }; 574 MetricField MTR_FLD_DISTANCE 575 { 576 HelpID = "cui:MetricField:RID_SVXPAGE_LINE_DEF:MTR_FLD_DISTANCE"; 577 Border = TRUE ; 578 Pos = MAP_APPFONT ( 66 , 79 ) ; 579 Size = MAP_APPFONT ( 43 , 12 ) ; 580 TabStop = TRUE ; 581 Right = TRUE ; 582 Repeat = TRUE ; 583 Spin = TRUE ; 584 Maximum = 5000 ; 585 StrictFormat = TRUE ; 586 DecimalDigits = 2 ; 587 Value = 1 ; 588 Unit = FUNIT_MM ; 589 CustomUnitText = " %" ; 590 Last = 5000 ; 591 SpinSize = 10 ; 592 }; 593 CheckBox CBX_SYNCHRONIZE 594 { 595 HelpID = "cui:CheckBox:RID_SVXPAGE_LINE_DEF:CBX_SYNCHRONIZE"; 596 Pos = MAP_APPFONT ( 12 , 95 ) ; 597 Size = MAP_APPFONT ( 174 , 10 ) ; 598 Text [ en-US ] = "~Fit to line width" ; 599 TabStop = TRUE ; 600 }; 601 602 // ---------------------------------------- 603 604 FixedText FT_LINESTYLE 605 { 606 Pos = MAP_APPFONT ( 12 , 16 ) ; 607 Size = MAP_APPFONT ( 52 , 8 ) ; 608 Text [ en-US ] = "Line style" ; 609 }; 610 ListBox LB_LINESTYLES 611 { 612 HelpID = "cui:ListBox:RID_SVXPAGE_LINE_DEF:LB_LINESTYLES"; 613 Border = TRUE ; 614 Pos = MAP_APPFONT ( 66 , 14 ) ; 615 Size = MAP_APPFONT ( 120 , 80 ) ; 616 TabStop = TRUE ; 617 DropDown = TRUE ; 618 DDExtraWidth = TRUE ; 619 }; 620 PushButton BTN_ADD 621 { 622 HelpID = "cui:PushButton:RID_SVXPAGE_LINE_DEF:BTN_ADD"; 623 Pos = MAP_APPFONT ( 198 , 14 ) ; 624 Size = MAP_APPFONT ( 50 , 14 ) ; 625 Text [ en-US ] = "~Add..." ; 626 TabStop = TRUE ; 627 }; 628 PushButton BTN_MODIFY 629 { 630 HelpID = "cui:PushButton:RID_SVXPAGE_LINE_DEF:BTN_MODIFY"; 631 Pos = MAP_APPFONT ( 198 , 34 ) ; 632 Size = MAP_APPFONT ( 50 , 14 ) ; 633 Text [ en-US ] = "~Modify..." ; 634 TabStop = TRUE ; 635 }; 636 PushButton BTN_DELETE 637 { 638 HelpID = "cui:PushButton:RID_SVXPAGE_LINE_DEF:BTN_DELETE"; 639 Pos = MAP_APPFONT ( 198 , 54 ) ; 640 Size = MAP_APPFONT ( 50 , 14 ) ; 641 Text [ en-US ] = "~Delete..." ; 642 TabStop = TRUE ; 643 }; 644 ImageButton BTN_LOAD 645 { 646 HelpID = "cui:ImageButton:RID_SVXPAGE_LINE_DEF:BTN_LOAD"; 647 Pos = MAP_APPFONT ( 198 , 74 ) ; 648 Size = MAP_APPFONT ( 16 , 16 ) ; 649 TabStop = TRUE ; 650 QuickHelpText [ en-US ] = "Load Line Styles" ; 651 ButtonImage = Image 652 { 653 ImageBitmap = Bitmap 654 { 655 File = "sc05501.bmp" ; 656 }; 657 MASKCOLOR 658 }; 659 }; 660 ImageButton BTN_SAVE 661 { 662 HelpID = "cui:ImageButton:RID_SVXPAGE_LINE_DEF:BTN_SAVE"; 663 Pos = MAP_APPFONT ( 198 , 96 ) ; 664 Size = MAP_APPFONT ( 16 , 16 ) ; 665 TabStop = TRUE ; 666 QuickHelpText [ en-US ] = "Save Line Styles" ; 667 ButtonImage = Image 668 { 669 ImageBitmap = Bitmap 670 { 671 File = "sc05502.bmp" ; 672 }; 673 MASKCOLOR 674 }; 675 }; 676 Control CTL_PREVIEW 677 { 678 Border = TRUE ; 679 Pos = MAP_APPFONT ( 6 , 135 ) ; 680 Size = MAP_APPFONT ( 248 , 40 ) ; 681 }; 682 683 String STR_START_TYPE 684 { 685 Text [ en-US ] = "Start type" ; 686 }; 687 String STR_END_TYPE 688 { 689 Text [ en-US ] = "End type" ; 690 }; 691 String STR_START_NUM 692 { 693 Text [ en-US ] = "Start number" ; 694 }; 695 String STR_END_NUM 696 { 697 Text [ en-US ] = "End number" ; 698 }; 699 String STR_START_LENGTH 700 { 701 Text [ en-US ] = "Start length" ; 702 }; 703 String STR_END_LENGTH 704 { 705 Text [ en-US ] = "End length" ; 706 }; 707}; 708 709// Defining LineEnds -------------------- 710 711TabPage RID_SVXPAGE_LINEEND_DEF 712{ 713 Size = MAP_APPFONT ( 260 , 185 ) ; 714 HelpId = HID_LINE_ENDDEF ; 715 Hide = TRUE ; 716 Text [ en-US ] = "Arrowheads" ; 717 718 FixedLine FL_TIP 719 { 720 Pos = MAP_APPFONT ( 6 , 3 ) ; 721 Size = MAP_APPFONT ( 248 , 8 ) ; 722 Text [ en-US ] = "Organize arrow styles" ; 723 }; 724 FixedText FI_TIP 725 { 726 Pos = MAP_APPFONT ( 6 , 123 ) ; 727 Size = MAP_APPFONT ( 252 , 8 ) ; 728 Text [ en-US ] = "Add a selected object to create new arrow styles." ; 729 WordBreak = TRUE ; 730 }; 731 732 FixedText FT_LINE_END_STYLE 733 { 734 Pos = MAP_APPFONT ( 12 , 32 ) ; 735 Size = MAP_APPFONT ( 84 , 8 ) ; 736 Text [ en-US ] = "Arrow style" ; 737 }; 738 Edit EDT_NAME 739 { 740 HelpID = "cui:Edit:RID_SVXPAGE_LINEEND_DEF:EDT_NAME"; 741 Border = TRUE ; 742 Pos = MAP_APPFONT ( 98 , 14 ) ; 743 Size = MAP_APPFONT ( 87 , 12 ) ; 744 TabStop = TRUE ; 745 }; 746 FixedText FT_TITLE 747 { 748 Pos = MAP_APPFONT ( 12 , 16 ) ; 749 Size = MAP_APPFONT ( 84 , 8 ) ; 750 Text [ en-US ] = "~Title" ; 751 }; 752 ListBox LB_LINEENDS 753 { 754 HelpID = "cui:ListBox:RID_SVXPAGE_LINEEND_DEF:LB_LINEENDS"; 755 Border = TRUE ; 756 Pos = MAP_APPFONT ( 98 , 30 ) ; 757 Size = MAP_APPFONT ( 87 , 80 ) ; 758 TabStop = TRUE ; 759 DropDown = TRUE ; 760 DDExtraWidth = TRUE ; 761 }; 762 PushButton BTN_ADD 763 { 764 HelpID = "cui:PushButton:RID_SVXPAGE_LINEEND_DEF:BTN_ADD"; 765 Pos = MAP_APPFONT ( 198 , 14 ) ; 766 Size = MAP_APPFONT ( 50 , 14 ) ; 767 Text [ en-US ] = "~Add..." ; 768 TabStop = TRUE ; 769 }; 770 PushButton BTN_MODIFY 771 { 772 HelpID = "cui:PushButton:RID_SVXPAGE_LINEEND_DEF:BTN_MODIFY"; 773 Pos = MAP_APPFONT ( 198 , 34 ) ; 774 Size = MAP_APPFONT ( 50 , 14 ) ; 775 Text [ en-US ] = "~Modify..." ; 776 TabStop = TRUE ; 777 }; 778 PushButton BTN_DELETE 779 { 780 HelpID = "cui:PushButton:RID_SVXPAGE_LINEEND_DEF:BTN_DELETE"; 781 Pos = MAP_APPFONT ( 198 , 54 ) ; 782 Size = MAP_APPFONT ( 50 , 14 ) ; 783 Text [ en-US ] = "~Delete..." ; 784 TabStop = TRUE ; 785 }; 786 ImageButton BTN_LOAD 787 { 788 HelpID = "cui:ImageButton:RID_SVXPAGE_LINEEND_DEF:BTN_LOAD"; 789 Pos = MAP_APPFONT ( 198 , 74 ) ; 790 Size = MAP_APPFONT ( 16 , 16 ) ; 791 TabStop = TRUE ; 792 QuickHelpText [ en-US ] = "Load Arrow Styles" ; 793 ButtonImage = Image 794 { 795 ImageBitmap = Bitmap 796 { 797 File = "sc05501.bmp" ; 798 }; 799 MASKCOLOR 800 }; 801 }; 802 ImageButton BTN_SAVE 803 { 804 HelpID = "cui:ImageButton:RID_SVXPAGE_LINEEND_DEF:BTN_SAVE"; 805 Pos = MAP_APPFONT ( 198 , 96 ) ; 806 Size = MAP_APPFONT ( 16 , 16 ) ; 807 TabStop = TRUE ; 808 QuickHelpText [ en-US ] = "Save Arrow Styles" ; 809 ButtonImage = Image 810 { 811 ImageBitmap = Bitmap 812 { 813 File = "sc05502.bmp" ; 814 }; 815 MASKCOLOR 816 }; 817 }; 818 819 Control CTL_PREVIEW 820 { 821 Border = TRUE ; 822 Pos = MAP_APPFONT ( 6 , 135 ) ; 823 Size = MAP_APPFONT ( 248 , 40 ) ; 824 }; 825 826}; 827 // RID_SVXDLG_LINE ---------------------------------------------------------- 828TabDialog RID_SVXDLG_LINE 829{ 830 OutputSize = TRUE ; 831 SvLook = TRUE ; 832 Size = MAP_APPFONT ( 289 , 176 ) ; 833 Text [ en-US ] = "Line" ; 834 Moveable = TRUE ; 835 TabControl TAB_CONTROL 836 { 837 OutputSize = TRUE ; 838 Pos = MAP_APPFONT ( 3 , 3 ) ; 839 Size = MAP_APPFONT ( 260 , 135 ) ; 840 PageList = 841 { 842 PageItem 843 { 844 Identifier = RID_SVXPAGE_LINE ; 845 Text [ en-US ] = "Line" ; 846 PageResID = RID_SVXPAGE_LINE ; 847 }; 848 PageItem 849 { 850 Identifier = RID_SVXPAGE_SHADOW ; 851 PageResID = RID_SVXPAGE_SHADOW ; 852 Text [ en-US ] = "Shadow" ; 853 }; 854 PageItem 855 { 856 Identifier = RID_SVXPAGE_LINE_DEF ; 857 Text [ en-US ] = "Line Styles" ; 858 PageResID = RID_SVXPAGE_LINE_DEF ; 859 }; 860 PageItem 861 { 862 Identifier = RID_SVXPAGE_LINEEND_DEF ; 863 Text [ en-US ] = "Arrow Styles" ; 864 PageResID = RID_SVXPAGE_LINEEND_DEF ; 865 }; 866/* 867 PageItem 868 { 869 Identifier = RID_SVXPAGE_COLOR ; 870 Text [ en-US ] = "Colors" ; 871 PageResID = RID_SVXPAGE_COLOR ; 872 }; 873*/ 874 }; 875 }; 876}; 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908