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 <svx/dialogs.hrc> 25#include "extrusioncontrols.hrc" 26 27#define MASKCOLOR MaskColor = Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; }; 28 29DockingWindow RID_SVXFLOAT_EXTRUSION_DIRECTION 30{ 31 HelpID = "svx:DockingWindow:RID_SVXFLOAT_EXTRUSION_DIRECTION"; 32 Border = FALSE ; 33 Hide = TRUE ; 34 SVLook = TRUE ; 35 Sizeable = FALSE ; 36 Moveable = TRUE ; 37 Closeable = TRUE ; 38 Zoomable = TRUE ; 39 40 Text [ en-US ] = "Extrusion Direction" ; 41 42 Image IMG_DIRECTION + DIRECTION_NW 43 { 44 ImageBitmap = Bitmap { File = "directionnorthwest_22.bmp" ; }; 45 MASKCOLOR 46 }; 47 Image IMG_DIRECTION_H + DIRECTION_NW 48 { 49 ImageBitmap = Bitmap { File = "directionnorthwest_22_h.bmp" ; }; 50 MASKCOLOR 51 }; 52 Image IMG_DIRECTION + DIRECTION_N 53 { 54 ImageBitmap = Bitmap { File = "directionnorth_22.bmp" ; }; 55 MASKCOLOR 56 }; 57 Image IMG_DIRECTION_H + DIRECTION_N 58 { 59 ImageBitmap = Bitmap { File = "directionnorth_22_h.bmp"; }; 60 MASKCOLOR 61 }; 62 Image IMG_DIRECTION + DIRECTION_NE 63 { 64 ImageBitmap = Bitmap { File = "directionnortheast_22.bmp"; }; 65 MASKCOLOR 66 }; 67 Image IMG_DIRECTION_H + DIRECTION_NE 68 { 69 ImageBitmap = Bitmap { File = "directionnortheast_22_h.bmp"; }; 70 MASKCOLOR 71 }; 72 Image IMG_DIRECTION + DIRECTION_W 73 { 74 ImageBitmap = Bitmap { File = "directionwest_22.bmp"; }; 75 MASKCOLOR 76 }; 77 Image IMG_DIRECTION_H + DIRECTION_W 78 { 79 ImageBitmap = Bitmap { File = "directionwest_22_h.bmp"; }; 80 MASKCOLOR 81 }; 82 Image IMG_DIRECTION + DIRECTION_NONE 83 { 84 ImageBitmap = Bitmap { File = "directionstraight_22.bmp"; }; 85 MASKCOLOR 86 }; 87 Image IMG_DIRECTION_H + DIRECTION_NONE 88 { 89 ImageBitmap = Bitmap { File = "directionstraight_22_h.bmp"; }; 90 MASKCOLOR 91 }; 92 Image IMG_DIRECTION + DIRECTION_E 93 { 94 ImageBitmap = Bitmap { File = "directioneast_22.bmp"; }; 95 MASKCOLOR 96 }; 97 Image IMG_DIRECTION_H + DIRECTION_E 98 { 99 ImageBitmap = Bitmap { File = "directioneast_22_h.bmp"; }; 100 MASKCOLOR 101 }; 102 Image IMG_DIRECTION + DIRECTION_SW 103 { 104 ImageBitmap = Bitmap { File = "directionsouthwest_22.bmp"; }; 105 MASKCOLOR 106 }; 107 Image IMG_DIRECTION_H + DIRECTION_SW 108 { 109 ImageBitmap = Bitmap { File = "directionsouthwest_22_h.bmp"; }; 110 MASKCOLOR 111 }; 112 Image IMG_DIRECTION + DIRECTION_S 113 { 114 ImageBitmap = Bitmap { File = "directionsouth_22.bmp"; }; 115 MASKCOLOR 116 }; 117 Image IMG_DIRECTION_H + DIRECTION_S 118 { 119 ImageBitmap = Bitmap { File = "directionsouth_22_h.bmp"; }; 120 MASKCOLOR 121 }; 122 Image IMG_DIRECTION + DIRECTION_SE 123 { 124 ImageBitmap = Bitmap { File = "directionsoutheast_22.bmp"; }; 125 MASKCOLOR 126 }; 127 Image IMG_DIRECTION_H + DIRECTION_SE 128 { 129 ImageBitmap = Bitmap { File = "directionsoutheast_22_h.bmp"; }; 130 MASKCOLOR 131 }; 132 Image IMG_PERSPECTIVE 133 { 134 ImageBitmap = Bitmap { File = "perspective_16.bmp"; }; 135 MASKCOLOR 136 }; 137 Image IMG_PERSPECTIVE_H 138 { 139 ImageBitmap = Bitmap { File = "perspective_16_h.bmp"; }; 140 MASKCOLOR 141 }; 142 Image IMG_PARALLEL 143 { 144 ImageBitmap = Bitmap { File = "parallel_16.bmp"; }; 145 MASKCOLOR 146 }; 147 Image IMG_PARALLEL_H 148 { 149 ImageBitmap = Bitmap { File = "parallel_16_h.bmp"; }; 150 MASKCOLOR 151 }; 152 153 String STR_PERSPECTIVE 154 { 155 Text [ en-US ] = "~Perspective" ; 156 }; 157 158 String STR_PARALLEL 159 { 160 Text [ en-US ] = "P~arallel" ; 161 }; 162 String STR_DIRECTION + DIRECTION_NW 163 { 164 Text [ en-US ] = "Extrusion North-West"; 165 }; 166 String STR_DIRECTION + DIRECTION_N 167 { 168 Text [ en-US ] = "Extrusion North"; 169 }; 170 String STR_DIRECTION + DIRECTION_NE 171 { 172 Text [ en-US ] = "Extrusion North-East"; 173 }; 174 String STR_DIRECTION + DIRECTION_W 175 { 176 Text [ en-US ] = "Extrusion West"; 177 }; 178 String STR_DIRECTION + DIRECTION_NONE 179 { 180 Text [ en-US ] = "Extrusion Backwards"; 181 }; 182 String STR_DIRECTION + DIRECTION_E 183 { 184 Text [ en-US ] = "Extrusion East"; 185 }; 186 String STR_DIRECTION + DIRECTION_SW 187 { 188 Text [ en-US ] = "Extrusion South-West"; 189 }; 190 String STR_DIRECTION + DIRECTION_S 191 { 192 Text [ en-US ] = "Extrusion South"; 193 }; 194 String STR_DIRECTION + DIRECTION_SE 195 { 196 Text [ en-US ] = "Extrusion South-East"; 197 }; 198}; 199 200DockingWindow RID_SVXFLOAT_EXTRUSION_DEPTH 201{ 202 HelpID = "svx:DockingWindow:RID_SVXFLOAT_EXTRUSION_DEPTH"; 203 Border = FALSE ; 204 Hide = TRUE ; 205 SVLook = TRUE ; 206 Sizeable = FALSE ; 207 Moveable = TRUE ; 208 Closeable = TRUE ; 209 Zoomable = TRUE ; 210 211 Text [ en-US ] = "Extrusion Depth" ; 212 213 String STR_CUSTOM 214 { 215 Text [ en-US ] = "~Custom..."; 216 }; 217 218 String STR_INFINITY 219 { 220 Text [ en-US ] = "~Infinity"; 221 }; 222 223 Image IMG_DEPTH_0 224 { 225 ImageBitmap = Bitmap { File = "extrusion0inch_16.bmp"; }; 226 MASKCOLOR 227 }; 228 Image IMG_DEPTH_0_H 229 { 230 ImageBitmap = Bitmap { File = "extrusion0inch_16_h.bmp"; }; 231 MASKCOLOR 232 }; 233 234 Image IMG_DEPTH_1 235 { 236 ImageBitmap = Bitmap { File = "extrusion05inch_16.bmp"; }; 237 MASKCOLOR 238 }; 239 Image IMG_DEPTH_1_H 240 { 241 ImageBitmap = Bitmap { File = "extrusion05inch_16_h.bmp"; }; 242 MASKCOLOR 243 }; 244 245 Image IMG_DEPTH_2 246 { 247 ImageBitmap = Bitmap { File = "extrusion1inch_16.bmp"; }; 248 MASKCOLOR 249 }; 250 Image IMG_DEPTH_2_H 251 { 252 ImageBitmap = Bitmap { File = "extrusion1inch_16_h.bmp"; }; 253 MASKCOLOR 254 }; 255 256 Image IMG_DEPTH_3 257 { 258 ImageBitmap = Bitmap { File = "extrusion2inch_16.bmp"; }; 259 MASKCOLOR 260 }; 261 Image IMG_DEPTH_3_H 262 { 263 ImageBitmap = Bitmap { File = "extrusion2inch_16_h.bmp"; }; 264 MASKCOLOR 265 }; 266 267 Image IMG_DEPTH_4 268 { 269 ImageBitmap = Bitmap { File = "extrusion4inch_16.bmp"; }; 270 MASKCOLOR 271 }; 272 Image IMG_DEPTH_4_H 273 { 274 ImageBitmap = Bitmap { File = "extrusion4inch_16_h.bmp"; }; 275 MASKCOLOR 276 }; 277 278 Image IMG_DEPTH_INFINITY 279 { 280 ImageBitmap = Bitmap { File = "extrusioninfinity_16.bmp"; }; 281 MASKCOLOR 282 }; 283 Image IMG_DEPTH_INFINITY_H 284 { 285 ImageBitmap = Bitmap { File = "extrusioninfinity_16_h.bmp"; }; 286 MASKCOLOR 287 }; 288}; 289 290 291DockingWindow RID_SVXFLOAT_EXTRUSION_LIGHTING 292{ 293 HelpID = "svx:DockingWindow:RID_SVXFLOAT_EXTRUSION_LIGHTING"; 294 Border = FALSE ; 295 Hide = TRUE ; 296 SVLook = TRUE ; 297 Sizeable = FALSE ; 298 Moveable = TRUE ; 299 Closeable = TRUE ; 300 Zoomable = TRUE ; 301 302 Text [ en-US ] = "Extrusion Lighting" ; 303 304 Image IMG_LIGHT_OFF + FROM_TOP_LEFT 305 { 306 ImageBitmap = Bitmap { File = "lightofffromtopleft_22.bmp"; }; 307 MASKCOLOR 308 }; 309 Image IMG_LIGHT_OFF + FROM_TOP 310 { 311 ImageBitmap = Bitmap { File = "lightofffromtop_22.bmp"; }; 312 MASKCOLOR 313 }; 314 Image IMG_LIGHT_OFF + FROM_TOP_RIGHT 315 { 316 ImageBitmap = Bitmap { File = "lightofffromtopright_22.bmp"; }; 317 MASKCOLOR 318 }; 319 Image IMG_LIGHT_OFF + FROM_LEFT 320 { 321 ImageBitmap = Bitmap { File = "lightofffromleft_22.bmp"; }; 322 MASKCOLOR 323 }; 324 Image IMG_LIGHT_OFF + FROM_RIGHT 325 { 326 ImageBitmap = Bitmap { File = "lightofffromright_22.bmp"; }; 327 MASKCOLOR 328 }; 329 Image IMG_LIGHT_OFF + FROM_BOTTOM_LEFT 330 { 331 ImageBitmap = Bitmap { File = "lightofffrombottomleft_22.bmp"; }; 332 MASKCOLOR 333 }; 334 Image IMG_LIGHT_OFF + FROM_BOTTOM 335 { 336 ImageBitmap = Bitmap { File = "lightofffrombottom_22.bmp"; }; 337 MASKCOLOR 338 }; 339 Image IMG_LIGHT_OFF + FROM_BOTTOM_RIGHT 340 { 341 ImageBitmap = Bitmap { File = "lightofffrombottomright_22.bmp"; }; 342 MASKCOLOR 343 }; 344 345 Image IMG_LIGHT_OFF_H + FROM_TOP_LEFT 346 { 347 ImageBitmap = Bitmap { File = "lightofffromtopleft_22_h.bmp"; }; 348 MASKCOLOR 349 }; 350 Image IMG_LIGHT_OFF_H + FROM_TOP 351 { 352 ImageBitmap = Bitmap { File = "lightofffromtop_22_h.bmp"; }; 353 MASKCOLOR 354 }; 355 Image IMG_LIGHT_OFF_H + FROM_TOP_RIGHT 356 { 357 ImageBitmap = Bitmap { File = "lightofffromtopright_22_h.bmp"; }; 358 MASKCOLOR 359 }; 360 Image IMG_LIGHT_OFF_H + FROM_LEFT 361 { 362 ImageBitmap = Bitmap { File = "lightofffromleft_22_h.bmp"; }; 363 MASKCOLOR 364 }; 365 Image IMG_LIGHT_OFF_H + FROM_RIGHT 366 { 367 ImageBitmap = Bitmap { File = "lightofffromright_22_h.bmp"; }; 368 MASKCOLOR 369 }; 370 Image IMG_LIGHT_OFF_H + FROM_BOTTOM_LEFT 371 { 372 ImageBitmap = Bitmap { File = "lightofffrombottomleft_22_h.bmp"; }; 373 MASKCOLOR 374 }; 375 Image IMG_LIGHT_OFF_H + FROM_BOTTOM 376 { 377 ImageBitmap = Bitmap { File = "lightofffrombottom_22_h.bmp"; }; 378 MASKCOLOR 379 }; 380 Image IMG_LIGHT_OFF_H + FROM_BOTTOM_RIGHT 381 { 382 ImageBitmap = Bitmap { File = "lightofffrombottomright_22_h.bmp"; }; 383 MASKCOLOR 384 }; 385 386 Image IMG_LIGHT_ON + FROM_TOP_LEFT 387 { 388 ImageBitmap = Bitmap { File = "lightonfromtopleft_22.bmp"; }; 389 MASKCOLOR 390 }; 391 Image IMG_LIGHT_ON + FROM_TOP 392 { 393 ImageBitmap = Bitmap { File = "lightonfromtop_22.bmp"; }; 394 MASKCOLOR 395 }; 396 Image IMG_LIGHT_ON + FROM_TOP_RIGHT 397 { 398 ImageBitmap = Bitmap { File = "lightonfromtopright_22.bmp"; }; 399 MASKCOLOR 400 }; 401 Image IMG_LIGHT_ON + FROM_LEFT 402 { 403 ImageBitmap = Bitmap { File = "lightonfromleft_22.bmp"; }; 404 MASKCOLOR 405 }; 406 Image IMG_LIGHT_ON + FROM_RIGHT 407 { 408 ImageBitmap = Bitmap { File = "lightonfromright_22.bmp"; }; 409 MASKCOLOR 410 }; 411 Image IMG_LIGHT_ON + FROM_BOTTOM_LEFT 412 { 413 ImageBitmap = Bitmap { File = "lightonfrombottomleft_22.bmp"; }; 414 MASKCOLOR 415 }; 416 Image IMG_LIGHT_ON + FROM_BOTTOM 417 { 418 ImageBitmap = Bitmap { File = "lightonfrombottom_22.bmp"; }; 419 MASKCOLOR 420 }; 421 Image IMG_LIGHT_ON + FROM_BOTTOM_RIGHT 422 { 423 ImageBitmap = Bitmap { File = "lightonfrombottomright_22.bmp"; }; 424 MASKCOLOR 425 }; 426 427 Image IMG_LIGHT_ON_H + FROM_TOP_LEFT 428 { 429 ImageBitmap = Bitmap { File = "lightonfromtopleft_22_h.bmp"; }; 430 MASKCOLOR 431 }; 432 Image IMG_LIGHT_ON_H + FROM_TOP 433 { 434 ImageBitmap = Bitmap { File = "lightonfromtop_22_h.bmp"; }; 435 MASKCOLOR 436 }; 437 Image IMG_LIGHT_ON_H + FROM_TOP_RIGHT 438 { 439 ImageBitmap = Bitmap { File = "lightonfromtopright_22_h.bmp"; }; 440 MASKCOLOR 441 }; 442 Image IMG_LIGHT_ON_H + FROM_LEFT 443 { 444 ImageBitmap = Bitmap { File = "lightonfromleft_22_h.bmp"; }; 445 MASKCOLOR 446 }; 447 Image IMG_LIGHT_ON_H + FROM_RIGHT 448 { 449 ImageBitmap = Bitmap { File = "lightonfromright_22_h.bmp"; }; 450 MASKCOLOR 451 }; 452 Image IMG_LIGHT_ON_H + FROM_BOTTOM_LEFT 453 { 454 ImageBitmap = Bitmap { File = "lightonfrombottomleft_22_h.bmp"; }; 455 MASKCOLOR 456 }; 457 Image IMG_LIGHT_ON_H + FROM_BOTTOM 458 { 459 ImageBitmap = Bitmap { File = "lightonfrombottom_22_h.bmp"; }; 460 MASKCOLOR 461 }; 462 Image IMG_LIGHT_ON_H + FROM_BOTTOM_RIGHT 463 { 464 ImageBitmap = Bitmap { File = "lightonfrombottomright_22_h.bmp"; }; 465 MASKCOLOR 466 }; 467 468 Image IMG_LIGHT_PREVIEW + FROM_TOP_LEFT 469 { 470 ImageBitmap = Bitmap { File = "lightfromtopleft_22.bmp"; }; 471 MASKCOLOR 472 }; 473 Image IMG_LIGHT_PREVIEW + FROM_TOP 474 { 475 ImageBitmap = Bitmap { File = "lightfromtop_22.bmp"; }; 476 MASKCOLOR 477 }; 478 Image IMG_LIGHT_PREVIEW + FROM_TOP_RIGHT 479 { 480 ImageBitmap = Bitmap { File = "lightfromtopright_22.bmp"; }; 481 MASKCOLOR 482 }; 483 Image IMG_LIGHT_PREVIEW + FROM_LEFT 484 { 485 ImageBitmap = Bitmap { File = "lightfromleft_22.bmp"; }; 486 MASKCOLOR 487 }; 488 Image IMG_LIGHT_PREVIEW + FROM_RIGHT 489 { 490 ImageBitmap = Bitmap { File = "lightfromright_22.bmp"; }; 491 MASKCOLOR 492 }; 493 Image IMG_LIGHT_PREVIEW + FROM_FRONT 494 { 495 ImageBitmap = Bitmap { File = "lightfromfront_22.bmp"; }; 496 MASKCOLOR 497 }; 498 Image IMG_LIGHT_PREVIEW + FROM_BOTTOM_LEFT 499 { 500 ImageBitmap = Bitmap { File = "lightfrombottomleft_22.bmp"; }; 501 MASKCOLOR 502 }; 503 Image IMG_LIGHT_PREVIEW + FROM_BOTTOM 504 { 505 ImageBitmap = Bitmap { File = "lightfrombottom_22.bmp"; }; 506 MASKCOLOR 507 }; 508 Image IMG_LIGHT_PREVIEW + FROM_BOTTOM_RIGHT 509 { 510 ImageBitmap = Bitmap { File = "lightfrombottomright_22.bmp"; }; 511 MASKCOLOR 512 }; 513 514 Image IMG_LIGHT_PREVIEW_H + FROM_TOP_LEFT 515 { 516 ImageBitmap = Bitmap { File = "lightfromtopleft_22_h.bmp"; }; 517 MASKCOLOR 518 }; 519 Image IMG_LIGHT_PREVIEW_H + FROM_TOP 520 { 521 ImageBitmap = Bitmap { File = "lightfromtop_22_h.bmp"; }; 522 MASKCOLOR 523 }; 524 Image IMG_LIGHT_PREVIEW_H + FROM_TOP_RIGHT 525 { 526 ImageBitmap = Bitmap { File = "lightfromtopright_22_h.bmp"; }; 527 MASKCOLOR 528 }; 529 Image IMG_LIGHT_PREVIEW_H + FROM_LEFT 530 { 531 ImageBitmap = Bitmap { File = "lightfromleft_22_h.bmp"; }; 532 MASKCOLOR 533 }; 534 Image IMG_LIGHT_PREVIEW_H + FROM_RIGHT 535 { 536 ImageBitmap = Bitmap { File = "lightfromright_22_h.bmp"; }; 537 MASKCOLOR 538 }; 539 Image IMG_LIGHT_PREVIEW_H + FROM_FRONT 540 { 541 ImageBitmap = Bitmap { File = "lightfromfront_22_h.bmp"; }; 542 MASKCOLOR 543 }; 544 Image IMG_LIGHT_PREVIEW_H + FROM_BOTTOM_LEFT 545 { 546 ImageBitmap = Bitmap { File = "lightfrombottomleft_22_h.bmp"; }; 547 MASKCOLOR 548 }; 549 Image IMG_LIGHT_PREVIEW_H + FROM_BOTTOM 550 { 551 ImageBitmap = Bitmap { File = "lightfrombottom_22_h.bmp"; }; 552 MASKCOLOR 553 }; 554 Image IMG_LIGHT_PREVIEW_H + FROM_BOTTOM_RIGHT 555 { 556 ImageBitmap = Bitmap { File = "lightfrombottomright_22_h.bmp"; }; 557 MASKCOLOR 558 }; 559 560 Image IMG_LIGHTING_BRIGHT 561 { 562 ImageBitmap = Bitmap { File = "brightlit_16.bmp"; }; 563 MASKCOLOR 564 }; 565 Image IMG_LIGHTING_NORMAL 566 { 567 ImageBitmap = Bitmap { File = "normallit_16.bmp"; }; 568 MASKCOLOR 569 }; 570 Image IMG_LIGHTING_DIM 571 { 572 ImageBitmap = Bitmap { File = "dimlit_16.bmp"; }; 573 MASKCOLOR 574 }; 575 576 Image IMG_LIGHTING_BRIGHT_H 577 { 578 ImageBitmap = Bitmap { File = "brightlit_16_h.bmp"; }; 579 MASKCOLOR 580 }; 581 Image IMG_LIGHTING_NORMAL_H 582 { 583 ImageBitmap = Bitmap { File = "normallit_16_h.bmp"; }; 584 MASKCOLOR 585 }; 586 Image IMG_LIGHTING_DIM_H 587 { 588 ImageBitmap = Bitmap { File = "dimlit_16_h.bmp"; }; 589 MASKCOLOR 590 }; 591 592 String STR_BRIGHT 593 { 594 Text [ en-US ] = "~Bright"; 595 }; 596 597 String STR_NORMAL 598 { 599 Text [ en-US ] = "~Normal"; 600 }; 601 602 String STR_DIM 603 { 604 Text [ en-US ] = "~Dim"; 605 }; 606}; 607 608DockingWindow RID_SVXFLOAT_EXTRUSION_SURFACE 609{ 610 HelpID = "svx:DockingWindow:RID_SVXFLOAT_EXTRUSION_SURFACE"; 611 Border = FALSE ; 612 Hide = TRUE ; 613 SVLook = TRUE ; 614 Sizeable = FALSE ; 615 Moveable = TRUE ; 616 Closeable = TRUE ; 617 Zoomable = TRUE ; 618 619 Text [ en-US ] = "Extrusion Surface" ; 620 621 String STR_WIREFRAME 622 { 623 Text [ en-US ] = "~Wire Frame"; 624 }; 625 626 String STR_MATTE 627 { 628 Text [ en-US ] = "~Matt"; 629 }; 630 631 String STR_PLASTIC 632 { 633 Text [ en-US ] = "~Plastic"; 634 }; 635 636 String STR_METAL 637 { 638 Text [ en-US ] = "Me~tal"; 639 }; 640 641 Image IMG_WIRE_FRAME 642 { 643 ImageBitmap = Bitmap { File = "wireframe_16.bmp"; }; 644 MASKCOLOR 645 }; 646 Image IMG_WIRE_FRAME_H 647 { 648 ImageBitmap = Bitmap { File = "wireframe_16_h.bmp"; }; 649 MASKCOLOR 650 }; 651 Image IMG_MATTE 652 { 653 ImageBitmap = Bitmap { File = "matte_16.bmp"; }; 654 MASKCOLOR 655 }; 656 Image IMG_MATTE_H 657 { 658 ImageBitmap = Bitmap { File = "matte_16_h.bmp"; }; 659 MASKCOLOR 660 }; 661 Image IMG_PLASTIC 662 { 663 ImageBitmap = Bitmap { File = "plastic_16.bmp"; }; 664 MASKCOLOR 665 }; 666 Image IMG_PLASTIC_H 667 { 668 ImageBitmap = Bitmap { File = "plastic_16_h.bmp"; }; 669 MASKCOLOR 670 }; 671 Image IMG_METAL 672 { 673 ImageBitmap = Bitmap { File = "metal_16.bmp"; }; 674 MASKCOLOR 675 }; 676 Image IMG_METAL_H 677 { 678 ImageBitmap = Bitmap { File = "metal_16_h.bmp"; }; 679 MASKCOLOR 680 }; 681 682}; 683 684#define WIDTH 140 685#define HEIGHT (4 * 3 + 3 * 14) 686 687ModalDialog RID_SVX_MDLG_EXTRUSION_DEPTH 688{ 689 HelpID = "svx:ModalDialog:RID_SVX_MDLG_EXTRUSION_DEPTH"; 690 OutputSize = TRUE; 691 SVLook = TRUE ; 692 Moveable = TRUE; 693 Closeable = TRUE; 694 695 Size = MAP_APPFONT( WIDTH, HEIGHT ); 696 697 Text [ en-US ] = "Extrusion Depth" ; 698 699 FixedText FL_DEPTH 700 { 701 Pos = MAP_APPFONT ( 3 , 3 ) ; 702 Size = MAP_APPFONT ( WIDTH - 50 - 12 , 8 ) ; 703 Text [ en-US ] = "~Value" ; 704 }; 705 MetricField MTR_DEPTH 706 { 707 //HelpId = HID_SD_CTL_FAVORITES ; 708 Border = FALSE ; 709 Pos = MAP_APPFONT ( 3 , 14 ) ; 710 Size = MAP_APPFONT ( WIDTH - 50 - 12, 12 ) ; 711 TabStop = TRUE ; 712 Repeat = TRUE ; 713 Spin = TRUE ; 714 Minimum = 0 ; 715 Maximum = 338666 ; 716 StrictFormat = TRUE ; 717 DecimalDigits = 2 ; 718 Unit = FUNIT_MM ; 719 SpinSize = 10 ; 720 }; 721 OkButton BTN_OK 722 { 723 Pos = MAP_APPFONT ( WIDTH - 50 - 3 , 1 * 3 + 0 * 14 ) ; 724 Size = MAP_APPFONT ( 50, 14 ) ; 725 DefButton = TRUE ; 726 TabStop = TRUE ; 727 }; 728 CancelButton BTN_CANCEL 729 { 730 Pos = MAP_APPFONT ( WIDTH - 50 - 3 , 2 * 3 + 1 * 14 ) ; 731 Size = MAP_APPFONT ( 50, 14 ) ; 732 TabStop = TRUE ; 733 }; 734 HelpButton BTN_HELP 735 { 736 Pos = MAP_APPFONT ( WIDTH - 50 - 3 , 3 * 3 + 2 * 14 ) ; 737 Size = MAP_APPFONT ( 50, 14 ) ; 738 TabStop = TRUE ; 739 }; 740}; 741 742String RID_SVXSTR_EXTRUSION_COLOR 743{ 744 Text [ en-US ] = "Extrusion Color"; 745}; 746 747String RID_SVXSTR_DEPTH_0 748{ 749 Text [ en-US ] = "~0 cm"; 750}; 751 752String RID_SVXSTR_DEPTH_1 753{ 754 Text [ en-US ] = "~1 cm"; 755}; 756 757String RID_SVXSTR_DEPTH_2 758{ 759 Text [ en-US ] = "~2.5 cm"; 760}; 761 762String RID_SVXSTR_DEPTH_3 763{ 764 Text [ en-US ] = "~5 cm"; 765}; 766 767String RID_SVXSTR_DEPTH_4 768{ 769 Text [ en-US ] = "10 ~cm"; 770}; 771 772String RID_SVXSTR_DEPTH_0_INCH 773{ 774 Text [ en-US ] = "0 inch"; 775}; 776 777String RID_SVXSTR_DEPTH_1_INCH 778{ 779 Text [ en-US ] = "0.~5 inch"; 780}; 781 782String RID_SVXSTR_DEPTH_2_INCH 783{ 784 Text [ en-US ] = "~1 inch"; 785}; 786 787String RID_SVXSTR_DEPTH_3_INCH 788{ 789 Text [ en-US ] = "~2 inch"; 790}; 791 792String RID_SVXSTR_DEPTH_4_INCH 793{ 794 Text [ en-US ] = "~4 inch"; 795}; 796 797 798