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