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#include "LinePropertyPanel.hrc" 23#include <sfx2/sidebar/propertypanel.hrc> 24#include <svx/dialogs.hrc> 25#include "helpid.hrc" 26 27#define TOOLBOX_WIDTH 50 28#define TOOLBOX_HEIGHT 14 29 30Control RID_SIDEBAR_LINE_PANEL 31{ 32 OutputSize = TRUE; 33 DialogControl = TRUE; 34 Border = FALSE; 35 Text = "Line"; 36 37 Size = MAP_APPFONT( 38 PROPERTYPAGE_WIDTH, 39 SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*4 + TEXT_CONTROL_SPACING_VERTICAL*4 + TOOLBOX_HEIGHT*3 + CONTROL_SPACING_VERTICAL*3 + CBOX_HEIGHT + SECTIONPAGE_MARGIN_VERTICAL_BOT ); 40 HelpID = HID_PROPERTYPANEL_LINE_SECTION ; 41 42 FixedText FT_WIDTH 43 { 44 Pos = MAP_APPFONT( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP ) ; 45 Size = MAP_APPFONT (TOOLBOX_WIDTH , TEXT_HEIGHT ) ; 46 Text [ en-US ] = "~Width:" ; 47 }; 48 ToolBox TB_WIDTH 49 { 50 SVLook = TRUE ; 51 Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ; 52 Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ; 53 TabStop = TRUE ; 54 HelpID = HID_PPROPERTYPANEL_LINE_TBX_WIDTH ; 55 Text = "Width"; 56 ItemList = 57 { 58 ToolBoxItem 59 { 60 Identifier = TBI_WIDTH ; 61 DropDown = TRUE ; 62 Text [ en-US ] = "Width" ; 63 HelpID = HID_PPROPERTYPANEL_LINE_TBI_WIDTH; 64 }; 65 }; 66 }; 67 String STR_QH_TB_WIDTH 68 { 69 Text [ en-US ] = "Select the width of the line."; 70 }; 71 72 FixedText FT_COLOR 73 { 74 Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3, SECTIONPAGE_MARGIN_VERTICAL_TOP ) ; 75 Size = MAP_APPFONT (TOOLBOX_WIDTH , TEXT_HEIGHT ) ; 76 Text [ en-US ] = "~Color:" ; 77 }; 78 ToolBox TB_COLOR 79 { 80 SVLook = TRUE ; 81 Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 4, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ; 82 Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ; 83 TabStop = TRUE ; 84 HelpID = HID_PPROPERTYPANEL_LINE_TBX_COLOR; 85 Text = "Color"; 86 ItemList = 87 { 88 ToolBoxItem 89 { 90 Identifier = TBI_COLOR ; 91 DropDown = TRUE ; 92 Text [ en-US ] = "Color" ; 93 HelpID = HID_PPROPERTYPANEL_LINE_TBI_COLOR; 94 }; 95 }; 96 }; 97 String STR_QH_TB_COLOR 98 { 99 Text [ en-US ] = "Select the color of the line."; 100 }; 101 102 FixedText FT_STYLE 103 { 104 Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + TOOLBOX_HEIGHT + CONTROL_SPACING_VERTICAL) ; 105 Size = MAP_APPFONT (TOOLBOX_WIDTH , TEXT_HEIGHT ) ; 106 Text [ en-US ] = "~Style:" ; 107 }; 108 ToolBox TB_STYLE 109 { 110 SVLook = TRUE ; 111 Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*2 + TEXT_CONTROL_SPACING_VERTICAL*2 + TOOLBOX_HEIGHT + CONTROL_SPACING_VERTICAL) ; 112 Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ; 113 TabStop = TRUE ; 114 HelpID = HID_PPROPERTYPANEL_LINE_TBX_STYLE; 115 Text = "Style"; 116 ItemList = 117 { 118 ToolBoxItem 119 { 120 Identifier = TBI_STYLE ; 121 DropDown = TRUE ; 122 Text [ en-US ] = "Style" ; 123 HelpID = HID_PPROPERTYPANEL_LINE_TBI_STYLE; 124 }; 125 }; 126 }; 127 String STR_QH_TB_STYLE 128 { 129 Text [ en-US ] = "Select the style of the line."; 130 }; 131 132 FixedText FT_TRANSPARENT 133 { 134 Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3 , SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + TOOLBOX_HEIGHT + CONTROL_SPACING_VERTICAL) ; 135 Size = MAP_APPFONT (TOOLBOX_WIDTH , TEXT_HEIGHT ) ; 136 Text [ en-US ] = "~Transparency:" ; 137 }; 138 MetricField MF_TRANSPARENT 139 { 140 Border = TRUE ; 141 HelpID = HID_PPROPERTYPANEL_LINE_MTR_TRANCEPARENCE; 142 Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3 , SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*2 + TEXT_CONTROL_SPACING_VERTICAL*2 + TOOLBOX_HEIGHT + CONTROL_SPACING_VERTICAL) ; 143 Size = MAP_APPFONT ( TOOLBOX_WIDTH + 1 , 12 ) ; 144 TabStop = TRUE ; 145 Repeat = TRUE ; 146 Spin = TRUE ; 147 Maximum = 100 ; 148 StrictFormat = TRUE ; 149 Unit = FUNIT_CUSTOM ; 150 CustomUnitText = "%" ; 151 Last = 100 ; 152 SpinSize = 5 ; 153 QuickHelpText [ en-US ] = "Specify the transparency of the line."; 154 }; 155 156 FixedText FT_ARROW 157 { 158 Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*2 + TEXT_CONTROL_SPACING_VERTICAL*2 + TOOLBOX_HEIGHT*2 + CONTROL_SPACING_VERTICAL*2) ; 159 Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3 , TEXT_HEIGHT ) ; 160 Text [ en-US ] = "~Arrow:" ; 161 }; 162 ListBox LB_START 163 { 164 Border = TRUE ; 165 HelpID = HID_PPROPERTYPANEL_LINE_LB_START; 166 Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*3 + TEXT_CONTROL_SPACING_VERTICAL*3 + TOOLBOX_HEIGHT*2 + CONTROL_SPACING_VERTICAL*2 ) ; 167 Size = MAP_APPFONT ( TOOLBOX_WIDTH , 99 ) ; 168 TabStop = TRUE ; 169 DropDown = TRUE ; 170 DDExtraWidth = TRUE ; 171 QuickHelpText [ en-US ] = "Select the style of the beginning arrowhead."; 172 }; 173 ListBox LB_END 174 { 175 Border = TRUE ; 176 HelpID = HID_PPROPERTYPANEL_LINE_LB_END; 177 Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3 , SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*3 + TEXT_CONTROL_SPACING_VERTICAL*3 + TOOLBOX_HEIGHT*2 + CONTROL_SPACING_VERTICAL*2 ) ; 178 Size = MAP_APPFONT ( TOOLBOX_WIDTH + 1, 100 ) ; 179 TabStop = TRUE ; 180 DropDown = TRUE ; 181 DDExtraWidth = TRUE ; 182 QuickHelpText [ en-US ] = "Select the style of the ending arrowhead."; 183 }; 184 185 FixedText FT_EDGESTYLE 186 { 187 Pos = MAP_APPFONT ( 188 SECTIONPAGE_MARGIN_HORIZONTAL, 189 SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*3 + TEXT_CONTROL_SPACING_VERTICAL*3 + TOOLBOX_HEIGHT*3 + CONTROL_SPACING_VERTICAL*3) ; 190 Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3 , TEXT_HEIGHT ) ; 191 Text [ en-US ] = "~Corner style" ; 192 }; 193 ListBox LB_EDGESTYLE 194 { 195 HelpID = HID_PPROPERTYPANEL_LINE_LB_EDGESTYLE; 196 Border = TRUE ; 197 Pos = MAP_APPFONT ( 198 SECTIONPAGE_MARGIN_HORIZONTAL , 199 SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*4 + TEXT_CONTROL_SPACING_VERTICAL*4 + TOOLBOX_HEIGHT*3 + CONTROL_SPACING_VERTICAL*3 ) ; 200 Size = MAP_APPFONT ( TOOLBOX_WIDTH , 99 ) ; 201 TabStop = TRUE ; 202 DropDown = TRUE ; 203 DDExtraWidth = TRUE ; 204 QuickHelpText [ en-US ] = "Select the style of the edge connections."; 205 StringList [ en-US ] = 206 { 207 < "Rounded" ; Default ; > ; 208 < "- none -" ; > ; 209 < "Mitered" ; > ; 210 < "Beveled" ; > ; 211 }; 212 }; 213 FixedText FT_CAPSTYLE 214 { 215 Pos = MAP_APPFONT ( 216 SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3, 217 SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*3 + TEXT_CONTROL_SPACING_VERTICAL*3 + TOOLBOX_HEIGHT*3 + CONTROL_SPACING_VERTICAL*3) ; 218 Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3 , TEXT_HEIGHT ) ; 219 Text [ en-US ] = "Ca~p style" ; 220 }; 221 ListBox LB_CAPSTYLE 222 { 223 HelpID = HID_PPROPERTYPANEL_LINE_LB_CAPSTYLE; 224 Border = TRUE ; 225 Pos = MAP_APPFONT ( 226 SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3, 227 SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*4 + TEXT_CONTROL_SPACING_VERTICAL*4 + TOOLBOX_HEIGHT*3 + CONTROL_SPACING_VERTICAL*3 ) ; 228 Size = MAP_APPFONT ( TOOLBOX_WIDTH , 99 ) ; 229 TabStop = TRUE ; 230 DropDown = TRUE ; 231 DDExtraWidth = TRUE ; 232 QuickHelpText [ en-US ] = "Select the style of the line caps."; 233 StringList [ en-US ] = 234 { 235 < "Flat" ; Default ; > ; // Same string as in Excel 236 < "Round" ; > ; 237 < "Square" ; > ; 238 }; 239 }; 240 241 Image IMG_COLOR 242 { 243 ImageBitmap = Bitmap{File = "symphony/Line_color.png";}; 244 }; 245 Image IMG_COLOR_NO 246 { 247 ImageBitmap = Bitmap{File = "symphony/no color.png";}; 248 }; 249 250 Image IMG_LINE1_ICON 251 { 252 ImageBitmap = Bitmap{File = "symphony/style_line1_s.png";}; 253 }; 254 Image IMG_LINE2_ICON 255 { 256 ImageBitmap = Bitmap{File = "symphony/style_line2_s.png";}; 257 }; 258 Image IMG_LINE3_ICON 259 { 260 ImageBitmap = Bitmap{File = "symphony/style_line3_s.png";}; 261 }; 262 Image IMG_LINE4_ICON 263 { 264 ImageBitmap = Bitmap{File = "symphony/style_line4_s.png";}; 265 }; 266 Image IMG_LINE5_ICON 267 { 268 ImageBitmap = Bitmap{File = "symphony/style_line5_s.png";}; 269 }; 270 Image IMG_LINE6_ICON 271 { 272 ImageBitmap = Bitmap{File = "symphony/style_line6_s.png";}; 273 }; 274 Image IMG_LINE7_ICON 275 { 276 ImageBitmap = Bitmap{File = "symphony/style_line7_s.png";}; 277 }; 278 Image IMG_LINE8_ICON 279 { 280 ImageBitmap = Bitmap{File = "symphony/style_line8_s.png";}; 281 }; 282 Image IMG_LINE9_ICON 283 { 284 ImageBitmap = Bitmap{File = "symphony/style_line9_s.png";}; 285 }; 286 Image IMG_LINE10_ICON 287 { 288 ImageBitmap = Bitmap{File = "symphony/style_line10_s.png";}; 289 }; 290 Image IMG_LINE11_ICON 291 { 292 ImageBitmap = Bitmap{File = "symphony/style_line11_s.png";}; 293 }; 294 Image IMG_NONE_ICON 295 { 296 ImageBitmap = Bitmap{File = "symphony/blank.png";}; 297 }; 298 299 //high contrast for line style icon 300 Image IMG_LINE1_ICON_H 301 { 302 ImageBitmap = Bitmap{File = "symphony/style_line1_s_h.png";}; 303 }; 304 Image IMG_LINE2_ICON_H 305 { 306 ImageBitmap = Bitmap{File = "symphony/style_line2_s_h.png";}; 307 }; 308 Image IMG_LINE3_ICON_H 309 { 310 ImageBitmap = Bitmap{File = "symphony/style_line3_s_h.png";}; 311 }; 312 Image IMG_LINE4_ICON_H 313 { 314 ImageBitmap = Bitmap{File = "symphony/style_line4_s_h.png";}; 315 }; 316 Image IMG_LINE5_ICON_H 317 { 318 ImageBitmap = Bitmap{File = "symphony/style_line5_s_h.png";}; 319 }; 320 Image IMG_LINE6_ICON_H 321 { 322 ImageBitmap = Bitmap{File = "symphony/style_line6_s_h.png";}; 323 }; 324 Image IMG_LINE7_ICON_H 325 { 326 ImageBitmap = Bitmap{File = "symphony/style_line7_s_h.png";}; 327 }; 328 Image IMG_LINE8_ICON_H 329 { 330 ImageBitmap = Bitmap{File = "symphony/style_line8_s_h.png";}; 331 }; 332 Image IMG_LINE9_ICON_H 333 { 334 ImageBitmap = Bitmap{File = "symphony/style_line9_s_h.png";}; 335 }; 336 Image IMG_LINE10_ICON_H 337 { 338 ImageBitmap = Bitmap{File = "symphony/style_line10_s_h.png";}; 339 }; 340 Image IMG_LINE11_ICON_H 341 { 342 ImageBitmap = Bitmap{File = "symphony/style_line11_s_h.png";}; 343 }; 344 345 //WIDTH ICON 346 Image IMG_WIDTH1_ICON 347 { 348 ImageBitmap = Bitmap{File = "symphony/width1.png";}; 349 }; 350 Image IMG_WIDTH2_ICON 351 { 352 ImageBitmap = Bitmap{File = "symphony/width2.png";}; 353 }; 354 Image IMG_WIDTH3_ICON 355 { 356 ImageBitmap = Bitmap{File = "symphony/width3.png";}; 357 }; 358 Image IMG_WIDTH4_ICON 359 { 360 ImageBitmap = Bitmap{File = "symphony/width4.png";}; 361 }; 362 Image IMG_WIDTH5_ICON 363 { 364 ImageBitmap = Bitmap{File = "symphony/width5.png";}; 365 }; 366 Image IMG_WIDTH6_ICON 367 { 368 ImageBitmap = Bitmap{File = "symphony/width6.png";}; 369 }; 370 Image IMG_WIDTH7_ICON 371 { 372 ImageBitmap = Bitmap{File = "symphony/width7.png";}; 373 }; 374 Image IMG_WIDTH8_ICON 375 { 376 ImageBitmap = Bitmap{File = "symphony/width8.png";}; 377 }; 378 379 //high contrast for line width 380 //WIDTH ICON 381 Image IMG_WIDTH1_ICON_H 382 { 383 ImageBitmap = Bitmap{File = "symphony/width1_h.png";}; 384 }; 385 Image IMG_WIDTH2_ICON_H 386 { 387 ImageBitmap = Bitmap{File = "symphony/width2_h.png";}; 388 }; 389 Image IMG_WIDTH3_ICON_H 390 { 391 ImageBitmap = Bitmap{File = "symphony/width3_h.png";}; 392 }; 393 Image IMG_WIDTH4_ICON_H 394 { 395 ImageBitmap = Bitmap{File = "symphony/width4_h.png";}; 396 }; 397 Image IMG_WIDTH5_ICON_H 398 { 399 ImageBitmap = Bitmap{File = "symphony/width5_h.png";}; 400 }; 401 Image IMG_WIDTH6_ICON_H 402 { 403 ImageBitmap = Bitmap{File = "symphony/width6_h.png";}; 404 }; 405 Image IMG_WIDTH7_ICON_H 406 { 407 ImageBitmap = Bitmap{File = "symphony/width7_h.png";}; 408 }; 409 Image IMG_WIDTH8_ICON_H 410 { 411 ImageBitmap = Bitmap{File = "symphony/width8_h.png";}; 412 }; 413}; 414Control RID_POPUPPANEL_LINEPAGE_COLOR 415{ 416 OutputSize = TRUE; 417 DialogControl = TRUE; 418 Border = FALSE; 419 Size = MAP_APPFONT( POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT ); 420 421 Control VS_COLOR 422 { 423 HelpId = HID_PPROPERTYPANEL_LINE_VS_COLOR ; 424 Hide = TRUE ; 425 Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y ); 426 Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2); 427 TabStop = TRUE ; 428 Text = "Color"; 429 }; 430 String STR_AUTOMATICE 431 { 432 Text [ en-US ] = "No Color"; 433 }; 434}; 435Control RID_POPUPPANEL_LINEPAGE_STYLE 436{ 437 OutputSize = TRUE; 438 DialogControl = TRUE; 439 Border = FALSE; 440 441 Size = MAP_APPFONT( 442 POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH , 443 13 + POPUP_BORDER_HEIGHT + POPUPPANEL_MARGIN_SMALL * 2 + POPUPPANEL_MARGIN_LARGE); 444 445 Control VS_STYLE 446 { 447 HelpId = HID_PPROPERTYPANEL_LINE_VS_STYLE ; 448 Hide = TRUE ; 449 Pos = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y ); 450 Size = MAP_APPFONT ( 93 , 13 * 12); 451 TabStop = TRUE ; 452 Text = "Style"; 453 }; 454 455 PushButton PB_OPTIONS 456 { 457 HelpId = HID_PPROPERTYPANEL_LINE_BTN_STYLE; 458 Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X , POPUPPANEL_MARGIN_SMALL * 2 + OFFSET_Y ); 459 Size = MAP_APPFONT ( 93 , 13 ); 460 TabStop = TRUE; 461 Text [ en-US ] = "~More Options..."; 462 }; 463 464 String STR_STYLE_NONE 465 { 466 Text [ en-US ] = "None"; 467 }; 468 String STR_STYLE_LINE1 469 { 470 Text [ en-US ] = "Continuous"; 471 }; 472 String STR_STYLE_LINE2 473 { 474 Text [ en-US ] = "Ultrafine dashed"; 475 }; 476 String STR_STYLE_LINE3 477 { 478 Text [ en-US ] = "Dashed (variable)"; 479 }; 480 String STR_STYLE_LINE4 481 { 482 Text [ en-US ] = "Fine dashed (variable)"; 483 }; 484 String STR_STYLE_LINE5 485 { 486 Text [ en-US ] = "Fine dashed"; 487 }; 488 String STR_STYLE_LINE6 489 { 490 Text [ en-US ] = "Fine dotted"; 491 }; 492 String STR_STYLE_LINE7 493 { 494 Text [ en-US ] = "Ultrafine dotted (variable)"; 495 }; 496 String STR_STYLE_LINE8 497 { 498 Text [ en-US ] = "3 dashes 3 dots (variable)"; 499 }; 500 String STR_STYLE_LINE9 501 { 502 Text [ en-US ] = "2 dots 1 dash"; 503 }; 504 String STR_STYLE_LINE10 505 { 506 Text [ en-US ] = "Ultrafine 2 dots 3 dashes"; 507 }; 508 String STR_STYLE_LINE11 509 { 510 Text [ en-US ] = "Line with fine dots"; 511 }; 512 513 Image IMG_LINE1 514 { 515 ImageBitmap = Bitmap{File = "symphony/style_line1.png";}; 516 }; 517 Image IMG_LINE1_S 518 { 519 ImageBitmap = Bitmap{File = "symphony/style_line1_h.png";}; 520 }; 521 Image IMG_LINE2 522 { 523 ImageBitmap = Bitmap{File = "symphony/style_line2.png";}; 524 }; 525 Image IMG_LINE2_S 526 { 527 ImageBitmap = Bitmap{File = "symphony/style_line2_h.png";}; 528 }; 529 Image IMG_LINE3 530 { 531 ImageBitmap = Bitmap{File = "symphony/style_line3.png";}; 532 }; 533 Image IMG_LINE3_S 534 { 535 ImageBitmap = Bitmap{File = "symphony/style_line3_h.png";}; 536 }; 537 Image IMG_LINE4 538 { 539 ImageBitmap = Bitmap{File = "symphony/style_line4.png";}; 540 }; 541 Image IMG_LINE4_S 542 { 543 ImageBitmap = Bitmap{File = "symphony/style_line4_h.png";}; 544 }; 545 Image IMG_LINE5 546 { 547 ImageBitmap = Bitmap{File = "symphony/style_line5.png";}; 548 }; 549 Image IMG_LINE5_S 550 { 551 ImageBitmap = Bitmap{File = "symphony/style_line5_h.png";}; 552 }; 553 Image IMG_LINE6 554 { 555 ImageBitmap = Bitmap{File = "symphony/style_line6.png";}; 556 }; 557 Image IMG_LINE6_S 558 { 559 ImageBitmap = Bitmap{File = "symphony/style_line6_h.png";}; 560 }; 561 Image IMG_LINE7 562 { 563 ImageBitmap = Bitmap{File = "symphony/style_line7.png";}; 564 }; 565 Image IMG_LINE7_S 566 { 567 ImageBitmap = Bitmap{File = "symphony/style_line7_h.png";}; 568 }; 569 Image IMG_LINE8 570 { 571 ImageBitmap = Bitmap{File = "symphony/style_line8.png";}; 572 }; 573 Image IMG_LINE8_S 574 { 575 ImageBitmap = Bitmap{File = "symphony/style_line8_h.png";}; 576 }; 577 Image IMG_LINE9 578 { 579 ImageBitmap = Bitmap{File = "symphony/style_line9.png";}; 580 }; 581 Image IMG_LINE9_S 582 { 583 ImageBitmap = Bitmap{File = "symphony/style_line9_h.png";}; 584 }; 585 Image IMG_LINE10 586 { 587 ImageBitmap = Bitmap{File = "symphony/style_line10.png";}; 588 }; 589 Image IMG_LINE10_S 590 { 591 ImageBitmap = Bitmap{File = "symphony/style_line10_h.png";}; 592 }; 593 Image IMG_LINE11 594 { 595 ImageBitmap = Bitmap{File = "symphony/style_line11.png";}; 596 }; 597 Image IMG_LINE11_S 598 { 599 ImageBitmap = Bitmap{File = "symphony/style_line11_h.png";}; 600 }; 601 602 //high contrast 603 Image IMG_LINE1_H 604 { 605 ImageBitmap = Bitmap{File = "symphony/style_line1_hh.png";}; 606 }; 607 Image IMG_LINE2_H 608 { 609 ImageBitmap = Bitmap{File = "symphony/style_line2_hh.png";}; 610 }; 611 Image IMG_LINE3_H 612 { 613 ImageBitmap = Bitmap{File = "symphony/style_line3_hh.png";}; 614 }; 615 Image IMG_LINE4_H 616 { 617 ImageBitmap = Bitmap{File = "symphony/style_line4_hh.png";}; 618 }; 619 Image IMG_LINE5_H 620 { 621 ImageBitmap = Bitmap{File = "symphony/style_line5_hh.png";}; 622 }; 623 Image IMG_LINE6_H 624 { 625 ImageBitmap = Bitmap{File = "symphony/style_line6_hh.png";}; 626 }; 627 Image IMG_LINE7_H 628 { 629 ImageBitmap = Bitmap{File = "symphony/style_line7_hh.png";}; 630 }; 631 Image IMG_LINE8_H 632 { 633 ImageBitmap = Bitmap{File = "symphony/style_line8_hh.png";}; 634 }; 635 Image IMG_LINE9_H 636 { 637 ImageBitmap = Bitmap{File = "symphony/style_line9_hh.png";}; 638 }; 639 Image IMG_LINE10_H 640 { 641 ImageBitmap = Bitmap{File = "symphony/style_line10_hh.png";}; 642 }; 643 Image IMG_LINE11_H 644 { 645 ImageBitmap = Bitmap{File = "symphony/style_line11_hh.png";}; 646 }; 647}; 648Control RID_POPUPPANEL_LINEPAGE_WIDTH 649{ 650 OutputSize = TRUE; 651 DialogControl = TRUE; 652 Border = FALSE; 653 654 Size = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + 80, POPUPPANEL_MARGIN_SMALL + POPUPPANEL_MARGIN_LARGE + POPUP_BORDER_WIDTH + 12 * 9 + POPUPPANEL_MARGIN_SMALL * 2 + TEXT_HEIGHT + (POPUPPANEL_MARGIN_LARGE * 2 + TEXT_HEIGHT + 12 + TEXT_CONTROL_SPACING_VERTICAL)); 655 656 Control VS_WIDTH 657 { 658 HelpId = HID_PPROPERTYPANEL_LINE_VS_WIDTH ; 659 Hide = TRUE ; 660 Pos = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y ); 661 Size = MAP_APPFONT ( 80 , 12 * 9); 662 TabStop = TRUE ; 663 Text = "Width"; 664 }; 665 FixedText FT_CUSTOME 666 { 667 Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y + 12 * 9 + POPUPPANEL_MARGIN_SMALL ) ; 668 Size = MAP_APPFONT ( 80 , TEXT_HEIGHT ) ; 669 Text [ en-US ] = "Custom:" ; 670 }; 671 FixedText FT_LINE_WIDTH 672 { 673 Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE) ; 674 Size = MAP_APPFONT ( 74 - POPUPPANEL_MARGIN_LARGE * 2 , TEXT_HEIGHT ) ; 675 Text [ en-US ] = "Line ~width:" ; 676 }; 677 MetricField MF_WIDTH 678 { 679 Border = TRUE ; 680 HelpID = HID_PPROPERTYPANEL_LINE_MTR_WIDTH ; 681 Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE , CUSTOM_Y + POPUPPANEL_MARGIN_LARGE + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ; 682 Size = MAP_APPFONT ( 40 , 12 ) ; 683 TabStop = TRUE ; 684 Right = TRUE ; 685 Repeat = TRUE ; 686 Spin = TRUE ; 687 Maximum = 5000 ; 688 StrictFormat = TRUE ; 689 DecimalDigits = 2 ; 690 Value = 1 ; 691 Unit = FUNIT_MM ; 692 Last = 5000 ; 693 SpinSize = 10 ; 694 QuickHelpText [ en-US ] = "Specify the width of the line."; 695 }; 696 697 Image IMG_WIDTH_CUSTOM 698 { 699 ImageBitmap = Bitmap{File = "symphony/last_custom_common.png";}; 700 }; 701 Image IMG_WIDTH_CUSTOM_GRAY 702 { 703 ImageBitmap = Bitmap{File = "symphony/last_custom_common_grey.png";}; 704 }; 705 String STR_WIDTH_LAST_CUSTOM 706 { 707 Text [ en-US ] = "Last Custom Value"; 708 }; 709 String STR_PT 710 { 711 Text [ en-US ] = "pt"; 712 }; 713}; 714 715// eof 716