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 // include --------------------------------------------------------------- 28#include "helpid.hrc" 29#include <cuires.hrc> 30#include "tabarea.hrc" 31#include <svx/dialogs.hrc> 32 33#define MASKCOLOR MaskColor = Color{ Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; }; 34 35 36 // RID_SVXPAGE_AREA ------------------------------------------------------ 37#define TRANS_GRAD_OFFSET_X 6 38#define TRANS_GRAD_OFFSET_Y 64 39#define TRANS_GRAD_FIELD_SEPARATION 24 40 41TabPage RID_SVXPAGE_TRANSPARENCE 42{ 43 HelpID = HID_AREA_TRANSPARENCE; 44 Hide = TRUE; 45 Size = MAP_APPFONT ( 260 , 185 ); 46 FixedLine FL_PROP 47 { 48 Pos = MAP_APPFONT ( 6 , 3 ) ; 49 Size = MAP_APPFONT ( 248, 8 ) ; 50 Text [ en-US ] = "Transparency mode"; 51 }; 52 RadioButton RBT_TRANS_OFF 53 { 54 HelpID = "cui:RadioButton:RID_SVXPAGE_TRANSPARENCE:RBT_TRANS_OFF"; 55 Pos = MAP_APPFONT ( 12 , 14 ) ; 56 Size = MAP_APPFONT ( 110 , 10 ) ; 57 Text [ en-US ] = "~No transparency"; 58 }; 59 RadioButton RBT_TRANS_LINEAR 60 { 61 HelpID = "cui:RadioButton:RID_SVXPAGE_TRANSPARENCE:RBT_TRANS_LINEAR"; 62 Pos = MAP_APPFONT ( 12 , 28 ) ; 63 Size = MAP_APPFONT ( 60 , 10 ) ; 64 Text [ en-US ] = "~Transparency"; 65 }; 66 MetricField MTR_TRANSPARENT 67 { 68 HelpID = "cui:MetricField:RID_SVXPAGE_TRANSPARENCE:MTR_TRANSPARENT"; 69 Border = TRUE ; 70 Pos = MAP_APPFONT ( 72 , 26 ) ; 71 Size = MAP_APPFONT ( 40 , 12 ) ; 72 TabStop = TRUE ; 73 Repeat = TRUE ; 74 Spin = TRUE ; 75 Maximum = 100 ; 76 StrictFormat = TRUE ; 77 Unit = FUNIT_CUSTOM ; 78 CustomUnitText = "%" ; 79 Last = 100 ; 80 SpinSize = 5 ; 81 }; 82 RadioButton RBT_TRANS_GRADIENT 83 { 84 HelpID = "cui:RadioButton:RID_SVXPAGE_TRANSPARENCE:RBT_TRANS_GRADIENT"; 85 Pos = MAP_APPFONT ( 12 , 42 ) ; 86 Size = MAP_APPFONT ( 110 , 10 ) ; 87 Text [ en-US ] = "Gradient"; 88 }; 89 FixedText FT_TRGR_TYPE 90 { 91 Pos = MAP_APPFONT ( 21 , 56 ) ; 92 Size = MAP_APPFONT ( 41 , 8 ) ; 93 Text [ en-US ] = "Ty~pe"; 94 }; 95 ListBox LB_TRGR_GRADIENT_TYPES 96 { 97 HelpID = "cui:ListBox:RID_SVXPAGE_TRANSPARENCE:LB_TRGR_GRADIENT_TYPES"; 98 Border = TRUE ; 99 Pos = MAP_APPFONT ( 72 , 54 ) ; 100 Size = MAP_APPFONT ( 53 , 63 ) ; 101 TabStop = TRUE ; 102 DropDown = TRUE ; 103 StringList [ en-US ] = 104 { 105 < "Linear" ; Default ; > ; 106 < "Axial" ; Default ; > ; 107 < "Radial" ; Default ; > ; 108 < "Ellipsoid" ; Default ; > ; 109 < "Quadratic" ; Default ; > ; 110 < "Square" ; Default ; > ; 111 }; 112 }; 113 FixedText FT_TRGR_CENTER_X 114 { 115 Pos = MAP_APPFONT ( 21 , 72 ) ; 116 Size = MAP_APPFONT ( 41 , 8 ) ; 117 Text [ en-US ] = "Center ~X"; 118 }; 119 MetricField MTR_TRGR_CENTER_X 120 { 121 HelpID = "cui:MetricField:RID_SVXPAGE_TRANSPARENCE:MTR_TRGR_CENTER_X"; 122 Border = TRUE ; 123 Pos = MAP_APPFONT ( 72 , 70 ) ; 124 Size = MAP_APPFONT ( 40 , 12 ) ; 125 TabStop = TRUE ; 126 Repeat = TRUE ; 127 Spin = TRUE ; 128 Maximum = 100 ; 129 StrictFormat = TRUE ; 130 Unit = FUNIT_CUSTOM ; 131 CustomUnitText = "%" ; 132 Last = 100 ; 133 SpinSize = 5 ; 134 }; 135 FixedText FT_TRGR_CENTER_Y 136 { 137 Pos = MAP_APPFONT ( 21 , 88 ) ; 138 Size = MAP_APPFONT ( 41 , 8 ) ; 139 Text [ en-US ] = "Center ~Y"; 140 }; 141 MetricField MTR_TRGR_CENTER_Y 142 { 143 HelpID = "cui:MetricField:RID_SVXPAGE_TRANSPARENCE:MTR_TRGR_CENTER_Y"; 144 Border = TRUE ; 145 Pos = MAP_APPFONT ( 72 , 86 ) ; 146 Size = MAP_APPFONT ( 40 , 12 ) ; 147 TabStop = TRUE ; 148 Repeat = TRUE ; 149 Spin = TRUE ; 150 Maximum = 100 ; 151 StrictFormat = TRUE ; 152 Unit = FUNIT_CUSTOM ; 153 CustomUnitText = "%" ; 154 Last = 100 ; 155 SpinSize = 5 ; 156 }; 157 FixedText FT_TRGR_ANGLE 158 { 159 Pos = MAP_APPFONT ( 21 , 104 ) ; 160 Size = MAP_APPFONT ( 41 , 8 ) ; 161 Text [ en-US ] = "~Angle"; 162 }; 163 MetricField MTR_TRGR_ANGLE 164 { 165 HelpID = "cui:MetricField:RID_SVXPAGE_TRANSPARENCE:MTR_TRGR_ANGLE"; 166 Border = TRUE ; 167 Pos = MAP_APPFONT ( 72 , 102 ) ; 168 Size = MAP_APPFONT ( 40 , 12 ) ; 169 TabStop = TRUE ; 170 Repeat = TRUE ; 171 Spin = TRUE ; 172 Maximum = 359 ; 173 Unit = FUNIT_CUSTOM ; 174 Last = 359 ; 175 SpinSize = 15 ; 176 CustomUnitText [ en-US ] = " degrees"; 177 }; 178 FixedText FT_TRGR_BORDER 179 { 180 Pos = MAP_APPFONT ( 15 + TRANS_GRAD_OFFSET_X, 56 + TRANS_GRAD_OFFSET_Y) ; 181 Size = MAP_APPFONT ( 41, 8 ) ; 182 Text [ en-US ] = "~Border"; 183 }; 184 MetricField MTR_TRGR_BORDER 185 { 186 HelpID = "cui:MetricField:RID_SVXPAGE_TRANSPARENCE:MTR_TRGR_BORDER"; 187 Border = TRUE ; 188 Pos = MAP_APPFONT ( 66 + TRANS_GRAD_OFFSET_X, 54 + TRANS_GRAD_OFFSET_Y) ; 189 Size = MAP_APPFONT ( 40 , 12 ) ; 190 TabStop = TRUE ; 191 Repeat = TRUE ; 192 Spin = TRUE ; 193 Maximum = 100 ; 194 StrictFormat = TRUE ; 195 Unit = FUNIT_CUSTOM ; 196 CustomUnitText = "%" ; 197 Last = 100 ; 198 SpinSize = 5 ; 199 }; 200 FixedText FT_TRGR_START_VALUE 201 { 202 Pos = MAP_APPFONT ( 21 , 136 ) ; 203 Size = MAP_APPFONT ( 41 , 8 ) ; 204 Text [ en-US ] = "~Start value"; 205 }; 206 MetricField MTR_TRGR_START_VALUE 207 { 208 HelpID = "cui:MetricField:RID_SVXPAGE_TRANSPARENCE:MTR_TRGR_START_VALUE"; 209 Border = TRUE ; 210 Pos = MAP_APPFONT ( 72 , 134 ) ; 211 Size = MAP_APPFONT ( 40 , 12 ) ; 212 TabStop = TRUE ; 213 Repeat = TRUE ; 214 Spin = TRUE ; 215 Maximum = 100 ; 216 StrictFormat = TRUE ; 217 Unit = FUNIT_CUSTOM ; 218 CustomUnitText = "%" ; 219 Last = 100 ; 220 SpinSize = 5 ; 221 }; 222 FixedText FT_TRGR_END_VALUE 223 { 224 Pos = MAP_APPFONT ( 21 , 152 ) ; 225 Size = MAP_APPFONT ( 41 , 8 ) ; 226 Text [ en-US ] = "~End value"; 227 }; 228 MetricField MTR_TRGR_END_VALUE 229 { 230 HelpID = "cui:MetricField:RID_SVXPAGE_TRANSPARENCE:MTR_TRGR_END_VALUE"; 231 Border = TRUE ; 232 Pos = MAP_APPFONT ( 72 , 150 ) ; 233 Size = MAP_APPFONT ( 40 , 12 ) ; 234 TabStop = TRUE ; 235 Repeat = TRUE ; 236 Spin = TRUE ; 237 Maximum = 100 ; 238 StrictFormat = TRUE ; 239 Unit = FUNIT_CUSTOM ; 240 CustomUnitText = "%" ; 241 Last = 100 ; 242 SpinSize = 5 ; 243 }; 244 Control CTL_BITMAP_PREVIEW 245 { 246 Border = TRUE ; 247 Pos = MAP_APPFONT ( 138 , 14 ) ; 248 Size = MAP_APPFONT ( 110 , 42 ) ; 249 }; 250 Control CTL_TRANS_PREVIEW 251 { 252 Border = TRUE ; 253 Pos = MAP_APPFONT ( 138 , 14 ) ; 254 Size = MAP_APPFONT ( 110 , 42 ) ; 255 }; 256 Text [ en-US ] = "Transparency"; 257}; 258 259 // RID_SVXPAGE_AREA ------------------------------------------------------ 260TabPage RID_SVXPAGE_AREA 261{ 262 Size = MAP_APPFONT ( 260 , 185 ) ; 263 HelpID = HID_AREA_AREA ; 264 Hide = TRUE ; 265 Text [ en-US ] = "Area" ; 266 267 FixedLine FL_PROP 268 { 269 Pos = MAP_APPFONT ( 6 , 3 ) ; 270 Size = MAP_APPFONT ( 120, 8 ) ; 271 Text [ en-US ] = "Fill"; 272 }; 273 ListBox LB_AREA_TYPE 274 { 275 HelpID = "cui:ListBox:RID_SVXPAGE_AREA:LB_AREA_TYPE"; 276 Pos = MAP_APPFONT ( 12 , 14 ) ; 277 Size = MAP_APPFONT ( 108 , 60 ) ; 278 DropDown = TRUE; 279 Border = TRUE; 280 StringList [ en-US ] = 281 { 282 < "None" ; Default ; > ; 283 < "Color" ; Default ; > ; 284 < "Gradient" ; Default ; > ; 285 < "Hatching" ; Default ; > ; 286 < "Bitmap" ; Default ; > ; 287 }; 288 }; 289 290 291 ListBox LB_COLOR 292 { 293 HelpID = "cui:ListBox:RID_SVXPAGE_AREA:LB_COLOR"; 294 Border = TRUE ; 295 Pos = MAP_APPFONT ( 12 , 30 ) ; 296 Size = MAP_APPFONT ( 108 , 103 ) ; 297 TabStop = TRUE ; 298 }; 299 ListBox LB_GRADIENT 300 { 301 HelpID = "cui:ListBox:RID_SVXPAGE_AREA:LB_GRADIENT"; 302 Border = TRUE ; 303 Pos = MAP_APPFONT ( 12 , 30 ) ; 304 Size = MAP_APPFONT ( 108 , 103 ) ; 305 TabStop = TRUE ; 306 }; 307 ListBox LB_HATCHING 308 { 309 HelpID = "cui:ListBox:RID_SVXPAGE_AREA:LB_HATCHING"; 310 Border = TRUE ; 311 Pos = MAP_APPFONT ( 12 , 30 ) ; 312 Size = MAP_APPFONT ( 108 , 103 ) ; 313 TabStop = TRUE ; 314 }; 315 ListBox LB_BITMAP 316 { 317 HelpID = "cui:ListBox:RID_SVXPAGE_AREA:LB_BITMAP"; 318 Border = TRUE ; 319 Pos = MAP_APPFONT ( 12 , 30 ) ; 320 Size = MAP_APPFONT ( 108 , 103 ) ; 321 TabStop = TRUE ; 322 }; 323 324 // ---------- preview ---------- 325 326 Control CTL_COLOR_PREVIEW 327 { 328 Border = TRUE; 329 Pos = MAP_APPFONT ( 12 , 137 ) ; 330 Size = MAP_APPFONT ( 110 , 42 ) ; 331 }; 332 Control CTL_BITMAP_PREVIEW 333 { 334 Border = TRUE; 335 Pos = MAP_APPFONT ( 12 , 137 ) ; 336 Size = MAP_APPFONT ( 110 , 42 ) ; 337 Hide = TRUE ; 338 }; 339 340 // ---------- for gradients ---------- 341 342 FixedLine FL_STEPCOUNT 343 { 344 Pos = MAP_APPFONT ( 132 , 3 ) ; 345 Size = MAP_APPFONT ( 122 , 8 ) ; 346 Text [ en-US ] = "Increments" ; 347 }; 348 TriStateBox TSB_STEPCOUNT 349 { 350 HelpID = "cui:TriStateBox:RID_SVXPAGE_AREA:TSB_STEPCOUNT"; 351 Pos = MAP_APPFONT ( 138 , 15 ) ; 352 Size = MAP_APPFONT ( 68 , 10 ) ; 353 TabStop = TRUE ; 354 Text [ en-US ] = "A~utomatic" ; 355 }; 356 NumericField NUM_FLD_STEPCOUNT 357 { 358 HelpID = "cui:NumericField:RID_SVXPAGE_AREA:NUM_FLD_STEPCOUNT"; 359 Border = TRUE ; 360 Pos = MAP_APPFONT ( 208 , 14 ) ; 361 Size = MAP_APPFONT ( 40 , 12 ) ; 362 TabStop = TRUE ; 363 Repeat = TRUE ; 364 Spin = TRUE ; 365 Minimum = 3 ; 366 First = 3 ; 367 Maximum = 256 ; 368 Last = 256 ; 369 StrictFormat = TRUE ; 370 }; 371 372 // ---------- for hatches ---------- 373 374 CheckBox CB_HATCHBCKGRD 375 { 376 HelpID = "cui:CheckBox:RID_SVXPAGE_AREA:CB_HATCHBCKGRD"; 377 Pos = MAP_APPFONT ( 132 , 3 ) ; 378 Size = MAP_APPFONT ( 122 , 10 ) ; 379 TabStop = TRUE ; 380 Text [ en-US ] = "~Background color" ; 381 }; 382 ListBox LB_HATCHBCKGRDCOLOR 383 { 384 HelpID = "cui:ListBox:RID_SVXPAGE_AREA:LB_HATCHBCKGRDCOLOR"; 385 Border = TRUE ; 386 Pos = MAP_APPFONT ( 141 , 16 ) ; 387 Size = MAP_APPFONT ( 70 , 100 ) ; 388 TabStop = TRUE ; 389 DropDown = TRUE ; 390 DDExtraWidth = TRUE ; 391 }; 392 393 // ---------- for bitmaps ---------- 394 395 FixedLine FL_SIZE 396 { 397 Pos = MAP_APPFONT ( 132 , 3 ) ; 398 Size = MAP_APPFONT ( 122 , 8 ) ; 399 Text [ en-US ] = "Size" ; 400 }; 401 TriStateBox TSB_ORIGINAL 402 { 403 HelpID = "cui:TriStateBox:RID_SVXPAGE_AREA:TSB_ORIGINAL"; 404 Pos = MAP_APPFONT ( 138 , 15 ) ; 405 Size = MAP_APPFONT ( 48 , 10 ) ; 406 TabStop = TRUE ; 407 Text [ en-US ] = "~Original" ; 408 }; 409 TriStateBox TSB_SCALE 410 { 411 HelpID = "cui:TriStateBox:RID_SVXPAGE_AREA:TSB_SCALE"; 412 Pos = MAP_APPFONT ( 138 , 30 ) ; 413 Size = MAP_APPFONT ( 48 , 10 ) ; 414 TabStop = TRUE ; 415 Text [ en-US ] = "Re~lative" ; 416 }; 417 FixedText FT_X_SIZE 418 { 419 Pos = MAP_APPFONT ( 187 , 15 ) ; 420 Size = MAP_APPFONT ( 24 , 8 ) ; 421 Text [ en-US ] = "Wi~dth" ; 422 }; 423 MetricField MTR_FLD_X_SIZE 424 { 425 HelpID = "cui:MetricField:RID_SVXPAGE_AREA:MTR_FLD_X_SIZE"; 426 Border = TRUE ; 427 Pos = MAP_APPFONT ( 212 , 14 ) ; 428 Size = MAP_APPFONT ( 36 , 12 ) ; 429 TabStop = TRUE ; 430 Repeat = TRUE ; 431 Spin = TRUE ; 432 StrictFormat = TRUE ; 433 DecimalDigits = 2 ; 434 Unit = FUNIT_MM ; 435 CustomUnitText = "%" ; 436 Minimum = 5 ; 437 Maximum = 100 ; 438 First = 5 ; 439 Last = 100 ; 440 SpinSize = 5 ; 441 }; 442 FixedText FT_Y_SIZE 443 { 444 Pos = MAP_APPFONT ( 187 , 31 ) ; 445 Size = MAP_APPFONT ( 24 , 8 ) ; 446 Text [ en-US ] = "H~eight" ; 447 }; 448 MetricField MTR_FLD_Y_SIZE 449 { 450 HelpID = "cui:MetricField:RID_SVXPAGE_AREA:MTR_FLD_Y_SIZE"; 451 Border = TRUE ; 452 Pos = MAP_APPFONT ( 212 , 29 ) ; 453 Size = MAP_APPFONT ( 36 , 12 ) ; 454 TabStop = TRUE ; 455 Repeat = TRUE ; 456 Spin = TRUE ; 457 StrictFormat = TRUE ; 458 DecimalDigits = 2 ; 459 Unit = FUNIT_MM ; 460 CustomUnitText = "%" ; 461 Minimum = 5 ; 462 Maximum = 100 ; 463 First = 5 ; 464 Last = 100 ; 465 SpinSize = 5 ; 466 SpinSize = 5 ; 467 }; 468 FixedLine FL_POSITION 469 { 470 Pos = MAP_APPFONT ( 132 , 47 ) ; 471 Size = MAP_APPFONT ( 122 , 8 ) ; 472 Text [ en-US ] = "Position" ; 473 }; 474 475 Control CTL_POSITION 476 { 477 Border = TRUE ; 478 Pos = MAP_APPFONT ( 138 , 57 ) ; 479 Size = MAP_APPFONT ( 40 , 27 ) ; 480 TabStop = TRUE ; 481 }; 482 FixedText FT_X_OFFSET 483 { 484 Pos = MAP_APPFONT ( 138 , 89 ) ; 485 Size = MAP_APPFONT ( 39 , 8 ) ; 486 Text [ en-US ] = "~X Offset" ; 487 }; 488 FixedText FT_Y_OFFSET 489 { 490 Pos = MAP_APPFONT ( 139 , 104 ) ; 491 Size = MAP_APPFONT ( 78 , 8 ) ; 492 Text [ en-US ] = "~Y Offset" ; 493 }; 494 MetricField MTR_FLD_X_OFFSET 495 { 496 HelpID = "cui:MetricField:RID_SVXPAGE_AREA:MTR_FLD_X_OFFSET"; 497 Border = TRUE ; 498 Pos = MAP_APPFONT ( 219 , 87 ) ; 499 Size = MAP_APPFONT ( 29 , 12 ) ; 500 TabStop = TRUE ; 501 Repeat = TRUE ; 502 Spin = TRUE ; 503 StrictFormat = TRUE ; 504 Unit = FUNIT_CUSTOM ; 505 CustomUnitText = "%" ; 506 Maximum = 100 ; 507 Last = 100 ; 508 SpinSize = 5 ; 509 }; 510 MetricField MTR_FLD_Y_OFFSET 511 { 512 HelpID = "cui:MetricField:RID_SVXPAGE_AREA:MTR_FLD_Y_OFFSET"; 513 Border = TRUE ; 514 Pos = MAP_APPFONT ( 219 , 102 ) ; 515 Size = MAP_APPFONT ( 29 , 12 ) ; 516 TabStop = TRUE ; 517 Repeat = TRUE ; 518 Spin = TRUE ; 519 Maximum = 100 ; 520 StrictFormat = TRUE ; 521 Unit = FUNIT_CUSTOM ; 522 CustomUnitText = "%" ; 523 Last = 100 ; 524 SpinSize = 5 ; 525 }; 526 TriStateBox TSB_TILE 527 { 528 HelpID = "cui:TriStateBox:RID_SVXPAGE_AREA:TSB_TILE"; 529 Pos = MAP_APPFONT ( 138 , 117 ) ; 530 Size = MAP_APPFONT ( 54 , 10 ) ; 531 TabStop = TRUE ; 532 Text [ en-US ] = "~Tile" ; 533 }; 534 TriStateBox TSB_STRETCH 535 { 536 HelpID = "cui:TriStateBox:RID_SVXPAGE_AREA:TSB_STRETCH"; 537 Pos = MAP_APPFONT ( 194 , 117 ) ; 538 Size = MAP_APPFONT ( 54 , 10 ) ; 539 TabStop = TRUE ; 540 Text [ en-US ] = "Auto~Fit" ; 541 }; 542 FixedLine FL_OFFSET 543 { 544 Pos = MAP_APPFONT ( 132 , 133 ) ; 545 Size = MAP_APPFONT ( 122 , 8 ) ; 546 Text [ en-US ] = "Offset" ; 547 }; 548 RadioButton RBT_ROW 549 { 550 HelpID = "cui:RadioButton:RID_SVXPAGE_AREA:RBT_ROW"; 551 Pos = MAP_APPFONT ( 138 , 144 ) ; 552 Size = MAP_APPFONT ( 75 , 10 ) ; 553 Text [ en-US ] = "Ro~w" ; 554 }; 555 RadioButton RBT_COLUMN 556 { 557 HelpID = "cui:RadioButton:RID_SVXPAGE_AREA:RBT_COLUMN"; 558 Pos = MAP_APPFONT ( 138 , 158 ) ; 559 Size = MAP_APPFONT ( 75 , 10 ) ; 560 Text [ en-US ] = "Colu~mn" ; 561 }; 562 MetricField MTR_FLD_OFFSET 563 { 564 HelpID = "cui:MetricField:RID_SVXPAGE_AREA:MTR_FLD_OFFSET"; 565 Border = TRUE ; 566 Pos = MAP_APPFONT ( 219 , 157 ) ; 567 Size = MAP_APPFONT ( 29 , 12 ) ; 568 TabStop = TRUE ; 569 Repeat = TRUE ; 570 Spin = TRUE ; 571 Maximum = 100 ; 572 StrictFormat = TRUE ; 573 Unit = FUNIT_CUSTOM ; 574 CustomUnitText = "%" ; 575 Last = 100 ; 576 SpinSize = 5 ; 577 }; 578}; 579 // RID_SVXPAGE_SHADOW ------------------------------------------------------ 580TabPage RID_SVXPAGE_SHADOW 581{ 582 HelpID = HID_AREA_SHADOW ; 583 Hide = TRUE ; 584 Size = MAP_APPFONT ( 260 , 185 ) ; 585 Text [ en-US ] = "Shadow" ; 586 FixedLine FL_PROP 587 { 588 Pos = MAP_APPFONT ( 6 , 3 ) ; 589 Size = MAP_APPFONT ( 248, 8 ) ; 590 Text [ en-US ] = "Properties"; 591 }; 592 TriStateBox TSB_SHOW_SHADOW 593 { 594 HelpID = "cui:TriStateBox:RID_SVXPAGE_SHADOW:TSB_SHOW_SHADOW"; 595 Pos = MAP_APPFONT ( 12 , 14 ) ; 596 Size = MAP_APPFONT ( 110 , 10 ) ; 597 TabStop = TRUE ; 598 Text [ en-US ] = "~Use shadow"; 599 }; 600 FixedText FT_POSITION 601 { 602 Pos = MAP_APPFONT ( 12 , 33 ) ; 603 Size = MAP_APPFONT ( 50 , 10 ) ; 604 Text [ en-US ] = "~Position"; 605 }; 606 Control CTL_POSITION 607 { 608 HelpId = HID_TPSHADOW_CTRL ; 609 Pos = MAP_APPFONT ( 65 , 31 ) ; 610 Size = MAP_APPFONT ( 57 , 29 ) ; 611 Border = TRUE ; 612 TabStop = TRUE ; 613 }; 614 FixedText FT_DISTANCE 615 { 616 Pos = MAP_APPFONT ( 12 , 69 ) ; 617 Size = MAP_APPFONT ( 50 , 8 ) ; 618 Text [ en-US ] = "~Distance"; 619 }; 620 MetricField MTR_FLD_DISTANCE 621 { 622 HelpID = "cui:MetricField:RID_SVXPAGE_SHADOW:MTR_FLD_DISTANCE"; 623 Pos = MAP_APPFONT ( 65 , 67 ) ; 624 Size = MAP_APPFONT ( 47 , 12 ) ; 625 Border = TRUE ; 626 TabStop = TRUE ; 627 Repeat = TRUE ; 628 Spin = TRUE ; 629 Maximum = 99999 ; 630 Minimum = 0 ; // #i33700# 631 StrictFormat = TRUE ; 632 DecimalDigits = 2 ; 633 Unit = FUNIT_MM ; 634 Last = 99999 ; 635 /*SpinSize = 100 ; */ 636 SpinSize = 1 ; 637 }; 638 ListBox LB_SHADOW_COLOR 639 { 640 HelpID = "cui:ListBox:RID_SVXPAGE_SHADOW:LB_SHADOW_COLOR"; 641 Pos = MAP_APPFONT ( 65 , 86 ) ; 642 Size = MAP_APPFONT ( 57 , 100 ) ; 643 DropDown = TRUE ; 644 DDExtraWidth = TRUE ; 645 Border = TRUE ; 646 TabStop = TRUE ; 647 }; 648 FixedText FT_SHADOW_COLOR 649 { 650 Pos = MAP_APPFONT ( 12 , 88 ) ; 651 Size = MAP_APPFONT ( 50 , 8 ) ; 652 Text [ en-US ] = "~Color" ; 653 }; 654 FixedText FT_TRANSPARENT 655 { 656 Pos = MAP_APPFONT ( 12 , 107 ) ; 657 Size = MAP_APPFONT ( 50 , 8 ) ; 658 Text [ en-US ] = "~Transparency"; 659 }; 660 MetricField MTR_SHADOW_TRANSPARENT 661 { 662 HelpID = "cui:MetricField:RID_SVXPAGE_SHADOW:MTR_SHADOW_TRANSPARENT"; 663 Border = TRUE ; 664 Pos = MAP_APPFONT ( 65 , 105 ) ; 665 Size = MAP_APPFONT ( 47 , 12 ) ; 666 TabStop = TRUE ; 667 Repeat = TRUE ; 668 Spin = TRUE ; 669 Maximum = 100 ; 670 StrictFormat = TRUE ; 671 Unit = FUNIT_CUSTOM ; 672 CustomUnitText = "%" ; 673 Last = 100 ; 674 SpinSize = 5 ; 675 }; 676 Control CTL_COLOR_PREVIEW 677 { 678 Border = TRUE; 679 Pos = MAP_APPFONT ( 138 , 14 ) ; 680 Size = MAP_APPFONT ( 110 , 42 ) ; 681 TabStop = FALSE ; 682 }; 683}; 684 // RID_SVXPAGE_HATCH -------------------------------------------------------- 685TabPage RID_SVXPAGE_HATCH 686{ 687 HelpID = HID_AREA_HATCH ; 688 Hide = TRUE ; 689 Text [ en-US ] = "Hatching" ; 690 Size = MAP_APPFONT ( 260 , 185 ) ; 691 FixedLine FL_PROP 692 { 693 Pos = MAP_APPFONT ( 6 , 3 ) ; 694 Size = MAP_APPFONT ( 248, 8 ) ; 695 Text [ en-US ] = "Properties"; 696 }; 697 FixedText FT_LINE_DISTANCE 698 { 699 Pos = MAP_APPFONT ( 12 , 14 ) ; 700 Size = MAP_APPFONT ( 78 , 8 ) ; 701 Text [ en-US ] = "~Spacing" ; 702 }; 703 MetricField MTR_FLD_DISTANCE 704 { 705 HelpID = "cui:MetricField:RID_SVXPAGE_HATCH:MTR_FLD_DISTANCE"; 706 Border = TRUE ; 707 Pos = MAP_APPFONT ( 12 , 25 ) ; 708 Size = MAP_APPFONT ( 50 , 12 ) ; 709 TabStop = TRUE ; 710 Repeat = TRUE ; 711 Spin = TRUE ; 712 Minimum = 30 ; 713 Maximum = 9999 ; 714 DecimalDigits = 2 ; 715 Unit = FUNIT_MM ; 716 First = 30 ; 717 Last = 9999 ; 718 SpinSize = 100 ; 719 }; 720 FixedText FT_LINE_ANGLE 721 { 722 Pos = MAP_APPFONT ( 12 , 41 ) ; 723 Size = MAP_APPFONT ( 78 , 8 ) ; 724 Text [ en-US ] = "A~ngle" ; 725 }; 726 MetricField MTR_FLD_ANGLE 727 { 728 HelpID = "cui:MetricField:RID_SVXPAGE_HATCH:MTR_FLD_ANGLE"; 729 Border = TRUE ; 730 Pos = MAP_APPFONT ( 12 , 52 ) ; 731 Size = MAP_APPFONT ( 50 , 12 ) ; 732 TabStop = TRUE ; 733 Repeat = TRUE ; 734 Spin = TRUE ; 735 Maximum = 359 ; 736 Unit = FUNIT_CUSTOM ; 737 CustomUnitText [ en-US ] = " degrees" ; 738 Last = 359 ; 739 SpinSize = 15 ; 740 }; 741 Control CTL_ANGLE 742 { 743 HelpId = HID_TPHATCH_CTRL ; 744 Border = TRUE ; 745 Pos = MAP_APPFONT ( 12 , 72 ) ; 746 Size = MAP_APPFONT ( 39 , 39 ) ; 747 TabStop = TRUE ; 748 }; 749 FixedText FT_LINE_TYPE 750 { 751 Pos = MAP_APPFONT ( 12 , 123 ) ; 752 Size = MAP_APPFONT ( 50 , 8 ) ; 753 Text [ en-US ] = "~Line type" ; 754 }; 755 ListBox LB_LINE_TYPE 756 { 757 HelpID = "cui:ListBox:RID_SVXPAGE_HATCH:LB_LINE_TYPE"; 758 Border = TRUE ; 759 Pos = MAP_APPFONT ( 12 , 134 ) ; 760 Size = MAP_APPFONT ( 62 , 62 ) ; 761 TabStop = TRUE ; 762 DropDown = TRUE ; 763 StringList [ en-US ] = 764 { 765 < "Single" ; Default ; > ; 766 < "Crossed" ; Default ; > ; 767 < "Triple" ; Default ; > ; 768 }; 769 }; 770 FixedText FT_LINE_COLOR 771 { 772 Pos = MAP_APPFONT ( 12 , 150 ) ; 773 Size = MAP_APPFONT ( 49 , 8 ) ; 774 Text [ en-US ] = "Line ~color" ; 775 }; 776 ListBox LB_LINE_COLOR 777 { 778 HelpID = "cui:ListBox:RID_SVXPAGE_HATCH:LB_LINE_COLOR"; 779 Border = TRUE ; 780 Pos = MAP_APPFONT ( 12 , 161 ) ; 781 Size = MAP_APPFONT ( 62 , 100 ) ; 782 TabStop = TRUE ; 783 DropDown = TRUE ; 784 DDExtraWidth = TRUE ; 785 }; 786 ListBox LB_HATCHINGS 787 { 788 HelpID = "cui:ListBox:RID_SVXPAGE_HATCH:LB_HATCHINGS"; 789 Border = TRUE ; 790 Pos = MAP_APPFONT ( 103 , 14 ) ; 791 Size = MAP_APPFONT ( 88 , 110 ) ; 792 TabStop = TRUE ; 793 }; 794 Control CTL_PREVIEW 795 { 796 Border = TRUE ; 797 Pos = MAP_APPFONT ( 103 , 131 ) ; 798 Size = MAP_APPFONT ( 88 , 42 ) ; 799 }; 800 PushButton BTN_ADD 801 { 802 HelpID = "cui:PushButton:RID_SVXPAGE_HATCH:BTN_ADD"; 803 Pos = MAP_APPFONT ( 197 , 14 ) ; 804 Size = MAP_APPFONT ( 50 , 14 ) ; 805 Text [ en-US ] = "~Add..." ; 806 TabStop = TRUE ; 807 }; 808 PushButton BTN_MODIFY 809 { 810 HelpID = "cui:PushButton:RID_SVXPAGE_HATCH:BTN_MODIFY"; 811 Pos = MAP_APPFONT ( 197 , 32 ) ; 812 Size = MAP_APPFONT ( 50 , 14 ) ; 813 Text [ en-US ] = "~Modify..." ; 814 TabStop = TRUE ; 815 }; 816 PushButton BTN_DELETE 817 { 818 HelpID = "cui:PushButton:RID_SVXPAGE_HATCH:BTN_DELETE"; 819 Pos = MAP_APPFONT ( 197 , 68 ) ; 820 Size = MAP_APPFONT ( 50 , 14 ) ; 821 Text [ en-US ] = "~Delete..." ; 822 TabStop = TRUE ; 823 }; 824 ImageButton BTN_LOAD 825 { 826 HelpID = "cui:ImageButton:RID_SVXPAGE_HATCH:BTN_LOAD"; 827 Pos = MAP_APPFONT ( 197 , 104 ) ; 828 Size = MAP_APPFONT ( 16 , 16 ) ; 829 TabStop = TRUE ; 830 QuickHelpText [ en-US ] = "Load Hatches List" ; 831 ButtonImage = Image 832 { 833 ImageBitmap = Bitmap 834 { 835 File = "sc05501.bmp" ; 836 }; 837 MASKCOLOR 838 }; 839 }; 840 ImageButton BTN_SAVE 841 { 842 HelpID = "cui:ImageButton:RID_SVXPAGE_HATCH:BTN_SAVE"; 843 Pos = MAP_APPFONT ( 197 , 124 ) ; 844 Size = MAP_APPFONT ( 16 , 16 ) ; 845 TabStop = TRUE ; 846 QuickHelpText [ en-US ] = "Save Hatches List" ; 847 ButtonImage = Image 848 { 849 ImageBitmap = Bitmap 850 { 851 File = "sc05502.bmp" ; 852 }; 853 MASKCOLOR 854 }; 855 }; 856}; 857 // RID_SVXPAGE_BITMAP ------------------------------------------------------- 858TabPage RID_SVXPAGE_BITMAP 859{ 860 HelpID = HID_AREA_BITMAP ; 861 Hide = TRUE ; 862 Text [ en-US ] = "Bitmap Patterns" ; 863 Size = MAP_APPFONT ( 260 , 185 ) ; 864 FixedLine FL_PROP 865 { 866 Pos = MAP_APPFONT ( 6 , 3 ) ; 867 Size = MAP_APPFONT ( 248, 8 ) ; 868 Text [ en-US ] = "Properties"; 869 }; 870 FixedText FT_PIXEL_EDIT 871 { 872 Pos = MAP_APPFONT ( 12 , 14 ) ; 873 Size = MAP_APPFONT ( 85 , 8 ) ; 874 Text [ en-US ] = "Pattern Editor"; 875 }; 876 Control CTL_PIXEL 877 { 878 Border = TRUE ; 879 Pos = MAP_APPFONT ( 12 , 25 ) ; 880 Size = MAP_APPFONT ( 72 , 72 ) ; 881 TabStop = TRUE ; 882 }; 883 FixedText FT_COLOR 884 { 885 Pos = MAP_APPFONT ( 12 , 104 ) ; 886 Size = MAP_APPFONT ( 85 , 8 ) ; 887 Text [ en-US ] = "~Foreground color"; 888 }; 889 ListBox LB_COLOR 890 { 891 HelpID = "cui:ListBox:RID_SVXPAGE_BITMAP:LB_COLOR"; 892 Border = TRUE ; 893 Pos = MAP_APPFONT ( 12 , 115 ) ; 894 Size = MAP_APPFONT ( 62 , 100 ) ; 895 TabStop = TRUE ; 896 DropDown = TRUE ; 897 DDExtraWidth = TRUE ; 898 }; 899 FixedText FT_BACKGROUND_COLOR 900 { 901 Pos = MAP_APPFONT ( 12 , 131 ) ; 902 Size = MAP_APPFONT ( 85 , 8 ) ; 903 Text [ en-US ] = "~Background color"; 904 }; 905 ListBox LB_BACKGROUND_COLOR 906 { 907 HelpID = "cui:ListBox:RID_SVXPAGE_BITMAP:LB_BACKGROUND_COLOR"; 908 Border = TRUE ; 909 Pos = MAP_APPFONT ( 12 , 142 ) ; 910 Size = MAP_APPFONT ( 62 , 100 ) ; 911 TabStop = TRUE ; 912 DropDown = TRUE ; 913 DDExtraWidth = TRUE ; 914 }; 915 FixedText FT_BITMAPS_HIDDEN 916 { 917 // Hidden label that provides the name for the bitmaps list box. 918 Text [ en-US ] = "Bitmap"; 919 }; 920 ListBox LB_BITMAPS 921 { 922 HelpID = "cui:ListBox:RID_SVXPAGE_BITMAP:LB_BITMAPS"; 923 Border = TRUE ; 924 Pos = MAP_APPFONT ( 103 , 14 ) ; 925 Size = MAP_APPFONT ( 88 , 110 ) ; 926 TabStop = TRUE ; 927 }; 928 Control CTL_PREVIEW 929 { 930 Border = TRUE ; 931 Pos = MAP_APPFONT ( 103 , 131 ) ; 932 Size = MAP_APPFONT ( 88 , 42 ) ; 933 }; 934 PushButton BTN_ADD 935 { 936 HelpID = "cui:PushButton:RID_SVXPAGE_BITMAP:BTN_ADD"; 937 Pos = MAP_APPFONT ( 197 , 14 ) ; 938 Size = MAP_APPFONT ( 50 , 14 ) ; 939 Text [ en-US ] = "~Add..." ; 940 TabStop = TRUE ; 941 }; 942 PushButton BTN_MODIFY 943 { 944 HelpID = "cui:PushButton:RID_SVXPAGE_BITMAP:BTN_MODIFY"; 945 Pos = MAP_APPFONT ( 197 , 32 ) ; 946 Size = MAP_APPFONT ( 50 , 14 ) ; 947 Text [ en-US ] = "~Modify..." ; 948 TabStop = TRUE ; 949 }; 950 PushButton BTN_IMPORT 951 { 952 HelpID = "cui:PushButton:RID_SVXPAGE_BITMAP:BTN_IMPORT"; 953 Pos = MAP_APPFONT ( 197 , 50 ) ; 954 Size = MAP_APPFONT ( 50 , 14 ) ; 955 Text [ en-US ] = "~Import..." ; 956 TabStop = TRUE ; 957 }; 958 PushButton BTN_DELETE 959 { 960 HelpID = "cui:PushButton:RID_SVXPAGE_BITMAP:BTN_DELETE"; 961 Pos = MAP_APPFONT ( 197 , 68 ) ; 962 Size = MAP_APPFONT ( 50 , 14 ) ; 963 Text [ en-US ] = "~Delete..." ; 964 TabStop = TRUE ; 965 }; 966 ImageButton BTN_LOAD 967 { 968 HelpID = "cui:ImageButton:RID_SVXPAGE_BITMAP:BTN_LOAD"; 969 Pos = MAP_APPFONT ( 197 , 104 ) ; 970 Size = MAP_APPFONT ( 16 , 16 ) ; 971 TabStop = TRUE ; 972 QuickHelpText [ en-US ] = "Load Bitmap List" ; 973 ButtonImage = Image 974 { 975 ImageBitmap = Bitmap 976 { 977 File = "sc05501.bmp" ; 978 }; 979 MASKCOLOR 980 }; 981 }; 982 ImageButton BTN_SAVE 983 { 984 HelpID = "cui:ImageButton:RID_SVXPAGE_BITMAP:BTN_SAVE"; 985 Pos = MAP_APPFONT ( 197 , 124 ) ; 986 Size = MAP_APPFONT ( 16 , 16 ) ; 987 TabStop = TRUE ; 988 QuickHelpText [ en-US ] = "Save Bitmap List" ; 989 ButtonImage = Image 990 { 991 ImageBitmap = Bitmap 992 { 993 File = "sc05502.bmp" ; 994 }; 995 MASKCOLOR 996 }; 997 }; 998}; 999 // RID_SVXPAGE_GRADIENT ----------------------------------------------------- 1000TabPage RID_SVXPAGE_GRADIENT 1001{ 1002 HelpID = HID_AREA_GRADIENT ; 1003 Hide = TRUE ; 1004 Text [ en-US ] = "Gradients" ; 1005 Size = MAP_APPFONT ( 260 , 185 ) ; 1006 FixedLine FL_PROP 1007 { 1008 Pos = MAP_APPFONT ( 6 , 3 ) ; 1009 Size = MAP_APPFONT ( 248, 8 ) ; 1010 Text [ en-US ] = "Properties"; 1011 }; 1012 FixedText FT_TYPE 1013 { 1014 Pos = MAP_APPFONT ( 12 , 16 ) ; 1015 Size = MAP_APPFONT ( 26 , 8 ) ; 1016 Text [ en-US ] = "Ty~pe" ; 1017 }; 1018 ListBox LB_GRADIENT_TYPES 1019 { 1020 HelpID = "cui:ListBox:RID_SVXPAGE_GRADIENT:LB_GRADIENT_TYPES"; 1021 Border = TRUE ; 1022 Pos = MAP_APPFONT ( 49 , 14 ) ; 1023 Size = MAP_APPFONT ( 48, 63 ) ; 1024 TabStop = TRUE ; 1025 DropDown = TRUE ; 1026 StringList [ en-US ] = 1027 { 1028 < "Linear" ; Default ; > ; 1029 < "Axial" ; Default ; > ; 1030 < "Radial" ; Default ; > ; 1031 < "Ellipsoid" ; Default ; > ; 1032 < "Square" ; Default ; > ; 1033 < "Rectangular" ; Default ; > ; 1034 }; 1035 }; 1036 FixedText FT_CENTER_X 1037 { 1038 Pos = MAP_APPFONT ( 12 , 32 ) ; 1039 Size = MAP_APPFONT ( 37 , 8 ) ; 1040 Text [ en-US ] = "Center ~X" ; 1041 }; 1042 MetricField MTR_CENTER_X 1043 { 1044 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_CENTER_X"; 1045 Border = TRUE ; 1046 Pos = MAP_APPFONT ( 49 , 30 ) ; 1047 Size = MAP_APPFONT ( 40 , 12 ) ; 1048 TabStop = TRUE ; 1049 Repeat = TRUE ; 1050 Spin = TRUE ; 1051 Maximum = 100 ; 1052 StrictFormat = TRUE ; 1053 Unit = FUNIT_CUSTOM ; 1054 CustomUnitText = "%" ; 1055 Last = 100 ; 1056 SpinSize = 5 ; 1057 }; 1058 FixedText FT_CENTER_Y 1059 { 1060 Pos = MAP_APPFONT ( 12 , 48 ) ; 1061 Size = MAP_APPFONT ( 37 , 8 ) ; 1062 Text [ en-US ] = "Center ~Y" ; 1063 }; 1064 MetricField MTR_CENTER_Y 1065 { 1066 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_CENTER_Y"; 1067 Border = TRUE ; 1068 Pos = MAP_APPFONT ( 49 , 46 ) ; 1069 Size = MAP_APPFONT ( 40, 12 ) ; 1070 TabStop = TRUE ; 1071 Repeat = TRUE ; 1072 Spin = TRUE ; 1073 Maximum = 100 ; 1074 StrictFormat = TRUE ; 1075 Unit = FUNIT_CUSTOM ; 1076 CustomUnitText = "%" ; 1077 Last = 100 ; 1078 SpinSize = 5 ; 1079 }; 1080 FixedText FT_ANGLE 1081 { 1082 Pos = MAP_APPFONT ( 12 , 64 ) ; 1083 Size = MAP_APPFONT ( 37 , 8 ) ; 1084 Text [ en-US ] = "A~ngle" ; 1085 }; 1086 MetricField MTR_ANGLE 1087 { 1088 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_ANGLE"; 1089 Border = TRUE ; 1090 Pos = MAP_APPFONT ( 49 , 62 ) ; 1091 Size = MAP_APPFONT ( 40, 12 ) ; 1092 TabStop = TRUE ; 1093 Repeat = TRUE ; 1094 Spin = TRUE ; 1095 Maximum = 359 ; 1096 Unit = FUNIT_CUSTOM ; 1097 CustomUnitText [ en-US ] = " degrees" ; 1098 Last = 359 ; 1099 SpinSize = 15 ; 1100 }; 1101 FixedText FT_BORDER 1102 { 1103 Pos = MAP_APPFONT ( 12 , 80 ) ; 1104 Size = MAP_APPFONT ( 32 , 8 ) ; 1105 Text [ en-US ] = "~Border" ; 1106 }; 1107 MetricField MTR_BORDER 1108 { 1109 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_BORDER"; 1110 Border = TRUE ; 1111 Pos = MAP_APPFONT ( 49 , 78 ) ; 1112 Size = MAP_APPFONT ( 40, 12 ) ; 1113 TabStop = TRUE ; 1114 Repeat = TRUE ; 1115 Spin = TRUE ; 1116 Maximum = 100 ; 1117 StrictFormat = TRUE ; 1118 Unit = FUNIT_CUSTOM ; 1119 CustomUnitText = "%" ; 1120 Last = 100 ; 1121 SpinSize = 5 ; 1122 }; 1123 FixedText FT_COLOR_FROM 1124 { 1125 Pos = MAP_APPFONT ( 12 , 99 ) ; 1126 Size = MAP_APPFONT ( 32 , 8 ) ; 1127 Text [ en-US ] = "~From" ; 1128 }; 1129 ListBox LB_COLOR_FROM 1130 { 1131 HelpID = "cui:ListBox:RID_SVXPAGE_GRADIENT:LB_COLOR_FROM"; 1132 Border = TRUE ; 1133 Pos = MAP_APPFONT ( 49 , 97 ) ; 1134 Size = MAP_APPFONT ( 48, 100 ) ; 1135 TabStop = TRUE ; 1136 DropDown = TRUE ; 1137 DDExtraWidth = TRUE ; 1138 }; 1139 MetricField MTR_COLOR_FROM 1140 { 1141 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_COLOR_FROM"; 1142 Border = TRUE ; 1143 Pos = MAP_APPFONT ( 49 , 113 ) ; 1144 Size = MAP_APPFONT ( 40, 12 ) ; 1145 TabStop = TRUE ; 1146 Repeat = TRUE ; 1147 Spin = TRUE ; 1148 Maximum = 100 ; 1149 StrictFormat = TRUE ; 1150 Unit = FUNIT_CUSTOM ; 1151 CustomUnitText = "%" ; 1152 Last = 100 ; 1153 SpinSize = 5 ; 1154 }; 1155 FixedText FT_COLOR_TO 1156 { 1157 Pos = MAP_APPFONT ( 12 , 133 ) ; 1158 Size = MAP_APPFONT ( 32 , 8 ) ; 1159 Text [ en-US ] = "~To" ; 1160 }; 1161 ListBox LB_COLOR_TO 1162 { 1163 HelpID = "cui:ListBox:RID_SVXPAGE_GRADIENT:LB_COLOR_TO"; 1164 Border = TRUE ; 1165 Pos = MAP_APPFONT ( 49 , 131 ) ; 1166 Size = MAP_APPFONT ( 48, 100 ) ; 1167 TabStop = TRUE ; 1168 DropDown = TRUE ; 1169 DDExtraWidth = TRUE ; 1170 }; 1171 MetricField MTR_COLOR_TO 1172 { 1173 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_COLOR_TO"; 1174 Border = TRUE ; 1175 Pos = MAP_APPFONT ( 49 , 147 ) ; 1176 Size = MAP_APPFONT ( 40, 12 ) ; 1177 TabStop = TRUE ; 1178 Repeat = TRUE ; 1179 Spin = TRUE ; 1180 Maximum = 100 ; 1181 StrictFormat = TRUE ; 1182 Unit = FUNIT_CUSTOM ; 1183 CustomUnitText = "%" ; 1184 Last = 100 ; 1185 SpinSize = 5 ; 1186 }; 1187 ListBox LB_GRADIENTS 1188 { 1189 HelpID = "cui:ListBox:RID_SVXPAGE_GRADIENT:LB_GRADIENTS"; 1190 Border = TRUE ; 1191 Pos = MAP_APPFONT ( 103 , 14 ) ; 1192 Size = MAP_APPFONT ( 88 , 110 ) ; 1193 TabStop = TRUE ; 1194 }; 1195 Control CTL_PREVIEW 1196 { 1197 Border = TRUE; 1198 Pos = MAP_APPFONT ( 103 , 131 ) ; 1199 Size = MAP_APPFONT ( 88 , 42 ) ; 1200 }; 1201 PushButton BTN_ADD 1202 { 1203 HelpID = "cui:PushButton:RID_SVXPAGE_GRADIENT:BTN_ADD"; 1204 Pos = MAP_APPFONT ( 197 , 14 ) ; 1205 Size = MAP_APPFONT ( 50 , 14 ) ; 1206 Text [ en-US ] = "~Add..." ; 1207 TabStop = TRUE ; 1208 }; 1209 PushButton BTN_MODIFY 1210 { 1211 HelpID = "cui:PushButton:RID_SVXPAGE_GRADIENT:BTN_MODIFY"; 1212 Pos = MAP_APPFONT ( 197 , 32 ) ; 1213 Size = MAP_APPFONT ( 50 , 14 ) ; 1214 Text [ en-US ] = "~Modify..." ; 1215 TabStop = TRUE ; 1216 }; 1217 PushButton BTN_DELETE 1218 { 1219 HelpID = "cui:PushButton:RID_SVXPAGE_GRADIENT:BTN_DELETE"; 1220 Pos = MAP_APPFONT ( 197 , 68 ) ; 1221 Size = MAP_APPFONT ( 50 , 14 ) ; 1222 Text [ en-US ] = "~Delete..." ; 1223 TabStop = TRUE ; 1224 }; 1225 ImageButton BTN_LOAD 1226 { 1227 HelpID = "cui:ImageButton:RID_SVXPAGE_GRADIENT:BTN_LOAD"; 1228 Pos = MAP_APPFONT ( 197 , 104 ) ; 1229 Size = MAP_APPFONT ( 16 , 16 ) ; 1230 TabStop = TRUE ; 1231 QuickHelpText [ en-US ] = "Load Gradients List" ; 1232 ButtonImage = Image 1233 { 1234 ImageBitmap = Bitmap 1235 { 1236 File = "sc05501.bmp" ; 1237 }; 1238 MASKCOLOR 1239 }; 1240 }; 1241 ImageButton BTN_SAVE 1242 { 1243 HelpID = "cui:ImageButton:RID_SVXPAGE_GRADIENT:BTN_SAVE"; 1244 Pos = MAP_APPFONT ( 197 , 124 ) ; 1245 Size = MAP_APPFONT ( 16 , 16 ) ; 1246 TabStop = TRUE ; 1247 QuickHelpText [ en-US ] = "Save Gradients List" ; 1248 ButtonImage = Image 1249 { 1250 ImageBitmap = Bitmap 1251 { 1252 File = "sc05502.bmp" ; 1253 }; 1254 MASKCOLOR 1255 }; 1256 }; 1257}; 1258 // RID_SVXPAGE_COLOR -------------------------------------------------------- 1259TabPage RID_SVXPAGE_COLOR 1260{ 1261 HelpId = HID_OPTIONS_COLOR ; 1262 Hide = TRUE ; 1263 Text [ en-US ] = "Colors" ; 1264 SVLook = TRUE ; 1265 Size = MAP_APPFONT ( 260 , 185 ) ; 1266 FixedLine FL_PROP 1267 { 1268 Pos = MAP_APPFONT ( 6 , 3 ) ; 1269 Size = MAP_APPFONT ( 248, 8 ) ; 1270 Text [ en-US ] = "Properties"; 1271 }; 1272 FixedText FT_NAME 1273 { 1274 Pos = MAP_APPFONT ( 12 , 16 ) ; 1275 Size = MAP_APPFONT ( 28 , 8 ) ; 1276 Text [ en-US ] = "~Name" ; 1277 }; 1278 Edit EDT_NAME 1279 { 1280 HelpID = "cui:Edit:RID_SVXPAGE_COLOR:EDT_NAME"; 1281 Border = TRUE ; 1282 Pos = MAP_APPFONT ( 42 , 14 ) ; 1283 Size = MAP_APPFONT ( 76 , 12 ) ; 1284 TabStop = TRUE ; 1285 }; 1286 FixedText FT_COLOR 1287 { 1288 Pos = MAP_APPFONT ( 12 , 32 ) ; 1289 Size = MAP_APPFONT ( 28 , 8 ) ; 1290 Text [ en-US ] = "C~olor" ; 1291 }; 1292 ListBox LB_COLOR 1293 { 1294 HelpID = "cui:ListBox:RID_SVXPAGE_COLOR:LB_COLOR"; 1295 Border = TRUE ; 1296 Pos = MAP_APPFONT ( 42 , 30 ) ; 1297 Size = MAP_APPFONT ( 76 , 100 ) ; 1298 TabStop = TRUE ; 1299 DropDown = TRUE ; 1300 DDExtraWidth = TRUE ; 1301 }; 1302 1303 FixedText FT_TABLE_NAME 1304 { 1305 Pos = MAP_APPFONT ( 42 , 48 ) ; 1306 Size = MAP_APPFONT ( 94 , 8 ) ; 1307 Text [ en-US ] = "Color table" ; 1308 }; 1309 Control CTL_COLORTABLE 1310 { 1311 Border = TRUE ; 1312 Hide = TRUE ; 1313 Pos = MAP_APPFONT ( 42 , 59 ) ; 1314 Size = MAP_APPFONT ( 94 , 117 ) ; 1315 TabStop = TRUE ; 1316 }; 1317 1318 Control CTL_PREVIEW_OLD 1319 { 1320 Border = TRUE; 1321 Pos = MAP_APPFONT ( 157 , 14 ) ; 1322 Size = MAP_APPFONT ( 34 , 25 ) ; 1323 }; 1324 Control CTL_PREVIEW_NEW 1325 { 1326 Border = TRUE; 1327 Pos = MAP_APPFONT ( 157, 39 ) ; 1328 Size = MAP_APPFONT ( 34 , 25 ) ; 1329 }; 1330 ListBox LB_COLORMODEL 1331 { 1332 HelpID = "cui:ListBox:RID_SVXPAGE_COLOR:LB_COLORMODEL"; 1333 Border = TRUE ; 1334 Pos = MAP_APPFONT ( 157 , 71 ) ; 1335 Size = MAP_APPFONT ( 34 , 12 ) ; 1336 TabStop = TRUE ; 1337 DropDown = TRUE ; 1338 StringList [ en-US ] = 1339 { 1340 < "RGB" ; Default ; > ; 1341 < "CMYK" ; Default ; > ; 1342 }; 1343 }; 1344 FixedText FT_1 1345 { 1346 Pos = MAP_APPFONT ( 142 , 89 ) ; 1347 Size = MAP_APPFONT ( 15 , 8 ) ; 1348 Text = "~C" ; 1349 }; 1350 MetricField MTR_FLD_1 1351 { 1352 HelpID = "cui:MetricField:RID_SVXPAGE_COLOR:MTR_FLD_1"; 1353 Border = TRUE ; 1354 Pos = MAP_APPFONT ( 157 , 87 ) ; 1355 Size = MAP_APPFONT ( 30 , 12 ) ; 1356 TabStop = TRUE ; 1357 Repeat = TRUE ; 1358 Spin = TRUE ; 1359 Maximum = 100 ; 1360 Unit = FUNIT_CUSTOM ; 1361 CustomUnitText = "%" ; 1362 Last = 100 ; 1363 }; 1364 FixedText FT_2 1365 { 1366 Pos = MAP_APPFONT ( 142 , 105 ) ; 1367 Size = MAP_APPFONT ( 15 , 8 ) ; 1368 Text = "~M" ; 1369 }; 1370 MetricField MTR_FLD_2 1371 { 1372 HelpID = "cui:MetricField:RID_SVXPAGE_COLOR:MTR_FLD_2"; 1373 Border = TRUE ; 1374 Pos = MAP_APPFONT ( 157 , 103 ) ; 1375 Size = MAP_APPFONT ( 30 , 12 ) ; 1376 TabStop = TRUE ; 1377 Repeat = TRUE ; 1378 Spin = TRUE ; 1379 Maximum = 100 ; 1380 Unit = FUNIT_CUSTOM ; 1381 CustomUnitText = "%" ; 1382 Last = 100 ; 1383 }; 1384 FixedText FT_3 1385 { 1386 Pos = MAP_APPFONT ( 142 , 121 ) ; 1387 Size = MAP_APPFONT ( 15 , 8 ) ; 1388 Text = "~Y" ; 1389 }; 1390 MetricField MTR_FLD_3 1391 { 1392 HelpID = "cui:MetricField:RID_SVXPAGE_COLOR:MTR_FLD_3"; 1393 Border = TRUE ; 1394 Pos = MAP_APPFONT ( 157 , 119 ) ; 1395 Size = MAP_APPFONT ( 30 , 12 ) ; 1396 TabStop = TRUE ; 1397 Repeat = TRUE ; 1398 Spin = TRUE ; 1399 Maximum = 100 ; 1400 Unit = FUNIT_CUSTOM ; 1401 CustomUnitText = "%" ; 1402 Last = 100 ; 1403 }; 1404 FixedText FT_4 1405 { 1406 Pos = MAP_APPFONT ( 142 , 137 ) ; 1407 Size = MAP_APPFONT ( 15 , 8 ) ; 1408 Text = "~K" ; 1409 }; 1410 MetricField MTR_FLD_4 1411 { 1412 HelpID = "cui:MetricField:RID_SVXPAGE_COLOR:MTR_FLD_4"; 1413 Border = TRUE ; 1414 Pos = MAP_APPFONT ( 157 , 135 ) ; 1415 Size = MAP_APPFONT ( 30 , 12 ) ; 1416 TabStop = TRUE ; 1417 Repeat = TRUE ; 1418 Spin = TRUE ; 1419 Maximum = 100 ; 1420 Unit = FUNIT_CUSTOM ; 1421 CustomUnitText = "%" ; 1422 Last = 100 ; 1423 }; 1424 PushButton BTN_ADD 1425 { 1426 HelpID = "cui:PushButton:RID_SVXPAGE_COLOR:BTN_ADD"; 1427 Pos = MAP_APPFONT ( 197 , 14 ) ; 1428 Size = MAP_APPFONT ( 50 , 14 ) ; 1429 Text [ en-US ] = "~Add" ; 1430 TabStop = TRUE ; 1431 }; 1432 PushButton BTN_WORK_ON 1433 { 1434 HelpID = "cui:PushButton:RID_SVXPAGE_COLOR:BTN_WORK_ON"; 1435 Pos = MAP_APPFONT ( 197 , 50 ) ; 1436 Size = MAP_APPFONT ( 50 , 14 ) ; 1437 Text [ en-US ] = "~Edit..." ; 1438 TabStop = TRUE ; 1439 }; 1440 PushButton BTN_DELETE 1441 { 1442 HelpID = "cui:PushButton:RID_SVXPAGE_COLOR:BTN_DELETE"; 1443 Pos = MAP_APPFONT ( 197 , 68 ) ; 1444 Size = MAP_APPFONT ( 50 , 14 ) ; 1445 Text [ en-US ] = "~Delete..." ; 1446 TabStop = TRUE ; 1447 }; 1448 PushButton BTN_MODIFY 1449 { 1450 HelpID = "cui:PushButton:RID_SVXPAGE_COLOR:BTN_MODIFY"; 1451 Pos = MAP_APPFONT ( 197, 32 ) ; 1452 Size = MAP_APPFONT ( 50 , 14 ) ; 1453 Text [ en-US ] = "~Modify" ; 1454 TabStop = TRUE ; 1455 }; 1456 ImageButton BTN_LOAD 1457 { 1458 HelpID = "cui:ImageButton:RID_SVXPAGE_COLOR:BTN_LOAD"; 1459 Pos = MAP_APPFONT ( 197 , 104 ) ; 1460 Size = MAP_APPFONT ( 16 , 16 ) ; 1461 TabStop = TRUE ; 1462 QuickHelpText [ en-US ] = "Load Color List" ; 1463 ButtonImage = Image 1464 { 1465 ImageBitmap = Bitmap 1466 { 1467 File = "sc05501.bmp" ; 1468 }; 1469 MASKCOLOR 1470 }; 1471 }; 1472 ImageButton BTN_SAVE 1473 { 1474 HelpID = "cui:ImageButton:RID_SVXPAGE_COLOR:BTN_SAVE"; 1475 Pos = MAP_APPFONT ( 197 , 124 ) ; 1476 Size = MAP_APPFONT ( 16 , 16 ) ; 1477 TabStop = TRUE ; 1478 QuickHelpText [ en-US ] = "Save Color List" ; 1479 ButtonImage = Image 1480 { 1481 ImageBitmap = Bitmap 1482 { 1483 File = "sc05502.bmp" ; 1484 }; 1485 MASKCOLOR 1486 }; 1487 }; 1488}; 1489 // RID_SVXDLG_AREA ---------------------------------------------------------- 1490TabDialog RID_SVXDLG_AREA 1491{ 1492 OutputSize = TRUE ; 1493 SVLook = TRUE ; 1494 Size = MAP_APPFONT ( 289 , 176 ) ; 1495 Text [ en-US ] = "Area" ; 1496 Moveable = TRUE ; 1497 TabControl 1 1498 { 1499 OutputSize = TRUE ; 1500 Pos = MAP_APPFONT ( 3 , 3 ) ; 1501 PageList = 1502 { 1503 PageItem 1504 { 1505 Identifier = RID_SVXPAGE_AREA ; 1506 Text [ en-US ] = "Area" ; 1507 PageResID = RID_SVXPAGE_AREA ; 1508 }; 1509 PageItem 1510 { 1511 Identifier = RID_SVXPAGE_SHADOW ; 1512 PageResID = RID_SVXPAGE_SHADOW ; 1513 Text [ en-US ] = "Shadow" ; 1514 }; 1515 PageItem 1516 { 1517 Identifier = RID_SVXPAGE_TRANSPARENCE ; 1518 Text [ en-US ] = "Transparency"; 1519 }; 1520 PageItem 1521 { 1522 Identifier = RID_SVXPAGE_COLOR ; 1523 Text [ en-US ] = "Colors" ; 1524 PageResID = RID_SVXPAGE_COLOR ; 1525 }; 1526 PageItem 1527 { 1528 Identifier = RID_SVXPAGE_GRADIENT ; 1529 Text [ en-US ] = "Gradients" ; 1530 PageResID = RID_SVXPAGE_GRADIENT ; 1531 }; 1532 PageItem 1533 { 1534 Identifier = RID_SVXPAGE_HATCH ; 1535 Text [ en-US ] = "Hatching" ; 1536 PageResID = RID_SVXPAGE_HATCH ; 1537 }; 1538 PageItem 1539 { 1540 Identifier = RID_SVXPAGE_BITMAP ; 1541 Text [ en-US ] = "Bitmaps" ; 1542 PageResID = RID_SVXPAGE_BITMAP ; 1543 }; 1544 }; 1545 }; 1546}; 1547 1548Image RID_SVXIMG_LOAD_H 1549{ 1550 ImageBitmap = Bitmap 1551 { 1552 File = "sch05501.bmp" ; 1553 }; 1554 MASKCOLOR 1555}; 1556 1557Image RID_SVXIMG_SAVE_H 1558{ 1559 ImageBitmap = Bitmap 1560 { 1561 File = "sch05502.bmp" ; 1562 }; 1563 MASKCOLOR 1564}; 1565 1566String STR_LB_HATCHINGSTYLE 1567{ 1568 Text [ en-US ] = "Hatching Style" ; 1569}; 1570 1571String STR_CUI_COLORMODEL 1572{ 1573 Text [ en-US ] = "Color Mode" ; 1574}; 1575 1576