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