18dcb2a10SAndre Fischer/************************************************************** 28dcb2a10SAndre Fischer * 38dcb2a10SAndre Fischer * Licensed to the Apache Software Foundation (ASF) under one 48dcb2a10SAndre Fischer * or more contributor license agreements. See the NOTICE file 58dcb2a10SAndre Fischer * distributed with this work for additional information 68dcb2a10SAndre Fischer * regarding copyright ownership. The ASF licenses this file 78dcb2a10SAndre Fischer * to you under the Apache License, Version 2.0 (the 88dcb2a10SAndre Fischer * "License"); you may not use this file except in compliance 98dcb2a10SAndre Fischer * with the License. You may obtain a copy of the License at 108dcb2a10SAndre Fischer * 118dcb2a10SAndre Fischer * http://www.apache.org/licenses/LICENSE-2.0 128dcb2a10SAndre Fischer * 138dcb2a10SAndre Fischer * Unless required by applicable law or agreed to in writing, 148dcb2a10SAndre Fischer * software distributed under the License is distributed on an 158dcb2a10SAndre Fischer * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 168dcb2a10SAndre Fischer * KIND, either express or implied. See the License for the 178dcb2a10SAndre Fischer * specific language governing permissions and limitations 188dcb2a10SAndre Fischer * under the License. 198dcb2a10SAndre Fischer * 208dcb2a10SAndre Fischer *************************************************************/ 218dcb2a10SAndre Fischer 228dcb2a10SAndre Fischer#include "LinePropertyPanel.hrc" 23d29c2fc2SAndre Fischer#include <sfx2/sidebar/ResourceDefinitions.hrc> 248dcb2a10SAndre Fischer#include <svx/dialogs.hrc> 258dcb2a10SAndre Fischer#include "helpid.hrc" 268dcb2a10SAndre Fischer 278dcb2a10SAndre FischerControl RID_SIDEBAR_LINE_PANEL 288dcb2a10SAndre Fischer{ 298dcb2a10SAndre Fischer OutputSize = TRUE ; 308dcb2a10SAndre Fischer DialogControl = TRUE ; 318dcb2a10SAndre Fischer Border = FALSE ; 328dcb2a10SAndre Fischer Text = "Line" ; 338dcb2a10SAndre Fischer 348dcb2a10SAndre Fischer Size = MAP_APPFONT( 358dcb2a10SAndre Fischer PROPERTYPAGE_WIDTH, 368dcb2a10SAndre Fischer 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 ) ; 378dcb2a10SAndre Fischer HelpID = HID_PROPERTYPANEL_LINE_SECTION ; 388dcb2a10SAndre Fischer 398dcb2a10SAndre Fischer FixedText FT_WIDTH 408dcb2a10SAndre Fischer { 418dcb2a10SAndre Fischer Pos = MAP_APPFONT( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP ) ; 428dcb2a10SAndre Fischer Size = MAP_APPFONT (TOOLBOX_WIDTH, TEXT_HEIGHT ) ; 438dcb2a10SAndre Fischer Text [ en-US ] = "~Width:" ; 448dcb2a10SAndre Fischer }; 458dcb2a10SAndre Fischer ToolBox TB_WIDTH 468dcb2a10SAndre Fischer { 478dcb2a10SAndre Fischer SVLook = TRUE ; 488dcb2a10SAndre Fischer Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ; 498dcb2a10SAndre Fischer Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ; 508dcb2a10SAndre Fischer TabStop = TRUE ; 518dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_TBX_WIDTH ; 528dcb2a10SAndre Fischer Text = "Width" ; 538dcb2a10SAndre Fischer ItemList = 548dcb2a10SAndre Fischer { 558dcb2a10SAndre Fischer ToolBoxItem 568dcb2a10SAndre Fischer { 578dcb2a10SAndre Fischer Identifier = TBI_WIDTH ; 588dcb2a10SAndre Fischer DropDown = TRUE ; 598dcb2a10SAndre Fischer Text [ en-US ] = "Width" ; 608dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_TBI_WIDTH ; 618dcb2a10SAndre Fischer }; 628dcb2a10SAndre Fischer }; 638dcb2a10SAndre Fischer }; 648dcb2a10SAndre Fischer String STR_QH_TB_WIDTH 658dcb2a10SAndre Fischer { 668dcb2a10SAndre Fischer Text [ en-US ] = "Select the width of the line." ; 678dcb2a10SAndre Fischer }; 688dcb2a10SAndre Fischer 698dcb2a10SAndre Fischer FixedText FT_COLOR 708dcb2a10SAndre Fischer { 718dcb2a10SAndre Fischer Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3, SECTIONPAGE_MARGIN_VERTICAL_TOP ) ; 728dcb2a10SAndre Fischer Size = MAP_APPFONT (TOOLBOX_WIDTH, TEXT_HEIGHT ) ; 738dcb2a10SAndre Fischer Text [ en-US ] = "~Color:" ; 748dcb2a10SAndre Fischer }; 758dcb2a10SAndre Fischer ToolBox TB_COLOR 768dcb2a10SAndre Fischer { 778dcb2a10SAndre Fischer SVLook = TRUE ; 788dcb2a10SAndre Fischer Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 4, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ; 798dcb2a10SAndre Fischer Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ; 808dcb2a10SAndre Fischer TabStop = TRUE ; 818dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_TBX_COLOR; 828dcb2a10SAndre Fischer Text = "Color" ; 838dcb2a10SAndre Fischer ItemList = 848dcb2a10SAndre Fischer { 858dcb2a10SAndre Fischer ToolBoxItem 868dcb2a10SAndre Fischer { 878dcb2a10SAndre Fischer Identifier = TBI_COLOR ; 888dcb2a10SAndre Fischer DropDown = TRUE ; 898dcb2a10SAndre Fischer Text [ en-US ] = "Color" ; 908dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_TBI_COLOR ; 918dcb2a10SAndre Fischer }; 928dcb2a10SAndre Fischer }; 938dcb2a10SAndre Fischer }; 948dcb2a10SAndre Fischer String STR_QH_TB_COLOR 958dcb2a10SAndre Fischer { 968dcb2a10SAndre Fischer Text [ en-US ] = "Select the color of the line." ; 978dcb2a10SAndre Fischer }; 988dcb2a10SAndre Fischer 998dcb2a10SAndre Fischer FixedText FT_STYLE 1008dcb2a10SAndre Fischer { 1018dcb2a10SAndre Fischer Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + TOOLBOX_HEIGHT + CONTROL_SPACING_VERTICAL) ; 1028dcb2a10SAndre Fischer Size = MAP_APPFONT (TOOLBOX_WIDTH, TEXT_HEIGHT ) ; 1038dcb2a10SAndre Fischer Text [ en-US ] = "~Style:" ; 1048dcb2a10SAndre Fischer }; 10597e8a929SArmin Le Grand ListBox LB_STYLE 1068dcb2a10SAndre Fischer { 10797e8a929SArmin Le Grand Border = TRUE ; 1088dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_TBX_STYLE ; 10997e8a929SArmin Le Grand Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*2 + TEXT_CONTROL_SPACING_VERTICAL*2 + TOOLBOX_HEIGHT + CONTROL_SPACING_VERTICAL) ; 11097e8a929SArmin Le Grand Size = MAP_APPFONT (TOOLBOX_WIDTH ,LISTBOX_HEIGHT ) ; 11197e8a929SArmin Le Grand TabStop = TRUE ; 1128dcb2a10SAndre Fischer DropDown = TRUE ; 11397e8a929SArmin Le Grand DDExtraWidth = TRUE ; 11497e8a929SArmin Le Grand QuickHelpText [ en-US ] = "Select the style of the line." ; 1158dcb2a10SAndre Fischer }; 1168dcb2a10SAndre Fischer 1178dcb2a10SAndre Fischer FixedText FT_TRANSPARENT 1188dcb2a10SAndre Fischer { 1198dcb2a10SAndre Fischer Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + TOOLBOX_HEIGHT + CONTROL_SPACING_VERTICAL) ; 1208dcb2a10SAndre Fischer Size = MAP_APPFONT (TOOLBOX_WIDTH, TEXT_HEIGHT ) ; 1218dcb2a10SAndre Fischer Text [ en-US ] = "~Transparency:" ; 1228dcb2a10SAndre Fischer }; 1238dcb2a10SAndre Fischer MetricField MF_TRANSPARENT 1248dcb2a10SAndre Fischer { 1258dcb2a10SAndre Fischer Border = TRUE ; 1268dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_MTR_TRANCEPARENCE ; 1278dcb2a10SAndre Fischer 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) ; 1288dcb2a10SAndre Fischer Size = MAP_APPFONT ( TOOLBOX_WIDTH + 1, 12 ) ; 1298dcb2a10SAndre Fischer TabStop = TRUE ; 1308dcb2a10SAndre Fischer Repeat = TRUE ; 1318dcb2a10SAndre Fischer Spin = TRUE ; 1328dcb2a10SAndre Fischer Maximum = 100 ; 1338dcb2a10SAndre Fischer StrictFormat = TRUE ; 1347ea7a1ccSTsutomu Uchino Unit = FUNIT_PERCENT ; 1358dcb2a10SAndre Fischer Last = 100 ; 1368dcb2a10SAndre Fischer SpinSize = 5 ; 1378dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Specify the transparency of the line." ; 1388dcb2a10SAndre Fischer }; 1398dcb2a10SAndre Fischer 1408dcb2a10SAndre Fischer FixedText FT_ARROW 1418dcb2a10SAndre Fischer { 1428dcb2a10SAndre Fischer 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) ; 1438dcb2a10SAndre Fischer Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3, TEXT_HEIGHT ) ; 1448dcb2a10SAndre Fischer Text [ en-US ] = "~Arrow:" ; 1458dcb2a10SAndre Fischer }; 1468dcb2a10SAndre Fischer ListBox LB_START 1478dcb2a10SAndre Fischer { 1488dcb2a10SAndre Fischer Border = TRUE ; 1498dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_LB_START; 1508dcb2a10SAndre Fischer 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 ) ; 15197e8a929SArmin Le Grand Size = MAP_APPFONT ( TOOLBOX_WIDTH, LISTBOX_HEIGHT ) ; 1528dcb2a10SAndre Fischer TabStop = TRUE ; 1538dcb2a10SAndre Fischer DropDown = TRUE ; 1548dcb2a10SAndre Fischer DDExtraWidth = TRUE ; 1558dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Select the style of the beginning arrowhead." ; 1568dcb2a10SAndre Fischer }; 1578dcb2a10SAndre Fischer ListBox LB_END 1588dcb2a10SAndre Fischer { 1598dcb2a10SAndre Fischer Border = TRUE ; 1608dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_LB_END ; 1618dcb2a10SAndre Fischer 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 ) ; 16297e8a929SArmin Le Grand Size = MAP_APPFONT ( TOOLBOX_WIDTH + 1, LISTBOX_HEIGHT ) ; 1638dcb2a10SAndre Fischer TabStop = TRUE ; 1648dcb2a10SAndre Fischer DropDown = TRUE ; 1658dcb2a10SAndre Fischer DDExtraWidth = TRUE ; 1668dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Select the style of the ending arrowhead." ; 1678dcb2a10SAndre Fischer }; 1688dcb2a10SAndre Fischer 1698dcb2a10SAndre Fischer FixedText FT_EDGESTYLE 1708dcb2a10SAndre Fischer { 1718dcb2a10SAndre Fischer Pos = MAP_APPFONT ( 1728dcb2a10SAndre Fischer SECTIONPAGE_MARGIN_HORIZONTAL, 1738dcb2a10SAndre Fischer SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*3 + TEXT_CONTROL_SPACING_VERTICAL*3 + TOOLBOX_HEIGHT*3 + CONTROL_SPACING_VERTICAL*3) ; 1748dcb2a10SAndre Fischer Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3, TEXT_HEIGHT ) ; 1758dcb2a10SAndre Fischer Text [ en-US ] = "~Corner style" ; 1768dcb2a10SAndre Fischer }; 1778dcb2a10SAndre Fischer ListBox LB_EDGESTYLE 1788dcb2a10SAndre Fischer { 1798dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_LB_EDGESTYLE ; 1808dcb2a10SAndre Fischer Border = TRUE ; 1818dcb2a10SAndre Fischer Pos = MAP_APPFONT ( 1828dcb2a10SAndre Fischer SECTIONPAGE_MARGIN_HORIZONTAL , 1838dcb2a10SAndre Fischer SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*4 + TEXT_CONTROL_SPACING_VERTICAL*4 + TOOLBOX_HEIGHT*3 + CONTROL_SPACING_VERTICAL*3 ) ; 18497e8a929SArmin Le Grand Size = MAP_APPFONT ( TOOLBOX_WIDTH, LISTBOX_HEIGHT ) ; 1858dcb2a10SAndre Fischer TabStop = TRUE ; 1868dcb2a10SAndre Fischer DropDown = TRUE ; 1878dcb2a10SAndre Fischer DDExtraWidth = TRUE ; 1888dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Select the style of the edge connections." ; 1898dcb2a10SAndre Fischer StringList [ en-US ] = 1908dcb2a10SAndre Fischer { 1918dcb2a10SAndre Fischer < "Rounded" ; Default ; > ; 1928dcb2a10SAndre Fischer < "- none -" ; > ; 1938dcb2a10SAndre Fischer < "Mitered" ; > ; 1948dcb2a10SAndre Fischer < "Beveled" ; > ; 1958dcb2a10SAndre Fischer }; 1968dcb2a10SAndre Fischer }; 1978dcb2a10SAndre Fischer FixedText FT_CAPSTYLE 1988dcb2a10SAndre Fischer { 1998dcb2a10SAndre Fischer Pos = MAP_APPFONT ( 2008dcb2a10SAndre Fischer SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3, 2018dcb2a10SAndre Fischer SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*3 + TEXT_CONTROL_SPACING_VERTICAL*3 + TOOLBOX_HEIGHT*3 + CONTROL_SPACING_VERTICAL*3) ; 2028dcb2a10SAndre Fischer Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3, TEXT_HEIGHT ) ; 2038dcb2a10SAndre Fischer Text [ en-US ] = "Ca~p style" ; 2048dcb2a10SAndre Fischer }; 2058dcb2a10SAndre Fischer ListBox LB_CAPSTYLE 2068dcb2a10SAndre Fischer { 2078dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_LB_CAPSTYLE ; 2088dcb2a10SAndre Fischer Border = TRUE ; 2098dcb2a10SAndre Fischer Pos = MAP_APPFONT ( 2108dcb2a10SAndre Fischer SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3, 2118dcb2a10SAndre Fischer SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*4 + TEXT_CONTROL_SPACING_VERTICAL*4 + TOOLBOX_HEIGHT*3 + CONTROL_SPACING_VERTICAL*3 ) ; 21297e8a929SArmin Le Grand Size = MAP_APPFONT ( TOOLBOX_WIDTH, LISTBOX_HEIGHT ) ; 2138dcb2a10SAndre Fischer TabStop = TRUE ; 2148dcb2a10SAndre Fischer DropDown = TRUE ; 2158dcb2a10SAndre Fischer DDExtraWidth = TRUE ; 2168dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Select the style of the line caps." ; 2178dcb2a10SAndre Fischer StringList [ en-US ] = 2188dcb2a10SAndre Fischer { 2198dcb2a10SAndre Fischer < "Flat" ; Default ; > ; // Same string as in Excel 2208dcb2a10SAndre Fischer < "Round" ; > ; 2218dcb2a10SAndre Fischer < "Square" ; > ; 2228dcb2a10SAndre Fischer }; 2238dcb2a10SAndre Fischer }; 2248dcb2a10SAndre Fischer 2258dcb2a10SAndre Fischer Image IMG_COLOR 2268dcb2a10SAndre Fischer { 227*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/Line_color.png" ;}; 2288dcb2a10SAndre Fischer }; 2298dcb2a10SAndre Fischer Image IMG_COLOR_NO 2308dcb2a10SAndre Fischer { 231*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/no color.png" ;}; 2328dcb2a10SAndre Fischer }; 2338dcb2a10SAndre Fischer 2348dcb2a10SAndre Fischer Image IMG_NONE_ICON 2358dcb2a10SAndre Fischer { 236*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/blank.png" ;}; 2378dcb2a10SAndre Fischer }; 2388dcb2a10SAndre Fischer 2398dcb2a10SAndre Fischer //WIDTH ICON 2408dcb2a10SAndre Fischer Image IMG_WIDTH1_ICON 2418dcb2a10SAndre Fischer { 242*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/width1.png" ;}; 2438dcb2a10SAndre Fischer }; 2448dcb2a10SAndre Fischer Image IMG_WIDTH2_ICON 2458dcb2a10SAndre Fischer { 246*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/width2.png" ;}; 2478dcb2a10SAndre Fischer }; 2488dcb2a10SAndre Fischer Image IMG_WIDTH3_ICON 2498dcb2a10SAndre Fischer { 250*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/width3.png" ;}; 2518dcb2a10SAndre Fischer }; 2528dcb2a10SAndre Fischer Image IMG_WIDTH4_ICON 2538dcb2a10SAndre Fischer { 254*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/width4.png" ;}; 2558dcb2a10SAndre Fischer }; 2568dcb2a10SAndre Fischer Image IMG_WIDTH5_ICON 2578dcb2a10SAndre Fischer { 258*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/width5.png" ;}; 2598dcb2a10SAndre Fischer }; 2608dcb2a10SAndre Fischer Image IMG_WIDTH6_ICON 2618dcb2a10SAndre Fischer { 262*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/width6.png" ;}; 2638dcb2a10SAndre Fischer }; 2648dcb2a10SAndre Fischer Image IMG_WIDTH7_ICON 2658dcb2a10SAndre Fischer { 266*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/width7.png" ;}; 2678dcb2a10SAndre Fischer }; 2688dcb2a10SAndre Fischer Image IMG_WIDTH8_ICON 2698dcb2a10SAndre Fischer { 270*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/width8.png" ;}; 2718dcb2a10SAndre Fischer }; 2728dcb2a10SAndre Fischer 2738dcb2a10SAndre Fischer //high contrast for line width 2748dcb2a10SAndre Fischer //WIDTH ICON 2758dcb2a10SAndre Fischer Image IMG_WIDTH1_ICON_H 2768dcb2a10SAndre Fischer { 277*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/width1_h.png" ;}; 2788dcb2a10SAndre Fischer }; 2798dcb2a10SAndre Fischer Image IMG_WIDTH2_ICON_H 2808dcb2a10SAndre Fischer { 281*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/width2_h.png" ;}; 2828dcb2a10SAndre Fischer }; 2838dcb2a10SAndre Fischer Image IMG_WIDTH3_ICON_H 2848dcb2a10SAndre Fischer { 285*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/width3_h.png" ;}; 2868dcb2a10SAndre Fischer }; 2878dcb2a10SAndre Fischer Image IMG_WIDTH4_ICON_H 2888dcb2a10SAndre Fischer { 289*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/width4_h.png" ;}; 2908dcb2a10SAndre Fischer }; 2918dcb2a10SAndre Fischer Image IMG_WIDTH5_ICON_H 2928dcb2a10SAndre Fischer { 293*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/width5_h.png" ;}; 2948dcb2a10SAndre Fischer }; 2958dcb2a10SAndre Fischer Image IMG_WIDTH6_ICON_H 2968dcb2a10SAndre Fischer { 297*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/width6_h.png" ;}; 2988dcb2a10SAndre Fischer }; 2998dcb2a10SAndre Fischer Image IMG_WIDTH7_ICON_H 3008dcb2a10SAndre Fischer { 301*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/width7_h.png" ;}; 3028dcb2a10SAndre Fischer }; 3038dcb2a10SAndre Fischer Image IMG_WIDTH8_ICON_H 3048dcb2a10SAndre Fischer { 305*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/width8_h.png" ;}; 3068dcb2a10SAndre Fischer }; 3078dcb2a10SAndre Fischer}; 3088dcb2a10SAndre FischerControl RID_POPUPPANEL_LINEPAGE_COLOR 3098dcb2a10SAndre Fischer{ 3108dcb2a10SAndre Fischer OutputSize = TRUE ; 3118dcb2a10SAndre Fischer DialogControl = TRUE ; 3128dcb2a10SAndre Fischer Border = FALSE ; 3138dcb2a10SAndre Fischer Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH, POPUP_COLOR_PICKER_HEIGHT ) ; 3148dcb2a10SAndre Fischer 3158dcb2a10SAndre Fischer Control VS_COLOR 3168dcb2a10SAndre Fischer { 3178dcb2a10SAndre Fischer HelpId = HID_PPROPERTYPANEL_LINE_VS_COLOR ; 3188dcb2a10SAndre Fischer Hide = TRUE ; 3198dcb2a10SAndre Fischer Pos = MAP_APPFONT ( OFFSET_X, OFFSET_Y ) ; 3208dcb2a10SAndre Fischer Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2) ; 3218dcb2a10SAndre Fischer TabStop = TRUE ; 3228dcb2a10SAndre Fischer Text = "Color" ; 3238dcb2a10SAndre Fischer }; 3248dcb2a10SAndre Fischer}; 3258dcb2a10SAndre FischerControl RID_POPUPPANEL_LINEPAGE_STYLE 3268dcb2a10SAndre Fischer{ 3278dcb2a10SAndre Fischer OutputSize = TRUE ; 3288dcb2a10SAndre Fischer DialogControl = TRUE ; 3298dcb2a10SAndre Fischer Border = FALSE ; 3308dcb2a10SAndre Fischer 331facb16e7SArmin Le Grand Size = MAP_APPFONT( 332facb16e7SArmin Le Grand POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH , 333facb16e7SArmin Le Grand 13 + POPUP_BORDER_HEIGHT + POPUPPANEL_MARGIN_SMALL * 2 + POPUPPANEL_MARGIN_LARGE) ; 3348dcb2a10SAndre Fischer 3358dcb2a10SAndre Fischer Control VS_STYLE 3368dcb2a10SAndre Fischer { 3378dcb2a10SAndre Fischer HelpId = HID_PPROPERTYPANEL_LINE_VS_STYLE ; 3388dcb2a10SAndre Fischer Hide = TRUE ; 3398dcb2a10SAndre Fischer Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y ) ; 3408dcb2a10SAndre Fischer Size = MAP_APPFONT ( 93, 13 * 12) ; 3418dcb2a10SAndre Fischer TabStop = TRUE ; 3428dcb2a10SAndre Fischer Text = "Style" ; 3438dcb2a10SAndre Fischer }; 3448dcb2a10SAndre Fischer 3458dcb2a10SAndre Fischer PushButton PB_OPTIONS 3468dcb2a10SAndre Fischer { 3478dcb2a10SAndre Fischer HelpId = HID_PPROPERTYPANEL_LINE_BTN_STYLE ; 3488dcb2a10SAndre Fischer Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X, POPUPPANEL_MARGIN_SMALL * 2 + OFFSET_Y ) ; 3498dcb2a10SAndre Fischer Size = MAP_APPFONT ( 93, 13 ) ; 3508dcb2a10SAndre Fischer TabStop = TRUE ; 3518dcb2a10SAndre Fischer Text [ en-US ] = "~More Options..." ; 3528dcb2a10SAndre Fischer }; 3538dcb2a10SAndre Fischer}; 3548dcb2a10SAndre FischerControl RID_POPUPPANEL_LINEPAGE_WIDTH 3558dcb2a10SAndre Fischer{ 3568dcb2a10SAndre Fischer OutputSize = TRUE ; 3578dcb2a10SAndre Fischer DialogControl = TRUE ; 3588dcb2a10SAndre Fischer Border = FALSE ; 3598dcb2a10SAndre Fischer 3608dcb2a10SAndre Fischer 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)) ; 3618dcb2a10SAndre Fischer 3628dcb2a10SAndre Fischer Control VS_WIDTH 3638dcb2a10SAndre Fischer { 3648dcb2a10SAndre Fischer HelpId = HID_PPROPERTYPANEL_LINE_VS_WIDTH ; 3658dcb2a10SAndre Fischer Hide = TRUE ; 3668dcb2a10SAndre Fischer Pos = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y ) ; 3678dcb2a10SAndre Fischer Size = MAP_APPFONT ( 80, 12 * 9); 3688dcb2a10SAndre Fischer TabStop = TRUE ; 3698dcb2a10SAndre Fischer Text = "Width" ; 3708dcb2a10SAndre Fischer }; 3718dcb2a10SAndre Fischer FixedText FT_CUSTOME 3728dcb2a10SAndre Fischer { 3738dcb2a10SAndre Fischer Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y + 12 * 9 + POPUPPANEL_MARGIN_SMALL ) ; 3748dcb2a10SAndre Fischer Size = MAP_APPFONT ( 80, TEXT_HEIGHT ) ; 3758dcb2a10SAndre Fischer Text [ en-US ] = "Custom:" ; 3768dcb2a10SAndre Fischer }; 3778dcb2a10SAndre Fischer FixedText FT_LINE_WIDTH 3788dcb2a10SAndre Fischer { 3798dcb2a10SAndre Fischer Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE) ; 3808dcb2a10SAndre Fischer Size = MAP_APPFONT ( 74 - POPUPPANEL_MARGIN_LARGE * 2, TEXT_HEIGHT ) ; 3818dcb2a10SAndre Fischer Text [ en-US ] = "Line ~width:" ; 3828dcb2a10SAndre Fischer }; 3838dcb2a10SAndre Fischer MetricField MF_WIDTH 3848dcb2a10SAndre Fischer { 3858dcb2a10SAndre Fischer Border = TRUE ; 3868dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_MTR_WIDTH ; 3878dcb2a10SAndre Fischer Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ; 3888dcb2a10SAndre Fischer Size = MAP_APPFONT ( 40, 12 ) ; 3898dcb2a10SAndre Fischer TabStop = TRUE ; 3908dcb2a10SAndre Fischer Right = TRUE ; 3918dcb2a10SAndre Fischer Repeat = TRUE ; 3928dcb2a10SAndre Fischer Spin = TRUE ; 3938dcb2a10SAndre Fischer Maximum = 5000 ; 3948dcb2a10SAndre Fischer StrictFormat = TRUE ; 3958dcb2a10SAndre Fischer DecimalDigits = 2 ; 3968dcb2a10SAndre Fischer Value = 1 ; 3978dcb2a10SAndre Fischer Unit = FUNIT_MM ; 3988dcb2a10SAndre Fischer Last = 5000 ; 3998dcb2a10SAndre Fischer SpinSize = 10 ; 4008dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Specify the width of the line." ; 4018dcb2a10SAndre Fischer }; 4028dcb2a10SAndre Fischer 4038dcb2a10SAndre Fischer Image IMG_WIDTH_CUSTOM 4048dcb2a10SAndre Fischer { 405*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/last_custom_common.png" ;}; 4068dcb2a10SAndre Fischer }; 4078dcb2a10SAndre Fischer Image IMG_WIDTH_CUSTOM_GRAY 4088dcb2a10SAndre Fischer { 409*38b885b7SMatthias Seidel ImageBitmap = Bitmap{File = "sidebar/last_custom_common_grey.png" ;}; 4108dcb2a10SAndre Fischer }; 4118dcb2a10SAndre Fischer String STR_WIDTH_LAST_CUSTOM 4128dcb2a10SAndre Fischer { 4138dcb2a10SAndre Fischer Text [ en-US ] = "Last Custom Value" ; 4148dcb2a10SAndre Fischer }; 4158dcb2a10SAndre Fischer String STR_PT 4168dcb2a10SAndre Fischer { 4178dcb2a10SAndre Fischer Text [ en-US ] = "pt" ; 4188dcb2a10SAndre Fischer }; 4198dcb2a10SAndre Fischer}; 4204e8031e0SArmin Le Grand 421e9234b8fSmseidel// ********************************************************************** EOF 422