1b9e67834SAndre Fischer/************************************************************** 2e93c3f1cSmseidel * 3b9e67834SAndre Fischer * Licensed to the Apache Software Foundation (ASF) under one 4b9e67834SAndre Fischer * or more contributor license agreements. See the NOTICE file 5b9e67834SAndre Fischer * distributed with this work for additional information 6b9e67834SAndre Fischer * regarding copyright ownership. The ASF licenses this file 7b9e67834SAndre Fischer * to you under the Apache License, Version 2.0 (the 8b9e67834SAndre Fischer * "License"); you may not use this file except in compliance 9b9e67834SAndre Fischer * with the License. You may obtain a copy of the License at 10e93c3f1cSmseidel * 11b9e67834SAndre Fischer * http://www.apache.org/licenses/LICENSE-2.0 12e93c3f1cSmseidel * 13b9e67834SAndre Fischer * Unless required by applicable law or agreed to in writing, 14b9e67834SAndre Fischer * software distributed under the License is distributed on an 15b9e67834SAndre Fischer * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16b9e67834SAndre Fischer * KIND, either express or implied. See the License for the 17b9e67834SAndre Fischer * specific language governing permissions and limitations 18b9e67834SAndre Fischer * under the License. 19e93c3f1cSmseidel * 20b9e67834SAndre Fischer *************************************************************/ 21b9e67834SAndre Fischer 22e93c3f1cSmseidel 23e93c3f1cSmseidel 24b9e67834SAndre Fischer#include "TextPropertyPanel.hrc" 25d29c2fc2SAndre Fischer#include <sfx2/sidebar/ResourceDefinitions.hrc> 26b9e67834SAndre Fischer#include "helpid.hrc" 27b9e67834SAndre Fischer 28b9e67834SAndre FischerControl RID_SIDEBAR_TEXT_PANEL 29b9e67834SAndre Fischer{ 30e93c3f1cSmseidel OutputSize = TRUE ; 31e93c3f1cSmseidel DialogControl = TRUE ; 32e93c3f1cSmseidel Border = FALSE ; 33b9e67834SAndre Fischer 34e93c3f1cSmseidel Size = MAP_APPFONT ( PROPERTYPAGE_WIDTH, SECTIONPAGE_MARGIN_VERTICAL_TOP + CBOX_HEIGHT + TOOLBOX_ITEM_HEIGHT * 2 + CONTROL_SPACING_VERTICAL * 2 + SECTIONPAGE_MARGIN_VERTICAL_BOT ) ; 35b9e67834SAndre Fischer HelpID = HID_PROPERTYPANEL_TEXT_SECTION ; 36e93c3f1cSmseidel Text = "Text" ; 37e93c3f1cSmseidel 38b9e67834SAndre Fischer ComboBox CB_SBFONT_FONT 39b9e67834SAndre Fischer { 40e93c3f1cSmseidel Border = TRUE ; 415e480afeSmseidel Pos = MAP_APPFONT ( X0, FIRST_LINE_Y ) ; 425e480afeSmseidel Size = MAP_APPFONT ( FONTNAME_WIDTH, CONTROL_HEIGHT_FONT_NAME ) ; 43e93c3f1cSmseidel TabStop = TRUE ; 44e93c3f1cSmseidel DropDown = TRUE ; 45b9e67834SAndre Fischer HelpID = HID_COMBO_FONT_NAME ; 46*d9c7a900Smseidel QuickHelpText [ en-US ] = "Font Name" ; 47e93c3f1cSmseidel// Command = ".uno:CharFontName" ; 48b9e67834SAndre Fischer }; 49b9e67834SAndre Fischer MetricBox MB_SBFONT_FONTSIZE 50b9e67834SAndre Fischer { 51e93c3f1cSmseidel Border = TRUE ; 525e480afeSmseidel Pos = MAP_APPFONT ( X2, FIRST_LINE_Y ) ; 535e480afeSmseidel Size = MAP_APPFONT ( FONTSIZE_WIDTH, CONTROL_HEIGHT_FONT_SIZE ) ; 54e93c3f1cSmseidel TabStop = TRUE ; 55e93c3f1cSmseidel DropDown = TRUE ; 56e93c3f1cSmseidel HelpID = HID_METRIC_FONT_SIZE ; 57e93c3f1cSmseidel QuickHelpText [ en-US ] = "Font Size" ; 58e93c3f1cSmseidel// Command = ".uno:FontHeight" ; 59b9e67834SAndre Fischer }; 60e93c3f1cSmseidel 61b9e67834SAndre Fischer ToolBox TB_INCREASE_DECREASE 62b9e67834SAndre Fischer { 63b9e67834SAndre Fischer SVLook = TRUE ; 645e480afeSmseidel Pos = MAP_APPFONT ( X2, SECOND_LINE_Y ) ; 65e93c3f1cSmseidel Size = MAP_APPFONT ( TOOLBOX_ITEM_WIDTH * 2, TOOLBOX_ITEM_HEIGHT ) ; 66b9e67834SAndre Fischer TabStop = TRUE ; 67e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBX_FONTSIZE_INDE ; 68b9e67834SAndre Fischer Text = "Font Size Adjusting" ; 69b9e67834SAndre Fischer ItemList = 70b9e67834SAndre Fischer { 71b9e67834SAndre Fischer ToolBoxItem 72b9e67834SAndre Fischer { 73e93c3f1cSmseidel Identifier = TBI_INCREASE ; 74e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBI_INCREASE ; 75e93c3f1cSmseidel Command = ".uno:Grow" ; 76b9e67834SAndre Fischer }; 77b9e67834SAndre Fischer ToolBoxItem 78b9e67834SAndre Fischer { 79e93c3f1cSmseidel Identifier = TBI_DECREASE ; 80e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBI_DECREASE ; 81e93c3f1cSmseidel Command = ".uno:Shrink" ; 82b9e67834SAndre Fischer }; 83b9e67834SAndre Fischer }; 84b9e67834SAndre Fischer }; 85b9e67834SAndre Fischer ToolBox TB_FONT 86b9e67834SAndre Fischer { 87b9e67834SAndre Fischer SVLook = TRUE ; 885e480afeSmseidel Pos = MAP_APPFONT ( X0 + 1, SECOND_LINE_Y ) ; 89e93c3f1cSmseidel Size = MAP_APPFONT ( TOOLBOX_ITEM_WIDTH * 4 + TOOLBOX_ITEM_DD_WIDTH, TOOLBOX_ITEM_HEIGHT ) ; 90b9e67834SAndre Fischer TabStop = TRUE ; 91e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBX_FONT ; 92b9e67834SAndre Fischer Text = "Font Effects" ; 93b9e67834SAndre Fischer ItemList = 94b9e67834SAndre Fischer { 95b9e67834SAndre Fischer ToolBoxItem 96b9e67834SAndre Fischer { 97e93c3f1cSmseidel Identifier = TBI_BOLD ; 98e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBI_BOLD ; 99e93c3f1cSmseidel Command = ".uno:Bold" ; 100b9e67834SAndre Fischer }; 101b9e67834SAndre Fischer ToolBoxItem 102b9e67834SAndre Fischer { 103e93c3f1cSmseidel Identifier = TBI_ITALIC ; 104e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBI_ITALIC ; 105e93c3f1cSmseidel Command = ".uno:Italic" ; 106b9e67834SAndre Fischer }; 107b9e67834SAndre Fischer ToolBoxItem 108b9e67834SAndre Fischer { 109e93c3f1cSmseidel Identifier = TBI_UNDERLINE ; 110b9e67834SAndre Fischer DropDown = TRUE ; 111e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBI_UNDERLINE ; 112e93c3f1cSmseidel Command = ".uno:Underline" ; 113b9e67834SAndre Fischer }; 114b9e67834SAndre Fischer ToolBoxItem 115b9e67834SAndre Fischer { 116e93c3f1cSmseidel Identifier = TBI_STRIKEOUT ; 117e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBI_STRIKEOUT ; 118e93c3f1cSmseidel Command = ".uno:Strikeout" ; 119b9e67834SAndre Fischer }; 120b9e67834SAndre Fischer ToolBoxItem 121b9e67834SAndre Fischer { 122e93c3f1cSmseidel Identifier = TBI_SHADOWED ; 123e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SHADOWED ; 124e93c3f1cSmseidel Command = ".uno:Shadowed" ; 125e93c3f1cSmseidel }; 126b9e67834SAndre Fischer }; 127b9e67834SAndre Fischer }; 128e93c3f1cSmseidel 129b9e67834SAndre Fischer ToolBox TB_FONTCOLOR 130b9e67834SAndre Fischer { 131e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBX_FONT_COLOR ; 132b9e67834SAndre Fischer SVLook = TRUE ; 1335e480afeSmseidel Pos = MAP_APPFONT ( X3, THIRD_LINE_Y ) ; 1345e480afeSmseidel Size = MAP_APPFONT ( TOOLBOX_ITEM_DD_WIDTH, TOOLBOX_ITEM_HEIGHT ) ; 135b9e67834SAndre Fischer TabStop = TRUE ; 136b9e67834SAndre Fischer ItemList = 137b9e67834SAndre Fischer { 138b9e67834SAndre Fischer ToolBoxItem 139b9e67834SAndre Fischer { 140b9e67834SAndre Fischer Identifier = TBI_FONTCOLOR ; 141e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBI_FONT_COLOR ; 142b9e67834SAndre Fischer DropDown = TRUE ; 143e93c3f1cSmseidel Command = ".uno:Color" ; 144b9e67834SAndre Fischer }; 145b9e67834SAndre Fischer }; 146b9e67834SAndre Fischer }; 147ae13266dSAndre Fischer ToolBox TB_FONTCOLOR_SW 148ae13266dSAndre Fischer { 149e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBX_FONT_COLOR ; 150ae13266dSAndre Fischer SVLook = TRUE ; 1515e480afeSmseidel Pos = MAP_APPFONT ( X3, THIRD_LINE_Y ) ; 1525e480afeSmseidel Size = MAP_APPFONT ( TOOLBOX_ITEM_DD_WIDTH, TOOLBOX_ITEM_HEIGHT ) ; 153ae13266dSAndre Fischer TabStop = TRUE ; 154ae13266dSAndre Fischer ItemList = 155ae13266dSAndre Fischer { 156ae13266dSAndre Fischer ToolBoxItem 157ae13266dSAndre Fischer { 158ae13266dSAndre Fischer Identifier = TBI_FONTCOLOR ; 159e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBI_FONT_COLOR ; 160ae13266dSAndre Fischer DropDown = TRUE ; 161e93c3f1cSmseidel Command = ".uno:FontColor" ; 162ae13266dSAndre Fischer }; 163ae13266dSAndre Fischer }; 164ae13266dSAndre Fischer }; 165e93c3f1cSmseidel 166b9e67834SAndre Fischer ToolBox TB_HIGHLIGHT 167b9e67834SAndre Fischer { 168b9e67834SAndre Fischer SVLook = TRUE ; 1695e480afeSmseidel Pos = MAP_APPFONT ( X2, THIRD_LINE_Y ) ; 1705e480afeSmseidel Size = MAP_APPFONT ( TOOLBOX_ITEM_DD_WIDTH, TOOLBOX_ITEM_HEIGHT ) ; 171b9e67834SAndre Fischer TabStop = TRUE ; 172e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBX_HIGHLIGHT_COLOR ; 173b9e67834SAndre Fischer Text = "Highlight Color" ; 174b9e67834SAndre Fischer ItemList = 175b9e67834SAndre Fischer { 176b9e67834SAndre Fischer ToolBoxItem 177b9e67834SAndre Fischer { 178b9e67834SAndre Fischer Identifier = TBI_HIGHLIGHT ; 179e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBI_HIGHLIGHT_COLOR ; 180b9e67834SAndre Fischer DropDown = TRUE ; 181e93c3f1cSmseidel Command = ".uno:BackColor" ; 182b9e67834SAndre Fischer }; 183b9e67834SAndre Fischer }; 184b9e67834SAndre Fischer }; 185e93c3f1cSmseidel 186b9e67834SAndre Fischer ToolBox TB_SCRIPT_SW 187b9e67834SAndre Fischer { 188b9e67834SAndre Fischer SVLook = TRUE ; 1895e480afeSmseidel Pos = MAP_APPFONT ( X0 + 1, THIRD_LINE_Y ) ; 1905e480afeSmseidel Size = MAP_APPFONT ( TOOLBOX_ITEM_WIDTH * 2, TOOLBOX_ITEM_HEIGHT ) ; 191b9e67834SAndre Fischer TabStop = TRUE ; 192e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBX_SCRIPT_SW ; 193b9e67834SAndre Fischer Text = "Font Position" ; 194b9e67834SAndre Fischer ItemList = 195b9e67834SAndre Fischer { 196b9e67834SAndre Fischer ToolBoxItem 197b9e67834SAndre Fischer { 198e93c3f1cSmseidel Identifier = TBI_SUPER_SW ; 199e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUPER_SW ; 200e93c3f1cSmseidel Command = ".uno:SuperScript" ; 201b9e67834SAndre Fischer }; 202b9e67834SAndre Fischer ToolBoxItem 203b9e67834SAndre Fischer { 204e93c3f1cSmseidel Identifier = TBI_SUB_SW ; 205e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUB_SW ; 206e93c3f1cSmseidel Command = ".uno:SubScript" ; 207b9e67834SAndre Fischer }; 208b9e67834SAndre Fischer }; 209b9e67834SAndre Fischer }; 210b9e67834SAndre Fischer ToolBox TB_SCRIPT 211b9e67834SAndre Fischer { 212b9e67834SAndre Fischer SVLook = TRUE ; 2135e480afeSmseidel Pos = MAP_APPFONT ( X0 + 1, THIRD_LINE_Y ) ; 2145e480afeSmseidel Size = MAP_APPFONT ( TOOLBOX_ITEM_WIDTH * 2, TOOLBOX_ITEM_HEIGHT ) ; 215b9e67834SAndre Fischer TabStop = TRUE ; 216e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBX_SCRIPT ; 217b9e67834SAndre Fischer Text = "Font Position" ; 218b9e67834SAndre Fischer ItemList = 219b9e67834SAndre Fischer { 220b9e67834SAndre Fischer ToolBoxItem 221b9e67834SAndre Fischer { 222e93c3f1cSmseidel Identifier = TBI_SUPER ; 223e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUPER ; 224e93c3f1cSmseidel Command = ".uno:SuperScript" ; 225b9e67834SAndre Fischer }; 226b9e67834SAndre Fischer ToolBoxItem 227b9e67834SAndre Fischer { 228e93c3f1cSmseidel Identifier = TBI_SUB ; 229e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUB ; 230e93c3f1cSmseidel Command = ".uno:SubScript" ; 231b9e67834SAndre Fischer }; 232b9e67834SAndre Fischer }; 233b9e67834SAndre Fischer }; 234e93c3f1cSmseidel 235b9e67834SAndre Fischer ToolBox TB_SPACING 236b9e67834SAndre Fischer { 237b9e67834SAndre Fischer SVLook = TRUE ; 2385e480afeSmseidel Pos = MAP_APPFONT ( X1, THIRD_LINE_Y ) ; 2395e480afeSmseidel Size = MAP_APPFONT ( TOOLBOX_24_16_ITEM_DD_WIDTH, TOOLBOX_24_16_ITEM_HEIGHT ) ; 240b9e67834SAndre Fischer TabStop = TRUE ; 241e93c3f1cSmseidel HelpID = HID_TB_SPACING ; 242b9e67834SAndre Fischer Text = "Character Spacing" ; 243b9e67834SAndre Fischer ItemList = 244b9e67834SAndre Fischer { 245b9e67834SAndre Fischer ToolBoxItem 246b9e67834SAndre Fischer { 247e93c3f1cSmseidel Identifier = TBI_SPACING ; 248b9e67834SAndre Fischer DropDown = TRUE ; 249e93c3f1cSmseidel HelpID = HID_TBI_SPACING ; 250e93c3f1cSmseidel Command = ".uno:Spacing" ; 251b9e67834SAndre Fischer }; 252b9e67834SAndre Fischer }; 253b9e67834SAndre Fischer }; 254b9e67834SAndre Fischer}; 255b9e67834SAndre Fischer 256e93c3f1cSmseidelControl RID_POPUPPANEL_TEXTPAGE_UNDERLINE 257b9e67834SAndre Fischer{ 258e93c3f1cSmseidel OutputSize = TRUE ; 259e93c3f1cSmseidel DialogControl = TRUE ; 260e93c3f1cSmseidel Border = FALSE ; 261e93c3f1cSmseidel 2625e480afeSmseidel 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 ) ; 263b9e67834SAndre Fischer Control VS_UNDERLINE 264b9e67834SAndre Fischer { 265e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_UNDERLINE_VS ; 266e93c3f1cSmseidel Hide = TRUE ; 267e93c3f1cSmseidel Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y ) ; 2685e480afeSmseidel Size = MAP_APPFONT ( VS_UNDERLINE_WIDTH, VS_UNDERLINE_HEIGHT ) ; 269b9e67834SAndre Fischer TabStop = TRUE ; 270e93c3f1cSmseidel Text = "Underline" ; 271b9e67834SAndre Fischer }; 272b9e67834SAndre Fischer 273b9e67834SAndre Fischer PushButton PB_OPTIONS 274b9e67834SAndre Fischer { 275e93c3f1cSmseidel HelpID = HID_UNDERLINE_BTN ; 276e93c3f1cSmseidel Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL * 2 + OFFSET_Y + VS_UNDERLINE_HEIGHT ) ; 277e93c3f1cSmseidel Size = MAP_APPFONT ( VS_UNDERLINE_WIDTH, 13 ) ; 278e93c3f1cSmseidel TabStop = TRUE ; 279e93c3f1cSmseidel Text [ en-US ] = "~More Options..." ; 280b9e67834SAndre Fischer }; 281e93c3f1cSmseidel 282e93c3f1cSmseidel 283b9e67834SAndre Fischer Image IMG_SINGLE 284b9e67834SAndre Fischer { 285e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line1.png" ;} ; 286b9e67834SAndre Fischer }; 287b9e67834SAndre Fischer Image IMG_DOUBLE 288b9e67834SAndre Fischer { 289e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line2.png" ;} ; 290b9e67834SAndre Fischer }; 291b9e67834SAndre Fischer Image IMG_BOLD2 292b9e67834SAndre Fischer { 293e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line3.png" ;} ; 294b9e67834SAndre Fischer }; 295b9e67834SAndre Fischer Image IMG_DOT 296b9e67834SAndre Fischer { 297e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line4.png" ;} ; 298b9e67834SAndre Fischer }; 299b9e67834SAndre Fischer Image IMG_DOT_BOLD 300b9e67834SAndre Fischer { 301e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line5.png" ;} ; 302b9e67834SAndre Fischer }; 303b9e67834SAndre Fischer Image IMG_DASH 304b9e67834SAndre Fischer { 305e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line6.png" ;} ; 306b9e67834SAndre Fischer }; 307b9e67834SAndre Fischer Image IMG_DASH_LONG 308b9e67834SAndre Fischer { 309e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line7.png" ;} ; 310b9e67834SAndre Fischer }; 311b9e67834SAndre Fischer Image IMG_DASH_DOT 312b9e67834SAndre Fischer { 313e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line8.png" ;} ; 314b9e67834SAndre Fischer }; 315b9e67834SAndre Fischer Image IMG_DASH_DOT_DOT 316b9e67834SAndre Fischer { 317e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line9.png" ;} ; 318b9e67834SAndre Fischer }; 319b9e67834SAndre Fischer Image IMG_WAVE 320b9e67834SAndre Fischer { 321e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line10.png" ;} ; 322b9e67834SAndre Fischer }; 323e93c3f1cSmseidel 324e93c3f1cSmseidel // high contract 325b9e67834SAndre Fischer Image IMG_SINGLE_H 326b9e67834SAndre Fischer { 327e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line1_h.png" ;} ; 328b9e67834SAndre Fischer }; 329b9e67834SAndre Fischer Image IMG_DOUBLE_H 330b9e67834SAndre Fischer { 331e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line2_h.png" ;} ; 332b9e67834SAndre Fischer }; 333b9e67834SAndre Fischer Image IMG_BOLD2_H 334b9e67834SAndre Fischer { 335e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line3_h.png" ;} ; 336b9e67834SAndre Fischer }; 337b9e67834SAndre Fischer Image IMG_DOT_H 338b9e67834SAndre Fischer { 339e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line4_h.png" ;} ; 340b9e67834SAndre Fischer }; 341b9e67834SAndre Fischer Image IMG_DOT_BOLD_H 342b9e67834SAndre Fischer { 343e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line5_h.png" ;} ; 344b9e67834SAndre Fischer }; 345b9e67834SAndre Fischer Image IMG_DASH_H 346b9e67834SAndre Fischer { 347e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line6_h.png" ;} ; 348b9e67834SAndre Fischer }; 349b9e67834SAndre Fischer Image IMG_DASH_LONG_H 350b9e67834SAndre Fischer { 351e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line7_h.png" ;} ; 352b9e67834SAndre Fischer }; 353b9e67834SAndre Fischer Image IMG_DASH_DOT_H 354b9e67834SAndre Fischer { 355e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line8_h.png" ;} ; 356b9e67834SAndre Fischer }; 357b9e67834SAndre Fischer Image IMG_DASH_DOT_DOT_H 358b9e67834SAndre Fischer { 359e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line9_h.png" ;} ; 360b9e67834SAndre Fischer }; 361b9e67834SAndre Fischer Image IMG_WAVE_H 362b9e67834SAndre Fischer { 363e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/line10_h.png" ;} ; 364b9e67834SAndre Fischer }; 365e93c3f1cSmseidel 366e93c3f1cSmseidel // image when selected 367b9e67834SAndre Fischer Image IMG_SINGLE_SEL 368b9e67834SAndre Fischer { 369e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/selected-line1.png" ;} ; 370b9e67834SAndre Fischer }; 371b9e67834SAndre Fischer Image IMG_DOUBLE_SEL 372b9e67834SAndre Fischer { 373e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/selected-line2.png" ;} ; 374b9e67834SAndre Fischer }; 375b9e67834SAndre Fischer Image IMG_BOLD2_SEL 376b9e67834SAndre Fischer { 377e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/selected-line3.png" ;} ; 378b9e67834SAndre Fischer }; 379b9e67834SAndre Fischer Image IMG_DOT_SEL 380b9e67834SAndre Fischer { 381e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/selected-line4.png" ;} ; 382b9e67834SAndre Fischer }; 383b9e67834SAndre Fischer Image IMG_DOT_BOLD_SEL 384b9e67834SAndre Fischer { 385e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/selected-line5.png" ;} ; 386b9e67834SAndre Fischer }; 387b9e67834SAndre Fischer Image IMG_DASH_SEL 388b9e67834SAndre Fischer { 389e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/selected-line6.png" ;} ; 390b9e67834SAndre Fischer }; 391b9e67834SAndre Fischer Image IMG_DASH_LONG_SEL 392b9e67834SAndre Fischer { 393e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/selected-line7.png" ;} ; 394b9e67834SAndre Fischer }; 395b9e67834SAndre Fischer Image IMG_DASH_DOT_SEL 396b9e67834SAndre Fischer { 397e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/selected-line8.png" ;} ; 398b9e67834SAndre Fischer }; 399b9e67834SAndre Fischer Image IMG_DASH_DOT_DOT_SEL 400b9e67834SAndre Fischer { 401e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/selected-line9.png" ;} ; 402b9e67834SAndre Fischer }; 403b9e67834SAndre Fischer Image IMG_WAVE_SEL 404b9e67834SAndre Fischer { 405e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/selected-line10.png" ;} ; 406b9e67834SAndre Fischer }; 407e93c3f1cSmseidel 408a3586beeSOliver-Rainer Wittmann String STR_WITHOUT 409a3586beeSOliver-Rainer Wittmann { 410e93c3f1cSmseidel Text [ en-US ] = "(Without)" ; 411a3586beeSOliver-Rainer Wittmann }; 412a3586beeSOliver-Rainer Wittmann 413e93c3f1cSmseidel // tips 414b9e67834SAndre Fischer String STR_SINGLE 415b9e67834SAndre Fischer { 416e93c3f1cSmseidel Text [ en-US ] = "Single" ; 417b9e67834SAndre Fischer }; 418b9e67834SAndre Fischer String STR_DOUBLE 419b9e67834SAndre Fischer { 420e93c3f1cSmseidel Text [ en-US ] = "Double" ; 421b9e67834SAndre Fischer }; 422b9e67834SAndre Fischer String STR_BOLD 423b9e67834SAndre Fischer { 424e93c3f1cSmseidel Text [ en-US ] = "Bold" ; 425b9e67834SAndre Fischer }; 426b9e67834SAndre Fischer String STR_DOT 427b9e67834SAndre Fischer { 428e93c3f1cSmseidel Text [ en-US ] = "Dotted" ; 429b9e67834SAndre Fischer }; 430b9e67834SAndre Fischer String STR_DOT_BOLD 431b9e67834SAndre Fischer { 432e93c3f1cSmseidel Text [ en-US ] = "Dotted (Bold)" ; 433b9e67834SAndre Fischer }; 434b9e67834SAndre Fischer String STR_DASH 435b9e67834SAndre Fischer { 436e93c3f1cSmseidel Text [ en-US ] = "Dash" ; 437b9e67834SAndre Fischer }; 438b9e67834SAndre Fischer String STR_DASH_LONG 439b9e67834SAndre Fischer { 440e93c3f1cSmseidel Text [ en-US ] = "Long Dash" ; 441b9e67834SAndre Fischer }; 442b9e67834SAndre Fischer String STR_DASH_DOT 443b9e67834SAndre Fischer { 444e93c3f1cSmseidel Text [ en-US ] = "Dot Dash" ; 445b9e67834SAndre Fischer }; 446b9e67834SAndre Fischer String STR_DASH_DOT_DOT 447b9e67834SAndre Fischer { 448e93c3f1cSmseidel Text [ en-US ] = "Dot Dot Dash" ; 449b9e67834SAndre Fischer }; 450b9e67834SAndre Fischer String STR_WAVE 451b9e67834SAndre Fischer { 452e93c3f1cSmseidel Text [ en-US ] = "Wave" ; 453b9e67834SAndre Fischer }; 454e93c3f1cSmseidel 455b9e67834SAndre Fischer}; 456b9e67834SAndre Fischer 457b9e67834SAndre Fischer 458b9e67834SAndre FischerControl RID_POPUPPANEL_TEXTPAGE_FONT_COLOR 459b9e67834SAndre Fischer{ 460e93c3f1cSmseidel OutputSize = TRUE ; 461e93c3f1cSmseidel DialogControl = TRUE ; 462e93c3f1cSmseidel Border = FALSE ; 463e93c3f1cSmseidel Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH, POPUP_COLOR_PICKER_HEIGHT ) ; 464e93c3f1cSmseidel 465b9e67834SAndre Fischer Control VS_FONT_COLOR 466b9e67834SAndre Fischer { 467e93c3f1cSmseidel HelpID = HID_PPROPERTYPANEL_TEXT_COLOR_VS ; 468e93c3f1cSmseidel Hide = TRUE ; 469e93c3f1cSmseidel Pos = MAP_APPFONT ( OFFSET_X, OFFSET_Y ) ; 4705e480afeSmseidel Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2 ) ; 471b9e67834SAndre Fischer TabStop = TRUE ; 472e93c3f1cSmseidel Text = "Color Picker" ; 473b9e67834SAndre Fischer }; 474b9e67834SAndre Fischer String STR_AUTOMATICE 475b9e67834SAndre Fischer { 476e93c3f1cSmseidel Text [ en-US ] = "Automatic" ; 477b9e67834SAndre Fischer }; 478b9e67834SAndre Fischer}; 479b9e67834SAndre Fischer 480b9e67834SAndre FischerControl RID_POPUPPANEL_TEXTPAGE_SPACING 481b9e67834SAndre Fischer{ 482e93c3f1cSmseidel OutputSize = TRUE ; 483e93c3f1cSmseidel DialogControl = TRUE ; 484e93c3f1cSmseidel Border = FALSE ; 485e93c3f1cSmseidel 4865e480afeSmseidel 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 ) ; 487e93c3f1cSmseidel 488b9e67834SAndre Fischer Control VS_SPACING 489b9e67834SAndre Fischer { 490b9e67834SAndre Fischer HelpId = HID_PPROPERTYPANEL_TEXT_SPACING_VS ; 491e93c3f1cSmseidel Hide = TRUE ; 492e93c3f1cSmseidel Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y ) ; 4935e480afeSmseidel Size = MAP_APPFONT ( VS_SPACING_WIDTH, 15 * 6 ) ; 494b9e67834SAndre Fischer TabStop = TRUE ; 495e93c3f1cSmseidel Text = "Character Spacing" ; 496e93c3f1cSmseidel }; 497e93c3f1cSmseidel 498e93c3f1cSmseidel FixedText FT_LASTCUSTOM 499e93c3f1cSmseidel { 5005e480afeSmseidel Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y + POPUPPANEL_MARGIN_SMALL + 15 * 6 ) ; 501e93c3f1cSmseidel Size = MAP_APPFONT ( CUSTOM_WIDTH, TEXT_HEIGHT ) ; 502e93c3f1cSmseidel Left = TRUE ; 503e93c3f1cSmseidel Text [ en-US ] = "Custom:" ; 504e93c3f1cSmseidel }; 505e93c3f1cSmseidel // custom area 506b9e67834SAndre Fischer FixedText FT_SPACING 507b9e67834SAndre Fischer { 5085e480afeSmseidel Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE ) ; 509e93c3f1cSmseidel Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2, TEXT_HEIGHT ) ; 510e93c3f1cSmseidel Left = TRUE ; 511e93c3f1cSmseidel Text [ en-US ] = "~Character spacing: " ; 512b9e67834SAndre Fischer }; 513b9e67834SAndre Fischer ListBox LB_KERNING 514b9e67834SAndre Fischer { 515e93c3f1cSmseidel Border = TRUE ; 516*d9c7a900Smseidel Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE + TEXT_HEIGHT + POPUPPANEL_MARGIN_SMALL ) ; // 20 517e93c3f1cSmseidel Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2, 80 ) ; 518e93c3f1cSmseidel TabStop = TRUE ; 519b9e67834SAndre Fischer DropDown = TRUE ; 520e93c3f1cSmseidel HelpID = HID_SPACING_CB_KERN ; 521b9e67834SAndre Fischer StringList [ en-US ] = 522b9e67834SAndre Fischer { 523e93c3f1cSmseidel < "Default" ; Default ; > ; 524e93c3f1cSmseidel < "Expanded" ; Default ; > ; 525e93c3f1cSmseidel < "Condensed" ; Default ; > ; 526b9e67834SAndre Fischer }; 527b9e67834SAndre Fischer }; 528b9e67834SAndre Fischer FixedText FT_BY 529b9e67834SAndre Fischer { 530e93c3f1cSmseidel Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE * 2 + TEXT_HEIGHT + POPUPPANEL_MARGIN_SMALL + CBOX_HEIGHT ) ; 531e93c3f1cSmseidel Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2, TEXT_HEIGHT ) ; 532e93c3f1cSmseidel Left = TRUE ; 533e93c3f1cSmseidel Text [ en-US ] = "Change ~by: " ; 534b9e67834SAndre Fischer }; 535b9e67834SAndre Fischer MetricField ED_KERNING 536b9e67834SAndre Fischer { 537e93c3f1cSmseidel HelpID = HID_SPACING_MB_KERN ; 538e93c3f1cSmseidel Border = TRUE ; 5395e480afeSmseidel Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE * 2 + TEXT_HEIGHT * 2 + POPUPPANEL_MARGIN_SMALL * 2 + CBOX_HEIGHT ) ; // 60 540e93c3f1cSmseidel Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2, MBOX_HEIGHT ) ; 541e93c3f1cSmseidel TabStop = TRUE ; 542b9e67834SAndre Fischer Repeat = TRUE ; 543b9e67834SAndre Fischer Spin = TRUE ; 544b9e67834SAndre Fischer Maximum = 9999 ; 545b9e67834SAndre Fischer DecimalDigits = 1 ; 546b9e67834SAndre Fischer Unit = FUNIT_POINT ; 547b9e67834SAndre Fischer SpinSize = 10 ; 548b9e67834SAndre Fischer }; 549e93c3f1cSmseidel 550b9e67834SAndre Fischer Image IMG_NORMAL 551b9e67834SAndre Fischer { 552e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/spacing_normal.png" ;} ; 553b9e67834SAndre Fischer }; 554b9e67834SAndre Fischer Image IMG_VERY_TIGHT 555b9e67834SAndre Fischer { 556e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/spacing_very_tight.png" ;} ; 557b9e67834SAndre Fischer }; 558b9e67834SAndre Fischer Image IMG_TIGHT 559b9e67834SAndre Fischer { 560e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/spacing_tight.png" ;} ; 561b9e67834SAndre Fischer }; 562b9e67834SAndre Fischer Image IMG_LOOSE 563b9e67834SAndre Fischer { 564e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/spacing_loose.png" ;} ; 565b9e67834SAndre Fischer }; 566b9e67834SAndre Fischer Image IMG_VERY_LOOSE 567b9e67834SAndre Fischer { 568e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/spacing_very_loose.png" ;} ; 569b9e67834SAndre Fischer }; 570e93c3f1cSmseidel 571b9e67834SAndre Fischer Image IMG_NORMAL_S 572b9e67834SAndre Fischer { 573e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/spacing_normal_s.png" ;} ; 574b9e67834SAndre Fischer }; 575b9e67834SAndre Fischer Image IMG_VERY_TIGHT_S 576b9e67834SAndre Fischer { 577e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/spacing_very_tight_s.png" ;} ; 578b9e67834SAndre Fischer }; 579b9e67834SAndre Fischer Image IMG_TIGHT_S 580b9e67834SAndre Fischer { 581e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/spacing_tight_s.png" ;} ; 582b9e67834SAndre Fischer }; 583b9e67834SAndre Fischer Image IMG_LOOSE_S 584b9e67834SAndre Fischer { 5855e480afeSmseidel ImageBitmap = Bitmap {File = "symphony/spacing_loose_s.png" ;} ; 586b9e67834SAndre Fischer }; 587b9e67834SAndre Fischer Image IMG_VERY_LOOSE_S 588b9e67834SAndre Fischer { 589e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/spacing_very_loose_s.png" ;} ; 590b9e67834SAndre Fischer }; 591e93c3f1cSmseidel 592b9e67834SAndre Fischer Image IMG_CUSTOM 593b9e67834SAndre Fischer { 594e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/last_custom_common.png" ;} ; 595b9e67834SAndre Fischer }; 596b9e67834SAndre Fischer Image IMG_CUSTOM_GRAY 597b9e67834SAndre Fischer { 598e93c3f1cSmseidel ImageBitmap = Bitmap {File = "symphony/last_custom_common_grey.png" ;} ; 599b9e67834SAndre Fischer }; 600e93c3f1cSmseidel 601b9e67834SAndre Fischer String STR_VERY_TIGHT 602b9e67834SAndre Fischer { 603e93c3f1cSmseidel Text [ en-US ] = "Very Tight" ; 604b9e67834SAndre Fischer }; 605b9e67834SAndre Fischer String STR_TIGHT 606b9e67834SAndre Fischer { 607e93c3f1cSmseidel Text [ en-US ] = "Tight" ; 608b9e67834SAndre Fischer }; 609b9e67834SAndre Fischer String STR_NORMAL 610b9e67834SAndre Fischer { 611e93c3f1cSmseidel Text [ en-US ] = "Normal" ; 612b9e67834SAndre Fischer }; 613b9e67834SAndre Fischer String STR_LOOSE 614b9e67834SAndre Fischer { 615e93c3f1cSmseidel Text [ en-US ] = "Loose" ; 616b9e67834SAndre Fischer }; 617b9e67834SAndre Fischer String STR_VERY_LOOSE 618b9e67834SAndre Fischer { 619e93c3f1cSmseidel Text [ en-US ] = "Very Loose" ; 620b9e67834SAndre Fischer }; 621b9e67834SAndre Fischer String STR_CUSTOM 622b9e67834SAndre Fischer { 623e93c3f1cSmseidel Text [ en-US ] = "Last Custom Value" ; 624b9e67834SAndre Fischer }; 625e93c3f1cSmseidel 626b9e67834SAndre Fischer String STR_VERY_TIGHT_TIP 627b9e67834SAndre Fischer { 628e93c3f1cSmseidel Text [ en-US ] = " Spacing: Condensed By: 3 pt" ; 629b9e67834SAndre Fischer }; 630b9e67834SAndre Fischer String STR_TIGHT_TIP 631b9e67834SAndre Fischer { 632e93c3f1cSmseidel Text [ en-US ] = " Spacing: Condensed By: 1.5 pt" ; 633b9e67834SAndre Fischer }; 634b9e67834SAndre Fischer String STR_NORMAL_TIP 635b9e67834SAndre Fischer { 636e93c3f1cSmseidel Text [ en-US ] = " Spacing: Normal" ; 637b9e67834SAndre Fischer }; 638b9e67834SAndre Fischer String STR_LOOSE_TIP 639b9e67834SAndre Fischer { 640e93c3f1cSmseidel Text [ en-US ] = " Spacing: Expanded By: 3 pt" ; 641b9e67834SAndre Fischer }; 642b9e67834SAndre Fischer String STR_VERY_LOOSE_TIP 643b9e67834SAndre Fischer { 644e93c3f1cSmseidel Text [ en-US ] = " Spacing: Expanded By: 6 pt" ; 645b9e67834SAndre Fischer }; 646b9e67834SAndre Fischer String STR_CUSTOM_C_TIP 647b9e67834SAndre Fischer { 648e93c3f1cSmseidel Text [ en-US ] = " Spacing: Condensed By: " ; 649b9e67834SAndre Fischer }; 650b9e67834SAndre Fischer String STR_CUSTOM_E_TIP 651b9e67834SAndre Fischer { 652e93c3f1cSmseidel Text [ en-US ] = " Spacing: Expanded By: " ; 653b9e67834SAndre Fischer }; 654b9e67834SAndre Fischer String STR_PT 655b9e67834SAndre Fischer { 656e93c3f1cSmseidel Text [ en-US ] = "pt" ; 657b9e67834SAndre Fischer }; 658b9e67834SAndre Fischer}; 659e93c3f1cSmseidel 660e93c3f1cSmseidel// ********************************************************************** EOF 661