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" 238dcb2a10SAndre Fischer#include <sfx2/sidebar/propertypanel.hrc> 248dcb2a10SAndre Fischer#include <svx/dialogs.hrc> 258dcb2a10SAndre Fischer#include "helpid.hrc" 268dcb2a10SAndre Fischer 278dcb2a10SAndre Fischer#define TOOLBOX_WIDTH 50 288dcb2a10SAndre Fischer#define TOOLBOX_HEIGHT 14 29*97e8a929SArmin Le Grand#define LISTBOX_HEIGHT 99 308dcb2a10SAndre Fischer 318dcb2a10SAndre FischerControl RID_SIDEBAR_LINE_PANEL 328dcb2a10SAndre Fischer{ 338dcb2a10SAndre Fischer OutputSize = TRUE; 348dcb2a10SAndre Fischer DialogControl = TRUE; 358dcb2a10SAndre Fischer Border = FALSE; 368dcb2a10SAndre Fischer Text = "Line"; 378dcb2a10SAndre Fischer 388dcb2a10SAndre Fischer Size = MAP_APPFONT( 398dcb2a10SAndre Fischer PROPERTYPAGE_WIDTH, 408dcb2a10SAndre 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 ); 418dcb2a10SAndre Fischer HelpID = HID_PROPERTYPANEL_LINE_SECTION ; 428dcb2a10SAndre Fischer 438dcb2a10SAndre Fischer FixedText FT_WIDTH 448dcb2a10SAndre Fischer { 458dcb2a10SAndre Fischer Pos = MAP_APPFONT( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP ) ; 468dcb2a10SAndre Fischer Size = MAP_APPFONT (TOOLBOX_WIDTH , TEXT_HEIGHT ) ; 478dcb2a10SAndre Fischer Text [ en-US ] = "~Width:" ; 488dcb2a10SAndre Fischer }; 498dcb2a10SAndre Fischer ToolBox TB_WIDTH 508dcb2a10SAndre Fischer { 518dcb2a10SAndre Fischer SVLook = TRUE ; 528dcb2a10SAndre Fischer Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ; 538dcb2a10SAndre Fischer Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ; 548dcb2a10SAndre Fischer TabStop = TRUE ; 558dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_TBX_WIDTH ; 568dcb2a10SAndre Fischer Text = "Width"; 578dcb2a10SAndre Fischer ItemList = 588dcb2a10SAndre Fischer { 598dcb2a10SAndre Fischer ToolBoxItem 608dcb2a10SAndre Fischer { 618dcb2a10SAndre Fischer Identifier = TBI_WIDTH ; 628dcb2a10SAndre Fischer DropDown = TRUE ; 638dcb2a10SAndre Fischer Text [ en-US ] = "Width" ; 648dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_TBI_WIDTH; 658dcb2a10SAndre Fischer }; 668dcb2a10SAndre Fischer }; 678dcb2a10SAndre Fischer }; 688dcb2a10SAndre Fischer String STR_QH_TB_WIDTH 698dcb2a10SAndre Fischer { 708dcb2a10SAndre Fischer Text [ en-US ] = "Select the width of the line."; 718dcb2a10SAndre Fischer }; 728dcb2a10SAndre Fischer 738dcb2a10SAndre Fischer FixedText FT_COLOR 748dcb2a10SAndre Fischer { 758dcb2a10SAndre Fischer Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3, SECTIONPAGE_MARGIN_VERTICAL_TOP ) ; 768dcb2a10SAndre Fischer Size = MAP_APPFONT (TOOLBOX_WIDTH , TEXT_HEIGHT ) ; 778dcb2a10SAndre Fischer Text [ en-US ] = "~Color:" ; 788dcb2a10SAndre Fischer }; 798dcb2a10SAndre Fischer ToolBox TB_COLOR 808dcb2a10SAndre Fischer { 818dcb2a10SAndre Fischer SVLook = TRUE ; 828dcb2a10SAndre Fischer Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 4, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ; 838dcb2a10SAndre Fischer Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ; 848dcb2a10SAndre Fischer TabStop = TRUE ; 858dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_TBX_COLOR; 868dcb2a10SAndre Fischer Text = "Color"; 878dcb2a10SAndre Fischer ItemList = 888dcb2a10SAndre Fischer { 898dcb2a10SAndre Fischer ToolBoxItem 908dcb2a10SAndre Fischer { 918dcb2a10SAndre Fischer Identifier = TBI_COLOR ; 928dcb2a10SAndre Fischer DropDown = TRUE ; 938dcb2a10SAndre Fischer Text [ en-US ] = "Color" ; 948dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_TBI_COLOR; 958dcb2a10SAndre Fischer }; 968dcb2a10SAndre Fischer }; 978dcb2a10SAndre Fischer }; 988dcb2a10SAndre Fischer String STR_QH_TB_COLOR 998dcb2a10SAndre Fischer { 1008dcb2a10SAndre Fischer Text [ en-US ] = "Select the color of the line."; 1018dcb2a10SAndre Fischer }; 1028dcb2a10SAndre Fischer 1038dcb2a10SAndre Fischer FixedText FT_STYLE 1048dcb2a10SAndre Fischer { 1058dcb2a10SAndre Fischer Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + TOOLBOX_HEIGHT + CONTROL_SPACING_VERTICAL) ; 1068dcb2a10SAndre Fischer Size = MAP_APPFONT (TOOLBOX_WIDTH , TEXT_HEIGHT ) ; 1078dcb2a10SAndre Fischer Text [ en-US ] = "~Style:" ; 1088dcb2a10SAndre Fischer }; 109*97e8a929SArmin Le Grand ListBox LB_STYLE 1108dcb2a10SAndre Fischer { 111*97e8a929SArmin Le Grand Border = TRUE ; 1128dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_TBX_STYLE; 113*97e8a929SArmin 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) ; 114*97e8a929SArmin Le Grand Size = MAP_APPFONT (TOOLBOX_WIDTH ,LISTBOX_HEIGHT ) ; 115*97e8a929SArmin Le Grand TabStop = TRUE ; 1168dcb2a10SAndre Fischer DropDown = TRUE ; 117*97e8a929SArmin Le Grand DDExtraWidth = TRUE ; 118*97e8a929SArmin Le Grand QuickHelpText [ en-US ] = "Select the style of the line."; 1198dcb2a10SAndre Fischer }; 1208dcb2a10SAndre Fischer 1218dcb2a10SAndre Fischer FixedText FT_TRANSPARENT 1228dcb2a10SAndre Fischer { 1238dcb2a10SAndre 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) ; 1248dcb2a10SAndre Fischer Size = MAP_APPFONT (TOOLBOX_WIDTH , TEXT_HEIGHT ) ; 1258dcb2a10SAndre Fischer Text [ en-US ] = "~Transparency:" ; 1268dcb2a10SAndre Fischer }; 1278dcb2a10SAndre Fischer MetricField MF_TRANSPARENT 1288dcb2a10SAndre Fischer { 1298dcb2a10SAndre Fischer Border = TRUE ; 1308dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_MTR_TRANCEPARENCE; 1318dcb2a10SAndre 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) ; 1328dcb2a10SAndre Fischer Size = MAP_APPFONT ( TOOLBOX_WIDTH + 1 , 12 ) ; 1338dcb2a10SAndre Fischer TabStop = TRUE ; 1348dcb2a10SAndre Fischer Repeat = TRUE ; 1358dcb2a10SAndre Fischer Spin = TRUE ; 1368dcb2a10SAndre Fischer Maximum = 100 ; 1378dcb2a10SAndre Fischer StrictFormat = TRUE ; 1388dcb2a10SAndre Fischer Unit = FUNIT_CUSTOM ; 1398dcb2a10SAndre Fischer CustomUnitText = "%" ; 1408dcb2a10SAndre Fischer Last = 100 ; 1418dcb2a10SAndre Fischer SpinSize = 5 ; 1428dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Specify the transparency of the line."; 1438dcb2a10SAndre Fischer }; 1448dcb2a10SAndre Fischer 1458dcb2a10SAndre Fischer FixedText FT_ARROW 1468dcb2a10SAndre Fischer { 1478dcb2a10SAndre 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) ; 1488dcb2a10SAndre Fischer Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3 , TEXT_HEIGHT ) ; 1498dcb2a10SAndre Fischer Text [ en-US ] = "~Arrow:" ; 1508dcb2a10SAndre Fischer }; 1518dcb2a10SAndre Fischer ListBox LB_START 1528dcb2a10SAndre Fischer { 1538dcb2a10SAndre Fischer Border = TRUE ; 1548dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_LB_START; 1558dcb2a10SAndre 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 ) ; 156*97e8a929SArmin Le Grand Size = MAP_APPFONT ( TOOLBOX_WIDTH , LISTBOX_HEIGHT ) ; 1578dcb2a10SAndre Fischer TabStop = TRUE ; 1588dcb2a10SAndre Fischer DropDown = TRUE ; 1598dcb2a10SAndre Fischer DDExtraWidth = TRUE ; 1608dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Select the style of the beginning arrowhead."; 1618dcb2a10SAndre Fischer }; 1628dcb2a10SAndre Fischer ListBox LB_END 1638dcb2a10SAndre Fischer { 1648dcb2a10SAndre Fischer Border = TRUE ; 1658dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_LB_END; 1668dcb2a10SAndre 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 ) ; 167*97e8a929SArmin Le Grand Size = MAP_APPFONT ( TOOLBOX_WIDTH + 1, LISTBOX_HEIGHT ) ; 1688dcb2a10SAndre Fischer TabStop = TRUE ; 1698dcb2a10SAndre Fischer DropDown = TRUE ; 1708dcb2a10SAndre Fischer DDExtraWidth = TRUE ; 1718dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Select the style of the ending arrowhead."; 1728dcb2a10SAndre Fischer }; 1738dcb2a10SAndre Fischer 1748dcb2a10SAndre Fischer FixedText FT_EDGESTYLE 1758dcb2a10SAndre Fischer { 1768dcb2a10SAndre Fischer Pos = MAP_APPFONT ( 1778dcb2a10SAndre Fischer SECTIONPAGE_MARGIN_HORIZONTAL, 1788dcb2a10SAndre Fischer SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*3 + TEXT_CONTROL_SPACING_VERTICAL*3 + TOOLBOX_HEIGHT*3 + CONTROL_SPACING_VERTICAL*3) ; 1798dcb2a10SAndre Fischer Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3 , TEXT_HEIGHT ) ; 1808dcb2a10SAndre Fischer Text [ en-US ] = "~Corner style" ; 1818dcb2a10SAndre Fischer }; 1828dcb2a10SAndre Fischer ListBox LB_EDGESTYLE 1838dcb2a10SAndre Fischer { 1848dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_LB_EDGESTYLE; 1858dcb2a10SAndre Fischer Border = TRUE ; 1868dcb2a10SAndre Fischer Pos = MAP_APPFONT ( 1878dcb2a10SAndre Fischer SECTIONPAGE_MARGIN_HORIZONTAL , 1888dcb2a10SAndre Fischer SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*4 + TEXT_CONTROL_SPACING_VERTICAL*4 + TOOLBOX_HEIGHT*3 + CONTROL_SPACING_VERTICAL*3 ) ; 189*97e8a929SArmin Le Grand Size = MAP_APPFONT ( TOOLBOX_WIDTH , LISTBOX_HEIGHT ) ; 1908dcb2a10SAndre Fischer TabStop = TRUE ; 1918dcb2a10SAndre Fischer DropDown = TRUE ; 1928dcb2a10SAndre Fischer DDExtraWidth = TRUE ; 1938dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Select the style of the edge connections."; 1948dcb2a10SAndre Fischer StringList [ en-US ] = 1958dcb2a10SAndre Fischer { 1968dcb2a10SAndre Fischer < "Rounded" ; Default ; > ; 1978dcb2a10SAndre Fischer < "- none -" ; > ; 1988dcb2a10SAndre Fischer < "Mitered" ; > ; 1998dcb2a10SAndre Fischer < "Beveled" ; > ; 2008dcb2a10SAndre Fischer }; 2018dcb2a10SAndre Fischer }; 2028dcb2a10SAndre Fischer FixedText FT_CAPSTYLE 2038dcb2a10SAndre Fischer { 2048dcb2a10SAndre Fischer Pos = MAP_APPFONT ( 2058dcb2a10SAndre Fischer SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3, 2068dcb2a10SAndre Fischer SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*3 + TEXT_CONTROL_SPACING_VERTICAL*3 + TOOLBOX_HEIGHT*3 + CONTROL_SPACING_VERTICAL*3) ; 2078dcb2a10SAndre Fischer Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3 , TEXT_HEIGHT ) ; 2088dcb2a10SAndre Fischer Text [ en-US ] = "Ca~p style" ; 2098dcb2a10SAndre Fischer }; 2108dcb2a10SAndre Fischer ListBox LB_CAPSTYLE 2118dcb2a10SAndre Fischer { 2128dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_LB_CAPSTYLE; 2138dcb2a10SAndre Fischer Border = TRUE ; 2148dcb2a10SAndre Fischer Pos = MAP_APPFONT ( 2158dcb2a10SAndre Fischer SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3, 2168dcb2a10SAndre Fischer SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*4 + TEXT_CONTROL_SPACING_VERTICAL*4 + TOOLBOX_HEIGHT*3 + CONTROL_SPACING_VERTICAL*3 ) ; 217*97e8a929SArmin Le Grand Size = MAP_APPFONT ( TOOLBOX_WIDTH , LISTBOX_HEIGHT ) ; 2188dcb2a10SAndre Fischer TabStop = TRUE ; 2198dcb2a10SAndre Fischer DropDown = TRUE ; 2208dcb2a10SAndre Fischer DDExtraWidth = TRUE ; 2218dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Select the style of the line caps."; 2228dcb2a10SAndre Fischer StringList [ en-US ] = 2238dcb2a10SAndre Fischer { 2248dcb2a10SAndre Fischer < "Flat" ; Default ; > ; // Same string as in Excel 2258dcb2a10SAndre Fischer < "Round" ; > ; 2268dcb2a10SAndre Fischer < "Square" ; > ; 2278dcb2a10SAndre Fischer }; 2288dcb2a10SAndre Fischer }; 2298dcb2a10SAndre Fischer 2308dcb2a10SAndre Fischer Image IMG_COLOR 2318dcb2a10SAndre Fischer { 2328dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/Line_color.png";}; 2338dcb2a10SAndre Fischer }; 2348dcb2a10SAndre Fischer Image IMG_COLOR_NO 2358dcb2a10SAndre Fischer { 2368dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/no color.png";}; 2378dcb2a10SAndre Fischer }; 2388dcb2a10SAndre Fischer 2398dcb2a10SAndre Fischer Image IMG_NONE_ICON 2408dcb2a10SAndre Fischer { 2418dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/blank.png";}; 2428dcb2a10SAndre Fischer }; 2438dcb2a10SAndre Fischer 2448dcb2a10SAndre Fischer //WIDTH ICON 2458dcb2a10SAndre Fischer Image IMG_WIDTH1_ICON 2468dcb2a10SAndre Fischer { 2478dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/width1.png";}; 2488dcb2a10SAndre Fischer }; 2498dcb2a10SAndre Fischer Image IMG_WIDTH2_ICON 2508dcb2a10SAndre Fischer { 2518dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/width2.png";}; 2528dcb2a10SAndre Fischer }; 2538dcb2a10SAndre Fischer Image IMG_WIDTH3_ICON 2548dcb2a10SAndre Fischer { 2558dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/width3.png";}; 2568dcb2a10SAndre Fischer }; 2578dcb2a10SAndre Fischer Image IMG_WIDTH4_ICON 2588dcb2a10SAndre Fischer { 2598dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/width4.png";}; 2608dcb2a10SAndre Fischer }; 2618dcb2a10SAndre Fischer Image IMG_WIDTH5_ICON 2628dcb2a10SAndre Fischer { 2638dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/width5.png";}; 2648dcb2a10SAndre Fischer }; 2658dcb2a10SAndre Fischer Image IMG_WIDTH6_ICON 2668dcb2a10SAndre Fischer { 2678dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/width6.png";}; 2688dcb2a10SAndre Fischer }; 2698dcb2a10SAndre Fischer Image IMG_WIDTH7_ICON 2708dcb2a10SAndre Fischer { 2718dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/width7.png";}; 2728dcb2a10SAndre Fischer }; 2738dcb2a10SAndre Fischer Image IMG_WIDTH8_ICON 2748dcb2a10SAndre Fischer { 2758dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/width8.png";}; 2768dcb2a10SAndre Fischer }; 2778dcb2a10SAndre Fischer 2788dcb2a10SAndre Fischer //high contrast for line width 2798dcb2a10SAndre Fischer //WIDTH ICON 2808dcb2a10SAndre Fischer Image IMG_WIDTH1_ICON_H 2818dcb2a10SAndre Fischer { 2828dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/width1_h.png";}; 2838dcb2a10SAndre Fischer }; 2848dcb2a10SAndre Fischer Image IMG_WIDTH2_ICON_H 2858dcb2a10SAndre Fischer { 2868dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/width2_h.png";}; 2878dcb2a10SAndre Fischer }; 2888dcb2a10SAndre Fischer Image IMG_WIDTH3_ICON_H 2898dcb2a10SAndre Fischer { 2908dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/width3_h.png";}; 2918dcb2a10SAndre Fischer }; 2928dcb2a10SAndre Fischer Image IMG_WIDTH4_ICON_H 2938dcb2a10SAndre Fischer { 2948dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/width4_h.png";}; 2958dcb2a10SAndre Fischer }; 2968dcb2a10SAndre Fischer Image IMG_WIDTH5_ICON_H 2978dcb2a10SAndre Fischer { 2988dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/width5_h.png";}; 2998dcb2a10SAndre Fischer }; 3008dcb2a10SAndre Fischer Image IMG_WIDTH6_ICON_H 3018dcb2a10SAndre Fischer { 3028dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/width6_h.png";}; 3038dcb2a10SAndre Fischer }; 3048dcb2a10SAndre Fischer Image IMG_WIDTH7_ICON_H 3058dcb2a10SAndre Fischer { 3068dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/width7_h.png";}; 3078dcb2a10SAndre Fischer }; 3088dcb2a10SAndre Fischer Image IMG_WIDTH8_ICON_H 3098dcb2a10SAndre Fischer { 3108dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/width8_h.png";}; 3118dcb2a10SAndre Fischer }; 3128dcb2a10SAndre Fischer}; 3138dcb2a10SAndre FischerControl RID_POPUPPANEL_LINEPAGE_COLOR 3148dcb2a10SAndre Fischer{ 3158dcb2a10SAndre Fischer OutputSize = TRUE; 3168dcb2a10SAndre Fischer DialogControl = TRUE; 3178dcb2a10SAndre Fischer Border = FALSE; 3188dcb2a10SAndre Fischer Size = MAP_APPFONT( POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT ); 3198dcb2a10SAndre Fischer 3208dcb2a10SAndre Fischer Control VS_COLOR 3218dcb2a10SAndre Fischer { 3228dcb2a10SAndre Fischer HelpId = HID_PPROPERTYPANEL_LINE_VS_COLOR ; 3238dcb2a10SAndre Fischer Hide = TRUE ; 3248dcb2a10SAndre Fischer Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y ); 3258dcb2a10SAndre Fischer Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2); 3268dcb2a10SAndre Fischer TabStop = TRUE ; 3278dcb2a10SAndre Fischer Text = "Color"; 3288dcb2a10SAndre Fischer }; 3298dcb2a10SAndre Fischer String STR_AUTOMATICE 3308dcb2a10SAndre Fischer { 3318dcb2a10SAndre Fischer Text [ en-US ] = "No Color"; 3328dcb2a10SAndre Fischer }; 3338dcb2a10SAndre Fischer}; 3348dcb2a10SAndre FischerControl RID_POPUPPANEL_LINEPAGE_STYLE 3358dcb2a10SAndre Fischer{ 3368dcb2a10SAndre Fischer OutputSize = TRUE; 3378dcb2a10SAndre Fischer DialogControl = TRUE; 3388dcb2a10SAndre Fischer Border = FALSE; 3398dcb2a10SAndre Fischer 340facb16e7SArmin Le Grand Size = MAP_APPFONT( 341facb16e7SArmin Le Grand POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH , 342facb16e7SArmin Le Grand 13 + POPUP_BORDER_HEIGHT + POPUPPANEL_MARGIN_SMALL * 2 + POPUPPANEL_MARGIN_LARGE); 3438dcb2a10SAndre Fischer 3448dcb2a10SAndre Fischer Control VS_STYLE 3458dcb2a10SAndre Fischer { 3468dcb2a10SAndre Fischer HelpId = HID_PPROPERTYPANEL_LINE_VS_STYLE ; 3478dcb2a10SAndre Fischer Hide = TRUE ; 3488dcb2a10SAndre Fischer Pos = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y ); 3498dcb2a10SAndre Fischer Size = MAP_APPFONT ( 93 , 13 * 12); 3508dcb2a10SAndre Fischer TabStop = TRUE ; 3518dcb2a10SAndre Fischer Text = "Style"; 3528dcb2a10SAndre Fischer }; 3538dcb2a10SAndre Fischer 3548dcb2a10SAndre Fischer PushButton PB_OPTIONS 3558dcb2a10SAndre Fischer { 3568dcb2a10SAndre Fischer HelpId = HID_PPROPERTYPANEL_LINE_BTN_STYLE; 3578dcb2a10SAndre Fischer Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X , POPUPPANEL_MARGIN_SMALL * 2 + OFFSET_Y ); 3588dcb2a10SAndre Fischer Size = MAP_APPFONT ( 93 , 13 ); 3598dcb2a10SAndre Fischer TabStop = TRUE; 3608dcb2a10SAndre Fischer Text [ en-US ] = "~More Options..."; 3618dcb2a10SAndre Fischer }; 3628dcb2a10SAndre Fischer 3638dcb2a10SAndre Fischer String STR_STYLE_NONE 3648dcb2a10SAndre Fischer { 3658dcb2a10SAndre Fischer Text [ en-US ] = "None"; 3668dcb2a10SAndre Fischer }; 3678dcb2a10SAndre Fischer String STR_STYLE_LINE1 3688dcb2a10SAndre Fischer { 3698dcb2a10SAndre Fischer Text [ en-US ] = "Continuous"; 3708dcb2a10SAndre Fischer }; 3718dcb2a10SAndre Fischer String STR_STYLE_LINE2 3728dcb2a10SAndre Fischer { 3738dcb2a10SAndre Fischer Text [ en-US ] = "Ultrafine dashed"; 3748dcb2a10SAndre Fischer }; 3758dcb2a10SAndre Fischer String STR_STYLE_LINE3 3768dcb2a10SAndre Fischer { 3778dcb2a10SAndre Fischer Text [ en-US ] = "Dashed (variable)"; 3788dcb2a10SAndre Fischer }; 3798dcb2a10SAndre Fischer String STR_STYLE_LINE4 3808dcb2a10SAndre Fischer { 3818dcb2a10SAndre Fischer Text [ en-US ] = "Fine dashed (variable)"; 3828dcb2a10SAndre Fischer }; 3838dcb2a10SAndre Fischer String STR_STYLE_LINE5 3848dcb2a10SAndre Fischer { 3858dcb2a10SAndre Fischer Text [ en-US ] = "Fine dashed"; 3868dcb2a10SAndre Fischer }; 3878dcb2a10SAndre Fischer String STR_STYLE_LINE6 3888dcb2a10SAndre Fischer { 3898dcb2a10SAndre Fischer Text [ en-US ] = "Fine dotted"; 3908dcb2a10SAndre Fischer }; 3918dcb2a10SAndre Fischer String STR_STYLE_LINE7 3928dcb2a10SAndre Fischer { 3938dcb2a10SAndre Fischer Text [ en-US ] = "Ultrafine dotted (variable)"; 3948dcb2a10SAndre Fischer }; 3958dcb2a10SAndre Fischer String STR_STYLE_LINE8 3968dcb2a10SAndre Fischer { 3978dcb2a10SAndre Fischer Text [ en-US ] = "3 dashes 3 dots (variable)"; 3988dcb2a10SAndre Fischer }; 3998dcb2a10SAndre Fischer String STR_STYLE_LINE9 4008dcb2a10SAndre Fischer { 4018dcb2a10SAndre Fischer Text [ en-US ] = "2 dots 1 dash"; 4028dcb2a10SAndre Fischer }; 4038dcb2a10SAndre Fischer String STR_STYLE_LINE10 4048dcb2a10SAndre Fischer { 4058dcb2a10SAndre Fischer Text [ en-US ] = "Ultrafine 2 dots 3 dashes"; 4068dcb2a10SAndre Fischer }; 4078dcb2a10SAndre Fischer String STR_STYLE_LINE11 4088dcb2a10SAndre Fischer { 4098dcb2a10SAndre Fischer Text [ en-US ] = "Line with fine dots"; 4108dcb2a10SAndre Fischer }; 4118dcb2a10SAndre Fischer 4128dcb2a10SAndre Fischer Image IMG_LINE1 4138dcb2a10SAndre Fischer { 4148dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line1.png";}; 4158dcb2a10SAndre Fischer }; 4168dcb2a10SAndre Fischer Image IMG_LINE1_S 4178dcb2a10SAndre Fischer { 4188dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line1_h.png";}; 4198dcb2a10SAndre Fischer }; 4208dcb2a10SAndre Fischer Image IMG_LINE2 4218dcb2a10SAndre Fischer { 4228dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line2.png";}; 4238dcb2a10SAndre Fischer }; 4248dcb2a10SAndre Fischer Image IMG_LINE2_S 4258dcb2a10SAndre Fischer { 4268dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line2_h.png";}; 4278dcb2a10SAndre Fischer }; 4288dcb2a10SAndre Fischer Image IMG_LINE3 4298dcb2a10SAndre Fischer { 4308dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line3.png";}; 4318dcb2a10SAndre Fischer }; 4328dcb2a10SAndre Fischer Image IMG_LINE3_S 4338dcb2a10SAndre Fischer { 4348dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line3_h.png";}; 4358dcb2a10SAndre Fischer }; 4368dcb2a10SAndre Fischer Image IMG_LINE4 4378dcb2a10SAndre Fischer { 4388dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line4.png";}; 4398dcb2a10SAndre Fischer }; 4408dcb2a10SAndre Fischer Image IMG_LINE4_S 4418dcb2a10SAndre Fischer { 4428dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line4_h.png";}; 4438dcb2a10SAndre Fischer }; 4448dcb2a10SAndre Fischer Image IMG_LINE5 4458dcb2a10SAndre Fischer { 4468dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line5.png";}; 4478dcb2a10SAndre Fischer }; 4488dcb2a10SAndre Fischer Image IMG_LINE5_S 4498dcb2a10SAndre Fischer { 4508dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line5_h.png";}; 4518dcb2a10SAndre Fischer }; 4528dcb2a10SAndre Fischer Image IMG_LINE6 4538dcb2a10SAndre Fischer { 4548dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line6.png";}; 4558dcb2a10SAndre Fischer }; 4568dcb2a10SAndre Fischer Image IMG_LINE6_S 4578dcb2a10SAndre Fischer { 4588dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line6_h.png";}; 4598dcb2a10SAndre Fischer }; 4608dcb2a10SAndre Fischer Image IMG_LINE7 4618dcb2a10SAndre Fischer { 4628dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line7.png";}; 4638dcb2a10SAndre Fischer }; 4648dcb2a10SAndre Fischer Image IMG_LINE7_S 4658dcb2a10SAndre Fischer { 4668dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line7_h.png";}; 4678dcb2a10SAndre Fischer }; 4688dcb2a10SAndre Fischer Image IMG_LINE8 4698dcb2a10SAndre Fischer { 4708dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line8.png";}; 4718dcb2a10SAndre Fischer }; 4728dcb2a10SAndre Fischer Image IMG_LINE8_S 4738dcb2a10SAndre Fischer { 4748dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line8_h.png";}; 4758dcb2a10SAndre Fischer }; 4768dcb2a10SAndre Fischer Image IMG_LINE9 4778dcb2a10SAndre Fischer { 4788dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line9.png";}; 4798dcb2a10SAndre Fischer }; 4808dcb2a10SAndre Fischer Image IMG_LINE9_S 4818dcb2a10SAndre Fischer { 4828dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line9_h.png";}; 4838dcb2a10SAndre Fischer }; 4848dcb2a10SAndre Fischer Image IMG_LINE10 4858dcb2a10SAndre Fischer { 4868dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line10.png";}; 4878dcb2a10SAndre Fischer }; 4888dcb2a10SAndre Fischer Image IMG_LINE10_S 4898dcb2a10SAndre Fischer { 4908dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line10_h.png";}; 4918dcb2a10SAndre Fischer }; 4928dcb2a10SAndre Fischer Image IMG_LINE11 4938dcb2a10SAndre Fischer { 4948dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line11.png";}; 4958dcb2a10SAndre Fischer }; 4968dcb2a10SAndre Fischer Image IMG_LINE11_S 4978dcb2a10SAndre Fischer { 4988dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line11_h.png";}; 4998dcb2a10SAndre Fischer }; 5008dcb2a10SAndre Fischer 5018dcb2a10SAndre Fischer //high contrast 5028dcb2a10SAndre Fischer Image IMG_LINE1_H 5038dcb2a10SAndre Fischer { 5048dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line1_hh.png";}; 5058dcb2a10SAndre Fischer }; 5068dcb2a10SAndre Fischer Image IMG_LINE2_H 5078dcb2a10SAndre Fischer { 5088dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line2_hh.png";}; 5098dcb2a10SAndre Fischer }; 5108dcb2a10SAndre Fischer Image IMG_LINE3_H 5118dcb2a10SAndre Fischer { 5128dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line3_hh.png";}; 5138dcb2a10SAndre Fischer }; 5148dcb2a10SAndre Fischer Image IMG_LINE4_H 5158dcb2a10SAndre Fischer { 5168dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line4_hh.png";}; 5178dcb2a10SAndre Fischer }; 5188dcb2a10SAndre Fischer Image IMG_LINE5_H 5198dcb2a10SAndre Fischer { 5208dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line5_hh.png";}; 5218dcb2a10SAndre Fischer }; 5228dcb2a10SAndre Fischer Image IMG_LINE6_H 5238dcb2a10SAndre Fischer { 5248dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line6_hh.png";}; 5258dcb2a10SAndre Fischer }; 5268dcb2a10SAndre Fischer Image IMG_LINE7_H 5278dcb2a10SAndre Fischer { 5288dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line7_hh.png";}; 5298dcb2a10SAndre Fischer }; 5308dcb2a10SAndre Fischer Image IMG_LINE8_H 5318dcb2a10SAndre Fischer { 5328dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line8_hh.png";}; 5338dcb2a10SAndre Fischer }; 5348dcb2a10SAndre Fischer Image IMG_LINE9_H 5358dcb2a10SAndre Fischer { 5368dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line9_hh.png";}; 5378dcb2a10SAndre Fischer }; 5388dcb2a10SAndre Fischer Image IMG_LINE10_H 5398dcb2a10SAndre Fischer { 5408dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line10_hh.png";}; 5418dcb2a10SAndre Fischer }; 5428dcb2a10SAndre Fischer Image IMG_LINE11_H 5438dcb2a10SAndre Fischer { 5448dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/style_line11_hh.png";}; 5458dcb2a10SAndre Fischer }; 5468dcb2a10SAndre Fischer}; 5478dcb2a10SAndre FischerControl RID_POPUPPANEL_LINEPAGE_WIDTH 5488dcb2a10SAndre Fischer{ 5498dcb2a10SAndre Fischer OutputSize = TRUE; 5508dcb2a10SAndre Fischer DialogControl = TRUE; 5518dcb2a10SAndre Fischer Border = FALSE; 5528dcb2a10SAndre Fischer 5538dcb2a10SAndre 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)); 5548dcb2a10SAndre Fischer 5558dcb2a10SAndre Fischer Control VS_WIDTH 5568dcb2a10SAndre Fischer { 5578dcb2a10SAndre Fischer HelpId = HID_PPROPERTYPANEL_LINE_VS_WIDTH ; 5588dcb2a10SAndre Fischer Hide = TRUE ; 5598dcb2a10SAndre Fischer Pos = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y ); 5608dcb2a10SAndre Fischer Size = MAP_APPFONT ( 80 , 12 * 9); 5618dcb2a10SAndre Fischer TabStop = TRUE ; 5628dcb2a10SAndre Fischer Text = "Width"; 5638dcb2a10SAndre Fischer }; 5648dcb2a10SAndre Fischer FixedText FT_CUSTOME 5658dcb2a10SAndre Fischer { 5668dcb2a10SAndre Fischer Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y + 12 * 9 + POPUPPANEL_MARGIN_SMALL ) ; 5678dcb2a10SAndre Fischer Size = MAP_APPFONT ( 80 , TEXT_HEIGHT ) ; 5688dcb2a10SAndre Fischer Text [ en-US ] = "Custom:" ; 5698dcb2a10SAndre Fischer }; 5708dcb2a10SAndre Fischer FixedText FT_LINE_WIDTH 5718dcb2a10SAndre Fischer { 5728dcb2a10SAndre Fischer Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE) ; 5738dcb2a10SAndre Fischer Size = MAP_APPFONT ( 74 - POPUPPANEL_MARGIN_LARGE * 2 , TEXT_HEIGHT ) ; 5748dcb2a10SAndre Fischer Text [ en-US ] = "Line ~width:" ; 5758dcb2a10SAndre Fischer }; 5768dcb2a10SAndre Fischer MetricField MF_WIDTH 5778dcb2a10SAndre Fischer { 5788dcb2a10SAndre Fischer Border = TRUE ; 5798dcb2a10SAndre Fischer HelpID = HID_PPROPERTYPANEL_LINE_MTR_WIDTH ; 5808dcb2a10SAndre Fischer Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE , CUSTOM_Y + POPUPPANEL_MARGIN_LARGE + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ; 5818dcb2a10SAndre Fischer Size = MAP_APPFONT ( 40 , 12 ) ; 5828dcb2a10SAndre Fischer TabStop = TRUE ; 5838dcb2a10SAndre Fischer Right = TRUE ; 5848dcb2a10SAndre Fischer Repeat = TRUE ; 5858dcb2a10SAndre Fischer Spin = TRUE ; 5868dcb2a10SAndre Fischer Maximum = 5000 ; 5878dcb2a10SAndre Fischer StrictFormat = TRUE ; 5888dcb2a10SAndre Fischer DecimalDigits = 2 ; 5898dcb2a10SAndre Fischer Value = 1 ; 5908dcb2a10SAndre Fischer Unit = FUNIT_MM ; 5918dcb2a10SAndre Fischer Last = 5000 ; 5928dcb2a10SAndre Fischer SpinSize = 10 ; 5938dcb2a10SAndre Fischer QuickHelpText [ en-US ] = "Specify the width of the line."; 5948dcb2a10SAndre Fischer }; 5958dcb2a10SAndre Fischer 5968dcb2a10SAndre Fischer Image IMG_WIDTH_CUSTOM 5978dcb2a10SAndre Fischer { 5988dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/last_custom_common.png";}; 5998dcb2a10SAndre Fischer }; 6008dcb2a10SAndre Fischer Image IMG_WIDTH_CUSTOM_GRAY 6018dcb2a10SAndre Fischer { 6028dcb2a10SAndre Fischer ImageBitmap = Bitmap{File = "symphony/last_custom_common_grey.png";}; 6038dcb2a10SAndre Fischer }; 6048dcb2a10SAndre Fischer String STR_WIDTH_LAST_CUSTOM 6058dcb2a10SAndre Fischer { 6068dcb2a10SAndre Fischer Text [ en-US ] = "Last Custom Value"; 6078dcb2a10SAndre Fischer }; 6088dcb2a10SAndre Fischer String STR_PT 6098dcb2a10SAndre Fischer { 6108dcb2a10SAndre Fischer Text [ en-US ] = "pt"; 6118dcb2a10SAndre Fischer }; 6128dcb2a10SAndre Fischer}; 6134e8031e0SArmin Le Grand 6144e8031e0SArmin Le Grand// eof 615