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"
23*d29c2fc2SAndre Fischer#include <sfx2/sidebar/ResourceDefinitions.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
2997e8a929SArmin 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	};
10997e8a929SArmin Le Grand	ListBox LB_STYLE
11058e893aeSArmin Le Grand	{
11197e8a929SArmin Le Grand		Border = TRUE ;
11297e8a929SArmin 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) ;
11497e8a929SArmin Le Grand		Size = MAP_APPFONT (TOOLBOX_WIDTH ,LISTBOX_HEIGHT ) ;
11558e893aeSArmin Le Grand		TabStop = TRUE ;
11697e8a929SArmin Le Grand		DropDown = TRUE ;
11797e8a929SArmin Le Grand		DDExtraWidth = TRUE ;
11897e8a929SArmin 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 ) ;
15697e8a929SArmin 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 ) ;
16797e8a929SArmin 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 ) ;
18997e8a929SArmin 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 ) ;
21797e8a929SArmin 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};
33058e893aeSArmin Le GrandControl RID_POPUPPANEL_LINEPAGE_STYLE
33158e893aeSArmin Le Grand{
33258e893aeSArmin Le Grand	OutputSize = TRUE;
33358e893aeSArmin Le Grand	DialogControl = TRUE;
33458e893aeSArmin Le Grand	Border = FALSE;
33558e893aeSArmin Le Grand
336facb16e7SArmin Le Grand	Size = MAP_APPFONT(
337facb16e7SArmin Le Grand        POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH ,
338facb16e7SArmin Le Grand        13 + POPUP_BORDER_HEIGHT + POPUPPANEL_MARGIN_SMALL * 2 + POPUPPANEL_MARGIN_LARGE);
33958e893aeSArmin Le Grand
34058e893aeSArmin Le Grand	Control VS_STYLE
34158e893aeSArmin Le Grand	{
34258e893aeSArmin Le Grand		HelpId = HID_PPROPERTYPANEL_LINE_VS_STYLE ;
34358e893aeSArmin Le Grand        Hide = TRUE ;
34458e893aeSArmin Le Grand        Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
34558e893aeSArmin Le Grand        Size = MAP_APPFONT ( 93  , 13 * 12);
34658e893aeSArmin Le Grand		TabStop = TRUE ;
34758e893aeSArmin Le Grand		Text = "Style";
34858e893aeSArmin Le Grand	};
34958e893aeSArmin Le Grand
35058e893aeSArmin Le Grand	PushButton PB_OPTIONS
35158e893aeSArmin Le Grand	{
35258e893aeSArmin Le Grand		HelpId = HID_PPROPERTYPANEL_LINE_BTN_STYLE;
35358e893aeSArmin Le Grand		Pos = MAP_APPFONT (  POPUPPANEL_MARGIN_LARGE + OFFSET_X , POPUPPANEL_MARGIN_SMALL * 2 + OFFSET_Y  );
35458e893aeSArmin Le Grand		Size = MAP_APPFONT ( 93 , 13 );
35558e893aeSArmin Le Grand		TabStop = TRUE;
35658e893aeSArmin Le Grand		Text [ en-US ] = "~More Options...";
35758e893aeSArmin Le Grand	};
35858e893aeSArmin Le Grand};
35958e893aeSArmin Le GrandControl RID_POPUPPANEL_LINEPAGE_WIDTH
36058e893aeSArmin Le Grand{
36158e893aeSArmin Le Grand	OutputSize = TRUE;
36258e893aeSArmin Le Grand	DialogControl = TRUE;
36358e893aeSArmin Le Grand	Border = FALSE;
36458e893aeSArmin Le Grand
36558e893aeSArmin 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));
36658e893aeSArmin Le Grand
36758e893aeSArmin Le Grand	Control VS_WIDTH
36858e893aeSArmin Le Grand	{
36958e893aeSArmin Le Grand		HelpId = HID_PPROPERTYPANEL_LINE_VS_WIDTH ;
37058e893aeSArmin Le Grand        Hide = TRUE ;
37158e893aeSArmin Le Grand        Pos = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
37258e893aeSArmin Le Grand        Size = MAP_APPFONT ( 80  , 12 * 9);
37358e893aeSArmin Le Grand		TabStop = TRUE ;
37458e893aeSArmin Le Grand		Text = "Width";
37558e893aeSArmin Le Grand	};
37658e893aeSArmin Le Grand	FixedText FT_CUSTOME
37758e893aeSArmin Le Grand	{
37858e893aeSArmin Le Grand        Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y + 12 * 9 + POPUPPANEL_MARGIN_SMALL ) ;
37958e893aeSArmin Le Grand        Size = MAP_APPFONT ( 80  , TEXT_HEIGHT ) ;
38058e893aeSArmin Le Grand        Text [ en-US ] = "Custom:" ;
38158e893aeSArmin Le Grand	};
38258e893aeSArmin Le Grand	FixedText FT_LINE_WIDTH
38358e893aeSArmin Le Grand	{
38458e893aeSArmin Le Grand        Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE) ;
38558e893aeSArmin Le Grand        Size = MAP_APPFONT (  74 - POPUPPANEL_MARGIN_LARGE * 2   , TEXT_HEIGHT ) ;
38658e893aeSArmin Le Grand        Text [ en-US ] = "Line ~width:" ;
38758e893aeSArmin Le Grand	};
38858e893aeSArmin Le Grand	MetricField MF_WIDTH
38958e893aeSArmin Le Grand	{
39058e893aeSArmin Le Grand		Border = TRUE ;
39158e893aeSArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_MTR_WIDTH ;
39258e893aeSArmin Le Grand		Pos = MAP_APPFONT (  CUSTOM_X + POPUPPANEL_MARGIN_LARGE  , CUSTOM_Y + POPUPPANEL_MARGIN_LARGE + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ;
39358e893aeSArmin Le Grand		Size = MAP_APPFONT ( 40 , 12 ) ;
39458e893aeSArmin Le Grand		TabStop = TRUE ;
39558e893aeSArmin Le Grand		Right = TRUE ;
39658e893aeSArmin Le Grand		Repeat = TRUE ;
39758e893aeSArmin Le Grand		Spin = TRUE ;
39858e893aeSArmin Le Grand		Maximum = 5000 ;
39958e893aeSArmin Le Grand		StrictFormat = TRUE ;
40058e893aeSArmin Le Grand		DecimalDigits = 2 ;
40158e893aeSArmin Le Grand		Value = 1 ;
40258e893aeSArmin Le Grand		Unit = FUNIT_MM ;
40358e893aeSArmin Le Grand		Last = 5000 ;
40458e893aeSArmin Le Grand		SpinSize = 10 ;
40558e893aeSArmin Le Grand		QuickHelpText [ en-US ] = "Specify the width of the line.";
40658e893aeSArmin Le Grand	};
40758e893aeSArmin Le Grand
40858e893aeSArmin Le Grand	Image IMG_WIDTH_CUSTOM
40958e893aeSArmin Le Grand	{
41058e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/last_custom_common.png";};
41158e893aeSArmin Le Grand	};
41258e893aeSArmin Le Grand	Image IMG_WIDTH_CUSTOM_GRAY
41358e893aeSArmin Le Grand	{
41458e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/last_custom_common_grey.png";};
41558e893aeSArmin Le Grand	};
41658e893aeSArmin Le Grand	String STR_WIDTH_LAST_CUSTOM
41758e893aeSArmin Le Grand	{
41858e893aeSArmin Le Grand		Text [ en-US ] = "Last Custom Value";
41958e893aeSArmin Le Grand	};
42058e893aeSArmin Le Grand	String STR_PT
42158e893aeSArmin Le Grand	{
42258e893aeSArmin Le Grand		Text [ en-US ] = "pt";
42358e893aeSArmin Le Grand	};
42458e893aeSArmin Le Grand};
4254e8031e0SArmin Le Grand
4264e8031e0SArmin Le Grand// eof
427