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 Text [ en-US ] = "Pattern Editor"; 879 }; 880 FixedText FT_COLOR 881 { 882 Pos = MAP_APPFONT ( 12 , 104 ) ; 883 Size = MAP_APPFONT ( 85 , 8 ) ; 884 Text [ en-US ] = "~Foreground color"; 885 }; 886 ListBox LB_COLOR 887 { 888 HelpID = "cui:ListBox:RID_SVXPAGE_BITMAP:LB_COLOR"; 889 Border = TRUE ; 890 Pos = MAP_APPFONT ( 12 , 115 ) ; 891 Size = MAP_APPFONT ( 62 , 100 ) ; 892 TabStop = TRUE ; 893 DropDown = TRUE ; 894 DDExtraWidth = TRUE ; 895 }; 896 FixedText FT_BACKGROUND_COLOR 897 { 898 Pos = MAP_APPFONT ( 12 , 131 ) ; 899 Size = MAP_APPFONT ( 85 , 8 ) ; 900 Text [ en-US ] = "~Background color"; 901 }; 902 ListBox LB_BACKGROUND_COLOR 903 { 904 HelpID = "cui:ListBox:RID_SVXPAGE_BITMAP:LB_BACKGROUND_COLOR"; 905 Border = TRUE ; 906 Pos = MAP_APPFONT ( 12 , 142 ) ; 907 Size = MAP_APPFONT ( 62 , 100 ) ; 908 TabStop = TRUE ; 909 DropDown = TRUE ; 910 DDExtraWidth = TRUE ; 911 }; 912 FixedText FT_BITMAPS_HIDDEN 913 { 914 // Hidden label that provides the name for the bitmaps list box. 915 Text [ en-US ] = "Bitmap"; 916 }; 917 ListBox LB_BITMAPS 918 { 919 HelpID = "cui:ListBox:RID_SVXPAGE_BITMAP:LB_BITMAPS"; 920 Border = TRUE ; 921 Pos = MAP_APPFONT ( 103 , 14 ) ; 922 Size = MAP_APPFONT ( 88 , 110 ) ; 923 TabStop = TRUE ; 924 }; 925 Control CTL_PREVIEW 926 { 927 Border = TRUE ; 928 Pos = MAP_APPFONT ( 103 , 131 ) ; 929 Size = MAP_APPFONT ( 88 , 42 ) ; 930 }; 931 PushButton BTN_ADD 932 { 933 HelpID = "cui:PushButton:RID_SVXPAGE_BITMAP:BTN_ADD"; 934 Pos = MAP_APPFONT ( 197 , 14 ) ; 935 Size = MAP_APPFONT ( 50 , 14 ) ; 936 Text [ en-US ] = "~Add..." ; 937 TabStop = TRUE ; 938 }; 939 PushButton BTN_MODIFY 940 { 941 HelpID = "cui:PushButton:RID_SVXPAGE_BITMAP:BTN_MODIFY"; 942 Pos = MAP_APPFONT ( 197 , 32 ) ; 943 Size = MAP_APPFONT ( 50 , 14 ) ; 944 Text [ en-US ] = "~Modify..." ; 945 TabStop = TRUE ; 946 }; 947 PushButton BTN_IMPORT 948 { 949 HelpID = "cui:PushButton:RID_SVXPAGE_BITMAP:BTN_IMPORT"; 950 Pos = MAP_APPFONT ( 197 , 50 ) ; 951 Size = MAP_APPFONT ( 50 , 14 ) ; 952 Text [ en-US ] = "~Import..." ; 953 TabStop = TRUE ; 954 }; 955 PushButton BTN_DELETE 956 { 957 HelpID = "cui:PushButton:RID_SVXPAGE_BITMAP:BTN_DELETE"; 958 Pos = MAP_APPFONT ( 197 , 68 ) ; 959 Size = MAP_APPFONT ( 50 , 14 ) ; 960 Text [ en-US ] = "~Delete..." ; 961 TabStop = TRUE ; 962 }; 963 ImageButton BTN_LOAD 964 { 965 HelpID = "cui:ImageButton:RID_SVXPAGE_BITMAP:BTN_LOAD"; 966 Pos = MAP_APPFONT ( 197 , 104 ) ; 967 Size = MAP_APPFONT ( 16 , 16 ) ; 968 TabStop = TRUE ; 969 QuickHelpText [ en-US ] = "Load Bitmap List" ; 970 ButtonImage = Image 971 { 972 ImageBitmap = Bitmap 973 { 974 File = "sc05501.bmp" ; 975 }; 976 MASKCOLOR 977 }; 978 }; 979 ImageButton BTN_SAVE 980 { 981 HelpID = "cui:ImageButton:RID_SVXPAGE_BITMAP:BTN_SAVE"; 982 Pos = MAP_APPFONT ( 197 , 124 ) ; 983 Size = MAP_APPFONT ( 16 , 16 ) ; 984 TabStop = TRUE ; 985 QuickHelpText [ en-US ] = "Save Bitmap List" ; 986 ButtonImage = Image 987 { 988 ImageBitmap = Bitmap 989 { 990 File = "sc05502.bmp" ; 991 }; 992 MASKCOLOR 993 }; 994 }; 995}; 996 // RID_SVXPAGE_GRADIENT ----------------------------------------------------- 997TabPage RID_SVXPAGE_GRADIENT 998{ 999 HelpID = HID_AREA_GRADIENT ; 1000 Hide = TRUE ; 1001 Text [ en-US ] = "Gradients" ; 1002 Size = MAP_APPFONT ( 260 , 185 ) ; 1003 FixedLine FL_PROP 1004 { 1005 Pos = MAP_APPFONT ( 6 , 3 ) ; 1006 Size = MAP_APPFONT ( 248, 8 ) ; 1007 Text [ en-US ] = "Properties"; 1008 }; 1009 FixedText FT_TYPE 1010 { 1011 Pos = MAP_APPFONT ( 12 , 16 ) ; 1012 Size = MAP_APPFONT ( 26 , 8 ) ; 1013 Text [ en-US ] = "Ty~pe" ; 1014 }; 1015 ListBox LB_GRADIENT_TYPES 1016 { 1017 HelpID = "cui:ListBox:RID_SVXPAGE_GRADIENT:LB_GRADIENT_TYPES"; 1018 Border = TRUE ; 1019 Pos = MAP_APPFONT ( 49 , 14 ) ; 1020 Size = MAP_APPFONT ( 48, 63 ) ; 1021 TabStop = TRUE ; 1022 DropDown = TRUE ; 1023 StringList [ en-US ] = 1024 { 1025 < "Linear" ; Default ; > ; 1026 < "Axial" ; Default ; > ; 1027 < "Radial" ; Default ; > ; 1028 < "Ellipsoid" ; Default ; > ; 1029 < "Square" ; Default ; > ; 1030 < "Rectangular" ; Default ; > ; 1031 }; 1032 }; 1033 FixedText FT_CENTER_X 1034 { 1035 Pos = MAP_APPFONT ( 12 , 32 ) ; 1036 Size = MAP_APPFONT ( 37 , 8 ) ; 1037 Text [ en-US ] = "Center ~X" ; 1038 }; 1039 MetricField MTR_CENTER_X 1040 { 1041 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_CENTER_X"; 1042 Border = TRUE ; 1043 Pos = MAP_APPFONT ( 49 , 30 ) ; 1044 Size = MAP_APPFONT ( 40 , 12 ) ; 1045 TabStop = TRUE ; 1046 Repeat = TRUE ; 1047 Spin = TRUE ; 1048 Maximum = 100 ; 1049 StrictFormat = TRUE ; 1050 Unit = FUNIT_CUSTOM ; 1051 CustomUnitText = "%" ; 1052 Last = 100 ; 1053 SpinSize = 5 ; 1054 }; 1055 FixedText FT_CENTER_Y 1056 { 1057 Pos = MAP_APPFONT ( 12 , 48 ) ; 1058 Size = MAP_APPFONT ( 37 , 8 ) ; 1059 Text [ en-US ] = "Center ~Y" ; 1060 }; 1061 MetricField MTR_CENTER_Y 1062 { 1063 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_CENTER_Y"; 1064 Border = TRUE ; 1065 Pos = MAP_APPFONT ( 49 , 46 ) ; 1066 Size = MAP_APPFONT ( 40, 12 ) ; 1067 TabStop = TRUE ; 1068 Repeat = TRUE ; 1069 Spin = TRUE ; 1070 Maximum = 100 ; 1071 StrictFormat = TRUE ; 1072 Unit = FUNIT_CUSTOM ; 1073 CustomUnitText = "%" ; 1074 Last = 100 ; 1075 SpinSize = 5 ; 1076 }; 1077 FixedText FT_ANGLE 1078 { 1079 Pos = MAP_APPFONT ( 12 , 64 ) ; 1080 Size = MAP_APPFONT ( 37 , 8 ) ; 1081 Text [ en-US ] = "A~ngle" ; 1082 }; 1083 MetricField MTR_ANGLE 1084 { 1085 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_ANGLE"; 1086 Border = TRUE ; 1087 Pos = MAP_APPFONT ( 49 , 62 ) ; 1088 Size = MAP_APPFONT ( 40, 12 ) ; 1089 TabStop = TRUE ; 1090 Repeat = TRUE ; 1091 Spin = TRUE ; 1092 Maximum = 359 ; 1093 Unit = FUNIT_CUSTOM ; 1094 CustomUnitText [ en-US ] = " degrees" ; 1095 Last = 359 ; 1096 SpinSize = 15 ; 1097 }; 1098 FixedText FT_BORDER 1099 { 1100 Pos = MAP_APPFONT ( 12 , 80 ) ; 1101 Size = MAP_APPFONT ( 32 , 8 ) ; 1102 Text [ en-US ] = "~Border" ; 1103 }; 1104 MetricField MTR_BORDER 1105 { 1106 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_BORDER"; 1107 Border = TRUE ; 1108 Pos = MAP_APPFONT ( 49 , 78 ) ; 1109 Size = MAP_APPFONT ( 40, 12 ) ; 1110 TabStop = TRUE ; 1111 Repeat = TRUE ; 1112 Spin = TRUE ; 1113 Maximum = 100 ; 1114 StrictFormat = TRUE ; 1115 Unit = FUNIT_CUSTOM ; 1116 CustomUnitText = "%" ; 1117 Last = 100 ; 1118 SpinSize = 5 ; 1119 }; 1120 FixedText FT_COLOR_FROM 1121 { 1122 Pos = MAP_APPFONT ( 12 , 99 ) ; 1123 Size = MAP_APPFONT ( 32 , 8 ) ; 1124 Text [ en-US ] = "~From" ; 1125 }; 1126 ListBox LB_COLOR_FROM 1127 { 1128 HelpID = "cui:ListBox:RID_SVXPAGE_GRADIENT:LB_COLOR_FROM"; 1129 Border = TRUE ; 1130 Pos = MAP_APPFONT ( 49 , 97 ) ; 1131 Size = MAP_APPFONT ( 48, 100 ) ; 1132 TabStop = TRUE ; 1133 DropDown = TRUE ; 1134 DDExtraWidth = TRUE ; 1135 }; 1136 MetricField MTR_COLOR_FROM 1137 { 1138 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_COLOR_FROM"; 1139 Border = TRUE ; 1140 Pos = MAP_APPFONT ( 49 , 113 ) ; 1141 Size = MAP_APPFONT ( 40, 12 ) ; 1142 TabStop = TRUE ; 1143 Repeat = TRUE ; 1144 Spin = TRUE ; 1145 Maximum = 100 ; 1146 StrictFormat = TRUE ; 1147 Unit = FUNIT_CUSTOM ; 1148 CustomUnitText = "%" ; 1149 Last = 100 ; 1150 SpinSize = 5 ; 1151 }; 1152 FixedText FT_COLOR_TO 1153 { 1154 Pos = MAP_APPFONT ( 12 , 133 ) ; 1155 Size = MAP_APPFONT ( 32 , 8 ) ; 1156 Text [ en-US ] = "~To" ; 1157 }; 1158 ListBox LB_COLOR_TO 1159 { 1160 HelpID = "cui:ListBox:RID_SVXPAGE_GRADIENT:LB_COLOR_TO"; 1161 Border = TRUE ; 1162 Pos = MAP_APPFONT ( 49 , 131 ) ; 1163 Size = MAP_APPFONT ( 48, 100 ) ; 1164 TabStop = TRUE ; 1165 DropDown = TRUE ; 1166 DDExtraWidth = TRUE ; 1167 }; 1168 MetricField MTR_COLOR_TO 1169 { 1170 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_COLOR_TO"; 1171 Border = TRUE ; 1172 Pos = MAP_APPFONT ( 49 , 147 ) ; 1173 Size = MAP_APPFONT ( 40, 12 ) ; 1174 TabStop = TRUE ; 1175 Repeat = TRUE ; 1176 Spin = TRUE ; 1177 Maximum = 100 ; 1178 StrictFormat = TRUE ; 1179 Unit = FUNIT_CUSTOM ; 1180 CustomUnitText = "%" ; 1181 Last = 100 ; 1182 SpinSize = 5 ; 1183 }; 1184 ListBox LB_GRADIENTS 1185 { 1186 HelpID = "cui:ListBox:RID_SVXPAGE_GRADIENT:LB_GRADIENTS"; 1187 Border = TRUE ; 1188 Pos = MAP_APPFONT ( 103 , 14 ) ; 1189 Size = MAP_APPFONT ( 88 , 110 ) ; 1190 TabStop = TRUE ; 1191 }; 1192 Control CTL_PREVIEW 1193 { 1194 Border = TRUE; 1195 Pos = MAP_APPFONT ( 103 , 131 ) ; 1196 Size = MAP_APPFONT ( 88 , 42 ) ; 1197 }; 1198 PushButton BTN_ADD 1199 { 1200 HelpID = "cui:PushButton:RID_SVXPAGE_GRADIENT:BTN_ADD"; 1201 Pos = MAP_APPFONT ( 197 , 14 ) ; 1202 Size = MAP_APPFONT ( 50 , 14 ) ; 1203 Text [ en-US ] = "~Add..." ; 1204 TabStop = TRUE ; 1205 }; 1206 PushButton BTN_MODIFY 1207 { 1208 HelpID = "cui:PushButton:RID_SVXPAGE_GRADIENT:BTN_MODIFY"; 1209 Pos = MAP_APPFONT ( 197 , 32 ) ; 1210 Size = MAP_APPFONT ( 50 , 14 ) ; 1211 Text [ en-US ] = "~Modify..." ; 1212 TabStop = TRUE ; 1213 }; 1214 PushButton BTN_DELETE 1215 { 1216 HelpID = "cui:PushButton:RID_SVXPAGE_GRADIENT:BTN_DELETE"; 1217 Pos = MAP_APPFONT ( 197 , 68 ) ; 1218 Size = MAP_APPFONT ( 50 , 14 ) ; 1219 Text [ en-US ] = "~Delete..." ; 1220 TabStop = TRUE ; 1221 }; 1222 ImageButton BTN_LOAD 1223 { 1224 HelpID = "cui:ImageButton:RID_SVXPAGE_GRADIENT:BTN_LOAD"; 1225 Pos = MAP_APPFONT ( 197 , 104 ) ; 1226 Size = MAP_APPFONT ( 16 , 16 ) ; 1227 TabStop = TRUE ; 1228 QuickHelpText [ en-US ] = "Load Gradients List" ; 1229 ButtonImage = Image 1230 { 1231 ImageBitmap = Bitmap 1232 { 1233 File = "sc05501.bmp" ; 1234 }; 1235 MASKCOLOR 1236 }; 1237 }; 1238 ImageButton BTN_SAVE 1239 { 1240 HelpID = "cui:ImageButton:RID_SVXPAGE_GRADIENT:BTN_SAVE"; 1241 Pos = MAP_APPFONT ( 197 , 124 ) ; 1242 Size = MAP_APPFONT ( 16 , 16 ) ; 1243 TabStop = TRUE ; 1244 QuickHelpText [ en-US ] = "Save Gradients List" ; 1245 ButtonImage = Image 1246 { 1247 ImageBitmap = Bitmap 1248 { 1249 File = "sc05502.bmp" ; 1250 }; 1251 MASKCOLOR 1252 }; 1253 }; 1254}; 1255 // RID_SVXPAGE_COLOR -------------------------------------------------------- 1256TabPage RID_SVXPAGE_COLOR 1257{ 1258 HelpId = HID_OPTIONS_COLOR ; 1259 Hide = TRUE ; 1260 Text [ en-US ] = "Colors" ; 1261 SVLook = TRUE ; 1262 Size = MAP_APPFONT ( 260 , 185 ) ; 1263 FixedLine FL_PROP 1264 { 1265 Pos = MAP_APPFONT ( 6 , 3 ) ; 1266 Size = MAP_APPFONT ( 248, 8 ) ; 1267 Text [ en-US ] = "Properties"; 1268 }; 1269 FixedText FT_NAME 1270 { 1271 Pos = MAP_APPFONT ( 12 , 16 ) ; 1272 Size = MAP_APPFONT ( 28 , 8 ) ; 1273 Text [ en-US ] = "~Name" ; 1274 }; 1275 Edit EDT_NAME 1276 { 1277 HelpID = "cui:Edit:RID_SVXPAGE_COLOR:EDT_NAME"; 1278 Border = TRUE ; 1279 Pos = MAP_APPFONT ( 42 , 14 ) ; 1280 Size = MAP_APPFONT ( 76 , 12 ) ; 1281 TabStop = TRUE ; 1282 }; 1283 FixedText FT_COLOR 1284 { 1285 Pos = MAP_APPFONT ( 12 , 32 ) ; 1286 Size = MAP_APPFONT ( 28 , 8 ) ; 1287 Text [ en-US ] = "C~olor" ; 1288 }; 1289 ListBox LB_COLOR 1290 { 1291 HelpID = "cui:ListBox:RID_SVXPAGE_COLOR:LB_COLOR"; 1292 Border = TRUE ; 1293 Pos = MAP_APPFONT ( 42 , 30 ) ; 1294 Size = MAP_APPFONT ( 76 , 100 ) ; 1295 TabStop = TRUE ; 1296 DropDown = TRUE ; 1297 DDExtraWidth = TRUE ; 1298 }; 1299 1300 FixedText FT_TABLE_NAME 1301 { 1302 Pos = MAP_APPFONT ( 42 , 48 ) ; 1303 Size = MAP_APPFONT ( 94 , 8 ) ; 1304 Text [ en-US ] = "Color table" ; 1305 }; 1306 Control CTL_COLORTABLE 1307 { 1308 Border = TRUE ; 1309 Hide = TRUE ; 1310 Pos = MAP_APPFONT ( 42 , 59 ) ; 1311 Size = MAP_APPFONT ( 94 , 117 ) ; 1312 TabStop = TRUE ; 1313 }; 1314 1315 Control CTL_PREVIEW_OLD 1316 { 1317 Border = TRUE; 1318 Pos = MAP_APPFONT ( 157 , 14 ) ; 1319 Size = MAP_APPFONT ( 34 , 25 ) ; 1320 Text [ en-US ] = "Old Color" ; 1321 }; 1322 Control CTL_PREVIEW_NEW 1323 { 1324 Border = TRUE; 1325 Pos = MAP_APPFONT ( 157, 39 ) ; 1326 Size = MAP_APPFONT ( 34 , 25 ) ; 1327 Text [ en-US ] = "New Color" ; 1328 }; 1329 ListBox LB_COLORMODEL 1330 { 1331 HelpID = "cui:ListBox:RID_SVXPAGE_COLOR:LB_COLORMODEL"; 1332 Border = TRUE ; 1333 Pos = MAP_APPFONT ( 157 , 71 ) ; 1334 Size = MAP_APPFONT ( 34 , 12 ) ; 1335 TabStop = TRUE ; 1336 DropDown = TRUE ; 1337 StringList [ en-US ] = 1338 { 1339 < "RGB" ; Default ; > ; 1340 < "CMYK" ; Default ; > ; 1341 }; 1342 }; 1343 FixedText FT_1 1344 { 1345 Pos = MAP_APPFONT ( 142 , 89 ) ; 1346 Size = MAP_APPFONT ( 15 , 8 ) ; 1347 Text = "~C" ; 1348 }; 1349 MetricField MTR_FLD_1 1350 { 1351 HelpID = "cui:MetricField:RID_SVXPAGE_COLOR:MTR_FLD_1"; 1352 Border = TRUE ; 1353 Pos = MAP_APPFONT ( 157 , 87 ) ; 1354 Size = MAP_APPFONT ( 30 , 12 ) ; 1355 TabStop = TRUE ; 1356 Repeat = TRUE ; 1357 Spin = TRUE ; 1358 Maximum = 100 ; 1359 Unit = FUNIT_CUSTOM ; 1360 CustomUnitText = "%" ; 1361 Last = 100 ; 1362 }; 1363 FixedText FT_2 1364 { 1365 Pos = MAP_APPFONT ( 142 , 105 ) ; 1366 Size = MAP_APPFONT ( 15 , 8 ) ; 1367 Text = "~M" ; 1368 }; 1369 MetricField MTR_FLD_2 1370 { 1371 HelpID = "cui:MetricField:RID_SVXPAGE_COLOR:MTR_FLD_2"; 1372 Border = TRUE ; 1373 Pos = MAP_APPFONT ( 157 , 103 ) ; 1374 Size = MAP_APPFONT ( 30 , 12 ) ; 1375 TabStop = TRUE ; 1376 Repeat = TRUE ; 1377 Spin = TRUE ; 1378 Maximum = 100 ; 1379 Unit = FUNIT_CUSTOM ; 1380 CustomUnitText = "%" ; 1381 Last = 100 ; 1382 }; 1383 FixedText FT_3 1384 { 1385 Pos = MAP_APPFONT ( 142 , 121 ) ; 1386 Size = MAP_APPFONT ( 15 , 8 ) ; 1387 Text = "~Y" ; 1388 }; 1389 MetricField MTR_FLD_3 1390 { 1391 HelpID = "cui:MetricField:RID_SVXPAGE_COLOR:MTR_FLD_3"; 1392 Border = TRUE ; 1393 Pos = MAP_APPFONT ( 157 , 119 ) ; 1394 Size = MAP_APPFONT ( 30 , 12 ) ; 1395 TabStop = TRUE ; 1396 Repeat = TRUE ; 1397 Spin = TRUE ; 1398 Maximum = 100 ; 1399 Unit = FUNIT_CUSTOM ; 1400 CustomUnitText = "%" ; 1401 Last = 100 ; 1402 }; 1403 FixedText FT_4 1404 { 1405 Pos = MAP_APPFONT ( 142 , 137 ) ; 1406 Size = MAP_APPFONT ( 15 , 8 ) ; 1407 Text = "~K" ; 1408 }; 1409 MetricField MTR_FLD_4 1410 { 1411 HelpID = "cui:MetricField:RID_SVXPAGE_COLOR:MTR_FLD_4"; 1412 Border = TRUE ; 1413 Pos = MAP_APPFONT ( 157 , 135 ) ; 1414 Size = MAP_APPFONT ( 30 , 12 ) ; 1415 TabStop = TRUE ; 1416 Repeat = TRUE ; 1417 Spin = TRUE ; 1418 Maximum = 100 ; 1419 Unit = FUNIT_CUSTOM ; 1420 CustomUnitText = "%" ; 1421 Last = 100 ; 1422 }; 1423 PushButton BTN_ADD 1424 { 1425 HelpID = "cui:PushButton:RID_SVXPAGE_COLOR:BTN_ADD"; 1426 Pos = MAP_APPFONT ( 197 , 14 ) ; 1427 Size = MAP_APPFONT ( 50 , 14 ) ; 1428 Text [ en-US ] = "~Add" ; 1429 TabStop = TRUE ; 1430 }; 1431 PushButton BTN_WORK_ON 1432 { 1433 HelpID = "cui:PushButton:RID_SVXPAGE_COLOR:BTN_WORK_ON"; 1434 Pos = MAP_APPFONT ( 197 , 50 ) ; 1435 Size = MAP_APPFONT ( 50 , 14 ) ; 1436 Text [ en-US ] = "~Edit..." ; 1437 TabStop = TRUE ; 1438 }; 1439 PushButton BTN_DELETE 1440 { 1441 HelpID = "cui:PushButton:RID_SVXPAGE_COLOR:BTN_DELETE"; 1442 Pos = MAP_APPFONT ( 197 , 68 ) ; 1443 Size = MAP_APPFONT ( 50 , 14 ) ; 1444 Text [ en-US ] = "~Delete..." ; 1445 TabStop = TRUE ; 1446 }; 1447 PushButton BTN_MODIFY 1448 { 1449 HelpID = "cui:PushButton:RID_SVXPAGE_COLOR:BTN_MODIFY"; 1450 Pos = MAP_APPFONT ( 197, 32 ) ; 1451 Size = MAP_APPFONT ( 50 , 14 ) ; 1452 Text [ en-US ] = "~Modify" ; 1453 TabStop = TRUE ; 1454 }; 1455 ImageButton BTN_LOAD 1456 { 1457 HelpID = "cui:ImageButton:RID_SVXPAGE_COLOR:BTN_LOAD"; 1458 Pos = MAP_APPFONT ( 197 , 104 ) ; 1459 Size = MAP_APPFONT ( 16 , 16 ) ; 1460 TabStop = TRUE ; 1461 QuickHelpText [ en-US ] = "Load Color List" ; 1462 ButtonImage = Image 1463 { 1464 ImageBitmap = Bitmap 1465 { 1466 File = "sc05501.bmp" ; 1467 }; 1468 MASKCOLOR 1469 }; 1470 }; 1471 ImageButton BTN_SAVE 1472 { 1473 HelpID = "cui:ImageButton:RID_SVXPAGE_COLOR:BTN_SAVE"; 1474 Pos = MAP_APPFONT ( 197 , 124 ) ; 1475 Size = MAP_APPFONT ( 16 , 16 ) ; 1476 TabStop = TRUE ; 1477 QuickHelpText [ en-US ] = "Save Color List" ; 1478 ButtonImage = Image 1479 { 1480 ImageBitmap = Bitmap 1481 { 1482 File = "sc05502.bmp" ; 1483 }; 1484 MASKCOLOR 1485 }; 1486 }; 1487}; 1488 // RID_SVXDLG_AREA ---------------------------------------------------------- 1489TabDialog RID_SVXDLG_AREA 1490{ 1491 OutputSize = TRUE ; 1492 SVLook = TRUE ; 1493 Size = MAP_APPFONT ( 289 , 176 ) ; 1494 Text [ en-US ] = "Area" ; 1495 Moveable = TRUE ; 1496 TabControl 1 1497 { 1498 OutputSize = TRUE ; 1499 Pos = MAP_APPFONT ( 3 , 3 ) ; 1500 PageList = 1501 { 1502 PageItem 1503 { 1504 Identifier = RID_SVXPAGE_AREA ; 1505 Text [ en-US ] = "Area" ; 1506 PageResID = RID_SVXPAGE_AREA ; 1507 }; 1508 PageItem 1509 { 1510 Identifier = RID_SVXPAGE_SHADOW ; 1511 PageResID = RID_SVXPAGE_SHADOW ; 1512 Text [ en-US ] = "Shadow" ; 1513 }; 1514 PageItem 1515 { 1516 Identifier = RID_SVXPAGE_TRANSPARENCE ; 1517 Text [ en-US ] = "Transparency"; 1518 }; 1519 PageItem 1520 { 1521 Identifier = RID_SVXPAGE_COLOR ; 1522 Text [ en-US ] = "Colors" ; 1523 PageResID = RID_SVXPAGE_COLOR ; 1524 }; 1525 PageItem 1526 { 1527 Identifier = RID_SVXPAGE_GRADIENT ; 1528 Text [ en-US ] = "Gradients" ; 1529 PageResID = RID_SVXPAGE_GRADIENT ; 1530 }; 1531 PageItem 1532 { 1533 Identifier = RID_SVXPAGE_HATCH ; 1534 Text [ en-US ] = "Hatching" ; 1535 PageResID = RID_SVXPAGE_HATCH ; 1536 }; 1537 PageItem 1538 { 1539 Identifier = RID_SVXPAGE_BITMAP ; 1540 Text [ en-US ] = "Bitmaps" ; 1541 PageResID = RID_SVXPAGE_BITMAP ; 1542 }; 1543 }; 1544 }; 1545}; 1546 1547Image RID_SVXIMG_LOAD_H 1548{ 1549 ImageBitmap = Bitmap 1550 { 1551 File = "sch05501.bmp" ; 1552 }; 1553 MASKCOLOR 1554}; 1555 1556Image RID_SVXIMG_SAVE_H 1557{ 1558 ImageBitmap = Bitmap 1559 { 1560 File = "sch05502.bmp" ; 1561 }; 1562 MASKCOLOR 1563}; 1564 1565String STR_LB_HATCHINGSTYLE 1566{ 1567 Text [ en-US ] = "Hatching Style" ; 1568}; 1569 1570String STR_CUI_COLORMODEL 1571{ 1572 Text [ en-US ] = "Color Mode" ; 1573}; 1574 1575