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 "TextPropertyPanel.hrc" 23#include <sfx2/sidebar/propertypanel.hrc> 24#include "helpid.hrc" 25 26#define CONTROL_HEIGHT_FONT_NAME 250 27#define CONTROL_HEIGHT_FONT_SIZE 180 28#define FONTNAME_WIDTH TOOLBOX_ITEM_WIDTH * 2 + TOOLBOX_ITEM_DD_WIDTH 29#define FONTSIZE_WIDTH TOOLBOX_ITEM_WIDTH * 2 30 31#define TB_SPACE 18 32#define TB_SPACE_V 4 33#define TEXT_WIDTH TOOLBOX_42_42_ITEM_DD_WIDTH + TB_SPACE - 3 34 35#define FT_TB_SPACE 1 36#define BK_IMG 20 37 38Control RID_SIDEBAR_TEXT_PANEL 39{ 40 OutputSize = TRUE; 41 DialogControl = TRUE; 42 Border = FALSE; 43 44 Size = MAP_APPFONT( PROPERTYPAGE_WIDTH, SECTIONPAGE_MARGIN_VERTICAL_TOP + CBOX_HEIGHT + TOOLBOX_ITEM_HEIGHT * 2 + CONTROL_SPACING_VERTICAL * 2 + SECTIONPAGE_MARGIN_VERTICAL_BOT ); 45 HelpID = HID_PROPERTYPANEL_TEXT_SECTION ; 46 Text = "Text"; 47 48 ComboBox CB_SBFONT_FONT 49 { 50 Border = TRUE; 51 Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP ); 52 Size = MAP_APPFONT ( FONTNAME_WIDTH , CONTROL_HEIGHT_FONT_NAME ); 53 TabStop = TRUE; 54 DropDown = TRUE; 55 HelpID = HID_COMBO_FONT_NAME ; 56 QuickHelpText [ en-US ] = "Font"; 57 }; 58 MetricBox MB_SBFONT_FONTSIZE 59 { 60 Border = TRUE; 61 Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + FONTNAME_WIDTH + 2, SECTIONPAGE_MARGIN_VERTICAL_TOP); 62 Size = MAP_APPFONT ( FONTSIZE_WIDTH - 1, CONTROL_HEIGHT_FONT_SIZE ); 63 TabStop = TRUE; 64 DropDown = TRUE; 65 HelpID = HID_METRIC_FONT_SIZE; 66 QuickHelpText [ en-US ] = "Font Size"; 67 }; 68 69 ToolBox TB_INCREASE_DECREASE 70 { 71 SVLook = TRUE ; 72 Pos = MAP_APPFONT ( PROPERTYPAGE_WIDTH - SECTIONPAGE_MARGIN_HORIZONTAL - TOOLBOX_ITEM_WIDTH * 2, SECTIONPAGE_MARGIN_VERTICAL_TOP) ; 73 Size = MAP_APPFONT ( TOOLBOX_ITEM_WIDTH * 2 ,TOOLBOX_ITEM_HEIGHT ) ; 74 TabStop = TRUE ; 75// HelpID = HID_TB_INCREASE_DECREASE; 76 HelpID = HID_PPROPERTYPANEL_TEXT_TBX_FONTSIZE_INDE; 77 Text = "Font Size Adjusting" ; 78 ItemList = 79 { 80 ToolBoxItem 81 { 82 Identifier = TBI_INCREASE; 83 Text [ en-US ] = "Increase Font Size" ; 84// HelpID = HID_TBI_INCREASE; 85 HelpID = HID_PPROPERTYPANEL_TEXT_TBI_INCREASE; 86 }; 87 ToolBoxItem 88 { 89 Identifier = TBI_DECREASE; 90 Text [ en-US ] = "Decrease Font Size" ; 91// HelpID = HID_TBI_DECREASE; 92 HelpID = HID_PPROPERTYPANEL_TEXT_TBI_DECREASE; 93 }; 94 }; 95 }; 96 ToolBox TB_FONT 97 { 98 SVLook = TRUE ; 99 Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL + 1, SECTIONPAGE_MARGIN_VERTICAL_TOP + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL + 1) ; 100 Size = MAP_APPFONT ( TOOLBOX_ITEM_WIDTH * 4 + TOOLBOX_ITEM_DD_WIDTH, TOOLBOX_ITEM_HEIGHT ) ; 101 TabStop = TRUE ; 102// HelpID = HID_TB_FONT; 103 HelpID = HID_PPROPERTYPANEL_TEXT_TBX_FONT; 104 Text = "Font Effects" ; 105 ItemList = 106 { 107 ToolBoxItem 108 { 109 Identifier = TBI_BOLD; 110 Text [ en-US ] = "Bold" ; 111// HelpID = HID_TBI_FONT_BOLD; 112 HelpID = HID_PPROPERTYPANEL_TEXT_TBI_BOLD; 113 }; 114 ToolBoxItem 115 { 116 Identifier = TBI_ITALIC; 117 Text [ en-US ] = "Italic" ; 118// HelpID = HID_TBI_FONT_ITALIC; 119 HelpID = HID_PPROPERTYPANEL_TEXT_TBI_ITALIC; 120 }; 121 ToolBoxItem 122 { 123 Identifier = TBI_UNDERLINE; 124 DropDown = TRUE ; 125 Text [ en-US ] = "Underline" ; 126// HelpID = HID_TBI_FONT_UNDERLINE; 127 HelpID = HID_PPROPERTYPANEL_TEXT_TBI_UNDERLINE; 128 }; 129 ToolBoxItem 130 { 131 Identifier = TBI_STRIKEOUT; 132 Text [ en-US ] = "Strikethrough" ; 133// HelpID = HID_TBI_FONT_STRIKEOUT; 134 HelpID = HID_PPROPERTYPANEL_TEXT_TBI_STRIKEOUT; 135 }; 136 ToolBoxItem 137 { 138 Identifier = TBI_SHADOWED; 139 Text [ en-US ] = "Shadow" ; 140// HelpID = HID_TBI_FONT_SHADOWED; 141 HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SHADOWED; 142 }; 143 }; 144 }; 145 146 String STR_QH_BOLD 147 { 148 Text [ en-US ] = "Bold (Ctrl+B)"; 149 }; 150 String STR_QH_ITALIC 151 { 152 Text [ en-US ] = "Italic (Ctrl+I)"; 153 }; 154 String STR_QH_UNDERLINE 155 { 156 Text [ en-US ] = "Underline (Ctrl+U)"; 157 }; 158 159 160 ToolBox TB_FONTCOLOR 161 { 162// HelpID = HID_TB_COLOR; 163 HelpID = HID_PPROPERTYPANEL_TEXT_TBX_FONT_COLOR; 164 SVLook = TRUE ; 165 Pos = MAP_APPFONT (PROPERTYPAGE_WIDTH - SECTIONPAGE_MARGIN_HORIZONTAL - TOOLBOX_ITEM_WIDTH * 2, SECTIONPAGE_MARGIN_VERTICAL_TOP + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL + 1) ; 166 Size = MAP_APPFONT (TOOLBOX_ITEM_DD_WIDTH ,TOOLBOX_ITEM_HEIGHT ) ; 167 TabStop = TRUE ; 168 Text = "Font Color" ; 169 ItemList = 170 { 171 ToolBoxItem 172 { 173 Identifier = TBI_FONTCOLOR ; 174// HelpID = HID_TBI_COLOR; 175 HelpID = HID_PPROPERTYPANEL_TEXT_TBI_FONT_COLOR; 176 DropDown = TRUE ; 177 Text [ en-US ] = "Font Color" ; 178 }; 179 }; 180 }; 181 182 ToolBox TB_HIGHLIGHT 183 { 184 SVLook = TRUE ; 185 Pos = MAP_APPFONT (PROPERTYPAGE_WIDTH - SECTIONPAGE_MARGIN_HORIZONTAL - TOOLBOX_ITEM_WIDTH * 2 , SECTIONPAGE_MARGIN_VERTICAL_TOP + CBOX_HEIGHT + (TOOLBOX_ITEM_HEIGHT + 2) + CONTROL_SPACING_VERTICAL * 2 + 1) ; 186 Size = MAP_APPFONT (TOOLBOX_ITEM_DD_WIDTH ,TOOLBOX_ITEM_HEIGHT ) ; 187 TabStop = TRUE ; 188// HelpID = HID_TB_HIGHLIGHT; 189 HelpID = HID_PPROPERTYPANEL_TEXT_TBX_HIGHLIGHT_COLOR; 190 Text = "Highlight Color" ; 191 ItemList = 192 { 193 ToolBoxItem 194 { 195 Identifier = TBI_HIGHLIGHT ; 196// HelpID = HID_TBI_HIGHLIGHT; 197 HelpID = HID_PPROPERTYPANEL_TEXT_TBI_HIGHLIGHT_COLOR; 198 DropDown = TRUE ; 199 Text [ en-US ] = "Highlight Color" ; 200 }; 201 }; 202 }; 203 204 ToolBox TB_SCRIPT_SW 205 { 206 SVLook = TRUE ; 207 Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL + 1 , SECTIONPAGE_MARGIN_VERTICAL_TOP + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL * 2 + (TOOLBOX_ITEM_HEIGHT + 2) + 1) ; 208 Size = MAP_APPFONT (TOOLBOX_ITEM_WIDTH * 2 ,TOOLBOX_ITEM_HEIGHT ) ; 209 TabStop = TRUE ; 210// HelpID = HID_TB_SCRIPT_SW; 211 HelpID = HID_PPROPERTYPANEL_TEXT_TBX_SCRIPT_SW; 212 Text = "Font Position" ; 213 ItemList = 214 { 215 ToolBoxItem 216 { 217 Identifier = TBI_SUPER_SW; 218 Text [ en-US ] = "Superscript" ; 219// HelpID = HID_TBI_SCRIPT_SW_SUPER; 220 HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUPER_SW; 221 }; 222 ToolBoxItem 223 { 224 Identifier = TBI_SUB_SW; 225 Text [ en-US ] = "Subscript" ; 226// HelpID = HID_TBI_SCRIPT_SW_SUB; 227 HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUB_SW; 228 }; 229 }; 230 }; 231 ToolBox TB_SCRIPT 232 { 233 SVLook = TRUE ; 234 Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL + 1 , SECTIONPAGE_MARGIN_VERTICAL_TOP + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL * 2 + (TOOLBOX_ITEM_HEIGHT + 2) + 1) ; 235 Size = MAP_APPFONT (TOOLBOX_ITEM_WIDTH * 2 ,TOOLBOX_ITEM_HEIGHT ) ; 236 TabStop = TRUE ; 237// HelpID = HID_TB_SCRIPT; 238 HelpID = HID_PPROPERTYPANEL_TEXT_TBX_SCRIPT; 239 Text = "Font Position" ; 240 ItemList = 241 { 242 ToolBoxItem 243 { 244 Identifier = TBI_SUPER; 245 Text [ en-US ] = "Superscript" ; 246// HelpID = HID_TBI_SCRIPT_SUPER; 247 HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUPER; 248 }; 249 ToolBoxItem 250 { 251 Identifier = TBI_SUB; 252 Text [ en-US ] = "Subscript" ; 253// HelpID = HID_TBI_SCRIPT_SUB; 254 HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUB; 255 }; 256 }; 257 }; 258 259 ToolBox TB_SPACING 260 { 261 SVLook = TRUE ; 262 Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL + 1 + TOOLBOX_ITEM_WIDTH * 2 + 4 , SECTIONPAGE_MARGIN_VERTICAL_TOP + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL * 2 + (TOOLBOX_ITEM_HEIGHT + 2) + 1) ; 263 Size = MAP_APPFONT (TOOLBOX_24_16_ITEM_DD_WIDTH, TOOLBOX_24_16_ITEM_HEIGHT ) ; 264 TabStop = TRUE ; 265 HelpID = HID_TB_SPACING; 266 Text = "Character Spacing" ; 267 ItemList = 268 { 269 ToolBoxItem 270 { 271 Identifier = TBI_SPACING; 272 DropDown = TRUE ; 273 Text [ en-US ] = "Character Spacing" ; 274 HelpID = HID_TBI_SPACING; 275 }; 276 }; 277 }; 278 279 Image IMG_INCREASE 280 { 281 ImageBitmap = Bitmap{File = "symphony/enlarge font.png";}; 282 // MaskColor = IMAGE_MASK_COLOR; 283 }; 284 Image IMG_INCREASE_H 285 { 286 ImageBitmap = Bitmap{File = "symphony/enlarge font.png";}; 287 }; 288 Image IMG_DECREASE 289 { 290 ImageBitmap = Bitmap{File = "symphony/decrease font.png";}; 291 }; 292 Image IMG_DECREASE_H 293 { 294 ImageBitmap = Bitmap{File = "symphony/decrease font.png";}; 295 }; 296 Image IMG_BOLD 297 { 298 ImageBitmap = Bitmap{File = "symphony/sc_bold.png";};//sc_bold.bmp 299 }; 300 Image IMG_BOLD_H 301 { 302 ImageBitmap = Bitmap{File = "symphony/sc_bold.png";}; 303 }; 304 Image IMG_ITALIC 305 { 306 ImageBitmap = Bitmap{File = "symphony/sc_italic.png";};//sc_italic.bmp 307 }; 308 Image IMG_ITALIC_H 309 { 310 ImageBitmap = Bitmap{File = "symphony/sc_italic.png";}; 311 }; 312 Image IMG_UNDERLINE 313 { 314 ImageBitmap = Bitmap{File = "symphony/sc_underline.png";};//sc_underline.png 315 }; 316 Image IMG_UNDERLINE_H 317 { 318 ImageBitmap = Bitmap{File = "symphony/sc_underline.png";}; 319 }; 320 321 Image IMG_STRIKEOUT 322 { 323 ImageBitmap = Bitmap{File = "symphony/sc_strikeout.png";};//sc_strikeout.png 324 }; 325 Image IMG_STRIKEOUT_H 326 { 327 ImageBitmap = Bitmap{File = "symphony/sc_strikeout.png";}; 328 }; 329 Image IMG_SHADOWED 330 { 331 ImageBitmap = Bitmap{File = "symphony/sc_shadowed.png";};//sc_shadowed.png 332 }; 333 Image IMG_SHADOWED_H 334 { 335 ImageBitmap = Bitmap{File = "symphony/sc_shadowed.png";}; 336 }; 337 Image IMG_FONTCOLOR 338 { 339 ImageBitmap = Bitmap{File = "symphony/sc_color.png";}; 340 }; 341 Image IMG_FONTCOLOR_H 342 { 343 ImageBitmap = Bitmap{File = "symphony/sc_color.png";}; 344 }; 345 Image IMG_SUPSCRIPT 346 { 347 ImageBitmap = Bitmap{File = "symphony/sc_superscript.png";}; 348 }; 349 Image IMG_SUPSCRIPT_H 350 { 351 ImageBitmap = Bitmap{File = "symphony/sc_superscript.png";}; 352 }; 353 Image IMG_SUBSCRIPT 354 { 355 ImageBitmap = Bitmap{File = "symphony/sc_subscript.png";}; 356 }; 357 Image IMG_SUBSCRIPT_H 358 { 359 ImageBitmap = Bitmap{File = "symphony/sc_subscript.png";}; 360 }; 361// Image IMG_SPACING 362// { 363// ImageBitmap = Bitmap{File = "symphony/icon_normal.png";}; 364// }; 365// Image IMG_SPACING_H 366// { 367// ImageBitmap = Bitmap{File = "symphony/icon_normal.png";}; 368// }; 369 Image IMG_HIGHLIGHT 370 { 371 ImageBitmap = Bitmap{File = "symphony/Highlight.png";};//sc_backcolor 372 }; 373 Image IMG_HIGHLIGHT_H 374 { 375 ImageBitmap = Bitmap{File = "symphony/Highlight.png";}; 376 }; 377 378 //small icon for spacing 379 Image IMG_SPACING_D 380 { 381 ImageBitmap = Bitmap{File = "symphony/icon_normal.png";}; 382 }; 383}; 384 385Control RID_POPUPPANEL_TEXTPAGE_UNDERLINE 386{ 387 OutputSize = TRUE; 388 DialogControl = TRUE; 389 Border = FALSE; 390 391 Size = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_UNDERLINE_WIDTH, 13+ VS_UNDERLINE_HEIGHT + POPUP_BORDER_HEIGHT + POPUPPANEL_MARGIN_SMALL * 2 + POPUPPANEL_MARGIN_LARGE); 392 Control VS_UNDERLINE 393 { 394// HelpID = HID_UNDERLINE_VS ; 395 HelpID = HID_PPROPERTYPANEL_TEXT_UNDERLINE_VS; 396 Hide = TRUE ; 397 Pos = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y ); 398 Size = MAP_APPFONT ( VS_UNDERLINE_WIDTH ,VS_UNDERLINE_HEIGHT); 399 TabStop = TRUE ; 400 Text = "Underline"; 401 }; 402 403 PushButton PB_OPTIONS 404 { 405 HelpID = HID_UNDERLINE_BTN; 406 Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL * 2 + OFFSET_Y + VS_UNDERLINE_HEIGHT ); 407 Size = MAP_APPFONT ( VS_UNDERLINE_WIDTH, 13 ); 408 TabStop = TRUE; 409 Text [ en-US ] = "~More Options..."; 410 }; 411 412 413 Image IMG_SINGLE 414 { 415 ImageBitmap = Bitmap{File = "symphony/line1.bmp";}; 416 }; 417 Image IMG_DOUBLE 418 { 419 ImageBitmap = Bitmap{File = "symphony/line2.bmp";}; 420 }; 421 Image IMG_BOLD2 422 { 423 ImageBitmap = Bitmap{File = "symphony/line3.bmp";}; 424 }; 425 Image IMG_DOT 426 { 427 ImageBitmap = Bitmap{File = "symphony/line4.bmp";}; 428 }; 429 Image IMG_DOT_BOLD 430 { 431 ImageBitmap = Bitmap{File = "symphony/line5.bmp";}; 432 }; 433 Image IMG_DASH 434 { 435 ImageBitmap = Bitmap{File = "symphony/line6.bmp";}; 436 }; 437 Image IMG_DASH_LONG 438 { 439 ImageBitmap = Bitmap{File = "symphony/line7.bmp";}; 440 }; 441 Image IMG_DASH_DOT 442 { 443 ImageBitmap = Bitmap{File = "symphony/line8.bmp";}; 444 }; 445 Image IMG_DASH_DOT_DOT 446 { 447 ImageBitmap = Bitmap{File = "symphony/line9.bmp";}; 448 }; 449 Image IMG_WAVE 450 { 451 ImageBitmap = Bitmap{File = "symphony/line10.bmp";}; 452 }; 453 454 //high contract 455 Image IMG_SINGLE_H 456 { 457 ImageBitmap = Bitmap{File = "symphony/line1_h.bmp";}; 458 }; 459 Image IMG_DOUBLE_H 460 { 461 ImageBitmap = Bitmap{File = "symphony/line2_h.bmp";}; 462 }; 463 Image IMG_BOLD2_H 464 { 465 ImageBitmap = Bitmap{File = "symphony/line3_h.bmp";}; 466 }; 467 Image IMG_DOT_H 468 { 469 ImageBitmap = Bitmap{File = "symphony/line4_h.bmp";}; 470 }; 471 Image IMG_DOT_BOLD_H 472 { 473 ImageBitmap = Bitmap{File = "symphony/line5_h.bmp";}; 474 }; 475 Image IMG_DASH_H 476 { 477 ImageBitmap = Bitmap{File = "symphony/line6_h.bmp";}; 478 }; 479 Image IMG_DASH_LONG_H 480 { 481 ImageBitmap = Bitmap{File = "symphony/line7_h.bmp";}; 482 }; 483 Image IMG_DASH_DOT_H 484 { 485 ImageBitmap = Bitmap{File = "symphony/line8_h.bmp";}; 486 }; 487 Image IMG_DASH_DOT_DOT_H 488 { 489 ImageBitmap = Bitmap{File = "symphony/line9_h.bmp";}; 490 }; 491 Image IMG_WAVE_H 492 { 493 ImageBitmap = Bitmap{File = "symphony/line10_h.bmp";}; 494 }; 495 496 //image when selected 497 Image IMG_SINGLE_SEL 498 { 499 ImageBitmap = Bitmap{File = "symphony/selected-line1.bmp";}; 500 }; 501 Image IMG_DOUBLE_SEL 502 { 503 ImageBitmap = Bitmap{File = "symphony/selected-line2.bmp";}; 504 }; 505 Image IMG_BOLD2_SEL 506 { 507 ImageBitmap = Bitmap{File = "symphony/selected-line3.bmp";}; 508 }; 509 Image IMG_DOT_SEL 510 { 511 ImageBitmap = Bitmap{File = "symphony/selected-line4.bmp";}; 512 }; 513 Image IMG_DOT_BOLD_SEL 514 { 515 ImageBitmap = Bitmap{File = "symphony/selected-line5.bmp";}; 516 }; 517 Image IMG_DASH_SEL 518 { 519 ImageBitmap = Bitmap{File = "symphony/selected-line6.bmp";}; 520 }; 521 Image IMG_DASH_LONG_SEL 522 { 523 ImageBitmap = Bitmap{File = "symphony/selected-line7.bmp";}; 524 }; 525 Image IMG_DASH_DOT_SEL 526 { 527 ImageBitmap = Bitmap{File = "symphony/selected-line8.bmp";}; 528 }; 529 Image IMG_DASH_DOT_DOT_SEL 530 { 531 ImageBitmap = Bitmap{File = "symphony/selected-line9.bmp";}; 532 }; 533 Image IMG_WAVE_SEL 534 { 535 ImageBitmap = Bitmap{File = "symphony/selected-line10.bmp";}; 536 }; 537 538// //more button bmps 539// Bitmap BMP_UNDERLINE_MORE 540// { 541// File = "symphony/morebutton.bmp"; 542// }; 543// Bitmap BMP_UNDERLINE_MORE_H 544// { 545// File = "symphony/morebutton_h.bmp"; 546// }; 547 548 //tips 549 String STR_SINGLE 550 { 551 Text [ en-US ] = "Single"; 552 }; 553 String STR_DOUBLE 554 { 555 Text [ en-US ] = "Double"; 556 }; 557 String STR_BOLD 558 { 559 Text [ en-US ] = "Bold"; 560 }; 561 String STR_DOT 562 { 563 Text [ en-US ] = "Dotted"; 564 }; 565 String STR_DOT_BOLD 566 { 567 Text [ en-US ] = "Dotted (Bold)"; 568 }; 569 String STR_DASH 570 { 571 Text [ en-US ] = "Dash"; 572 }; 573 String STR_DASH_LONG 574 { 575 Text [ en-US ] = "Long Dash"; 576 }; 577 String STR_DASH_DOT 578 { 579 Text [ en-US ] = "Dot Dash"; 580 }; 581 String STR_DASH_DOT_DOT 582 { 583 Text [ en-US ] = "Dot Dot Dash"; 584 }; 585 String STR_WAVE 586 { 587 Text [ en-US ] = "Wave"; 588 }; 589 590}; 591 592 593Control RID_POPUPPANEL_TEXTPAGE_FONT_COLOR 594{ 595 OutputSize = TRUE; 596 DialogControl = TRUE; 597 Border = FALSE; 598 Size = MAP_APPFONT( POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT ); 599 600 Control VS_FONT_COLOR 601 { 602// HelpID = HID_COLOR_VS ; 603 HelpID = HID_PPROPERTYPANEL_TEXT_COLOR_VS; 604 Hide = TRUE ; 605 Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y ); 606 Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2); 607 TabStop = TRUE ; 608 Text = "Color Picker"; 609 }; 610 String STR_AUTOMATICE 611 { 612 Text [ en-US ] = "Automatic"; 613 }; 614 615}; 616 617Control RID_POPUPPANEL_TEXTPAGE_SPACING 618{ 619 OutputSize = TRUE; 620 DialogControl = TRUE; 621 Border = FALSE; 622 623 Size = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_SPACING_WIDTH , POPUPPANEL_MARGIN_SMALL * 3 + 15 * 6 + CUSTOM_HEIGHT + TEXT_HEIGHT + POPUPPANEL_MARGIN_LARGE + POPUP_BORDER_WIDTH + 1); 624 625 Control VS_SPACING 626 { 627 HelpId = HID_PPROPERTYPANEL_TEXT_SPACING_VS ; 628 Hide = TRUE ; 629 Pos = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y ); 630 Size = MAP_APPFONT ( VS_SPACING_WIDTH , 15 * 6); 631 TabStop = TRUE ; 632 Text = "Character Spacing"; 633 }; 634 635 FixedText FT_LASTCUSTOM 636 { 637 Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X ,POPUPPANEL_MARGIN_SMALL + OFFSET_Y + POPUPPANEL_MARGIN_SMALL + 15 * 6) ; 638 Size = MAP_APPFONT ( CUSTOM_WIDTH , TEXT_HEIGHT ); 639 Left = TRUE ; 640 Text [ en-US ] = "Custom:" ; 641 }; 642 //custom area 643// Control CT_BORDER 644// { 645// Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X + 1 , OFFSET_Y + POPUPPANEL_MARGIN_SMALL * 3 + 15 * 6 + TEXT_HEIGHT) ; 646// Size = MAP_APPFONT (CUSTOM_WIDTH , CUSTOM_HEIGHT ) ;// TOOLBOX_42_42_ITEM_DD_WIDTH * 2 + TB_SPACE * 2 - 5 + TEXT_WIDTH - 2 647// DialogControl = TRUE; 648// }; 649 FixedText FT_SPACING 650 { 651 Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE); 652 Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , TEXT_HEIGHT ); 653 Left = TRUE ; 654 Text [ en-US ] = "~Character spacing: " ; 655 }; 656 ListBox LB_KERNING 657 { 658 Border = TRUE; 659 Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE + TEXT_HEIGHT + POPUPPANEL_MARGIN_SMALL);//20 660 Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , 80 ) ; 661 TabStop = TRUE; 662 DropDown = TRUE ; 663 HelpID = HID_SPACING_CB_KERN; 664 StringList [ en-US ] = 665 { 666 < "Default" ; Default ; > ; 667 < "Expanded" ; Default ; > ; 668 < "Condensed" ; Default ; > ; 669 }; 670 }; 671 FixedText FT_BY 672 { 673 Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE * 2 + TEXT_HEIGHT + POPUPPANEL_MARGIN_SMALL + CBOX_HEIGHT ); 674 Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , TEXT_HEIGHT ); 675 Left = TRUE ; 676 Text [ en-US ] = "Change ~by: " ; 677 }; 678 MetricField ED_KERNING 679 { 680 HelpID = HID_SPACING_MB_KERN; 681 Border = TRUE; 682 Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE * 2 + TEXT_HEIGHT * 2 + POPUPPANEL_MARGIN_SMALL * 2 + CBOX_HEIGHT);//60 683 Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , MBOX_HEIGHT ); 684 TabStop = TRUE; 685 Repeat = TRUE ; 686 Spin = TRUE ; 687 Maximum = 9999 ; 688 DecimalDigits = 1 ; 689 Unit = FUNIT_POINT ; 690 SpinSize = 10 ; 691 }; 692 693 Image IMG_NORMAL 694 { 695 ImageBitmap = Bitmap{File = "symphony/spacing_normal.bmp" ;};//"spacing_normal.bmp" 696 }; 697 Image IMG_VERY_TIGHT 698 { 699 ImageBitmap = Bitmap{File = "symphony/spacing_very tight.bmp";}; 700 }; 701 Image IMG_TIGHT 702 { 703 ImageBitmap = Bitmap{File = "symphony/spacing_tight.bmp";}; 704 }; 705 Image IMG_LOOSE 706 { 707 ImageBitmap = Bitmap{File = "symphony/spacing_loose.bmp";}; 708 }; 709 Image IMG_VERY_LOOSE 710 { 711 ImageBitmap = Bitmap{File = "symphony/spacing_very loose.bmp";}; 712 }; 713 714 Image IMG_NORMAL_S 715 { 716 ImageBitmap = Bitmap{File = "symphony/spacing_normal_s.bmp";}; 717 }; 718 Image IMG_VERY_TIGHT_S 719 { 720 ImageBitmap = Bitmap{File = "symphony/spacing_very tight_s.bmp";}; 721 }; 722 Image IMG_TIGHT_S 723 { 724 ImageBitmap = Bitmap{File = "symphony/spacing_tight_s.bmp";}; 725 }; 726 Image IMG_LOOSE_S 727 { 728 ImageBitmap = Bitmap{File = "symphony/spacing_loose_s.bmp";}; 729 }; 730 Image IMG_VERY_LOOSE_S 731 { 732 ImageBitmap = Bitmap{File = "symphony/spacing_very loose_s.bmp";}; 733 }; 734 735 Image IMG_CUSTOM 736 { 737 ImageBitmap = Bitmap{File = "symphony/last_custom_common.png";}; 738 }; 739 Image IMG_CUSTOM_GRAY 740 { 741 ImageBitmap = Bitmap{File = "symphony/last_custom_common_grey.png";}; 742 }; 743 744 String STR_VERY_TIGHT 745 { 746 Text [ en-US ] = "Very Tight"; 747 }; 748 String STR_TIGHT 749 { 750 Text [ en-US ] = "Tight"; 751 }; 752 String STR_NORMAL 753 { 754 Text [ en-US ] = "Normal"; 755 }; 756 String STR_LOOSE 757 { 758 Text [ en-US ] = "Loose"; 759 }; 760 String STR_VERY_LOOSE 761 { 762 Text [ en-US ] = "Very Loose"; 763 }; 764 String STR_CUSTOM 765 { 766 Text [ en-US ] = "Last Custom Value"; 767 }; 768 769 String STR_VERY_TIGHT_TIP 770 { 771 Text [ en-US ] = " Spacing: Condensed By: 3pt"; 772 }; 773 String STR_TIGHT_TIP 774 { 775 Text [ en-US ] = " Spacing: Condensed By: 1.5pt"; 776 }; 777 String STR_NORMAL_TIP 778 { 779 Text [ en-US ] = " Spacing: Normal"; 780 }; 781 String STR_LOOSE_TIP 782 { 783 Text [ en-US ] = " Spacing: Expanded By: 3pt"; 784 }; 785 String STR_VERY_LOOSE_TIP 786 { 787 Text [ en-US ] = " Spacing: Expanded By: 6pt"; 788 }; 789 String STR_CUSTOM_C_TIP 790 { 791 Text [ en-US ] = " Spacing: Condensed By: "; 792 }; 793 String STR_CUSTOM_E_TIP 794 { 795 Text [ en-US ] = " Spacing: Expanded By: "; 796 }; 797 String STR_PT 798 { 799 Text[ en-US ] = "pt"; 800 }; 801}; 802