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