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