158e893aeSArmin Le Grand/**************************************************************
258e893aeSArmin Le Grand *
358e893aeSArmin Le Grand * Licensed to the Apache Software Foundation (ASF) under one
458e893aeSArmin Le Grand * or more contributor license agreements.  See the NOTICE file
558e893aeSArmin Le Grand * distributed with this work for additional information
658e893aeSArmin Le Grand * regarding copyright ownership.  The ASF licenses this file
758e893aeSArmin Le Grand * to you under the Apache License, Version 2.0 (the
858e893aeSArmin Le Grand * "License"); you may not use this file except in compliance
958e893aeSArmin Le Grand * with the License.  You may obtain a copy of the License at
1058e893aeSArmin Le Grand *
1158e893aeSArmin Le Grand *   http://www.apache.org/licenses/LICENSE-2.0
1258e893aeSArmin Le Grand *
1358e893aeSArmin Le Grand * Unless required by applicable law or agreed to in writing,
1458e893aeSArmin Le Grand * software distributed under the License is distributed on an
1558e893aeSArmin Le Grand * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1658e893aeSArmin Le Grand * KIND, either express or implied.  See the License for the
1758e893aeSArmin Le Grand * specific language governing permissions and limitations
1858e893aeSArmin Le Grand * under the License.
1958e893aeSArmin Le Grand *
2058e893aeSArmin Le Grand *************************************************************/
2158e893aeSArmin Le Grand
2202c50d82SAndre Fischer#include "LinePropertyPanel.hrc"
2358e893aeSArmin Le Grand#include <sfx2/sidebar/propertypanel.hrc>
2458e893aeSArmin Le Grand#include <svx/dialogs.hrc>
2558e893aeSArmin Le Grand#include "helpid.hrc"
2658e893aeSArmin Le Grand
2758e893aeSArmin Le Grand#define TOOLBOX_WIDTH		50
2858e893aeSArmin Le Grand#define TOOLBOX_HEIGHT		14
29*97e8a929SArmin Le Grand#define LISTBOX_HEIGHT      99
3058e893aeSArmin Le Grand
3158e893aeSArmin Le GrandControl RID_SIDEBAR_LINE_PANEL
3258e893aeSArmin Le Grand{
3358e893aeSArmin Le Grand	OutputSize = TRUE;
3458e893aeSArmin Le Grand	DialogControl = TRUE;
3558e893aeSArmin Le Grand	Border = FALSE;
3658e893aeSArmin Le Grand	Text = "Line";
3758e893aeSArmin Le Grand
38d5370dc8SArmin Le Grand    Size = MAP_APPFONT(
39d5370dc8SArmin Le Grand        PROPERTYPAGE_WIDTH,
40d5370dc8SArmin Le Grand        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 );
4158e893aeSArmin Le Grand	HelpID = HID_PROPERTYPANEL_LINE_SECTION ;
4258e893aeSArmin Le Grand
4358e893aeSArmin Le Grand	FixedText FT_WIDTH
4458e893aeSArmin Le Grand	{
4558e893aeSArmin Le Grand        Pos = MAP_APPFONT( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP ) ;
4658e893aeSArmin Le Grand        Size = MAP_APPFONT (TOOLBOX_WIDTH  , TEXT_HEIGHT ) ;
4758e893aeSArmin Le Grand        Text [ en-US ] = "~Width:" ;
4858e893aeSArmin Le Grand	};
4958e893aeSArmin Le Grand	ToolBox TB_WIDTH
5058e893aeSArmin Le Grand	{
5158e893aeSArmin Le Grand		SVLook = TRUE ;
5258e893aeSArmin Le Grand		Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ;
5358e893aeSArmin Le Grand		Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ;
5458e893aeSArmin Le Grand		TabStop = TRUE ;
5558e893aeSArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_TBX_WIDTH ;
5658e893aeSArmin Le Grand		Text = "Width";
5758e893aeSArmin Le Grand		ItemList =
5858e893aeSArmin Le Grand		{
5958e893aeSArmin Le Grand			ToolBoxItem
6058e893aeSArmin Le Grand			{
6158e893aeSArmin Le Grand				Identifier = TBI_WIDTH ;
6258e893aeSArmin Le Grand				DropDown = TRUE ;
6358e893aeSArmin Le Grand				Text [ en-US ] = "Width" ;
6458e893aeSArmin Le Grand				HelpID = HID_PPROPERTYPANEL_LINE_TBI_WIDTH;
6558e893aeSArmin Le Grand			};
6658e893aeSArmin Le Grand		};
6758e893aeSArmin Le Grand	};
6858e893aeSArmin Le Grand	String STR_QH_TB_WIDTH
6958e893aeSArmin Le Grand	{
7058e893aeSArmin Le Grand		Text [ en-US ] = "Select the width of the line.";
7158e893aeSArmin Le Grand	};
7258e893aeSArmin Le Grand
7358e893aeSArmin Le Grand	FixedText FT_COLOR
7458e893aeSArmin Le Grand	{
7558e893aeSArmin Le Grand        Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3, SECTIONPAGE_MARGIN_VERTICAL_TOP ) ;
7658e893aeSArmin Le Grand        Size = MAP_APPFONT (TOOLBOX_WIDTH  , TEXT_HEIGHT ) ;
7758e893aeSArmin Le Grand        Text [ en-US ] = "~Color:" ;
7858e893aeSArmin Le Grand	};
7958e893aeSArmin Le Grand	ToolBox TB_COLOR
8058e893aeSArmin Le Grand	{
8158e893aeSArmin Le Grand		SVLook = TRUE ;
8258e893aeSArmin Le Grand		Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 4, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ;
8358e893aeSArmin Le Grand		Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ;
8458e893aeSArmin Le Grand		TabStop = TRUE ;
8558e893aeSArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_TBX_COLOR;
8658e893aeSArmin Le Grand		Text = "Color";
8758e893aeSArmin Le Grand		ItemList =
8858e893aeSArmin Le Grand		{
8958e893aeSArmin Le Grand			ToolBoxItem
9058e893aeSArmin Le Grand			{
9158e893aeSArmin Le Grand				Identifier = TBI_COLOR ;
9258e893aeSArmin Le Grand				DropDown = TRUE ;
9358e893aeSArmin Le Grand				Text [ en-US ] = "Color" ;
9458e893aeSArmin Le Grand				HelpID = HID_PPROPERTYPANEL_LINE_TBI_COLOR;
9558e893aeSArmin Le Grand			};
9658e893aeSArmin Le Grand		};
9758e893aeSArmin Le Grand	};
9858e893aeSArmin Le Grand	String STR_QH_TB_COLOR
9958e893aeSArmin Le Grand	{
10058e893aeSArmin Le Grand		Text [ en-US ] = "Select the color of the line.";
10158e893aeSArmin Le Grand	};
10258e893aeSArmin Le Grand
10358e893aeSArmin Le Grand	FixedText FT_STYLE
10458e893aeSArmin Le Grand	{
105d5370dc8SArmin Le Grand        Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + TOOLBOX_HEIGHT  + CONTROL_SPACING_VERTICAL) ;
10658e893aeSArmin Le Grand        Size = MAP_APPFONT (TOOLBOX_WIDTH  , TEXT_HEIGHT ) ;
10758e893aeSArmin Le Grand        Text [ en-US ] = "~Style:" ;
10858e893aeSArmin Le Grand	};
109*97e8a929SArmin Le Grand	ListBox LB_STYLE
11058e893aeSArmin Le Grand	{
111*97e8a929SArmin Le Grand		Border = TRUE ;
112*97e8a929SArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_TBX_STYLE;
113d5370dc8SArmin 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 ) ;
11558e893aeSArmin Le Grand		TabStop = TRUE ;
116*97e8a929SArmin Le Grand		DropDown = TRUE ;
117*97e8a929SArmin Le Grand		DDExtraWidth = TRUE ;
118*97e8a929SArmin Le Grand		QuickHelpText [ en-US ] = "Select the style of the line.";
11958e893aeSArmin Le Grand	};
12058e893aeSArmin Le Grand
12158e893aeSArmin Le Grand	FixedText FT_TRANSPARENT
12258e893aeSArmin Le Grand	{
123d5370dc8SArmin Le Grand        Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3 , SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + TOOLBOX_HEIGHT  + CONTROL_SPACING_VERTICAL) ;
12458e893aeSArmin Le Grand        Size = MAP_APPFONT (TOOLBOX_WIDTH  , TEXT_HEIGHT ) ;
12558e893aeSArmin Le Grand        Text [ en-US ] = "~Transparency:" ;
12658e893aeSArmin Le Grand	};
12758e893aeSArmin Le Grand	MetricField MF_TRANSPARENT
12858e893aeSArmin Le Grand	{
12958e893aeSArmin Le Grand		Border = TRUE ;
13058e893aeSArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_MTR_TRANCEPARENCE;
131d5370dc8SArmin Le Grand		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) ;
13258e893aeSArmin Le Grand		Size = MAP_APPFONT ( TOOLBOX_WIDTH + 1 , 12 ) ;
13358e893aeSArmin Le Grand		TabStop = TRUE ;
13458e893aeSArmin Le Grand		Repeat = TRUE ;
13558e893aeSArmin Le Grand		Spin = TRUE ;
13658e893aeSArmin Le Grand		Maximum = 100 ;
13758e893aeSArmin Le Grand		StrictFormat = TRUE ;
13858e893aeSArmin Le Grand		Unit = FUNIT_CUSTOM ;
13958e893aeSArmin Le Grand		CustomUnitText = "%" ;
14058e893aeSArmin Le Grand		Last = 100 ;
14158e893aeSArmin Le Grand		SpinSize = 5 ;
14258e893aeSArmin Le Grand		QuickHelpText [ en-US ] = "Specify the transparency of the line.";
14358e893aeSArmin Le Grand	};
14458e893aeSArmin Le Grand
14558e893aeSArmin Le Grand	FixedText FT_ARROW
14658e893aeSArmin Le Grand	{
147d5370dc8SArmin Le Grand        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) ;
14858e893aeSArmin Le Grand        Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3 , TEXT_HEIGHT ) ;
14958e893aeSArmin Le Grand        Text [ en-US ] = "~Arrow:" ;
15058e893aeSArmin Le Grand	};
15158e893aeSArmin Le Grand	ListBox LB_START
15258e893aeSArmin Le Grand	{
15358e893aeSArmin Le Grand		Border = TRUE ;
15458e893aeSArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_LB_START;
155d5370dc8SArmin Le Grand		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 ) ;
15758e893aeSArmin Le Grand		TabStop = TRUE ;
15858e893aeSArmin Le Grand		DropDown = TRUE ;
15958e893aeSArmin Le Grand		DDExtraWidth = TRUE ;
16058e893aeSArmin Le Grand		QuickHelpText [ en-US ] = "Select the style of the beginning arrowhead.";
16158e893aeSArmin Le Grand	};
16258e893aeSArmin Le Grand	ListBox LB_END
16358e893aeSArmin Le Grand	{
16458e893aeSArmin Le Grand		Border = TRUE ;
16558e893aeSArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_LB_END;
166d5370dc8SArmin Le Grand		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 ) ;
16858e893aeSArmin Le Grand		TabStop = TRUE ;
16958e893aeSArmin Le Grand		DropDown = TRUE ;
17058e893aeSArmin Le Grand		DDExtraWidth = TRUE ;
17158e893aeSArmin Le Grand		QuickHelpText [ en-US ] = "Select the style of the ending arrowhead.";
17258e893aeSArmin Le Grand	};
17358e893aeSArmin Le Grand
174d5370dc8SArmin Le Grand	FixedText FT_EDGESTYLE
175d5370dc8SArmin Le Grand	{
176d5370dc8SArmin Le Grand        Pos = MAP_APPFONT (
177d5370dc8SArmin Le Grand            SECTIONPAGE_MARGIN_HORIZONTAL,
178d5370dc8SArmin Le Grand            SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*3 + TEXT_CONTROL_SPACING_VERTICAL*3 + TOOLBOX_HEIGHT*3  + CONTROL_SPACING_VERTICAL*3) ;
179d5370dc8SArmin Le Grand        Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3 , TEXT_HEIGHT ) ;
180d5370dc8SArmin Le Grand		Text [ en-US ] = "~Corner style" ;
181d5370dc8SArmin Le Grand	};
182d5370dc8SArmin Le Grand	ListBox LB_EDGESTYLE
183d5370dc8SArmin Le Grand	{
184d5370dc8SArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_LB_EDGESTYLE;
185d5370dc8SArmin Le Grand		Border = TRUE ;
186d5370dc8SArmin Le Grand		Pos = MAP_APPFONT (
187d5370dc8SArmin Le Grand            SECTIONPAGE_MARGIN_HORIZONTAL ,
188d5370dc8SArmin Le Grand            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 ) ;
190d5370dc8SArmin Le Grand		TabStop = TRUE ;
191d5370dc8SArmin Le Grand		DropDown = TRUE ;
192d5370dc8SArmin Le Grand		DDExtraWidth = TRUE ;
193d5370dc8SArmin Le Grand		QuickHelpText [ en-US ] = "Select the style of the edge connections.";
194d5370dc8SArmin Le Grand		StringList [ en-US ] =
195d5370dc8SArmin Le Grand		{
196d5370dc8SArmin Le Grand			< "Rounded" ; Default ; > ;
197d5370dc8SArmin Le Grand			< "- none -" ; > ;
198d5370dc8SArmin Le Grand			< "Mitered" ; > ;
199d5370dc8SArmin Le Grand			< "Beveled" ; > ;
200d5370dc8SArmin Le Grand		};
201d5370dc8SArmin Le Grand	};
202d5370dc8SArmin Le Grand    FixedText FT_CAPSTYLE
203d5370dc8SArmin Le Grand    {
204d5370dc8SArmin Le Grand        Pos = MAP_APPFONT (
205d5370dc8SArmin Le Grand            SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3,
206d5370dc8SArmin Le Grand            SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*3 + TEXT_CONTROL_SPACING_VERTICAL*3 + TOOLBOX_HEIGHT*3  + CONTROL_SPACING_VERTICAL*3) ;
207d5370dc8SArmin Le Grand        Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3 , TEXT_HEIGHT ) ;
208d5370dc8SArmin Le Grand        Text [ en-US ] = "Ca~p style" ;
209d5370dc8SArmin Le Grand    };
210d5370dc8SArmin Le Grand    ListBox LB_CAPSTYLE
211d5370dc8SArmin Le Grand    {
212d5370dc8SArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_LB_CAPSTYLE;
213d5370dc8SArmin Le Grand        Border = TRUE ;
214d5370dc8SArmin Le Grand		Pos = MAP_APPFONT (
215d5370dc8SArmin Le Grand            SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3,
216d5370dc8SArmin Le Grand            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 ) ;
218d5370dc8SArmin Le Grand        TabStop = TRUE ;
219d5370dc8SArmin Le Grand        DropDown = TRUE ;
220d5370dc8SArmin Le Grand		DDExtraWidth = TRUE ;
221d5370dc8SArmin Le Grand		QuickHelpText [ en-US ] = "Select the style of the line caps.";
222d5370dc8SArmin Le Grand        StringList [ en-US ] =
223d5370dc8SArmin Le Grand        {
224d5370dc8SArmin Le Grand            < "Flat" ; Default ; > ; // Same string as in Excel
225d5370dc8SArmin Le Grand            < "Round" ; > ;
226d5370dc8SArmin Le Grand            < "Square" ; > ;
227d5370dc8SArmin Le Grand        };
228d5370dc8SArmin Le Grand    };
229d5370dc8SArmin Le Grand
23058e893aeSArmin Le Grand	Image IMG_COLOR
23158e893aeSArmin Le Grand	{
23258e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/Line_color.png";};
23358e893aeSArmin Le Grand	};
23458e893aeSArmin Le Grand	Image IMG_COLOR_NO
23558e893aeSArmin Le Grand	{
23658e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/no color.png";};
23758e893aeSArmin Le Grand	};
23858e893aeSArmin Le Grand
23958e893aeSArmin Le Grand	Image IMG_NONE_ICON
24058e893aeSArmin Le Grand	{
24158e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/blank.png";};
24258e893aeSArmin Le Grand	};
24358e893aeSArmin Le Grand
24458e893aeSArmin Le Grand	//WIDTH ICON
24558e893aeSArmin Le Grand	Image IMG_WIDTH1_ICON
24658e893aeSArmin Le Grand	{
24758e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width1.png";};
24858e893aeSArmin Le Grand	};
24958e893aeSArmin Le Grand	Image IMG_WIDTH2_ICON
25058e893aeSArmin Le Grand	{
25158e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width2.png";};
25258e893aeSArmin Le Grand	};
25358e893aeSArmin Le Grand	Image IMG_WIDTH3_ICON
25458e893aeSArmin Le Grand	{
25558e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width3.png";};
25658e893aeSArmin Le Grand	};
25758e893aeSArmin Le Grand	Image IMG_WIDTH4_ICON
25858e893aeSArmin Le Grand	{
25958e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width4.png";};
26058e893aeSArmin Le Grand	};
26158e893aeSArmin Le Grand	Image IMG_WIDTH5_ICON
26258e893aeSArmin Le Grand	{
26358e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width5.png";};
26458e893aeSArmin Le Grand	};
26558e893aeSArmin Le Grand	Image IMG_WIDTH6_ICON
26658e893aeSArmin Le Grand	{
26758e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width6.png";};
26858e893aeSArmin Le Grand	};
26958e893aeSArmin Le Grand	Image IMG_WIDTH7_ICON
27058e893aeSArmin Le Grand	{
27158e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width7.png";};
27258e893aeSArmin Le Grand	};
27358e893aeSArmin Le Grand	Image IMG_WIDTH8_ICON
27458e893aeSArmin Le Grand	{
27558e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width8.png";};
27658e893aeSArmin Le Grand	};
27758e893aeSArmin Le Grand
27858e893aeSArmin Le Grand	//high contrast for line width
27958e893aeSArmin Le Grand	//WIDTH ICON
28058e893aeSArmin Le Grand	Image IMG_WIDTH1_ICON_H
28158e893aeSArmin Le Grand	{
28258e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width1_h.png";};
28358e893aeSArmin Le Grand	};
28458e893aeSArmin Le Grand	Image IMG_WIDTH2_ICON_H
28558e893aeSArmin Le Grand	{
28658e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width2_h.png";};
28758e893aeSArmin Le Grand	};
28858e893aeSArmin Le Grand	Image IMG_WIDTH3_ICON_H
28958e893aeSArmin Le Grand	{
29058e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width3_h.png";};
29158e893aeSArmin Le Grand	};
29258e893aeSArmin Le Grand	Image IMG_WIDTH4_ICON_H
29358e893aeSArmin Le Grand	{
29458e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width4_h.png";};
29558e893aeSArmin Le Grand	};
29658e893aeSArmin Le Grand	Image IMG_WIDTH5_ICON_H
29758e893aeSArmin Le Grand	{
29858e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width5_h.png";};
29958e893aeSArmin Le Grand	};
30058e893aeSArmin Le Grand	Image IMG_WIDTH6_ICON_H
30158e893aeSArmin Le Grand	{
30258e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width6_h.png";};
30358e893aeSArmin Le Grand	};
30458e893aeSArmin Le Grand	Image IMG_WIDTH7_ICON_H
30558e893aeSArmin Le Grand	{
30658e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width7_h.png";};
30758e893aeSArmin Le Grand	};
30858e893aeSArmin Le Grand	Image IMG_WIDTH8_ICON_H
30958e893aeSArmin Le Grand	{
31058e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width8_h.png";};
31158e893aeSArmin Le Grand	};
31258e893aeSArmin Le Grand};
31358e893aeSArmin Le GrandControl RID_POPUPPANEL_LINEPAGE_COLOR
31458e893aeSArmin Le Grand{
31558e893aeSArmin Le Grand	OutputSize = TRUE;
31658e893aeSArmin Le Grand	DialogControl = TRUE;
31758e893aeSArmin Le Grand	Border = FALSE;
31858e893aeSArmin Le Grand	Size = MAP_APPFONT(  POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT  );
31958e893aeSArmin Le Grand
32058e893aeSArmin Le Grand	Control VS_COLOR
32158e893aeSArmin Le Grand	{
32258e893aeSArmin Le Grand		HelpId = HID_PPROPERTYPANEL_LINE_VS_COLOR ;
32358e893aeSArmin Le Grand        Hide = TRUE ;
32458e893aeSArmin Le Grand        Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y );
32558e893aeSArmin Le Grand        Size = MAP_APPFONT (  POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2);
32658e893aeSArmin Le Grand		TabStop = TRUE ;
32758e893aeSArmin Le Grand		Text = "Color";
32858e893aeSArmin Le Grand	};
32958e893aeSArmin Le Grand	String STR_AUTOMATICE
33058e893aeSArmin Le Grand	{
33158e893aeSArmin Le Grand		Text [ en-US ] = "No Color";
33258e893aeSArmin Le Grand	};
33358e893aeSArmin Le Grand};
33458e893aeSArmin Le GrandControl RID_POPUPPANEL_LINEPAGE_STYLE
33558e893aeSArmin Le Grand{
33658e893aeSArmin Le Grand	OutputSize = TRUE;
33758e893aeSArmin Le Grand	DialogControl = TRUE;
33858e893aeSArmin Le Grand	Border = FALSE;
33958e893aeSArmin Le Grand
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);
34358e893aeSArmin Le Grand
34458e893aeSArmin Le Grand	Control VS_STYLE
34558e893aeSArmin Le Grand	{
34658e893aeSArmin Le Grand		HelpId = HID_PPROPERTYPANEL_LINE_VS_STYLE ;
34758e893aeSArmin Le Grand        Hide = TRUE ;
34858e893aeSArmin Le Grand        Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
34958e893aeSArmin Le Grand        Size = MAP_APPFONT ( 93  , 13 * 12);
35058e893aeSArmin Le Grand		TabStop = TRUE ;
35158e893aeSArmin Le Grand		Text = "Style";
35258e893aeSArmin Le Grand	};
35358e893aeSArmin Le Grand
35458e893aeSArmin Le Grand	PushButton PB_OPTIONS
35558e893aeSArmin Le Grand	{
35658e893aeSArmin Le Grand		HelpId = HID_PPROPERTYPANEL_LINE_BTN_STYLE;
35758e893aeSArmin Le Grand		Pos = MAP_APPFONT (  POPUPPANEL_MARGIN_LARGE + OFFSET_X , POPUPPANEL_MARGIN_SMALL * 2 + OFFSET_Y  );
35858e893aeSArmin Le Grand		Size = MAP_APPFONT ( 93 , 13 );
35958e893aeSArmin Le Grand		TabStop = TRUE;
36058e893aeSArmin Le Grand		Text [ en-US ] = "~More Options...";
36158e893aeSArmin Le Grand	};
36258e893aeSArmin Le Grand
36358e893aeSArmin Le Grand	String STR_STYLE_NONE
36458e893aeSArmin Le Grand	{
36558e893aeSArmin Le Grand		Text [ en-US ] = "None";
36658e893aeSArmin Le Grand	};
36758e893aeSArmin Le Grand	String STR_STYLE_LINE1
36858e893aeSArmin Le Grand	{
36958e893aeSArmin Le Grand		Text [ en-US ] = "Continuous";
37058e893aeSArmin Le Grand	};
37158e893aeSArmin Le Grand	String STR_STYLE_LINE2
37258e893aeSArmin Le Grand	{
37358e893aeSArmin Le Grand		Text [ en-US ] = "Ultrafine dashed";
37458e893aeSArmin Le Grand	};
37558e893aeSArmin Le Grand	String STR_STYLE_LINE3
37658e893aeSArmin Le Grand	{
37758e893aeSArmin Le Grand		Text [ en-US ] = "Dashed (variable)";
37858e893aeSArmin Le Grand	};
37958e893aeSArmin Le Grand	String STR_STYLE_LINE4
38058e893aeSArmin Le Grand	{
38158e893aeSArmin Le Grand		Text [ en-US ] = "Fine dashed (variable)";
38258e893aeSArmin Le Grand	};
38358e893aeSArmin Le Grand	String STR_STYLE_LINE5
38458e893aeSArmin Le Grand	{
38558e893aeSArmin Le Grand		Text [ en-US ] = "Fine dashed";
38658e893aeSArmin Le Grand	};
38758e893aeSArmin Le Grand	String STR_STYLE_LINE6
38858e893aeSArmin Le Grand	{
38958e893aeSArmin Le Grand		Text [ en-US ] = "Fine dotted";
39058e893aeSArmin Le Grand	};
39158e893aeSArmin Le Grand	String STR_STYLE_LINE7
39258e893aeSArmin Le Grand	{
39358e893aeSArmin Le Grand		Text [ en-US ] = "Ultrafine dotted (variable)";
39458e893aeSArmin Le Grand	};
39558e893aeSArmin Le Grand	String STR_STYLE_LINE8
39658e893aeSArmin Le Grand	{
39758e893aeSArmin Le Grand		Text [ en-US ] = "3 dashes 3 dots (variable)";
39858e893aeSArmin Le Grand	};
39958e893aeSArmin Le Grand	String STR_STYLE_LINE9
40058e893aeSArmin Le Grand	{
40158e893aeSArmin Le Grand		Text [ en-US ] = "2 dots 1 dash";
40258e893aeSArmin Le Grand	};
40358e893aeSArmin Le Grand	String STR_STYLE_LINE10
40458e893aeSArmin Le Grand	{
40558e893aeSArmin Le Grand		Text [ en-US ] = "Ultrafine 2 dots 3 dashes";
40658e893aeSArmin Le Grand	};
40758e893aeSArmin Le Grand	String STR_STYLE_LINE11
40858e893aeSArmin Le Grand	{
40958e893aeSArmin Le Grand		Text [ en-US ] = "Line with fine dots";
41058e893aeSArmin Le Grand	};
41158e893aeSArmin Le Grand
41258e893aeSArmin Le Grand	Image IMG_LINE1
41358e893aeSArmin Le Grand	{
41458e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line1.png";};
41558e893aeSArmin Le Grand	};
41658e893aeSArmin Le Grand	Image IMG_LINE1_S
41758e893aeSArmin Le Grand	{
41858e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line1_h.png";};
41958e893aeSArmin Le Grand	};
42058e893aeSArmin Le Grand	Image IMG_LINE2
42158e893aeSArmin Le Grand	{
42258e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line2.png";};
42358e893aeSArmin Le Grand	};
42458e893aeSArmin Le Grand	Image IMG_LINE2_S
42558e893aeSArmin Le Grand	{
42658e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line2_h.png";};
42758e893aeSArmin Le Grand	};
42858e893aeSArmin Le Grand	Image IMG_LINE3
42958e893aeSArmin Le Grand	{
43058e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line3.png";};
43158e893aeSArmin Le Grand	};
43258e893aeSArmin Le Grand	Image IMG_LINE3_S
43358e893aeSArmin Le Grand	{
43458e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line3_h.png";};
43558e893aeSArmin Le Grand	};
43658e893aeSArmin Le Grand	Image IMG_LINE4
43758e893aeSArmin Le Grand	{
43858e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line4.png";};
43958e893aeSArmin Le Grand	};
44058e893aeSArmin Le Grand	Image IMG_LINE4_S
44158e893aeSArmin Le Grand	{
44258e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line4_h.png";};
44358e893aeSArmin Le Grand	};
44458e893aeSArmin Le Grand	Image IMG_LINE5
44558e893aeSArmin Le Grand	{
44658e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line5.png";};
44758e893aeSArmin Le Grand	};
44858e893aeSArmin Le Grand	Image IMG_LINE5_S
44958e893aeSArmin Le Grand	{
45058e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line5_h.png";};
45158e893aeSArmin Le Grand	};
45258e893aeSArmin Le Grand	Image IMG_LINE6
45358e893aeSArmin Le Grand	{
45458e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line6.png";};
45558e893aeSArmin Le Grand	};
45658e893aeSArmin Le Grand	Image IMG_LINE6_S
45758e893aeSArmin Le Grand	{
45858e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line6_h.png";};
45958e893aeSArmin Le Grand	};
46058e893aeSArmin Le Grand	Image IMG_LINE7
46158e893aeSArmin Le Grand	{
46258e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line7.png";};
46358e893aeSArmin Le Grand	};
46458e893aeSArmin Le Grand	Image IMG_LINE7_S
46558e893aeSArmin Le Grand	{
46658e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line7_h.png";};
46758e893aeSArmin Le Grand	};
46858e893aeSArmin Le Grand	Image IMG_LINE8
46958e893aeSArmin Le Grand	{
47058e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line8.png";};
47158e893aeSArmin Le Grand	};
47258e893aeSArmin Le Grand	Image IMG_LINE8_S
47358e893aeSArmin Le Grand	{
47458e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line8_h.png";};
47558e893aeSArmin Le Grand	};
47658e893aeSArmin Le Grand	Image IMG_LINE9
47758e893aeSArmin Le Grand	{
47858e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line9.png";};
47958e893aeSArmin Le Grand	};
48058e893aeSArmin Le Grand	Image IMG_LINE9_S
48158e893aeSArmin Le Grand	{
48258e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line9_h.png";};
48358e893aeSArmin Le Grand	};
48458e893aeSArmin Le Grand	Image IMG_LINE10
48558e893aeSArmin Le Grand	{
48658e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line10.png";};
48758e893aeSArmin Le Grand	};
48858e893aeSArmin Le Grand	Image IMG_LINE10_S
48958e893aeSArmin Le Grand	{
49058e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line10_h.png";};
49158e893aeSArmin Le Grand	};
49258e893aeSArmin Le Grand	Image IMG_LINE11
49358e893aeSArmin Le Grand	{
49458e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line11.png";};
49558e893aeSArmin Le Grand	};
49658e893aeSArmin Le Grand	Image IMG_LINE11_S
49758e893aeSArmin Le Grand	{
49858e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line11_h.png";};
49958e893aeSArmin Le Grand	};
50058e893aeSArmin Le Grand
50158e893aeSArmin Le Grand	//high contrast
50258e893aeSArmin Le Grand	Image IMG_LINE1_H
50358e893aeSArmin Le Grand	{
50458e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line1_hh.png";};
50558e893aeSArmin Le Grand	};
50658e893aeSArmin Le Grand	Image IMG_LINE2_H
50758e893aeSArmin Le Grand	{
50858e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line2_hh.png";};
50958e893aeSArmin Le Grand	};
51058e893aeSArmin Le Grand	Image IMG_LINE3_H
51158e893aeSArmin Le Grand	{
51258e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line3_hh.png";};
51358e893aeSArmin Le Grand	};
51458e893aeSArmin Le Grand	Image IMG_LINE4_H
51558e893aeSArmin Le Grand	{
51658e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line4_hh.png";};
51758e893aeSArmin Le Grand	};
51858e893aeSArmin Le Grand	Image IMG_LINE5_H
51958e893aeSArmin Le Grand	{
52058e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line5_hh.png";};
52158e893aeSArmin Le Grand	};
52258e893aeSArmin Le Grand	Image IMG_LINE6_H
52358e893aeSArmin Le Grand	{
52458e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line6_hh.png";};
52558e893aeSArmin Le Grand	};
52658e893aeSArmin Le Grand	Image IMG_LINE7_H
52758e893aeSArmin Le Grand	{
52858e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line7_hh.png";};
52958e893aeSArmin Le Grand	};
53058e893aeSArmin Le Grand	Image IMG_LINE8_H
53158e893aeSArmin Le Grand	{
53258e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line8_hh.png";};
53358e893aeSArmin Le Grand	};
53458e893aeSArmin Le Grand	Image IMG_LINE9_H
53558e893aeSArmin Le Grand	{
53658e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line9_hh.png";};
53758e893aeSArmin Le Grand	};
53858e893aeSArmin Le Grand	Image IMG_LINE10_H
53958e893aeSArmin Le Grand	{
54058e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line10_hh.png";};
54158e893aeSArmin Le Grand	};
54258e893aeSArmin Le Grand	Image IMG_LINE11_H
54358e893aeSArmin Le Grand	{
54458e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/style_line11_hh.png";};
54558e893aeSArmin Le Grand	};
54658e893aeSArmin Le Grand};
54758e893aeSArmin Le GrandControl RID_POPUPPANEL_LINEPAGE_WIDTH
54858e893aeSArmin Le Grand{
54958e893aeSArmin Le Grand	OutputSize = TRUE;
55058e893aeSArmin Le Grand	DialogControl = TRUE;
55158e893aeSArmin Le Grand	Border = FALSE;
55258e893aeSArmin Le Grand
55358e893aeSArmin Le Grand	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));
55458e893aeSArmin Le Grand
55558e893aeSArmin Le Grand	Control VS_WIDTH
55658e893aeSArmin Le Grand	{
55758e893aeSArmin Le Grand		HelpId = HID_PPROPERTYPANEL_LINE_VS_WIDTH ;
55858e893aeSArmin Le Grand        Hide = TRUE ;
55958e893aeSArmin Le Grand        Pos = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
56058e893aeSArmin Le Grand        Size = MAP_APPFONT ( 80  , 12 * 9);
56158e893aeSArmin Le Grand		TabStop = TRUE ;
56258e893aeSArmin Le Grand		Text = "Width";
56358e893aeSArmin Le Grand	};
56458e893aeSArmin Le Grand	FixedText FT_CUSTOME
56558e893aeSArmin Le Grand	{
56658e893aeSArmin Le Grand        Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y + 12 * 9 + POPUPPANEL_MARGIN_SMALL ) ;
56758e893aeSArmin Le Grand        Size = MAP_APPFONT ( 80  , TEXT_HEIGHT ) ;
56858e893aeSArmin Le Grand        Text [ en-US ] = "Custom:" ;
56958e893aeSArmin Le Grand	};
57058e893aeSArmin Le Grand	FixedText FT_LINE_WIDTH
57158e893aeSArmin Le Grand	{
57258e893aeSArmin Le Grand        Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE) ;
57358e893aeSArmin Le Grand        Size = MAP_APPFONT (  74 - POPUPPANEL_MARGIN_LARGE * 2   , TEXT_HEIGHT ) ;
57458e893aeSArmin Le Grand        Text [ en-US ] = "Line ~width:" ;
57558e893aeSArmin Le Grand	};
57658e893aeSArmin Le Grand	MetricField MF_WIDTH
57758e893aeSArmin Le Grand	{
57858e893aeSArmin Le Grand		Border = TRUE ;
57958e893aeSArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_MTR_WIDTH ;
58058e893aeSArmin Le Grand		Pos = MAP_APPFONT (  CUSTOM_X + POPUPPANEL_MARGIN_LARGE  , CUSTOM_Y + POPUPPANEL_MARGIN_LARGE + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ;
58158e893aeSArmin Le Grand		Size = MAP_APPFONT ( 40 , 12 ) ;
58258e893aeSArmin Le Grand		TabStop = TRUE ;
58358e893aeSArmin Le Grand		Right = TRUE ;
58458e893aeSArmin Le Grand		Repeat = TRUE ;
58558e893aeSArmin Le Grand		Spin = TRUE ;
58658e893aeSArmin Le Grand		Maximum = 5000 ;
58758e893aeSArmin Le Grand		StrictFormat = TRUE ;
58858e893aeSArmin Le Grand		DecimalDigits = 2 ;
58958e893aeSArmin Le Grand		Value = 1 ;
59058e893aeSArmin Le Grand		Unit = FUNIT_MM ;
59158e893aeSArmin Le Grand		Last = 5000 ;
59258e893aeSArmin Le Grand		SpinSize = 10 ;
59358e893aeSArmin Le Grand		QuickHelpText [ en-US ] = "Specify the width of the line.";
59458e893aeSArmin Le Grand	};
59558e893aeSArmin Le Grand
59658e893aeSArmin Le Grand	Image IMG_WIDTH_CUSTOM
59758e893aeSArmin Le Grand	{
59858e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/last_custom_common.png";};
59958e893aeSArmin Le Grand	};
60058e893aeSArmin Le Grand	Image IMG_WIDTH_CUSTOM_GRAY
60158e893aeSArmin Le Grand	{
60258e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/last_custom_common_grey.png";};
60358e893aeSArmin Le Grand	};
60458e893aeSArmin Le Grand	String STR_WIDTH_LAST_CUSTOM
60558e893aeSArmin Le Grand	{
60658e893aeSArmin Le Grand		Text [ en-US ] = "Last Custom Value";
60758e893aeSArmin Le Grand	};
60858e893aeSArmin Le Grand	String STR_PT
60958e893aeSArmin Le Grand	{
61058e893aeSArmin Le Grand		Text [ en-US ] = "pt";
61158e893aeSArmin Le Grand	};
61258e893aeSArmin Le Grand};
6134e8031e0SArmin Le Grand
6144e8031e0SArmin Le Grand// eof
615