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"
23d29c2fc2SAndre Fischer#include <sfx2/sidebar/ResourceDefinitions.hrc>
2458e893aeSArmin Le Grand#include <svx/dialogs.hrc>
2558e893aeSArmin Le Grand#include "helpid.hrc"
2658e893aeSArmin Le Grand
2758e893aeSArmin Le GrandControl RID_SIDEBAR_LINE_PANEL
2858e893aeSArmin Le Grand{
2958e893aeSArmin Le Grand	OutputSize = TRUE;
3058e893aeSArmin Le Grand	DialogControl = TRUE;
3158e893aeSArmin Le Grand	Border = FALSE;
3258e893aeSArmin Le Grand	Text = "Line";
3358e893aeSArmin Le Grand
34d5370dc8SArmin Le Grand    Size = MAP_APPFONT(
35d5370dc8SArmin Le Grand        PROPERTYPAGE_WIDTH,
36d5370dc8SArmin 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 );
3758e893aeSArmin Le Grand	HelpID = HID_PROPERTYPANEL_LINE_SECTION ;
3858e893aeSArmin Le Grand
3958e893aeSArmin Le Grand	FixedText FT_WIDTH
4058e893aeSArmin Le Grand	{
4158e893aeSArmin Le Grand        Pos = MAP_APPFONT( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP ) ;
4258e893aeSArmin Le Grand        Size = MAP_APPFONT (TOOLBOX_WIDTH  , TEXT_HEIGHT ) ;
4358e893aeSArmin Le Grand        Text [ en-US ] = "~Width:" ;
4458e893aeSArmin Le Grand	};
4558e893aeSArmin Le Grand	ToolBox TB_WIDTH
4658e893aeSArmin Le Grand	{
4758e893aeSArmin Le Grand		SVLook = TRUE ;
4858e893aeSArmin Le Grand		Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ;
4958e893aeSArmin Le Grand		Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ;
5058e893aeSArmin Le Grand		TabStop = TRUE ;
5158e893aeSArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_TBX_WIDTH ;
5258e893aeSArmin Le Grand		Text = "Width";
5358e893aeSArmin Le Grand		ItemList =
5458e893aeSArmin Le Grand		{
5558e893aeSArmin Le Grand			ToolBoxItem
5658e893aeSArmin Le Grand			{
5758e893aeSArmin Le Grand				Identifier = TBI_WIDTH ;
5858e893aeSArmin Le Grand				DropDown = TRUE ;
5958e893aeSArmin Le Grand				Text [ en-US ] = "Width" ;
6058e893aeSArmin Le Grand				HelpID = HID_PPROPERTYPANEL_LINE_TBI_WIDTH;
6158e893aeSArmin Le Grand			};
6258e893aeSArmin Le Grand		};
6358e893aeSArmin Le Grand	};
6458e893aeSArmin Le Grand	String STR_QH_TB_WIDTH
6558e893aeSArmin Le Grand	{
6658e893aeSArmin Le Grand		Text [ en-US ] = "Select the width of the line.";
6758e893aeSArmin Le Grand	};
6858e893aeSArmin Le Grand
6958e893aeSArmin Le Grand	FixedText FT_COLOR
7058e893aeSArmin Le Grand	{
7158e893aeSArmin Le Grand        Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3, SECTIONPAGE_MARGIN_VERTICAL_TOP ) ;
7258e893aeSArmin Le Grand        Size = MAP_APPFONT (TOOLBOX_WIDTH  , TEXT_HEIGHT ) ;
7358e893aeSArmin Le Grand        Text [ en-US ] = "~Color:" ;
7458e893aeSArmin Le Grand	};
7558e893aeSArmin Le Grand	ToolBox TB_COLOR
7658e893aeSArmin Le Grand	{
7758e893aeSArmin Le Grand		SVLook = TRUE ;
7858e893aeSArmin Le Grand		Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 4, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ;
7958e893aeSArmin Le Grand		Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ;
8058e893aeSArmin Le Grand		TabStop = TRUE ;
8158e893aeSArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_TBX_COLOR;
8258e893aeSArmin Le Grand		Text = "Color";
8358e893aeSArmin Le Grand		ItemList =
8458e893aeSArmin Le Grand		{
8558e893aeSArmin Le Grand			ToolBoxItem
8658e893aeSArmin Le Grand			{
8758e893aeSArmin Le Grand				Identifier = TBI_COLOR ;
8858e893aeSArmin Le Grand				DropDown = TRUE ;
8958e893aeSArmin Le Grand				Text [ en-US ] = "Color" ;
9058e893aeSArmin Le Grand				HelpID = HID_PPROPERTYPANEL_LINE_TBI_COLOR;
9158e893aeSArmin Le Grand			};
9258e893aeSArmin Le Grand		};
9358e893aeSArmin Le Grand	};
9458e893aeSArmin Le Grand	String STR_QH_TB_COLOR
9558e893aeSArmin Le Grand	{
9658e893aeSArmin Le Grand		Text [ en-US ] = "Select the color of the line.";
9758e893aeSArmin Le Grand	};
9858e893aeSArmin Le Grand
9958e893aeSArmin Le Grand	FixedText FT_STYLE
10058e893aeSArmin Le Grand	{
101d5370dc8SArmin Le Grand        Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + TOOLBOX_HEIGHT  + CONTROL_SPACING_VERTICAL) ;
10258e893aeSArmin Le Grand        Size = MAP_APPFONT (TOOLBOX_WIDTH  , TEXT_HEIGHT ) ;
10358e893aeSArmin Le Grand        Text [ en-US ] = "~Style:" ;
10458e893aeSArmin Le Grand	};
10597e8a929SArmin Le Grand	ListBox LB_STYLE
10658e893aeSArmin Le Grand	{
10797e8a929SArmin Le Grand		Border = TRUE ;
10897e8a929SArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_TBX_STYLE;
109d5370dc8SArmin 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 ) ;
11158e893aeSArmin Le Grand		TabStop = TRUE ;
11297e8a929SArmin Le Grand		DropDown = TRUE ;
11397e8a929SArmin Le Grand		DDExtraWidth = TRUE ;
11497e8a929SArmin Le Grand		QuickHelpText [ en-US ] = "Select the style of the line.";
11558e893aeSArmin Le Grand	};
11658e893aeSArmin Le Grand
11758e893aeSArmin Le Grand	FixedText FT_TRANSPARENT
11858e893aeSArmin Le Grand	{
119d5370dc8SArmin 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) ;
12058e893aeSArmin Le Grand        Size = MAP_APPFONT (TOOLBOX_WIDTH  , TEXT_HEIGHT ) ;
12158e893aeSArmin Le Grand        Text [ en-US ] = "~Transparency:" ;
12258e893aeSArmin Le Grand	};
12358e893aeSArmin Le Grand	MetricField MF_TRANSPARENT
12458e893aeSArmin Le Grand	{
12558e893aeSArmin Le Grand		Border = TRUE ;
12658e893aeSArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_MTR_TRANCEPARENCE;
127d5370dc8SArmin 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) ;
12858e893aeSArmin Le Grand		Size = MAP_APPFONT ( TOOLBOX_WIDTH + 1 , 12 ) ;
12958e893aeSArmin Le Grand		TabStop = TRUE ;
13058e893aeSArmin Le Grand		Repeat = TRUE ;
13158e893aeSArmin Le Grand		Spin = TRUE ;
13258e893aeSArmin Le Grand		Maximum = 100 ;
13358e893aeSArmin Le Grand		StrictFormat = TRUE ;
134*7ea7a1ccSTsutomu Uchino		Unit = FUNIT_PERCENT ;
13558e893aeSArmin Le Grand		Last = 100 ;
13658e893aeSArmin Le Grand		SpinSize = 5 ;
13758e893aeSArmin Le Grand		QuickHelpText [ en-US ] = "Specify the transparency of the line.";
13858e893aeSArmin Le Grand	};
13958e893aeSArmin Le Grand
14058e893aeSArmin Le Grand	FixedText FT_ARROW
14158e893aeSArmin Le Grand	{
142d5370dc8SArmin 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) ;
14358e893aeSArmin Le Grand        Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3 , TEXT_HEIGHT ) ;
14458e893aeSArmin Le Grand        Text [ en-US ] = "~Arrow:" ;
14558e893aeSArmin Le Grand	};
14658e893aeSArmin Le Grand	ListBox LB_START
14758e893aeSArmin Le Grand	{
14858e893aeSArmin Le Grand		Border = TRUE ;
14958e893aeSArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_LB_START;
150d5370dc8SArmin 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 ) ;
15197e8a929SArmin Le Grand		Size = MAP_APPFONT ( TOOLBOX_WIDTH , LISTBOX_HEIGHT ) ;
15258e893aeSArmin Le Grand		TabStop = TRUE ;
15358e893aeSArmin Le Grand		DropDown = TRUE ;
15458e893aeSArmin Le Grand		DDExtraWidth = TRUE ;
15558e893aeSArmin Le Grand		QuickHelpText [ en-US ] = "Select the style of the beginning arrowhead.";
15658e893aeSArmin Le Grand	};
15758e893aeSArmin Le Grand	ListBox LB_END
15858e893aeSArmin Le Grand	{
15958e893aeSArmin Le Grand		Border = TRUE ;
16058e893aeSArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_LB_END;
161d5370dc8SArmin 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 ) ;
16297e8a929SArmin Le Grand		Size = MAP_APPFONT ( TOOLBOX_WIDTH + 1, LISTBOX_HEIGHT ) ;
16358e893aeSArmin Le Grand		TabStop = TRUE ;
16458e893aeSArmin Le Grand		DropDown = TRUE ;
16558e893aeSArmin Le Grand		DDExtraWidth = TRUE ;
16658e893aeSArmin Le Grand		QuickHelpText [ en-US ] = "Select the style of the ending arrowhead.";
16758e893aeSArmin Le Grand	};
16858e893aeSArmin Le Grand
169d5370dc8SArmin Le Grand	FixedText FT_EDGESTYLE
170d5370dc8SArmin Le Grand	{
171d5370dc8SArmin Le Grand        Pos = MAP_APPFONT (
172d5370dc8SArmin Le Grand            SECTIONPAGE_MARGIN_HORIZONTAL,
173d5370dc8SArmin Le Grand            SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*3 + TEXT_CONTROL_SPACING_VERTICAL*3 + TOOLBOX_HEIGHT*3  + CONTROL_SPACING_VERTICAL*3) ;
174d5370dc8SArmin Le Grand        Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3 , TEXT_HEIGHT ) ;
175d5370dc8SArmin Le Grand		Text [ en-US ] = "~Corner style" ;
176d5370dc8SArmin Le Grand	};
177d5370dc8SArmin Le Grand	ListBox LB_EDGESTYLE
178d5370dc8SArmin Le Grand	{
179d5370dc8SArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_LB_EDGESTYLE;
180d5370dc8SArmin Le Grand		Border = TRUE ;
181d5370dc8SArmin Le Grand		Pos = MAP_APPFONT (
182d5370dc8SArmin Le Grand            SECTIONPAGE_MARGIN_HORIZONTAL ,
183d5370dc8SArmin Le Grand            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 ) ;
185d5370dc8SArmin Le Grand		TabStop = TRUE ;
186d5370dc8SArmin Le Grand		DropDown = TRUE ;
187d5370dc8SArmin Le Grand		DDExtraWidth = TRUE ;
188d5370dc8SArmin Le Grand		QuickHelpText [ en-US ] = "Select the style of the edge connections.";
189d5370dc8SArmin Le Grand		StringList [ en-US ] =
190d5370dc8SArmin Le Grand		{
191d5370dc8SArmin Le Grand			< "Rounded" ; Default ; > ;
192d5370dc8SArmin Le Grand			< "- none -" ; > ;
193d5370dc8SArmin Le Grand			< "Mitered" ; > ;
194d5370dc8SArmin Le Grand			< "Beveled" ; > ;
195d5370dc8SArmin Le Grand		};
196d5370dc8SArmin Le Grand	};
197d5370dc8SArmin Le Grand    FixedText FT_CAPSTYLE
198d5370dc8SArmin Le Grand    {
199d5370dc8SArmin Le Grand        Pos = MAP_APPFONT (
200d5370dc8SArmin Le Grand            SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3,
201d5370dc8SArmin Le Grand            SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*3 + TEXT_CONTROL_SPACING_VERTICAL*3 + TOOLBOX_HEIGHT*3  + CONTROL_SPACING_VERTICAL*3) ;
202d5370dc8SArmin Le Grand        Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3 , TEXT_HEIGHT ) ;
203d5370dc8SArmin Le Grand        Text [ en-US ] = "Ca~p style" ;
204d5370dc8SArmin Le Grand    };
205d5370dc8SArmin Le Grand    ListBox LB_CAPSTYLE
206d5370dc8SArmin Le Grand    {
207d5370dc8SArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_LB_CAPSTYLE;
208d5370dc8SArmin Le Grand        Border = TRUE ;
209d5370dc8SArmin Le Grand		Pos = MAP_APPFONT (
210d5370dc8SArmin Le Grand            SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3,
211d5370dc8SArmin Le Grand            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 ) ;
213d5370dc8SArmin Le Grand        TabStop = TRUE ;
214d5370dc8SArmin Le Grand        DropDown = TRUE ;
215d5370dc8SArmin Le Grand		DDExtraWidth = TRUE ;
216d5370dc8SArmin Le Grand		QuickHelpText [ en-US ] = "Select the style of the line caps.";
217d5370dc8SArmin Le Grand        StringList [ en-US ] =
218d5370dc8SArmin Le Grand        {
219d5370dc8SArmin Le Grand            < "Flat" ; Default ; > ; // Same string as in Excel
220d5370dc8SArmin Le Grand            < "Round" ; > ;
221d5370dc8SArmin Le Grand            < "Square" ; > ;
222d5370dc8SArmin Le Grand        };
223d5370dc8SArmin Le Grand    };
224d5370dc8SArmin Le Grand
22558e893aeSArmin Le Grand	Image IMG_COLOR
22658e893aeSArmin Le Grand	{
22758e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/Line_color.png";};
22858e893aeSArmin Le Grand	};
22958e893aeSArmin Le Grand	Image IMG_COLOR_NO
23058e893aeSArmin Le Grand	{
23158e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/no color.png";};
23258e893aeSArmin Le Grand	};
23358e893aeSArmin Le Grand
23458e893aeSArmin Le Grand	Image IMG_NONE_ICON
23558e893aeSArmin Le Grand	{
23658e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/blank.png";};
23758e893aeSArmin Le Grand	};
23858e893aeSArmin Le Grand
23958e893aeSArmin Le Grand	//WIDTH ICON
24058e893aeSArmin Le Grand	Image IMG_WIDTH1_ICON
24158e893aeSArmin Le Grand	{
24258e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width1.png";};
24358e893aeSArmin Le Grand	};
24458e893aeSArmin Le Grand	Image IMG_WIDTH2_ICON
24558e893aeSArmin Le Grand	{
24658e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width2.png";};
24758e893aeSArmin Le Grand	};
24858e893aeSArmin Le Grand	Image IMG_WIDTH3_ICON
24958e893aeSArmin Le Grand	{
25058e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width3.png";};
25158e893aeSArmin Le Grand	};
25258e893aeSArmin Le Grand	Image IMG_WIDTH4_ICON
25358e893aeSArmin Le Grand	{
25458e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width4.png";};
25558e893aeSArmin Le Grand	};
25658e893aeSArmin Le Grand	Image IMG_WIDTH5_ICON
25758e893aeSArmin Le Grand	{
25858e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width5.png";};
25958e893aeSArmin Le Grand	};
26058e893aeSArmin Le Grand	Image IMG_WIDTH6_ICON
26158e893aeSArmin Le Grand	{
26258e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width6.png";};
26358e893aeSArmin Le Grand	};
26458e893aeSArmin Le Grand	Image IMG_WIDTH7_ICON
26558e893aeSArmin Le Grand	{
26658e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width7.png";};
26758e893aeSArmin Le Grand	};
26858e893aeSArmin Le Grand	Image IMG_WIDTH8_ICON
26958e893aeSArmin Le Grand	{
27058e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width8.png";};
27158e893aeSArmin Le Grand	};
27258e893aeSArmin Le Grand
27358e893aeSArmin Le Grand	//high contrast for line width
27458e893aeSArmin Le Grand	//WIDTH ICON
27558e893aeSArmin Le Grand	Image IMG_WIDTH1_ICON_H
27658e893aeSArmin Le Grand	{
27758e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width1_h.png";};
27858e893aeSArmin Le Grand	};
27958e893aeSArmin Le Grand	Image IMG_WIDTH2_ICON_H
28058e893aeSArmin Le Grand	{
28158e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width2_h.png";};
28258e893aeSArmin Le Grand	};
28358e893aeSArmin Le Grand	Image IMG_WIDTH3_ICON_H
28458e893aeSArmin Le Grand	{
28558e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width3_h.png";};
28658e893aeSArmin Le Grand	};
28758e893aeSArmin Le Grand	Image IMG_WIDTH4_ICON_H
28858e893aeSArmin Le Grand	{
28958e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width4_h.png";};
29058e893aeSArmin Le Grand	};
29158e893aeSArmin Le Grand	Image IMG_WIDTH5_ICON_H
29258e893aeSArmin Le Grand	{
29358e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width5_h.png";};
29458e893aeSArmin Le Grand	};
29558e893aeSArmin Le Grand	Image IMG_WIDTH6_ICON_H
29658e893aeSArmin Le Grand	{
29758e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width6_h.png";};
29858e893aeSArmin Le Grand	};
29958e893aeSArmin Le Grand	Image IMG_WIDTH7_ICON_H
30058e893aeSArmin Le Grand	{
30158e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width7_h.png";};
30258e893aeSArmin Le Grand	};
30358e893aeSArmin Le Grand	Image IMG_WIDTH8_ICON_H
30458e893aeSArmin Le Grand	{
30558e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/width8_h.png";};
30658e893aeSArmin Le Grand	};
30758e893aeSArmin Le Grand};
30858e893aeSArmin Le GrandControl RID_POPUPPANEL_LINEPAGE_COLOR
30958e893aeSArmin Le Grand{
31058e893aeSArmin Le Grand	OutputSize = TRUE;
31158e893aeSArmin Le Grand	DialogControl = TRUE;
31258e893aeSArmin Le Grand	Border = FALSE;
31358e893aeSArmin Le Grand	Size = MAP_APPFONT(  POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT  );
31458e893aeSArmin Le Grand
31558e893aeSArmin Le Grand	Control VS_COLOR
31658e893aeSArmin Le Grand	{
31758e893aeSArmin Le Grand		HelpId = HID_PPROPERTYPANEL_LINE_VS_COLOR ;
31858e893aeSArmin Le Grand        Hide = TRUE ;
31958e893aeSArmin Le Grand        Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y );
32058e893aeSArmin Le Grand        Size = MAP_APPFONT (  POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2);
32158e893aeSArmin Le Grand		TabStop = TRUE ;
32258e893aeSArmin Le Grand		Text = "Color";
32358e893aeSArmin Le Grand	};
32458e893aeSArmin Le Grand};
32558e893aeSArmin Le GrandControl RID_POPUPPANEL_LINEPAGE_STYLE
32658e893aeSArmin Le Grand{
32758e893aeSArmin Le Grand	OutputSize = TRUE;
32858e893aeSArmin Le Grand	DialogControl = TRUE;
32958e893aeSArmin Le Grand	Border = FALSE;
33058e893aeSArmin Le Grand
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);
33458e893aeSArmin Le Grand
33558e893aeSArmin Le Grand	Control VS_STYLE
33658e893aeSArmin Le Grand	{
33758e893aeSArmin Le Grand		HelpId = HID_PPROPERTYPANEL_LINE_VS_STYLE ;
33858e893aeSArmin Le Grand        Hide = TRUE ;
33958e893aeSArmin Le Grand        Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
34058e893aeSArmin Le Grand        Size = MAP_APPFONT ( 93  , 13 * 12);
34158e893aeSArmin Le Grand		TabStop = TRUE ;
34258e893aeSArmin Le Grand		Text = "Style";
34358e893aeSArmin Le Grand	};
34458e893aeSArmin Le Grand
34558e893aeSArmin Le Grand	PushButton PB_OPTIONS
34658e893aeSArmin Le Grand	{
34758e893aeSArmin Le Grand		HelpId = HID_PPROPERTYPANEL_LINE_BTN_STYLE;
34858e893aeSArmin Le Grand		Pos = MAP_APPFONT (  POPUPPANEL_MARGIN_LARGE + OFFSET_X , POPUPPANEL_MARGIN_SMALL * 2 + OFFSET_Y  );
34958e893aeSArmin Le Grand		Size = MAP_APPFONT ( 93 , 13 );
35058e893aeSArmin Le Grand		TabStop = TRUE;
35158e893aeSArmin Le Grand		Text [ en-US ] = "~More Options...";
35258e893aeSArmin Le Grand	};
35358e893aeSArmin Le Grand};
35458e893aeSArmin Le GrandControl RID_POPUPPANEL_LINEPAGE_WIDTH
35558e893aeSArmin Le Grand{
35658e893aeSArmin Le Grand	OutputSize = TRUE;
35758e893aeSArmin Le Grand	DialogControl = TRUE;
35858e893aeSArmin Le Grand	Border = FALSE;
35958e893aeSArmin Le Grand
36058e893aeSArmin 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));
36158e893aeSArmin Le Grand
36258e893aeSArmin Le Grand	Control VS_WIDTH
36358e893aeSArmin Le Grand	{
36458e893aeSArmin Le Grand		HelpId = HID_PPROPERTYPANEL_LINE_VS_WIDTH ;
36558e893aeSArmin Le Grand        Hide = TRUE ;
36658e893aeSArmin Le Grand        Pos = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
36758e893aeSArmin Le Grand        Size = MAP_APPFONT ( 80  , 12 * 9);
36858e893aeSArmin Le Grand		TabStop = TRUE ;
36958e893aeSArmin Le Grand		Text = "Width";
37058e893aeSArmin Le Grand	};
37158e893aeSArmin Le Grand	FixedText FT_CUSTOME
37258e893aeSArmin Le Grand	{
37358e893aeSArmin Le Grand        Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y + 12 * 9 + POPUPPANEL_MARGIN_SMALL ) ;
37458e893aeSArmin Le Grand        Size = MAP_APPFONT ( 80  , TEXT_HEIGHT ) ;
37558e893aeSArmin Le Grand        Text [ en-US ] = "Custom:" ;
37658e893aeSArmin Le Grand	};
37758e893aeSArmin Le Grand	FixedText FT_LINE_WIDTH
37858e893aeSArmin Le Grand	{
37958e893aeSArmin Le Grand        Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE) ;
38058e893aeSArmin Le Grand        Size = MAP_APPFONT (  74 - POPUPPANEL_MARGIN_LARGE * 2   , TEXT_HEIGHT ) ;
38158e893aeSArmin Le Grand        Text [ en-US ] = "Line ~width:" ;
38258e893aeSArmin Le Grand	};
38358e893aeSArmin Le Grand	MetricField MF_WIDTH
38458e893aeSArmin Le Grand	{
38558e893aeSArmin Le Grand		Border = TRUE ;
38658e893aeSArmin Le Grand		HelpID = HID_PPROPERTYPANEL_LINE_MTR_WIDTH ;
38758e893aeSArmin Le Grand		Pos = MAP_APPFONT (  CUSTOM_X + POPUPPANEL_MARGIN_LARGE  , CUSTOM_Y + POPUPPANEL_MARGIN_LARGE + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ;
38858e893aeSArmin Le Grand		Size = MAP_APPFONT ( 40 , 12 ) ;
38958e893aeSArmin Le Grand		TabStop = TRUE ;
39058e893aeSArmin Le Grand		Right = TRUE ;
39158e893aeSArmin Le Grand		Repeat = TRUE ;
39258e893aeSArmin Le Grand		Spin = TRUE ;
39358e893aeSArmin Le Grand		Maximum = 5000 ;
39458e893aeSArmin Le Grand		StrictFormat = TRUE ;
39558e893aeSArmin Le Grand		DecimalDigits = 2 ;
39658e893aeSArmin Le Grand		Value = 1 ;
39758e893aeSArmin Le Grand		Unit = FUNIT_MM ;
39858e893aeSArmin Le Grand		Last = 5000 ;
39958e893aeSArmin Le Grand		SpinSize = 10 ;
40058e893aeSArmin Le Grand		QuickHelpText [ en-US ] = "Specify the width of the line.";
40158e893aeSArmin Le Grand	};
40258e893aeSArmin Le Grand
40358e893aeSArmin Le Grand	Image IMG_WIDTH_CUSTOM
40458e893aeSArmin Le Grand	{
40558e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/last_custom_common.png";};
40658e893aeSArmin Le Grand	};
40758e893aeSArmin Le Grand	Image IMG_WIDTH_CUSTOM_GRAY
40858e893aeSArmin Le Grand	{
40958e893aeSArmin Le Grand		ImageBitmap = Bitmap{File = "symphony/last_custom_common_grey.png";};
41058e893aeSArmin Le Grand	};
41158e893aeSArmin Le Grand	String STR_WIDTH_LAST_CUSTOM
41258e893aeSArmin Le Grand	{
41358e893aeSArmin Le Grand		Text [ en-US ] = "Last Custom Value";
41458e893aeSArmin Le Grand	};
41558e893aeSArmin Le Grand	String STR_PT
41658e893aeSArmin Le Grand	{
41758e893aeSArmin Le Grand		Text [ en-US ] = "pt";
41858e893aeSArmin Le Grand	};
41958e893aeSArmin Le Grand};
4204e8031e0SArmin Le Grand
4214e8031e0SArmin Le Grand// eof
422