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