1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22#include "LinePropertyPanel.hrc"
23#include <sfx2/sidebar/propertypanel.hrc>
24#include <svx/dialogs.hrc>
25#include "helpid.hrc"
26
27#define TOOLBOX_WIDTH		50
28#define TOOLBOX_HEIGHT		14
29
30Control RID_SIDEBAR_LINE_PANEL
31{
32	OutputSize = TRUE;
33	DialogControl = TRUE;
34	Border = FALSE;
35	Text = "Line";
36
37    Size = MAP_APPFONT(
38        PROPERTYPAGE_WIDTH,
39        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 );
40	HelpID = HID_PROPERTYPANEL_LINE_SECTION ;
41
42	FixedText FT_WIDTH
43	{
44        Pos = MAP_APPFONT( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP ) ;
45        Size = MAP_APPFONT (TOOLBOX_WIDTH  , TEXT_HEIGHT ) ;
46        Text [ en-US ] = "~Width:" ;
47	};
48	ToolBox TB_WIDTH
49	{
50		SVLook = TRUE ;
51		Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ;
52		Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ;
53		TabStop = TRUE ;
54		HelpID = HID_PPROPERTYPANEL_LINE_TBX_WIDTH ;
55		Text = "Width";
56		ItemList =
57		{
58			ToolBoxItem
59			{
60				Identifier = TBI_WIDTH ;
61				DropDown = TRUE ;
62				Text [ en-US ] = "Width" ;
63				HelpID = HID_PPROPERTYPANEL_LINE_TBI_WIDTH;
64			};
65		};
66	};
67	String STR_QH_TB_WIDTH
68	{
69		Text [ en-US ] = "Select the width of the line.";
70	};
71
72	FixedText FT_COLOR
73	{
74        Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3, SECTIONPAGE_MARGIN_VERTICAL_TOP ) ;
75        Size = MAP_APPFONT (TOOLBOX_WIDTH  , TEXT_HEIGHT ) ;
76        Text [ en-US ] = "~Color:" ;
77	};
78	ToolBox TB_COLOR
79	{
80		SVLook = TRUE ;
81		Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 4, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ;
82		Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ;
83		TabStop = TRUE ;
84		HelpID = HID_PPROPERTYPANEL_LINE_TBX_COLOR;
85		Text = "Color";
86		ItemList =
87		{
88			ToolBoxItem
89			{
90				Identifier = TBI_COLOR ;
91				DropDown = TRUE ;
92				Text [ en-US ] = "Color" ;
93				HelpID = HID_PPROPERTYPANEL_LINE_TBI_COLOR;
94			};
95		};
96	};
97	String STR_QH_TB_COLOR
98	{
99		Text [ en-US ] = "Select the color of the line.";
100	};
101
102	FixedText FT_STYLE
103	{
104        Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + TOOLBOX_HEIGHT  + CONTROL_SPACING_VERTICAL) ;
105        Size = MAP_APPFONT (TOOLBOX_WIDTH  , TEXT_HEIGHT ) ;
106        Text [ en-US ] = "~Style:" ;
107	};
108	ToolBox TB_STYLE
109	{
110		SVLook = TRUE ;
111		Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*2 + TEXT_CONTROL_SPACING_VERTICAL*2 + TOOLBOX_HEIGHT  + CONTROL_SPACING_VERTICAL) ;
112		Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ;
113		TabStop = TRUE ;
114		HelpID = HID_PPROPERTYPANEL_LINE_TBX_STYLE;
115		Text = "Style";
116		ItemList =
117		{
118			ToolBoxItem
119			{
120				Identifier = TBI_STYLE ;
121				DropDown = TRUE ;
122				Text [ en-US ] = "Style" ;
123				HelpID = HID_PPROPERTYPANEL_LINE_TBI_STYLE;
124			};
125		};
126	};
127	String STR_QH_TB_STYLE
128	{
129		Text [ en-US ] = "Select the style of the line.";
130	};
131
132	FixedText FT_TRANSPARENT
133	{
134        Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3 , SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL + TOOLBOX_HEIGHT  + CONTROL_SPACING_VERTICAL) ;
135        Size = MAP_APPFONT (TOOLBOX_WIDTH  , TEXT_HEIGHT ) ;
136        Text [ en-US ] = "~Transparency:" ;
137	};
138	MetricField MF_TRANSPARENT
139	{
140		Border = TRUE ;
141		HelpID = HID_PPROPERTYPANEL_LINE_MTR_TRANCEPARENCE;
142		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) ;
143		Size = MAP_APPFONT ( TOOLBOX_WIDTH + 1 , 12 ) ;
144		TabStop = TRUE ;
145		Repeat = TRUE ;
146		Spin = TRUE ;
147		Maximum = 100 ;
148		StrictFormat = TRUE ;
149		Unit = FUNIT_CUSTOM ;
150		CustomUnitText = "%" ;
151		Last = 100 ;
152		SpinSize = 5 ;
153		QuickHelpText [ en-US ] = "Specify the transparency of the line.";
154	};
155
156	FixedText FT_ARROW
157	{
158        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) ;
159        Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3 , TEXT_HEIGHT ) ;
160        Text [ en-US ] = "~Arrow:" ;
161	};
162	ListBox LB_START
163	{
164		Border = TRUE ;
165		HelpID = HID_PPROPERTYPANEL_LINE_LB_START;
166		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 ) ;
167		Size = MAP_APPFONT ( TOOLBOX_WIDTH , 99 ) ;
168		TabStop = TRUE ;
169		DropDown = TRUE ;
170		DDExtraWidth = TRUE ;
171		QuickHelpText [ en-US ] = "Select the style of the beginning arrowhead.";
172	};
173	ListBox LB_END
174	{
175		Border = TRUE ;
176		HelpID = HID_PPROPERTYPANEL_LINE_LB_END;
177		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 ) ;
178		Size = MAP_APPFONT ( TOOLBOX_WIDTH + 1, 100 ) ;
179		TabStop = TRUE ;
180		DropDown = TRUE ;
181		DDExtraWidth = TRUE ;
182		QuickHelpText [ en-US ] = "Select the style of the ending arrowhead.";
183	};
184
185	FixedText FT_EDGESTYLE
186	{
187        Pos = MAP_APPFONT (
188            SECTIONPAGE_MARGIN_HORIZONTAL,
189            SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*3 + TEXT_CONTROL_SPACING_VERTICAL*3 + TOOLBOX_HEIGHT*3  + CONTROL_SPACING_VERTICAL*3) ;
190        Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3 , TEXT_HEIGHT ) ;
191		Text [ en-US ] = "~Corner style" ;
192	};
193	ListBox LB_EDGESTYLE
194	{
195		HelpID = HID_PPROPERTYPANEL_LINE_LB_EDGESTYLE;
196		Border = TRUE ;
197		Pos = MAP_APPFONT (
198            SECTIONPAGE_MARGIN_HORIZONTAL ,
199            SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*4 + TEXT_CONTROL_SPACING_VERTICAL*4 + TOOLBOX_HEIGHT*3  + CONTROL_SPACING_VERTICAL*3 ) ;
200		Size = MAP_APPFONT ( TOOLBOX_WIDTH , 99 ) ;
201		TabStop = TRUE ;
202		DropDown = TRUE ;
203		DDExtraWidth = TRUE ;
204		QuickHelpText [ en-US ] = "Select the style of the edge connections.";
205		StringList [ en-US ] =
206		{
207			< "Rounded" ; Default ; > ;
208			< "- none -" ; > ;
209			< "Mitered" ; > ;
210			< "Beveled" ; > ;
211		};
212	};
213    FixedText FT_CAPSTYLE
214    {
215        Pos = MAP_APPFONT (
216            SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3,
217            SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*3 + TEXT_CONTROL_SPACING_VERTICAL*3 + TOOLBOX_HEIGHT*3  + CONTROL_SPACING_VERTICAL*3) ;
218        Size = MAP_APPFONT (TOOLBOX_WIDTH * 2 + 3 , TEXT_HEIGHT ) ;
219        Text [ en-US ] = "Ca~p style" ;
220    };
221    ListBox LB_CAPSTYLE
222    {
223		HelpID = HID_PPROPERTYPANEL_LINE_LB_CAPSTYLE;
224        Border = TRUE ;
225		Pos = MAP_APPFONT (
226            SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH + 3,
227            SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT*4 + TEXT_CONTROL_SPACING_VERTICAL*4 + TOOLBOX_HEIGHT*3  + CONTROL_SPACING_VERTICAL*3 ) ;
228		Size = MAP_APPFONT ( TOOLBOX_WIDTH , 99 ) ;
229        TabStop = TRUE ;
230        DropDown = TRUE ;
231		DDExtraWidth = TRUE ;
232		QuickHelpText [ en-US ] = "Select the style of the line caps.";
233        StringList [ en-US ] =
234        {
235            < "Flat" ; Default ; > ; // Same string as in Excel
236            < "Round" ; > ;
237            < "Square" ; > ;
238        };
239    };
240
241	Image IMG_COLOR
242	{
243		ImageBitmap = Bitmap{File = "symphony/Line_color.png";};
244	};
245	Image IMG_COLOR_NO
246	{
247		ImageBitmap = Bitmap{File = "symphony/no color.png";};
248	};
249
250	Image IMG_LINE1_ICON
251	{
252		ImageBitmap = Bitmap{File = "symphony/style_line1_s.png";};
253	};
254	Image IMG_LINE2_ICON
255	{
256		ImageBitmap = Bitmap{File = "symphony/style_line2_s.png";};
257	};
258	Image IMG_LINE3_ICON
259	{
260		ImageBitmap = Bitmap{File = "symphony/style_line3_s.png";};
261	};
262	Image IMG_LINE4_ICON
263	{
264		ImageBitmap = Bitmap{File = "symphony/style_line4_s.png";};
265	};
266	Image IMG_LINE5_ICON
267	{
268		ImageBitmap = Bitmap{File = "symphony/style_line5_s.png";};
269	};
270	Image IMG_LINE6_ICON
271	{
272		ImageBitmap = Bitmap{File = "symphony/style_line6_s.png";};
273	};
274	Image IMG_LINE7_ICON
275	{
276		ImageBitmap = Bitmap{File = "symphony/style_line7_s.png";};
277	};
278	Image IMG_LINE8_ICON
279	{
280		ImageBitmap = Bitmap{File = "symphony/style_line8_s.png";};
281	};
282	Image IMG_LINE9_ICON
283	{
284		ImageBitmap = Bitmap{File = "symphony/style_line9_s.png";};
285	};
286	Image IMG_LINE10_ICON
287	{
288		ImageBitmap = Bitmap{File = "symphony/style_line10_s.png";};
289	};
290	Image IMG_LINE11_ICON
291	{
292		ImageBitmap = Bitmap{File = "symphony/style_line11_s.png";};
293	};
294	Image IMG_NONE_ICON
295	{
296		ImageBitmap = Bitmap{File = "symphony/blank.png";};
297	};
298
299	//high contrast for line style icon
300	Image IMG_LINE1_ICON_H
301	{
302		ImageBitmap = Bitmap{File = "symphony/style_line1_s_h.png";};
303	};
304	Image IMG_LINE2_ICON_H
305	{
306		ImageBitmap = Bitmap{File = "symphony/style_line2_s_h.png";};
307	};
308	Image IMG_LINE3_ICON_H
309	{
310		ImageBitmap = Bitmap{File = "symphony/style_line3_s_h.png";};
311	};
312	Image IMG_LINE4_ICON_H
313	{
314		ImageBitmap = Bitmap{File = "symphony/style_line4_s_h.png";};
315	};
316	Image IMG_LINE5_ICON_H
317	{
318		ImageBitmap = Bitmap{File = "symphony/style_line5_s_h.png";};
319	};
320	Image IMG_LINE6_ICON_H
321	{
322		ImageBitmap = Bitmap{File = "symphony/style_line6_s_h.png";};
323	};
324	Image IMG_LINE7_ICON_H
325	{
326		ImageBitmap = Bitmap{File = "symphony/style_line7_s_h.png";};
327	};
328	Image IMG_LINE8_ICON_H
329	{
330		ImageBitmap = Bitmap{File = "symphony/style_line8_s_h.png";};
331	};
332	Image IMG_LINE9_ICON_H
333	{
334		ImageBitmap = Bitmap{File = "symphony/style_line9_s_h.png";};
335	};
336	Image IMG_LINE10_ICON_H
337	{
338		ImageBitmap = Bitmap{File = "symphony/style_line10_s_h.png";};
339	};
340	Image IMG_LINE11_ICON_H
341	{
342		ImageBitmap = Bitmap{File = "symphony/style_line11_s_h.png";};
343	};
344
345	//WIDTH ICON
346	Image IMG_WIDTH1_ICON
347	{
348		ImageBitmap = Bitmap{File = "symphony/width1.png";};
349	};
350	Image IMG_WIDTH2_ICON
351	{
352		ImageBitmap = Bitmap{File = "symphony/width2.png";};
353	};
354	Image IMG_WIDTH3_ICON
355	{
356		ImageBitmap = Bitmap{File = "symphony/width3.png";};
357	};
358	Image IMG_WIDTH4_ICON
359	{
360		ImageBitmap = Bitmap{File = "symphony/width4.png";};
361	};
362	Image IMG_WIDTH5_ICON
363	{
364		ImageBitmap = Bitmap{File = "symphony/width5.png";};
365	};
366	Image IMG_WIDTH6_ICON
367	{
368		ImageBitmap = Bitmap{File = "symphony/width6.png";};
369	};
370	Image IMG_WIDTH7_ICON
371	{
372		ImageBitmap = Bitmap{File = "symphony/width7.png";};
373	};
374	Image IMG_WIDTH8_ICON
375	{
376		ImageBitmap = Bitmap{File = "symphony/width8.png";};
377	};
378
379	//high contrast for line width
380	//WIDTH ICON
381	Image IMG_WIDTH1_ICON_H
382	{
383		ImageBitmap = Bitmap{File = "symphony/width1_h.png";};
384	};
385	Image IMG_WIDTH2_ICON_H
386	{
387		ImageBitmap = Bitmap{File = "symphony/width2_h.png";};
388	};
389	Image IMG_WIDTH3_ICON_H
390	{
391		ImageBitmap = Bitmap{File = "symphony/width3_h.png";};
392	};
393	Image IMG_WIDTH4_ICON_H
394	{
395		ImageBitmap = Bitmap{File = "symphony/width4_h.png";};
396	};
397	Image IMG_WIDTH5_ICON_H
398	{
399		ImageBitmap = Bitmap{File = "symphony/width5_h.png";};
400	};
401	Image IMG_WIDTH6_ICON_H
402	{
403		ImageBitmap = Bitmap{File = "symphony/width6_h.png";};
404	};
405	Image IMG_WIDTH7_ICON_H
406	{
407		ImageBitmap = Bitmap{File = "symphony/width7_h.png";};
408	};
409	Image IMG_WIDTH8_ICON_H
410	{
411		ImageBitmap = Bitmap{File = "symphony/width8_h.png";};
412	};
413};
414Control RID_POPUPPANEL_LINEPAGE_COLOR
415{
416	OutputSize = TRUE;
417	DialogControl = TRUE;
418	Border = FALSE;
419	Size = MAP_APPFONT(  POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT  );
420
421	Control VS_COLOR
422	{
423		HelpId = HID_PPROPERTYPANEL_LINE_VS_COLOR ;
424        Hide = TRUE ;
425        Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y );
426        Size = MAP_APPFONT (  POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2);
427		TabStop = TRUE ;
428		Text = "Color";
429	};
430	String STR_AUTOMATICE
431	{
432		Text [ en-US ] = "No Color";
433	};
434};
435Control RID_POPUPPANEL_LINEPAGE_STYLE
436{
437	OutputSize = TRUE;
438	DialogControl = TRUE;
439	Border = FALSE;
440
441	Size = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH ,  13 + POPUP_BORDER_HEIGHT + POPUPPANEL_MARGIN_SMALL * 2 + POPUPPANEL_MARGIN_LARGE);
442
443	Control VS_STYLE
444	{
445		HelpId = HID_PPROPERTYPANEL_LINE_VS_STYLE ;
446        Hide = TRUE ;
447        Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
448        Size = MAP_APPFONT ( 93  , 13 * 12);
449		TabStop = TRUE ;
450		Text = "Style";
451	};
452
453	PushButton PB_OPTIONS
454	{
455		HelpId = HID_PPROPERTYPANEL_LINE_BTN_STYLE;
456		Pos = MAP_APPFONT (  POPUPPANEL_MARGIN_LARGE + OFFSET_X , POPUPPANEL_MARGIN_SMALL * 2 + OFFSET_Y  );
457		Size = MAP_APPFONT ( 93 , 13 );
458		TabStop = TRUE;
459		Text [ en-US ] = "~More Options...";
460	};
461
462	String STR_STYLE_NONE
463	{
464		Text [ en-US ] = "None";
465	};
466	String STR_STYLE_LINE1
467	{
468		Text [ en-US ] = "Continuous";
469	};
470	String STR_STYLE_LINE2
471	{
472		Text [ en-US ] = "Ultrafine dashed";
473	};
474	String STR_STYLE_LINE3
475	{
476		Text [ en-US ] = "Dashed (variable)";
477	};
478	String STR_STYLE_LINE4
479	{
480		Text [ en-US ] = "Fine dashed (variable)";
481	};
482	String STR_STYLE_LINE5
483	{
484		Text [ en-US ] = "Fine dashed";
485	};
486	String STR_STYLE_LINE6
487	{
488		Text [ en-US ] = "Fine dotted";
489	};
490	String STR_STYLE_LINE7
491	{
492		Text [ en-US ] = "Ultrafine dotted (variable)";
493	};
494	String STR_STYLE_LINE8
495	{
496		Text [ en-US ] = "3 dashes 3 dots (variable)";
497	};
498	String STR_STYLE_LINE9
499	{
500		Text [ en-US ] = "2 dots 1 dash";
501	};
502	String STR_STYLE_LINE10
503	{
504		Text [ en-US ] = "Ultrafine 2 dots 3 dashes";
505	};
506	String STR_STYLE_LINE11
507	{
508		Text [ en-US ] = "Line with fine dots";
509	};
510
511	Image IMG_LINE1
512	{
513		ImageBitmap = Bitmap{File = "symphony/style_line1.png";};
514	};
515	Image IMG_LINE1_S
516	{
517		ImageBitmap = Bitmap{File = "symphony/style_line1_h.png";};
518	};
519	Image IMG_LINE2
520	{
521		ImageBitmap = Bitmap{File = "symphony/style_line2.png";};
522	};
523	Image IMG_LINE2_S
524	{
525		ImageBitmap = Bitmap{File = "symphony/style_line2_h.png";};
526	};
527	Image IMG_LINE3
528	{
529		ImageBitmap = Bitmap{File = "symphony/style_line3.png";};
530	};
531	Image IMG_LINE3_S
532	{
533		ImageBitmap = Bitmap{File = "symphony/style_line3_h.png";};
534	};
535	Image IMG_LINE4
536	{
537		ImageBitmap = Bitmap{File = "symphony/style_line4.png";};
538	};
539	Image IMG_LINE4_S
540	{
541		ImageBitmap = Bitmap{File = "symphony/style_line4_h.png";};
542	};
543	Image IMG_LINE5
544	{
545		ImageBitmap = Bitmap{File = "symphony/style_line5.png";};
546	};
547	Image IMG_LINE5_S
548	{
549		ImageBitmap = Bitmap{File = "symphony/style_line5_h.png";};
550	};
551	Image IMG_LINE6
552	{
553		ImageBitmap = Bitmap{File = "symphony/style_line6.png";};
554	};
555	Image IMG_LINE6_S
556	{
557		ImageBitmap = Bitmap{File = "symphony/style_line6_h.png";};
558	};
559	Image IMG_LINE7
560	{
561		ImageBitmap = Bitmap{File = "symphony/style_line7.png";};
562	};
563	Image IMG_LINE7_S
564	{
565		ImageBitmap = Bitmap{File = "symphony/style_line7_h.png";};
566	};
567	Image IMG_LINE8
568	{
569		ImageBitmap = Bitmap{File = "symphony/style_line8.png";};
570	};
571	Image IMG_LINE8_S
572	{
573		ImageBitmap = Bitmap{File = "symphony/style_line8_h.png";};
574	};
575	Image IMG_LINE9
576	{
577		ImageBitmap = Bitmap{File = "symphony/style_line9.png";};
578	};
579	Image IMG_LINE9_S
580	{
581		ImageBitmap = Bitmap{File = "symphony/style_line9_h.png";};
582	};
583	Image IMG_LINE10
584	{
585		ImageBitmap = Bitmap{File = "symphony/style_line10.png";};
586	};
587	Image IMG_LINE10_S
588	{
589		ImageBitmap = Bitmap{File = "symphony/style_line10_h.png";};
590	};
591	Image IMG_LINE11
592	{
593		ImageBitmap = Bitmap{File = "symphony/style_line11.png";};
594	};
595	Image IMG_LINE11_S
596	{
597		ImageBitmap = Bitmap{File = "symphony/style_line11_h.png";};
598	};
599
600	//high contrast
601	Image IMG_LINE1_H
602	{
603		ImageBitmap = Bitmap{File = "symphony/style_line1_hh.png";};
604	};
605	Image IMG_LINE2_H
606	{
607		ImageBitmap = Bitmap{File = "symphony/style_line2_hh.png";};
608	};
609	Image IMG_LINE3_H
610	{
611		ImageBitmap = Bitmap{File = "symphony/style_line3_hh.png";};
612	};
613	Image IMG_LINE4_H
614	{
615		ImageBitmap = Bitmap{File = "symphony/style_line4_hh.png";};
616	};
617	Image IMG_LINE5_H
618	{
619		ImageBitmap = Bitmap{File = "symphony/style_line5_hh.png";};
620	};
621	Image IMG_LINE6_H
622	{
623		ImageBitmap = Bitmap{File = "symphony/style_line6_hh.png";};
624	};
625	Image IMG_LINE7_H
626	{
627		ImageBitmap = Bitmap{File = "symphony/style_line7_hh.png";};
628	};
629	Image IMG_LINE8_H
630	{
631		ImageBitmap = Bitmap{File = "symphony/style_line8_hh.png";};
632	};
633	Image IMG_LINE9_H
634	{
635		ImageBitmap = Bitmap{File = "symphony/style_line9_hh.png";};
636	};
637	Image IMG_LINE10_H
638	{
639		ImageBitmap = Bitmap{File = "symphony/style_line10_hh.png";};
640	};
641	Image IMG_LINE11_H
642	{
643		ImageBitmap = Bitmap{File = "symphony/style_line11_hh.png";};
644	};
645};
646Control RID_POPUPPANEL_LINEPAGE_WIDTH
647{
648	OutputSize = TRUE;
649	DialogControl = TRUE;
650	Border = FALSE;
651
652	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));
653
654	Control VS_WIDTH
655	{
656		HelpId = HID_PPROPERTYPANEL_LINE_VS_WIDTH ;
657        Hide = TRUE ;
658        Pos = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
659        Size = MAP_APPFONT ( 80  , 12 * 9);
660		TabStop = TRUE ;
661		Text = "Width";
662	};
663	FixedText FT_CUSTOME
664	{
665        Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y + 12 * 9 + POPUPPANEL_MARGIN_SMALL ) ;
666        Size = MAP_APPFONT ( 80  , TEXT_HEIGHT ) ;
667        Text [ en-US ] = "Custom:" ;
668	};
669	FixedText FT_LINE_WIDTH
670	{
671        Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE) ;
672        Size = MAP_APPFONT (  74 - POPUPPANEL_MARGIN_LARGE * 2   , TEXT_HEIGHT ) ;
673        Text [ en-US ] = "Line ~width:" ;
674	};
675	MetricField MF_WIDTH
676	{
677		Border = TRUE ;
678		HelpID = HID_PPROPERTYPANEL_LINE_MTR_WIDTH ;
679		Pos = MAP_APPFONT (  CUSTOM_X + POPUPPANEL_MARGIN_LARGE  , CUSTOM_Y + POPUPPANEL_MARGIN_LARGE + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ;
680		Size = MAP_APPFONT ( 40 , 12 ) ;
681		TabStop = TRUE ;
682		Right = TRUE ;
683		Repeat = TRUE ;
684		Spin = TRUE ;
685		Maximum = 5000 ;
686		StrictFormat = TRUE ;
687		DecimalDigits = 2 ;
688		Value = 1 ;
689		Unit = FUNIT_MM ;
690		Last = 5000 ;
691		SpinSize = 10 ;
692		QuickHelpText [ en-US ] = "Specify the width of the line.";
693	};
694
695	Image IMG_WIDTH_CUSTOM
696	{
697		ImageBitmap = Bitmap{File = "symphony/last_custom_common.png";};
698	};
699	Image IMG_WIDTH_CUSTOM_GRAY
700	{
701		ImageBitmap = Bitmap{File = "symphony/last_custom_common_grey.png";};
702	};
703	String STR_WIDTH_LAST_CUSTOM
704	{
705		Text [ en-US ] = "Last Custom Value";
706	};
707	String STR_PT
708	{
709		Text [ en-US ] = "pt";
710	};
711};
712