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