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