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 //UUUU 575 PushButton BTN_IMPORTOPTIONAL 576 { 577 HelpID = "cui:PushButton:MD_ICONSELECTOR:BTN_IMPORTOPTIONAL"; 578 Pos = MAP_APPFONT ( 132 + 12, 157 + 6 ) ; 579 Size = MAP_APPFONT ( 100 , 14 ) ; 580 TabStop = TRUE ; 581 Text[ en-US ] = "Import Graphic..."; 582 }; 583}; 584 // RID_SVXPAGE_SHADOW ------------------------------------------------------ 585TabPage RID_SVXPAGE_SHADOW 586{ 587 HelpID = HID_AREA_SHADOW ; 588 Hide = TRUE ; 589 Size = MAP_APPFONT ( 260 , 185 ) ; 590 Text [ en-US ] = "Shadow" ; 591 FixedLine FL_PROP 592 { 593 Pos = MAP_APPFONT ( 6 , 3 ) ; 594 Size = MAP_APPFONT ( 248, 8 ) ; 595 Text [ en-US ] = "Properties"; 596 }; 597 TriStateBox TSB_SHOW_SHADOW 598 { 599 HelpID = "cui:TriStateBox:RID_SVXPAGE_SHADOW:TSB_SHOW_SHADOW"; 600 Pos = MAP_APPFONT ( 12 , 14 ) ; 601 Size = MAP_APPFONT ( 110 , 10 ) ; 602 TabStop = TRUE ; 603 Text [ en-US ] = "~Use shadow"; 604 }; 605 FixedText FT_POSITION 606 { 607 Pos = MAP_APPFONT ( 12 , 33 ) ; 608 Size = MAP_APPFONT ( 50 , 10 ) ; 609 Text [ en-US ] = "~Position"; 610 }; 611 Control CTL_POSITION 612 { 613 HelpId = HID_TPSHADOW_CTRL ; 614 Pos = MAP_APPFONT ( 65 , 31 ) ; 615 Size = MAP_APPFONT ( 57 , 29 ) ; 616 Border = TRUE ; 617 TabStop = TRUE ; 618 }; 619 FixedText FT_DISTANCE 620 { 621 Pos = MAP_APPFONT ( 12 , 69 ) ; 622 Size = MAP_APPFONT ( 50 , 8 ) ; 623 Text [ en-US ] = "~Distance"; 624 }; 625 MetricField MTR_FLD_DISTANCE 626 { 627 HelpID = "cui:MetricField:RID_SVXPAGE_SHADOW:MTR_FLD_DISTANCE"; 628 Pos = MAP_APPFONT ( 65 , 67 ) ; 629 Size = MAP_APPFONT ( 47 , 12 ) ; 630 Border = TRUE ; 631 TabStop = TRUE ; 632 Repeat = TRUE ; 633 Spin = TRUE ; 634 Maximum = 99999 ; 635 Minimum = 0 ; // #i33700# 636 StrictFormat = TRUE ; 637 DecimalDigits = 2 ; 638 Unit = FUNIT_MM ; 639 Last = 99999 ; 640 /*SpinSize = 100 ; */ 641 SpinSize = 1 ; 642 }; 643 ListBox LB_SHADOW_COLOR 644 { 645 HelpID = "cui:ListBox:RID_SVXPAGE_SHADOW:LB_SHADOW_COLOR"; 646 Pos = MAP_APPFONT ( 65 , 86 ) ; 647 Size = MAP_APPFONT ( 57 , 100 ) ; 648 DropDown = TRUE ; 649 DDExtraWidth = TRUE ; 650 Border = TRUE ; 651 TabStop = TRUE ; 652 }; 653 FixedText FT_SHADOW_COLOR 654 { 655 Pos = MAP_APPFONT ( 12 , 88 ) ; 656 Size = MAP_APPFONT ( 50 , 8 ) ; 657 Text [ en-US ] = "~Color" ; 658 }; 659 FixedText FT_TRANSPARENT 660 { 661 Pos = MAP_APPFONT ( 12 , 107 ) ; 662 Size = MAP_APPFONT ( 50 , 8 ) ; 663 Text [ en-US ] = "~Transparency"; 664 }; 665 MetricField MTR_SHADOW_TRANSPARENT 666 { 667 HelpID = "cui:MetricField:RID_SVXPAGE_SHADOW:MTR_SHADOW_TRANSPARENT"; 668 Border = TRUE ; 669 Pos = MAP_APPFONT ( 65 , 105 ) ; 670 Size = MAP_APPFONT ( 47 , 12 ) ; 671 TabStop = TRUE ; 672 Repeat = TRUE ; 673 Spin = TRUE ; 674 Maximum = 100 ; 675 StrictFormat = TRUE ; 676 Unit = FUNIT_CUSTOM ; 677 CustomUnitText = "%" ; 678 Last = 100 ; 679 SpinSize = 5 ; 680 }; 681 Control CTL_COLOR_PREVIEW 682 { 683 Border = TRUE; 684 Pos = MAP_APPFONT ( 138 , 14 ) ; 685 Size = MAP_APPFONT ( 110 , 42 ) ; 686 TabStop = FALSE ; 687 }; 688}; 689 // RID_SVXPAGE_HATCH -------------------------------------------------------- 690TabPage RID_SVXPAGE_HATCH 691{ 692 HelpID = HID_AREA_HATCH ; 693 Hide = TRUE ; 694 Text [ en-US ] = "Hatching" ; 695 Size = MAP_APPFONT ( 260 , 185 ) ; 696 FixedLine FL_PROP 697 { 698 Pos = MAP_APPFONT ( 6 , 3 ) ; 699 Size = MAP_APPFONT ( 248, 8 ) ; 700 Text [ en-US ] = "Properties"; 701 }; 702 FixedText FT_LINE_DISTANCE 703 { 704 Pos = MAP_APPFONT ( 12 , 14 ) ; 705 Size = MAP_APPFONT ( 78 , 8 ) ; 706 Text [ en-US ] = "~Spacing" ; 707 }; 708 MetricField MTR_FLD_DISTANCE 709 { 710 HelpID = "cui:MetricField:RID_SVXPAGE_HATCH:MTR_FLD_DISTANCE"; 711 Border = TRUE ; 712 Pos = MAP_APPFONT ( 12 , 25 ) ; 713 Size = MAP_APPFONT ( 50 , 12 ) ; 714 TabStop = TRUE ; 715 Repeat = TRUE ; 716 Spin = TRUE ; 717 Minimum = 30 ; 718 Maximum = 9999 ; 719 DecimalDigits = 2 ; 720 Unit = FUNIT_MM ; 721 First = 30 ; 722 Last = 9999 ; 723 SpinSize = 100 ; 724 }; 725 FixedText FT_LINE_ANGLE 726 { 727 Pos = MAP_APPFONT ( 12 , 41 ) ; 728 Size = MAP_APPFONT ( 78 , 8 ) ; 729 Text [ en-US ] = "A~ngle" ; 730 }; 731 MetricField MTR_FLD_ANGLE 732 { 733 HelpID = "cui:MetricField:RID_SVXPAGE_HATCH:MTR_FLD_ANGLE"; 734 Border = TRUE ; 735 Pos = MAP_APPFONT ( 12 , 52 ) ; 736 Size = MAP_APPFONT ( 50 , 12 ) ; 737 TabStop = TRUE ; 738 Repeat = TRUE ; 739 Spin = TRUE ; 740 Maximum = 359 ; 741 Unit = FUNIT_CUSTOM ; 742 CustomUnitText [ en-US ] = " degrees" ; 743 Last = 359 ; 744 SpinSize = 15 ; 745 }; 746 Control CTL_ANGLE 747 { 748 HelpId = HID_TPHATCH_CTRL ; 749 Border = TRUE ; 750 Pos = MAP_APPFONT ( 12 , 72 ) ; 751 Size = MAP_APPFONT ( 39 , 39 ) ; 752 TabStop = TRUE ; 753 }; 754 FixedText FT_LINE_TYPE 755 { 756 Pos = MAP_APPFONT ( 12 , 123 ) ; 757 Size = MAP_APPFONT ( 50 , 8 ) ; 758 Text [ en-US ] = "~Line type" ; 759 }; 760 ListBox LB_LINE_TYPE 761 { 762 HelpID = "cui:ListBox:RID_SVXPAGE_HATCH:LB_LINE_TYPE"; 763 Border = TRUE ; 764 Pos = MAP_APPFONT ( 12 , 134 ) ; 765 Size = MAP_APPFONT ( 62 , 62 ) ; 766 TabStop = TRUE ; 767 DropDown = TRUE ; 768 StringList [ en-US ] = 769 { 770 < "Single" ; Default ; > ; 771 < "Crossed" ; Default ; > ; 772 < "Triple" ; Default ; > ; 773 }; 774 }; 775 FixedText FT_LINE_COLOR 776 { 777 Pos = MAP_APPFONT ( 12 , 150 ) ; 778 Size = MAP_APPFONT ( 49 , 8 ) ; 779 Text [ en-US ] = "Line ~color" ; 780 }; 781 ListBox LB_LINE_COLOR 782 { 783 HelpID = "cui:ListBox:RID_SVXPAGE_HATCH:LB_LINE_COLOR"; 784 Border = TRUE ; 785 Pos = MAP_APPFONT ( 12 , 161 ) ; 786 Size = MAP_APPFONT ( 62 , 100 ) ; 787 TabStop = TRUE ; 788 DropDown = TRUE ; 789 DDExtraWidth = TRUE ; 790 }; 791 ListBox LB_HATCHINGS 792 { 793 HelpID = "cui:ListBox:RID_SVXPAGE_HATCH:LB_HATCHINGS"; 794 Border = TRUE ; 795 Pos = MAP_APPFONT ( 103 , 14 ) ; 796 Size = MAP_APPFONT ( 88 , 110 ) ; 797 TabStop = TRUE ; 798 }; 799 Control CTL_PREVIEW 800 { 801 Border = TRUE ; 802 Pos = MAP_APPFONT ( 103 , 131 ) ; 803 Size = MAP_APPFONT ( 88 , 42 ) ; 804 }; 805 PushButton BTN_ADD 806 { 807 HelpID = "cui:PushButton:RID_SVXPAGE_HATCH:BTN_ADD"; 808 Pos = MAP_APPFONT ( 197 , 14 ) ; 809 Size = MAP_APPFONT ( 50 , 14 ) ; 810 Text [ en-US ] = "~Add..." ; 811 TabStop = TRUE ; 812 }; 813 PushButton BTN_MODIFY 814 { 815 HelpID = "cui:PushButton:RID_SVXPAGE_HATCH:BTN_MODIFY"; 816 Pos = MAP_APPFONT ( 197 , 32 ) ; 817 Size = MAP_APPFONT ( 50 , 14 ) ; 818 Text [ en-US ] = "~Modify..." ; 819 TabStop = TRUE ; 820 }; 821 PushButton BTN_DELETE 822 { 823 HelpID = "cui:PushButton:RID_SVXPAGE_HATCH:BTN_DELETE"; 824 Pos = MAP_APPFONT ( 197 , 68 ) ; 825 Size = MAP_APPFONT ( 50 , 14 ) ; 826 Text [ en-US ] = "~Delete..." ; 827 TabStop = TRUE ; 828 }; 829 ImageButton BTN_LOAD 830 { 831 HelpID = "cui:ImageButton:RID_SVXPAGE_HATCH:BTN_LOAD"; 832 Pos = MAP_APPFONT ( 197 , 104 ) ; 833 Size = MAP_APPFONT ( 16 , 16 ) ; 834 TabStop = TRUE ; 835 QuickHelpText [ en-US ] = "Load Hatches List" ; 836 ButtonImage = Image 837 { 838 ImageBitmap = Bitmap 839 { 840 File = "sc05501.bmp" ; 841 }; 842 MASKCOLOR 843 }; 844 }; 845 ImageButton BTN_SAVE 846 { 847 HelpID = "cui:ImageButton:RID_SVXPAGE_HATCH:BTN_SAVE"; 848 Pos = MAP_APPFONT ( 197 , 124 ) ; 849 Size = MAP_APPFONT ( 16 , 16 ) ; 850 TabStop = TRUE ; 851 QuickHelpText [ en-US ] = "Save Hatches List" ; 852 ButtonImage = Image 853 { 854 ImageBitmap = Bitmap 855 { 856 File = "sc05502.bmp" ; 857 }; 858 MASKCOLOR 859 }; 860 }; 861}; 862 // RID_SVXPAGE_BITMAP ------------------------------------------------------- 863TabPage RID_SVXPAGE_BITMAP 864{ 865 HelpID = HID_AREA_BITMAP ; 866 Hide = TRUE ; 867 Text [ en-US ] = "Bitmap Patterns" ; 868 Size = MAP_APPFONT ( 260 , 185 ) ; 869 FixedLine FL_PROP 870 { 871 Pos = MAP_APPFONT ( 6 , 3 ) ; 872 Size = MAP_APPFONT ( 248, 8 ) ; 873 Text [ en-US ] = "Properties"; 874 }; 875 FixedText FT_PIXEL_EDIT 876 { 877 Pos = MAP_APPFONT ( 12 , 14 ) ; 878 Size = MAP_APPFONT ( 85 , 8 ) ; 879 Text [ en-US ] = "Pattern Editor"; 880 }; 881 Control CTL_PIXEL 882 { 883 Border = TRUE ; 884 Pos = MAP_APPFONT ( 12 , 25 ) ; 885 Size = MAP_APPFONT ( 72 , 72 ) ; 886 TabStop = TRUE ; 887 Text [ en-US ] = "Pattern Editor"; 888 }; 889 FixedText FT_COLOR 890 { 891 Pos = MAP_APPFONT ( 12 , 104 ) ; 892 Size = MAP_APPFONT ( 85 , 8 ) ; 893 Text [ en-US ] = "~Foreground color"; 894 }; 895 ListBox LB_COLOR 896 { 897 HelpID = "cui:ListBox:RID_SVXPAGE_BITMAP:LB_COLOR"; 898 Border = TRUE ; 899 Pos = MAP_APPFONT ( 12 , 115 ) ; 900 Size = MAP_APPFONT ( 62 , 100 ) ; 901 TabStop = TRUE ; 902 DropDown = TRUE ; 903 DDExtraWidth = TRUE ; 904 }; 905 FixedText FT_BACKGROUND_COLOR 906 { 907 Pos = MAP_APPFONT ( 12 , 131 ) ; 908 Size = MAP_APPFONT ( 85 , 8 ) ; 909 Text [ en-US ] = "~Background color"; 910 }; 911 ListBox LB_BACKGROUND_COLOR 912 { 913 HelpID = "cui:ListBox:RID_SVXPAGE_BITMAP:LB_BACKGROUND_COLOR"; 914 Border = TRUE ; 915 Pos = MAP_APPFONT ( 12 , 142 ) ; 916 Size = MAP_APPFONT ( 62 , 100 ) ; 917 TabStop = TRUE ; 918 DropDown = TRUE ; 919 DDExtraWidth = TRUE ; 920 }; 921 FixedText FT_BITMAPS_HIDDEN 922 { 923 // Hidden label that provides the name for the bitmaps list box. 924 Text [ en-US ] = "Bitmap"; 925 }; 926 ListBox LB_BITMAPS 927 { 928 HelpID = "cui:ListBox:RID_SVXPAGE_BITMAP:LB_BITMAPS"; 929 Border = TRUE ; 930 Pos = MAP_APPFONT ( 103 , 14 ) ; 931 Size = MAP_APPFONT ( 88 , 110 ) ; 932 TabStop = TRUE ; 933 }; 934 Control CTL_PREVIEW 935 { 936 Border = TRUE ; 937 Pos = MAP_APPFONT ( 103 , 131 ) ; 938 Size = MAP_APPFONT ( 88 , 42 ) ; 939 }; 940 PushButton BTN_ADD 941 { 942 HelpID = "cui:PushButton:RID_SVXPAGE_BITMAP:BTN_ADD"; 943 Pos = MAP_APPFONT ( 197 , 14 ) ; 944 Size = MAP_APPFONT ( 50 , 14 ) ; 945 Text [ en-US ] = "~Add..." ; 946 TabStop = TRUE ; 947 }; 948 PushButton BTN_MODIFY 949 { 950 HelpID = "cui:PushButton:RID_SVXPAGE_BITMAP:BTN_MODIFY"; 951 Pos = MAP_APPFONT ( 197 , 32 ) ; 952 Size = MAP_APPFONT ( 50 , 14 ) ; 953 Text [ en-US ] = "~Modify..." ; 954 TabStop = TRUE ; 955 }; 956 PushButton BTN_IMPORT 957 { 958 HelpID = "cui:PushButton:RID_SVXPAGE_BITMAP:BTN_IMPORT"; 959 Pos = MAP_APPFONT ( 197 , 50 ) ; 960 Size = MAP_APPFONT ( 50 , 14 ) ; 961 Text [ en-US ] = "~Import..." ; 962 TabStop = TRUE ; 963 }; 964 PushButton BTN_DELETE 965 { 966 HelpID = "cui:PushButton:RID_SVXPAGE_BITMAP:BTN_DELETE"; 967 Pos = MAP_APPFONT ( 197 , 68 ) ; 968 Size = MAP_APPFONT ( 50 , 14 ) ; 969 Text [ en-US ] = "~Delete..." ; 970 TabStop = TRUE ; 971 }; 972 ImageButton BTN_LOAD 973 { 974 HelpID = "cui:ImageButton:RID_SVXPAGE_BITMAP:BTN_LOAD"; 975 Pos = MAP_APPFONT ( 197 , 104 ) ; 976 Size = MAP_APPFONT ( 16 , 16 ) ; 977 TabStop = TRUE ; 978 QuickHelpText [ en-US ] = "Load Bitmap List" ; 979 ButtonImage = Image 980 { 981 ImageBitmap = Bitmap 982 { 983 File = "sc05501.bmp" ; 984 }; 985 MASKCOLOR 986 }; 987 }; 988 ImageButton BTN_SAVE 989 { 990 HelpID = "cui:ImageButton:RID_SVXPAGE_BITMAP:BTN_SAVE"; 991 Pos = MAP_APPFONT ( 197 , 124 ) ; 992 Size = MAP_APPFONT ( 16 , 16 ) ; 993 TabStop = TRUE ; 994 QuickHelpText [ en-US ] = "Save Bitmap List" ; 995 ButtonImage = Image 996 { 997 ImageBitmap = Bitmap 998 { 999 File = "sc05502.bmp" ; 1000 }; 1001 MASKCOLOR 1002 }; 1003 }; 1004}; 1005 // RID_SVXPAGE_GRADIENT ----------------------------------------------------- 1006TabPage RID_SVXPAGE_GRADIENT 1007{ 1008 HelpID = HID_AREA_GRADIENT ; 1009 Hide = TRUE ; 1010 Text [ en-US ] = "Gradients" ; 1011 Size = MAP_APPFONT ( 260 , 185 ) ; 1012 FixedLine FL_PROP 1013 { 1014 Pos = MAP_APPFONT ( 6 , 3 ) ; 1015 Size = MAP_APPFONT ( 248, 8 ) ; 1016 Text [ en-US ] = "Properties"; 1017 }; 1018 FixedText FT_TYPE 1019 { 1020 Pos = MAP_APPFONT ( 12 , 16 ) ; 1021 Size = MAP_APPFONT ( 26 , 8 ) ; 1022 Text [ en-US ] = "Ty~pe" ; 1023 }; 1024 ListBox LB_GRADIENT_TYPES 1025 { 1026 HelpID = "cui:ListBox:RID_SVXPAGE_GRADIENT:LB_GRADIENT_TYPES"; 1027 Border = TRUE ; 1028 Pos = MAP_APPFONT ( 49 , 14 ) ; 1029 Size = MAP_APPFONT ( 48, 63 ) ; 1030 TabStop = TRUE ; 1031 DropDown = TRUE ; 1032 StringList [ en-US ] = 1033 { 1034 < "Linear" ; Default ; > ; 1035 < "Axial" ; Default ; > ; 1036 < "Radial" ; Default ; > ; 1037 < "Ellipsoid" ; Default ; > ; 1038 < "Square" ; Default ; > ; 1039 < "Rectangular" ; Default ; > ; 1040 }; 1041 }; 1042 FixedText FT_CENTER_X 1043 { 1044 Pos = MAP_APPFONT ( 12 , 32 ) ; 1045 Size = MAP_APPFONT ( 37 , 8 ) ; 1046 Text [ en-US ] = "Center ~X" ; 1047 }; 1048 MetricField MTR_CENTER_X 1049 { 1050 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_CENTER_X"; 1051 Border = TRUE ; 1052 Pos = MAP_APPFONT ( 49 , 30 ) ; 1053 Size = MAP_APPFONT ( 40 , 12 ) ; 1054 TabStop = TRUE ; 1055 Repeat = TRUE ; 1056 Spin = TRUE ; 1057 Maximum = 100 ; 1058 StrictFormat = TRUE ; 1059 Unit = FUNIT_CUSTOM ; 1060 CustomUnitText = "%" ; 1061 Last = 100 ; 1062 SpinSize = 5 ; 1063 }; 1064 FixedText FT_CENTER_Y 1065 { 1066 Pos = MAP_APPFONT ( 12 , 48 ) ; 1067 Size = MAP_APPFONT ( 37 , 8 ) ; 1068 Text [ en-US ] = "Center ~Y" ; 1069 }; 1070 MetricField MTR_CENTER_Y 1071 { 1072 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_CENTER_Y"; 1073 Border = TRUE ; 1074 Pos = MAP_APPFONT ( 49 , 46 ) ; 1075 Size = MAP_APPFONT ( 40, 12 ) ; 1076 TabStop = TRUE ; 1077 Repeat = TRUE ; 1078 Spin = TRUE ; 1079 Maximum = 100 ; 1080 StrictFormat = TRUE ; 1081 Unit = FUNIT_CUSTOM ; 1082 CustomUnitText = "%" ; 1083 Last = 100 ; 1084 SpinSize = 5 ; 1085 }; 1086 FixedText FT_ANGLE 1087 { 1088 Pos = MAP_APPFONT ( 12 , 64 ) ; 1089 Size = MAP_APPFONT ( 37 , 8 ) ; 1090 Text [ en-US ] = "A~ngle" ; 1091 }; 1092 MetricField MTR_ANGLE 1093 { 1094 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_ANGLE"; 1095 Border = TRUE ; 1096 Pos = MAP_APPFONT ( 49 , 62 ) ; 1097 Size = MAP_APPFONT ( 40, 12 ) ; 1098 TabStop = TRUE ; 1099 Repeat = TRUE ; 1100 Spin = TRUE ; 1101 Maximum = 359 ; 1102 Unit = FUNIT_CUSTOM ; 1103 CustomUnitText [ en-US ] = " degrees" ; 1104 Last = 359 ; 1105 SpinSize = 15 ; 1106 }; 1107 FixedText FT_BORDER 1108 { 1109 Pos = MAP_APPFONT ( 12 , 80 ) ; 1110 Size = MAP_APPFONT ( 32 , 8 ) ; 1111 Text [ en-US ] = "~Border" ; 1112 }; 1113 MetricField MTR_BORDER 1114 { 1115 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_BORDER"; 1116 Border = TRUE ; 1117 Pos = MAP_APPFONT ( 49 , 78 ) ; 1118 Size = MAP_APPFONT ( 40, 12 ) ; 1119 TabStop = TRUE ; 1120 Repeat = TRUE ; 1121 Spin = TRUE ; 1122 Maximum = 100 ; 1123 StrictFormat = TRUE ; 1124 Unit = FUNIT_CUSTOM ; 1125 CustomUnitText = "%" ; 1126 Last = 100 ; 1127 SpinSize = 5 ; 1128 }; 1129 FixedText FT_COLOR_FROM 1130 { 1131 Pos = MAP_APPFONT ( 12 , 99 ) ; 1132 Size = MAP_APPFONT ( 32 , 8 ) ; 1133 Text [ en-US ] = "~From" ; 1134 }; 1135 ListBox LB_COLOR_FROM 1136 { 1137 HelpID = "cui:ListBox:RID_SVXPAGE_GRADIENT:LB_COLOR_FROM"; 1138 Border = TRUE ; 1139 Pos = MAP_APPFONT ( 49 , 97 ) ; 1140 Size = MAP_APPFONT ( 48, 100 ) ; 1141 TabStop = TRUE ; 1142 DropDown = TRUE ; 1143 DDExtraWidth = TRUE ; 1144 }; 1145 MetricField MTR_COLOR_FROM 1146 { 1147 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_COLOR_FROM"; 1148 Border = TRUE ; 1149 Pos = MAP_APPFONT ( 49 , 113 ) ; 1150 Size = MAP_APPFONT ( 40, 12 ) ; 1151 TabStop = TRUE ; 1152 Repeat = TRUE ; 1153 Spin = TRUE ; 1154 Maximum = 100 ; 1155 StrictFormat = TRUE ; 1156 Unit = FUNIT_CUSTOM ; 1157 CustomUnitText = "%" ; 1158 Last = 100 ; 1159 SpinSize = 5 ; 1160 }; 1161 FixedText FT_COLOR_TO 1162 { 1163 Pos = MAP_APPFONT ( 12 , 133 ) ; 1164 Size = MAP_APPFONT ( 32 , 8 ) ; 1165 Text [ en-US ] = "~To" ; 1166 }; 1167 ListBox LB_COLOR_TO 1168 { 1169 HelpID = "cui:ListBox:RID_SVXPAGE_GRADIENT:LB_COLOR_TO"; 1170 Border = TRUE ; 1171 Pos = MAP_APPFONT ( 49 , 131 ) ; 1172 Size = MAP_APPFONT ( 48, 100 ) ; 1173 TabStop = TRUE ; 1174 DropDown = TRUE ; 1175 DDExtraWidth = TRUE ; 1176 }; 1177 MetricField MTR_COLOR_TO 1178 { 1179 HelpID = "cui:MetricField:RID_SVXPAGE_GRADIENT:MTR_COLOR_TO"; 1180 Border = TRUE ; 1181 Pos = MAP_APPFONT ( 49 , 147 ) ; 1182 Size = MAP_APPFONT ( 40, 12 ) ; 1183 TabStop = TRUE ; 1184 Repeat = TRUE ; 1185 Spin = TRUE ; 1186 Maximum = 100 ; 1187 StrictFormat = TRUE ; 1188 Unit = FUNIT_CUSTOM ; 1189 CustomUnitText = "%" ; 1190 Last = 100 ; 1191 SpinSize = 5 ; 1192 }; 1193 ListBox LB_GRADIENTS 1194 { 1195 HelpID = "cui:ListBox:RID_SVXPAGE_GRADIENT:LB_GRADIENTS"; 1196 Border = TRUE ; 1197 Pos = MAP_APPFONT ( 103 , 14 ) ; 1198 Size = MAP_APPFONT ( 88 , 110 ) ; 1199 TabStop = TRUE ; 1200 }; 1201 Control CTL_PREVIEW 1202 { 1203 Border = TRUE; 1204 Pos = MAP_APPFONT ( 103 , 131 ) ; 1205 Size = MAP_APPFONT ( 88 , 42 ) ; 1206 }; 1207 PushButton BTN_ADD 1208 { 1209 HelpID = "cui:PushButton:RID_SVXPAGE_GRADIENT:BTN_ADD"; 1210 Pos = MAP_APPFONT ( 197 , 14 ) ; 1211 Size = MAP_APPFONT ( 50 , 14 ) ; 1212 Text [ en-US ] = "~Add..." ; 1213 TabStop = TRUE ; 1214 }; 1215 PushButton BTN_MODIFY 1216 { 1217 HelpID = "cui:PushButton:RID_SVXPAGE_GRADIENT:BTN_MODIFY"; 1218 Pos = MAP_APPFONT ( 197 , 32 ) ; 1219 Size = MAP_APPFONT ( 50 , 14 ) ; 1220 Text [ en-US ] = "~Modify..." ; 1221 TabStop = TRUE ; 1222 }; 1223 PushButton BTN_DELETE 1224 { 1225 HelpID = "cui:PushButton:RID_SVXPAGE_GRADIENT:BTN_DELETE"; 1226 Pos = MAP_APPFONT ( 197 , 68 ) ; 1227 Size = MAP_APPFONT ( 50 , 14 ) ; 1228 Text [ en-US ] = "~Delete..." ; 1229 TabStop = TRUE ; 1230 }; 1231 ImageButton BTN_LOAD 1232 { 1233 HelpID = "cui:ImageButton:RID_SVXPAGE_GRADIENT:BTN_LOAD"; 1234 Pos = MAP_APPFONT ( 197 , 104 ) ; 1235 Size = MAP_APPFONT ( 16 , 16 ) ; 1236 TabStop = TRUE ; 1237 QuickHelpText [ en-US ] = "Load Gradients List" ; 1238 ButtonImage = Image 1239 { 1240 ImageBitmap = Bitmap 1241 { 1242 File = "sc05501.bmp" ; 1243 }; 1244 MASKCOLOR 1245 }; 1246 }; 1247 ImageButton BTN_SAVE 1248 { 1249 HelpID = "cui:ImageButton:RID_SVXPAGE_GRADIENT:BTN_SAVE"; 1250 Pos = MAP_APPFONT ( 197 , 124 ) ; 1251 Size = MAP_APPFONT ( 16 , 16 ) ; 1252 TabStop = TRUE ; 1253 QuickHelpText [ en-US ] = "Save Gradients List" ; 1254 ButtonImage = Image 1255 { 1256 ImageBitmap = Bitmap 1257 { 1258 File = "sc05502.bmp" ; 1259 }; 1260 MASKCOLOR 1261 }; 1262 }; 1263}; 1264 // RID_SVXPAGE_COLOR -------------------------------------------------------- 1265TabPage RID_SVXPAGE_COLOR 1266{ 1267 HelpId = HID_OPTIONS_COLOR ; 1268 Hide = TRUE ; 1269 Text [ en-US ] = "Colors" ; 1270 SVLook = TRUE ; 1271 Size = MAP_APPFONT ( 260 , 185 ) ; 1272 FixedLine FL_PROP 1273 { 1274 Pos = MAP_APPFONT ( 6 , 3 ) ; 1275 Size = MAP_APPFONT ( 248, 8 ) ; 1276 Text [ en-US ] = "Properties"; 1277 }; 1278 FixedText FT_NAME 1279 { 1280 Pos = MAP_APPFONT ( 12 , 16 ) ; 1281 Size = MAP_APPFONT ( 28 , 8 ) ; 1282 Text [ en-US ] = "~Name" ; 1283 }; 1284 Edit EDT_NAME 1285 { 1286 HelpID = "cui:Edit:RID_SVXPAGE_COLOR:EDT_NAME"; 1287 Border = TRUE ; 1288 Pos = MAP_APPFONT ( 42 , 14 ) ; 1289 Size = MAP_APPFONT ( 76 , 12 ) ; 1290 TabStop = TRUE ; 1291 }; 1292 FixedText FT_COLOR 1293 { 1294 Pos = MAP_APPFONT ( 12 , 32 ) ; 1295 Size = MAP_APPFONT ( 28 , 8 ) ; 1296 Text [ en-US ] = "C~olor" ; 1297 }; 1298 ListBox LB_COLOR 1299 { 1300 HelpID = "cui:ListBox:RID_SVXPAGE_COLOR:LB_COLOR"; 1301 Border = TRUE ; 1302 Pos = MAP_APPFONT ( 42 , 30 ) ; 1303 Size = MAP_APPFONT ( 76 , 100 ) ; 1304 TabStop = TRUE ; 1305 DropDown = TRUE ; 1306 DDExtraWidth = TRUE ; 1307 }; 1308 1309 FixedText FT_TABLE_NAME 1310 { 1311 Pos = MAP_APPFONT ( 42 , 48 ) ; 1312 Size = MAP_APPFONT ( 94 , 8 ) ; 1313 Text [ en-US ] = "Color table" ; 1314 }; 1315 Control CTL_COLORTABLE 1316 { 1317 Border = TRUE ; 1318 Hide = TRUE ; 1319 Pos = MAP_APPFONT ( 42 , 59 ) ; 1320 Size = MAP_APPFONT ( 94 , 117 ) ; 1321 TabStop = TRUE ; 1322 }; 1323 1324 Control CTL_PREVIEW_OLD 1325 { 1326 Border = TRUE; 1327 Pos = MAP_APPFONT ( 157 , 14 ) ; 1328 Size = MAP_APPFONT ( 34 , 25 ) ; 1329 Text [ en-US ] = "Old Color" ; 1330 }; 1331 Control CTL_PREVIEW_NEW 1332 { 1333 Border = TRUE; 1334 Pos = MAP_APPFONT ( 157, 39 ) ; 1335 Size = MAP_APPFONT ( 34 , 25 ) ; 1336 Text [ en-US ] = "New Color" ; 1337 }; 1338 ListBox LB_COLORMODEL 1339 { 1340 HelpID = "cui:ListBox:RID_SVXPAGE_COLOR:LB_COLORMODEL"; 1341 Border = TRUE ; 1342 Pos = MAP_APPFONT ( 157 , 71 ) ; 1343 Size = MAP_APPFONT ( 34 , 12 ) ; 1344 TabStop = TRUE ; 1345 DropDown = TRUE ; 1346 StringList [ en-US ] = 1347 { 1348 < "RGB" ; Default ; > ; 1349 < "CMYK" ; Default ; > ; 1350 }; 1351 }; 1352 FixedText FT_1 1353 { 1354 Pos = MAP_APPFONT ( 142 , 89 ) ; 1355 Size = MAP_APPFONT ( 15 , 8 ) ; 1356 Text = "~C" ; 1357 }; 1358 MetricField MTR_FLD_1 1359 { 1360 HelpID = "cui:MetricField:RID_SVXPAGE_COLOR:MTR_FLD_1"; 1361 Border = TRUE ; 1362 Pos = MAP_APPFONT ( 157 , 87 ) ; 1363 Size = MAP_APPFONT ( 30 , 12 ) ; 1364 TabStop = TRUE ; 1365 Repeat = TRUE ; 1366 Spin = TRUE ; 1367 Maximum = 100 ; 1368 Unit = FUNIT_CUSTOM ; 1369 CustomUnitText = "%" ; 1370 Last = 100 ; 1371 }; 1372 FixedText FT_2 1373 { 1374 Pos = MAP_APPFONT ( 142 , 105 ) ; 1375 Size = MAP_APPFONT ( 15 , 8 ) ; 1376 Text = "~M" ; 1377 }; 1378 MetricField MTR_FLD_2 1379 { 1380 HelpID = "cui:MetricField:RID_SVXPAGE_COLOR:MTR_FLD_2"; 1381 Border = TRUE ; 1382 Pos = MAP_APPFONT ( 157 , 103 ) ; 1383 Size = MAP_APPFONT ( 30 , 12 ) ; 1384 TabStop = TRUE ; 1385 Repeat = TRUE ; 1386 Spin = TRUE ; 1387 Maximum = 100 ; 1388 Unit = FUNIT_CUSTOM ; 1389 CustomUnitText = "%" ; 1390 Last = 100 ; 1391 }; 1392 FixedText FT_3 1393 { 1394 Pos = MAP_APPFONT ( 142 , 121 ) ; 1395 Size = MAP_APPFONT ( 15 , 8 ) ; 1396 Text = "~Y" ; 1397 }; 1398 MetricField MTR_FLD_3 1399 { 1400 HelpID = "cui:MetricField:RID_SVXPAGE_COLOR:MTR_FLD_3"; 1401 Border = TRUE ; 1402 Pos = MAP_APPFONT ( 157 , 119 ) ; 1403 Size = MAP_APPFONT ( 30 , 12 ) ; 1404 TabStop = TRUE ; 1405 Repeat = TRUE ; 1406 Spin = TRUE ; 1407 Maximum = 100 ; 1408 Unit = FUNIT_CUSTOM ; 1409 CustomUnitText = "%" ; 1410 Last = 100 ; 1411 }; 1412 FixedText FT_4 1413 { 1414 Pos = MAP_APPFONT ( 142 , 137 ) ; 1415 Size = MAP_APPFONT ( 15 , 8 ) ; 1416 Text = "~K" ; 1417 }; 1418 MetricField MTR_FLD_4 1419 { 1420 HelpID = "cui:MetricField:RID_SVXPAGE_COLOR:MTR_FLD_4"; 1421 Border = TRUE ; 1422 Pos = MAP_APPFONT ( 157 , 135 ) ; 1423 Size = MAP_APPFONT ( 30 , 12 ) ; 1424 TabStop = TRUE ; 1425 Repeat = TRUE ; 1426 Spin = TRUE ; 1427 Maximum = 100 ; 1428 Unit = FUNIT_CUSTOM ; 1429 CustomUnitText = "%" ; 1430 Last = 100 ; 1431 }; 1432 PushButton BTN_ADD 1433 { 1434 HelpID = "cui:PushButton:RID_SVXPAGE_COLOR:BTN_ADD"; 1435 Pos = MAP_APPFONT ( 197 , 14 ) ; 1436 Size = MAP_APPFONT ( 50 , 14 ) ; 1437 Text [ en-US ] = "~Add" ; 1438 TabStop = TRUE ; 1439 }; 1440 PushButton BTN_WORK_ON 1441 { 1442 HelpID = "cui:PushButton:RID_SVXPAGE_COLOR:BTN_WORK_ON"; 1443 Pos = MAP_APPFONT ( 197 , 50 ) ; 1444 Size = MAP_APPFONT ( 50 , 14 ) ; 1445 Text [ en-US ] = "~Edit..." ; 1446 TabStop = TRUE ; 1447 }; 1448 PushButton BTN_DELETE 1449 { 1450 HelpID = "cui:PushButton:RID_SVXPAGE_COLOR:BTN_DELETE"; 1451 Pos = MAP_APPFONT ( 197 , 68 ) ; 1452 Size = MAP_APPFONT ( 50 , 14 ) ; 1453 Text [ en-US ] = "~Delete..." ; 1454 TabStop = TRUE ; 1455 }; 1456 PushButton BTN_MODIFY 1457 { 1458 HelpID = "cui:PushButton:RID_SVXPAGE_COLOR:BTN_MODIFY"; 1459 Pos = MAP_APPFONT ( 197, 32 ) ; 1460 Size = MAP_APPFONT ( 50 , 14 ) ; 1461 Text [ en-US ] = "~Modify" ; 1462 TabStop = TRUE ; 1463 }; 1464 ImageButton BTN_LOAD 1465 { 1466 HelpID = "cui:ImageButton:RID_SVXPAGE_COLOR:BTN_LOAD"; 1467 Pos = MAP_APPFONT ( 197 , 104 ) ; 1468 Size = MAP_APPFONT ( 16 , 16 ) ; 1469 TabStop = TRUE ; 1470 QuickHelpText [ en-US ] = "Load Color List" ; 1471 ButtonImage = Image 1472 { 1473 ImageBitmap = Bitmap 1474 { 1475 File = "sc05501.bmp" ; 1476 }; 1477 MASKCOLOR 1478 }; 1479 }; 1480 ImageButton BTN_SAVE 1481 { 1482 HelpID = "cui:ImageButton:RID_SVXPAGE_COLOR:BTN_SAVE"; 1483 Pos = MAP_APPFONT ( 197 , 124 ) ; 1484 Size = MAP_APPFONT ( 16 , 16 ) ; 1485 TabStop = TRUE ; 1486 QuickHelpText [ en-US ] = "Save Color List" ; 1487 ButtonImage = Image 1488 { 1489 ImageBitmap = Bitmap 1490 { 1491 File = "sc05502.bmp" ; 1492 }; 1493 MASKCOLOR 1494 }; 1495 }; 1496}; 1497 // RID_SVXDLG_AREA ---------------------------------------------------------- 1498TabDialog RID_SVXDLG_AREA 1499{ 1500 OutputSize = TRUE ; 1501 SVLook = TRUE ; 1502 Size = MAP_APPFONT ( 289 , 176 ) ; 1503 Text [ en-US ] = "Area" ; 1504 Moveable = TRUE ; 1505 TabControl 1 1506 { 1507 OutputSize = TRUE ; 1508 Pos = MAP_APPFONT ( 3 , 3 ) ; 1509 PageList = 1510 { 1511 PageItem 1512 { 1513 Identifier = RID_SVXPAGE_AREA ; 1514 Text [ en-US ] = "Area" ; 1515 PageResID = RID_SVXPAGE_AREA ; 1516 }; 1517 PageItem 1518 { 1519 Identifier = RID_SVXPAGE_SHADOW ; 1520 PageResID = RID_SVXPAGE_SHADOW ; 1521 Text [ en-US ] = "Shadow" ; 1522 }; 1523 PageItem 1524 { 1525 Identifier = RID_SVXPAGE_TRANSPARENCE ; 1526 Text [ en-US ] = "Transparency"; 1527 }; 1528 PageItem 1529 { 1530 Identifier = RID_SVXPAGE_COLOR ; 1531 Text [ en-US ] = "Colors" ; 1532 PageResID = RID_SVXPAGE_COLOR ; 1533 }; 1534 PageItem 1535 { 1536 Identifier = RID_SVXPAGE_GRADIENT ; 1537 Text [ en-US ] = "Gradients" ; 1538 PageResID = RID_SVXPAGE_GRADIENT ; 1539 }; 1540 PageItem 1541 { 1542 Identifier = RID_SVXPAGE_HATCH ; 1543 Text [ en-US ] = "Hatching" ; 1544 PageResID = RID_SVXPAGE_HATCH ; 1545 }; 1546 PageItem 1547 { 1548 Identifier = RID_SVXPAGE_BITMAP ; 1549 Text [ en-US ] = "Bitmaps" ; 1550 PageResID = RID_SVXPAGE_BITMAP ; 1551 }; 1552 }; 1553 }; 1554}; 1555 1556Image RID_SVXIMG_LOAD_H 1557{ 1558 ImageBitmap = Bitmap 1559 { 1560 File = "sch05501.bmp" ; 1561 }; 1562 MASKCOLOR 1563}; 1564 1565Image RID_SVXIMG_SAVE_H 1566{ 1567 ImageBitmap = Bitmap 1568 { 1569 File = "sch05502.bmp" ; 1570 }; 1571 MASKCOLOR 1572}; 1573 1574String STR_LB_HATCHINGSTYLE 1575{ 1576 Text [ en-US ] = "Hatching Style" ; 1577}; 1578 1579String STR_CUI_COLORMODEL 1580{ 1581 Text [ en-US ] = "Color Mode" ; 1582}; 1583 1584