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 "ParaPropertyPanel.hrc"
23#include <sfx2/sidebar/propertypanel.hrc>
24#include "helpid.hrc"
25
26#define MASKCOLOR	MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
27
28#define SVX_PROPERTYPANEL_PARA_VERT_IDLIST \
29	IdList =			   \
30	{					   \
31		IID_VERT_TOP ;	   \
32		IID_VERT_CENTER ;   \
33		IID_VERT_BOTTOM ;   \
34	};					   \
35	IdCount = { 3 ; };
36
37#define SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST \
38	IdList =			   \
39	{					   \
40		IID_BULLET ;	   \
41		IID_NUMBER ;	   \
42	};					   \
43	IdCount = { 2 ; };
44
45//add by wj for sym2_7380
46#define SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST_RTL \
47	IdList =			   \
48	{					   \
49		IID_BULLET ;	   \
50		IID_NUMBER ;	   \
51	};					   \
52	IdCount = { 2 ; };
53
54Control RID_SIDEBAR_PARA_PANEL
55{
56	OutputSize = TRUE;
57	DialogControl = TRUE;
58	Border = FALSE;
59	Size = MAP_APPFONT( PROPERTYPAGE_WIDTH, PARA_SECTIONPAGE_HEIGHT );
60	HelpID = HID_PROPERTYPANEL_PARA_SECTION ;
61	Text = "Paragraph";
62
63	ToolBox TBX_HORIZONTALALIGNMENT
64	{
65        Pos = MAP_APPFONT ( TBX_HORI_ALIGN_X , TBX_HORI_ALIGN_Y );
66        Size = MAP_APPFONT ( ALIGNMENT_TBX_WIDTH*4 ,ALIGNMENT_TBX_HEIGHT);
67		SVLook = TRUE ;
68		Border = FALSE ;
69		HelpID = HID_PPROPERTYPANEL_PARA_TBX_HALIGN;
70		Text = "Horizontal Alignment";
71		ItemList =
72		{
73			ToolBoxItem
74			{
75				Identifier = BT_SUBSTLEFT ;
76				HelpID = HID_PPROPERTYPANEL_PARA_TBI_HALIGN_LEFT;
77				Text [ en-US ] = "Align Left" ;
78			};
79			ToolBoxItem
80			{
81				Identifier = BT_SUBSTCENTER ;
82				HelpID = HID_PPROPERTYPANEL_PARA_TBI_HALIGN_CENTER;
83				Text [ en-US ] = "Align Center" ;
84			};
85			ToolBoxItem
86			{
87				Identifier = BT_SUBSTRIGHT ;
88				HelpID = HID_PPROPERTYPANEL_PARA_TBI_HALIGN_RIGHT;
89				Text [ en-US ] = "Align Right" ;
90			};
91			ToolBoxItem
92			{
93				Identifier = BT_SUBSTJUSTIFY ;
94				HelpID = HID_PPROPERTYPANEL_PARA_TBI_HALIGN_JUSTIFY;
95				Text [ en-US ] = "Align Justified" ;
96			};
97		};
98	};
99	ToolBox TBX_VERT_ALIGN
100	{
101		HelpID = HID_PPROPERTYPANEL_PARA_TBX_VALIGN;
102		SVLook = TRUE ;
103		Border = FALSE ;
104		Pos = MAP_APPFONT ( TBX_VERT_ALIGN_X,  TBX_VERT_ALIGN_Y ) ;
105		Size = MAP_APPFONT ( TOOLBOX_ITEM_WIDTH * 3 ,  TOOLBOX_ITEM_HEIGHT) ;
106		TabStop = TRUE ;
107		Text = "Vertical Alignment";
108		ItemList =
109		{
110			ToolBoxItem
111			{
112				Identifier = IID_VERT_TOP ;
113				HelpID = HID_PPROPERTYPANEL_PARA_TBI_VALIGN_TOP;
114				Text [ en-US ] = "Align Top" ;
115			};
116
117			ToolBoxItem
118			{
119				Identifier = IID_VERT_CENTER ;
120				HelpID = HID_PPROPERTYPANEL_PARA_TBI_VALIGN_CENTER;
121				Text [ en-US ] = "Align Center Vertically" ;
122			};
123
124			ToolBoxItem
125			{
126				Identifier = IID_VERT_BOTTOM ;
127				HelpID = HID_PPROPERTYPANEL_PARA_TBI_VALIGN_BOT;
128				Text [ en-US ] = "Align Bottom" ;
129			};
130		};
131	};
132
133    ToolBox TBX_NUM_BULLET
134	{
135		HelpID = HID_PPROPERTYPANEL_PARA_TBX_NUM_BULLET;
136		Border = FALSE ;
137		Pos = MAP_APPFONT ( TBX_NUM_BULLET_X , TBX_NUM_BULLET_Y ) ;
138		Size = MAP_APPFONT ( TOOLBOX_ITEM_DD_WIDTH * 2 ,  TOOLBOX_ITEM_HEIGHT) ;
139		TabStop = TRUE ;
140		Text = "Bullets and Numbering";
141		ItemList =
142		{
143			ToolBoxItem
144			{
145				Identifier = IID_BULLET ;
146				HelpID = HID_PPROPERTYPANEL_PARA_TBI_BULLET ;
147				Text [ en-US ] = "Bullets" ;
148				DropDown = TRUE ;
149			};
150			ToolBoxItem
151			{
152				Identifier = IID_NUMBER ;
153				HelpID = HID_PPROPERTYPANEL_PARA_TBI_NUM ;
154				Text [ en-US ] = "Numbering" ;
155				DropDown = TRUE ;
156			};
157		};
158	};
159	ToolBox TBX_BACK_COLOR
160	{
161		SVLook = TRUE ;
162		Pos = MAP_APPFONT (TBX_BACK_COLOR_X, TBX_BACK_COLOR_Y) ;
163		Size = MAP_APPFONT (TOOLBOX_WIDTH,TOOLBOX_HEIGHT ) ;
164		TabStop = TRUE ;
165		HelpID = HID_PPROPERTYPANEL_PARA_TBX_BACK_COLOR;
166		Text = "Paragraph Background Color" ;
167		ItemList =
168		{
169			ToolBoxItem
170			{
171				Identifier = TBI_BACK_COLOR ;
172				HelpID = HID_PPROPERTYPANEL_PARA_TBI_BACK_COLOR;
173				DropDown = TRUE ;
174				Text [ en-US ] = "Paragraph Background Color" ;
175			};
176		};
177	};
178	FixedText FT_SPACING
179	{
180	    Pos = MAP_APPFONT ( FT_PARA_SPACE_X, FT_PARA_SPACE_Y );
181        Size = MAP_APPFONT ( FT_PARA_INDENT_X - 7 - FT_PARA_SPACE_X, _FIXED_TEXT_HEIGHT) ;
182		Text [ en-US ] = "~Spacing:";
183	};
184	ToolBox TBX_UL_INC_DEC
185	{
186		Pos = MAP_APPFONT ( TBX_PARA_SPACE_INC_DEC_X,TBX_PARA_SPACE_INC_DEC_Y );
187		Size = MAP_APPFONT (ALIGNMENT_TBX_WIDTH*2,ALIGNMENT_TBX_HEIGHT);
188		SVLook = TRUE ;
189		Border = FALSE ;
190		HelpID = HID_PPROPERTYPANEL_PARA_TBX_INC_DEC ;
191		Text = "Spacing";
192		ItemList =
193		{
194			ToolBoxItem
195			{
196				Identifier = BT_TBX_UL_INC ;
197				HelpID = HID_PPROPERTYPANEL_PARA_TBI_INC ;
198				Text [ en-US ] = "Increase Spacing" ;
199				ItemBitmap = Bitmap
200				{
201					File = "symphony/IncreaseSpace_16x16.png";
202				};
203			};
204			ToolBoxItem
205			{
206				Identifier = BT_TBX_UL_DEC ;
207				HelpID = HID_PPROPERTYPANEL_PARA_TBI_DEC ;
208				Text [ en-US ] = "Decrease Spacing" ;
209				ItemBitmap = Bitmap
210				{
211					File = "symphony/DecreaseSpace_16x16.png";
212				};
213			};
214		};
215	};
216	MetricField MF_ABOVE_PARASPACING
217	{
218		HelpID = HID_POPUP_PS_ED_SBINDE_TOPDIST ;
219		Border = TRUE;
220		Pos = MAP_APPFONT ( MBX_TOP_DIST_X, MBX_TOP_DIST_Y );
221        	Size = MAP_APPFONT ( CONTROL_WIDTH -10 ,MBOX_HEIGHT ) ;
222        	QuickHelpText [ en-US ] = "Above Paragraph Spacing";
223        	TabStop = TRUE;
224		Repeat = TRUE;
225		Spin = TRUE;
226		Maximum = 999;
227		Unit = FUNIT_INCH;
228		Last = 999;
229		SpinSize = 1;
230
231	};
232	MetricField MF_BELOW_PARASPACING
233	{
234		Border = TRUE;
235		Pos = MAP_APPFONT ( MBX_BOT_DIST_X, MBX_BOT_DIST_Y );
236        Size = MAP_APPFONT ( CONTROL_WIDTH -10,MBOX_HEIGHT ) ;
237        QuickHelpText [ en-US ] = "Below Paragraph Spacing";
238        HelpID = HID_POPUP_PS_ED_SBINDE_BOTTOMDIST ;
239		Repeat = TRUE;
240		Spin = TRUE;
241		Maximum = 999;
242		Unit = FUNIT_INCH;
243		Last = 999;
244		SpinSize = 1;
245	};
246	FixedText FT_INDENT
247	{
248	    Pos = MAP_APPFONT ( FT_PARA_INDENT_X, FT_PARA_INDENT_Y );
249        Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH + 50, _FIXED_TEXT_HEIGHT) ;
250		Text [ en-US ] = "~Indent:";
251	};
252	ToolBox TBX_INDENT_INC_DEC
253	{
254		Pos = MAP_APPFONT ( TBX_PARA_INDENT_INC_DEC_X, TBX_PARA_INDENT_INC_DEC_Y );
255		Size = MAP_APPFONT (ALIGNMENT_TBX_WIDTH*2,ALIGNMENT_TBX_HEIGHT);
256		SVLook = TRUE ;
257		Border = FALSE ;
258		HelpID = HID_PPROPERTYPANEL_PARA_TBX_INDENT_INC_DEC ;
259		Text = "Indent";
260		ItemList =
261		{
262			ToolBoxItem
263			{
264				Identifier = BT_TBX_INDENT_INC ;
265				HelpID = HID_PPROPERTYPANEL_PARA_TBI_INDENT_INC ;
266				Text [ en-US ] = "Increase Indent" ;
267				ItemBitmap = Bitmap
268				{
269					File = "symphony/Indent_16x16.png";
270				};
271			};
272			ToolBoxItem
273			{
274				Identifier = BT_TBX_INDENT_DEC ;
275				HelpID = HID_PPROPERTYPANEL_PARA_TBI_INDENT_DEC ;
276				Text [ en-US ] = "Decrease Indent" ;
277				ItemBitmap = Bitmap
278				{
279					File = "symphony/Outdent_16x16.png";
280				};
281			};
282			ToolBoxItem
283			{
284				Identifier = ID_HANGING_INDENT ;
285				Text [ en-US ] = "Switch to Hanging Indent" ;
286				HelpID = HID_PPROPERTYPANEL_PARA_TBI_INDENT_HANG ;
287				ItemBitmap = Bitmap
288				{
289					File = "symphony/Indent_Hanging.png";
290				};
291			};
292		};
293	};
294	ToolBox TBX_INDENT_PRO_DEMOTE
295	{
296		Pos = MAP_APPFONT ( TBX_PARA_INDENT_INC_DEC_X, TBX_PARA_INDENT_INC_DEC_Y );
297		Size = MAP_APPFONT (ALIGNMENT_TBX_WIDTH*2,ALIGNMENT_TBX_HEIGHT);
298		SVLook = TRUE ;
299		Border = FALSE ;
300		HelpID = HID_PPROPERTYPANEL_PARA_TBX_INDENTP_INC_DEC ;
301		Text = "Indent";
302		ItemList =
303		{
304			ToolBoxItem
305			{
306				Identifier = BT_TBX_INDENT_PROMOTE ;
307				HelpID = HID_PPROPERTYPANEL_PARA_TBI_INDENTP_INC ;
308				Text [ en-US ] = "Increase Indent" ;
309				ItemBitmap = Bitmap
310				{
311					File = "symphony/Indent_16x16.png";
312				};
313			};
314			ToolBoxItem
315			{
316				Identifier = BT_TBX_INDENT_DEMOTE ;
317				HelpID = HID_PPROPERTYPANEL_PARA_TBI_INDENTP_DEC ;
318				Text [ en-US ] = "Decrease Indent" ;
319				ItemBitmap = Bitmap
320				{
321					File = "symphony/Outdent_16x16.png";
322				};
323			};
324			ToolBoxItem
325			{
326				Identifier = SD_HANGING_INDENT ;
327				Text [ en-US ] = "Switch to Hanging Indent" ;
328				HelpID = HID_PPROPERTYPANEL_PARA_TBI_INDENTP_HANG ;
329				ItemBitmap = Bitmap
330				{
331					File = "symphony/Indent_Hanging.png";
332				};
333			};
334		};
335	};
336	MetricField MF_BEFORE_INDENT
337	{
338		Border = TRUE ;
339        Pos = MAP_APPFONT ( MBX_LEFT_DIST_X, MBX_LEFT_DIST_Y );
340        Size = MAP_APPFONT ( CONTROL_WIDTH - 10,MBOX_HEIGHT ) ;
341        QuickHelpText [ en-US ] = "Before Text Indent";
342        HelpID = HID_POPUP_INDENT_ED_INDENT_LEFTINDENT ;
343		Repeat = TRUE ;
344		Spin = TRUE ;
345		Maximum = 9999 ;
346		StrictFormat = TRUE ;
347		Unit = FUNIT_INCH;
348		Last = 9999 ;
349		SpinSize = 2 ;
350	};
351    MetricField MF_AFTER_INDENT
352	{
353		Border = TRUE ;
354        Pos = MAP_APPFONT ( MBX_RIGHT_DIST_X, MBX_RIGHT_DIST_Y );
355        Size = MAP_APPFONT ( CONTROL_WIDTH -10 ,MBOX_HEIGHT ) ;
356        QuickHelpText [ en-US ] = "After Text Indent";
357        HelpID = HID_POPUP_INDENT_ED_INDENT_RIGHTINDENT ;
358		Repeat = TRUE ;
359		Spin = TRUE ;
360		Maximum = 9999 ;
361		StrictFormat = TRUE ;
362		Unit = FUNIT_INCH;
363		Last = 9999 ;
364		SpinSize = 2 ;
365	};
366    MetricField MF_FL_INDENT
367	{
368		Border = TRUE ;
369        Pos = MAP_APPFONT ( MBX_FLINE_DIST_X, MBX_FLINE_DIST_Y );
370        Size = MAP_APPFONT ( CONTROL_WIDTH -10 ,MBOX_HEIGHT ) ;
371        QuickHelpText [ en-US ] = "First Line Indent";
372        HelpID = HID_POPUP_INDENT_ED_INDENT_FLINDENT ;
373		Repeat = TRUE ;
374		Spin = TRUE ;
375		Minimum = -9999;
376		Maximum = 9999 ;
377		DecimalDigits = 2;
378		Unit = FUNIT_INCH;
379		First = -9999;
380		Last = 9999 ;
381		SpinSize = 2 ;
382	};
383	ToolBox TBX_LINESP
384	{
385	    Pos = MAP_APPFONT ( TBX_LINE_SPACE_X, TBX_LINE_SPACE_Y);
386		SVLook = TRUE ;
387		Border = FALSE ;
388		Size = MAP_APPFONT (TOOLBOX_WIDTH, TOOLBOX_HEIGHT);
389		HelpID = HID_PPROPERTYPANEL_PARA_TBX_LINESP ;
390		Text = "Line Spacing" ;
391		ItemList =
392		{
393			ToolBoxItem
394			{
395				Identifier = BT_BTX_LINESP ;
396				HelpID = HID_PPROPERTYPANEL_PARA_TBI_LINESP ;
397				Text [ en-US ] = "Line Spacing" ;
398				ItemBitmap = Bitmap
399				{
400					File = "symphony/lpsmall-spacing-1.png" ;
401				};
402				DropDown = TRUE;
403			};
404		};
405	};
406	FixedImage FI_INDENT1
407    {
408        Pos = MAP_APPFONT( IMG_SPACE_X, IMG_SPACE1_Y );
409        Size = MAP_APPFONT( IMAGE_SIZE, IMAGE_SIZE );
410    };
411    FixedImage FI_INDENT2
412    {
413        Pos = MAP_APPFONT( IMG_SPACE_X, IMG_SPACE2_Y );
414        Size = MAP_APPFONT( IMAGE_SIZE, IMAGE_SIZE );
415    };
416    FixedImage FI_INDENT3
417    {
418        Pos = MAP_APPFONT( IMG_INDENT_X, IMG_INDENT1_Y );
419        Size = MAP_APPFONT( IMAGE_SIZE, IMAGE_SIZE );
420    };
421    FixedImage FI_SPACE1
422    {
423        Pos = MAP_APPFONT( IMG_INDENT_X, IMG_INDENT2_Y );
424        Size = MAP_APPFONT( IMAGE_SIZE, IMAGE_SIZE );
425    };
426    FixedImage FI_SPACE2
427    {
428        Pos = MAP_APPFONT( IMG_INDENT_X, IMG_INDENT3_Y );
429        Size = MAP_APPFONT( IMAGE_SIZE, IMAGE_SIZE );
430    };
431
432	ImageList IL_NUM_BULLET
433	{
434        Prefix = "symphony/para_numbullet";
435		MaskColor = STD_MASKCOLOR ;
436        SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST
437    };
438    ImageList ILH_NUM_BULLET
439	{
440        Prefix = "symphony/para_numbulleth";
441		MaskColor = STD_MASKCOLOR ;
442        SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST
443    };
444    //for sym2_7380
445    ImageList IL_NUM_BULLET_RTL
446	{
447        Prefix = "symphony/para_numbullet_rtl";
448		MaskColor = STD_MASKCOLOR ;
449        SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST_RTL
450    };
451    //end
452    Image IMG_BACK_COLOR
453	{
454		ImageBitmap = Bitmap{File = "symphony/sc_backgroundcolor.bmp";};
455	};
456	Image IMG_BACK_COLOR_H
457	{
458		ImageBitmap = Bitmap{File = "symphony/sch_backgroundcolor.bmp";};
459	};
460	Image IMG_SPACE1
461	{
462	    ImageBitmap = Bitmap{File = "symphony/spacing1.png";};
463	};
464	Image IMG_SPACE2
465    {
466	    ImageBitmap = Bitmap{File = "symphony/spacing2.png";};
467	};
468	Image IMG_SPACE3
469	{
470	    ImageBitmap = Bitmap{File = "symphony/spacing3.png";};
471	};
472    Image IMG_INDENT1
473    {
474	    ImageBitmap = Bitmap{File = "symphony/Indent2.png";};
475	};
476    Image IMG_INDENT2
477    {
478	    ImageBitmap = Bitmap{File = "symphony/Indent3.png";};
479	};
480    Image IMG_INDENT3
481    {
482	    ImageBitmap = Bitmap{File = "symphony/Indent4.png";};
483	};
484	Image IMG_INDENT_HANG
485    {
486	    ImageBitmap = Bitmap{File = "symphony/Indent_Hanging.png";};
487	};
488	Image IMG_PARA_INC
489    {
490	    ImageBitmap = Bitmap{File = "symphony/IncreaseSpace_16x16.png";};
491	};
492	Image IMG_PARA_DEC
493    {
494	    ImageBitmap = Bitmap{File = "symphony/DecreaseSpace_16x16.png";};
495	};
496};
497
498//===========================================Back color page==============================
499Control RID_POPUPPANEL_PARAPAGE_BACK_COLOR
500{
501	OutputSize = TRUE;
502	DialogControl = TRUE;
503	Border = FALSE;
504	Size = MAP_APPFONT(  POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT  );
505
506	Control VS_FONT_COLOR
507	{
508		HelpID = HID_PPROPERTYPANEL_PARA_BACK_COLOR_VS ;
509	    Hide = TRUE ;
510        Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y );
511        Size = MAP_APPFONT (  POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2);
512		TabStop = TRUE ;
513		Text = "Color Picker";
514	};
515	String STR_NOFILL
516	{
517		Text [ en-US ] = "No Color";
518	};
519};
520
521//===========================================Bullet popup page==============================
522Control RID_POPUPPANEL_PARAPAGE_BULLETS
523{
524	DialogControl = TRUE;
525	OutputSize = TRUE;
526	Border = FALSE;
527
528	Size = MAP_APPFONT ( POPUP_WIDTH_BULLET , POPUP_HEIGHT_BULLET) ;
529	Control VS_VALUES
530	{
531		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_NB , POPUPPANEL_MARGIN_NB ) ;
532		Size = MAP_APPFONT ( VS_WIDTH_BULLET ,  VS_HEIGHT_BULLET) ;
533		HelpID = HID_POPUP_BULLET_VS_VALUES ;
534		TabStop = TRUE ;
535		Text = "Bullet";
536	};
537	PushButton CB_BULLET_MORE
538	{
539		Pos = MAP_APPFONT (CUST_MORE_BUTTON_X + POPUPPANEL_MARGIN_NB, VS_HEIGHT_BULLET + POPUPPANEL_MARGIN_NB * 2 ) ;
540		Size = MAP_APPFONT (POPUP_WIDTH_BULLET - 2*CUST_MORE_BUTTON_X - POPUPPANEL_MARGIN_NB*2, CUST_MORE_BUTTON_HEIGHT ) ;
541		HelpID = HID_POPUP_BULLET_CB_BULLET_MORE ;
542		TabStop = TRUE ;
543		Text [ en-US ] = "~More Options";
544	};
545    Bitmap	BMP_BULLET_MORE
546	{
547		File = "symphony/__morebutton.bmp";
548	};
549	Bitmap	BMP_BULLET_MORE_H
550	{
551		File = "symphony/__morebutton_h.bmp";
552	};
553};
554
555String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_0
556{
557    Text [en-US] = "large square bullets";
558};
559
560String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_1
561{
562    Text [en-US] = "graphic bullets";
563};
564
565String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_2
566{
567    Text [en-US] = "graphic bullets";
568};
569
570String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_3
571{
572    Text [en-US] = "graphic bullets";
573};
574
575String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_4
576{
577    Text [en-US] = "graphic bullets";
578};
579
580//===========================================Numbering popup page==============================
581Control RID_POPUPPANEL_PARAPAGE_NUMBERING
582{
583	SVLook = TRUE ;
584	DialogControl = TRUE;
585	OutputSize = TRUE;
586	Border = FALSE;
587
588	Size = MAP_APPFONT ( POPUP_WIDTH_NUM , POPUP_HEIGHT_NUM) ;
589	Control VS_NUMBERING
590	{
591		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_NB, POPUPPANEL_MARGIN_NB ) ;
592		Size = MAP_APPFONT ( VS_WIDTH_NUM ,  VS_HEIGHT_NUM) ;
593		HelpID = HID_POPUP_NUM_VS_NUMBERING ;
594		TabStop = TRUE ;
595		Text = "Numbering";
596	};
597	PushButton CB_NUMBERING_MORE
598	{
599		Pos = MAP_APPFONT (CUST_MORE_BUTTON_X + POPUPPANEL_MARGIN_NB,  VS_HEIGHT_NUM + POPUPPANEL_MARGIN_NB * 2 ) ;
600		Size = MAP_APPFONT (POPUP_WIDTH_NUM - 2*CUST_MORE_BUTTON_X - POPUPPANEL_MARGIN_NB*2, CUST_MORE_BUTTON_HEIGHT ) ;
601		HelpID = HID_POPUP_NUM_CB_NUMBERING_MORE ;
602		TabStop = TRUE ;
603		Text [ en-US ] = "~More Options";
604	};
605    Bitmap	BMP_NUMERING_MORE
606	{
607		File = "symphony/__morebutton.bmp";
608	};
609	Bitmap	BMP_NUMERING_MORE_H
610	{
611		File = "symphony/__morebutton_h.bmp";
612	};
613};
614
615//===========================================Line Space popup page==============================
616Control RID_POPUPPANEL_PARAPAGE_LINESPACING
617{
618	OutputSize = TRUE;
619	DialogControl = TRUE;
620	Border = FALSE;
621
622	Size = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_SPACING_WIDTH, POPUP_PAGE_HEIGHT );
623
624	Control LINE_SPACING
625	{
626		Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
627        Size = MAP_APPFONT ( VS_SPACING_WIDTH  , 17 * 5);
628		TabStop = TRUE ;
629		Text = "Line Spacing";
630	};
631
632	FixedText FT_CUSTOM
633	{
634	    Pos = MAP_APPFONT ( POP_FT_CUSTOM_X, POP_FT_CUSTOM_Y );
635        Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH + 50 , _FIXED_TEXT_HEIGHT) ;
636		Text [ en-US ] = "Custom:";
637	};
638    FixedText FT_LINE_SPACING
639	{
640	    Pos = MAP_APPFONT ( FT_1_X, FT_1_Y );
641        Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH + 10, _FIXED_TEXT_HEIGHT) ;
642		Text [ en-US ] = "~Line Spacing:";
643	};
644
645	FixedText FT_OF
646	{
647	    Pos = MAP_APPFONT ( FT_2_X, FT_2_Y );
648        Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH , _FIXED_TEXT_HEIGHT) ;
649		Text [ en-US ] = "~Of:";
650	};
651
652	ListBox LB_LINE_SPACING
653	{
654		Border = TRUE ;
655        Pos = MAP_APPFONT ( EDIT_1_X, EDIT_1_Y );
656        Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2,LISTBOX_HEIGHT ) ;
657		TabStop = TRUE ;
658		DropDown = TRUE ;
659		HelpID = HID_POPUP_LS_LB_LINE_SPACING ;
660        StringList [ en-US ] =
661        {
662			< "Single" ; Default ; > ;
663			< "1.5 Lines" ; Default ; > ;
664			< "Double" ; Default ; > ;
665            < "Proportional" ; Default ; > ;
666            < "At least" ; Default ; > ;
667            < "Leading" ; Default ; > ;
668            < "Fixed" ; Default ; > ;
669        };
670	};
671	MetricField ED_SBINDE_LINEDISTPERCENT
672	{
673		Disable = TRUE;
674		Border = TRUE;
675		Pos = MAP_APPFONT ( EDIT_2_X, EDIT_2_Y );
676        Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2,MBOX_HEIGHT ) ;
677        HelpID = HID_POPUP_LS_ED_SBINDE_LINEDISTPERCENT ;
678		Repeat = TRUE;
679		Spin = TRUE;
680		Minimum = 50;
681		Maximum = 200;
682		Value = 100;
683		StrictFormat = TRUE;
684		Unit = FUNIT_CUSTOM ;
685		CustomUnitText = "%";
686		First = 50;
687		Last = 200;
688		SpinSize = 1;
689	};
690	MetricField ED_SBINDE_LINEDISTPOINT
691	{
692		Disable = TRUE;
693		Border = TRUE;
694		Pos = MAP_APPFONT ( EDIT_2_X, EDIT_2_Y );
695        Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2, MBOX_HEIGHT ) ;
696        HelpID = HID_POPUP_LS_ED_SBINDE_LINEDISTPOINT ;
697		Repeat = TRUE;
698		Spin = TRUE;
699		Maximum = 9999;
700		DecimalDigits = 2;
701		StrictFormat = TRUE ;
702		Unit = FUNIT_INCH;
703		Last = 9999;
704		SpinSize = 2;
705	};
706	Image IMG_SPACING1
707	{
708	    ImageBitmap = Bitmap{File = "symphony/lpspacing-1.png";};
709	};
710	Image IMG_SPACING115
711	{
712	    ImageBitmap = Bitmap{File = "symphony/lpspacing-1_15.png";};
713	};
714	Image IMG_SPACING15
715	{
716	    ImageBitmap = Bitmap{File = "symphony/lpspacing-1_5.png";};
717	};
718	Image IMG_SPACING2
719	{
720	    ImageBitmap = Bitmap{File = "symphony/lpspacing-2.png";};
721	};
722	Image IMG_SEL_SPACING1
723	{
724	    ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-1.png";};
725	};
726	Image IMG_SEL_SPACING115
727	{
728	    ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-1_15.png";};
729	};
730	Image IMG_SEL_SPACING15
731	{
732	    ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-1_5.png";};
733	};
734	Image IMG_SEL_SPACING2
735	{
736	    ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-2.png";};
737	};
738    Image IMG_CUSTOM
739	{
740		ImageBitmap = Bitmap{File = "symphony/last_custom_common.png";};
741	};
742	Image IMG_CUSTOM_GRAY
743	{
744		ImageBitmap = Bitmap{File = "symphony/last_custom_common_grey.png";};
745	};
746	String STR_LS_SINGLE
747    {
748        Text [ en-US ] = "Line spacing: Single";
749    };
750    String STR_LS_115
751    {
752        Text [ en-US ] = "Line spacing: 1.15 Lines";
753    };
754    String STR_LS_15
755    {
756        Text [ en-US ] = "Line spacing: 1.5 Lines";
757    };
758    String STR_LS_DOUBLE
759    {
760        Text [ en-US ] = "Line spacing: Double";
761    };
762    String STR_LSPACING
763    {
764        Text [ en-US ] = "Line spacing:";
765    };
766    String STR_LS_OF
767    {
768        Text [ en-US ] = "of:";
769    };
770    String STR_SPACING1
771    {
772        Text [ en-US ] = "Spacing: 1";
773    };
774    String STR_SPACING115
775    {
776        Text [ en-US ] = "Spacing: 1.15";
777    };
778    String STR_SPACING15
779    {
780        Text [ en-US ] = "Spacing: 1.5";
781    };
782    String STR_SPACING2
783    {
784        Text [ en-US ] = "Spacing: 2";
785    };
786    String STR_LCVALUE
787    {
788        Text [ en-US ] = "Last Custom Value";
789    };
790
791};
792
793String RID_SVXSTR_NUMBULLET_NONE
794{
795    Text [en-US] = "None";
796};
797
798//i122118, Seems the bullets graphic order and count is changed in the gallary,
799//Following descriptions should be changed accordingly.
800
801String RID_SVXSTR_GRAPHICS_DESCRIPTION_0
802{
803    Text [en-US] = "Black Pearl";
804};
805String RID_SVXSTR_GRAPHICS_DESCRIPTION_1
806{
807    Text [en-US] = "Blue Arrow 1";
808};
809String RID_SVXSTR_GRAPHICS_DESCRIPTION_2
810{
811    Text [en-US] = "Blue Ball";
812};
813String RID_SVXSTR_GRAPHICS_DESCRIPTION_3
814{
815    Text [en-US] = "Blue Diamond";
816};
817String RID_SVXSTR_GRAPHICS_DESCRIPTION_4
818{
819    Text [en-US] = "Blue Red";
820};
821String RID_SVXSTR_GRAPHICS_DESCRIPTION_5
822{
823    Text [en-US] = "Blue Square";
824};
825String RID_SVXSTR_GRAPHICS_DESCRIPTION_6
826{
827    Text [en-US] = "Blue Star";
828};
829String RID_SVXSTR_GRAPHICS_DESCRIPTION_7
830{
831    Text [en-US] = "Dark Red Circle";
832};
833String RID_SVXSTR_GRAPHICS_DESCRIPTION_8
834{
835    Text [en-US] = "Blue Circle";
836};
837String RID_SVXSTR_GRAPHICS_DESCRIPTION_9
838{
839    Text [en-US] = "Green Circle";
840};
841String RID_SVXSTR_GRAPHICS_DESCRIPTION_10
842{
843    Text [en-US] = "Black Square";
844};
845String RID_SVXSTR_GRAPHICS_DESCRIPTION_11
846{
847    Text [en-US] = "Orange Square";
848};
849String RID_SVXSTR_GRAPHICS_DESCRIPTION_12
850{
851    Text [en-US] = "Purple Square";
852};
853String RID_SVXSTR_GRAPHICS_DESCRIPTION_13
854{
855    Text [en-US] = "Blue Diamond";
856};
857String RID_SVXSTR_GRAPHICS_DESCRIPTION_14
858{
859    Text [en-US] = "Light Blue Diamond";
860};
861String RID_SVXSTR_GRAPHICS_DESCRIPTION_15
862{
863    Text [en-US] = "Red Diamond";
864};
865String RID_SVXSTR_GRAPHICS_DESCRIPTION_16
866{
867    Text [en-US] = "Yellow Star";
868};
869String RID_SVXSTR_GRAPHICS_DESCRIPTION_17
870{
871    Text [en-US] = "Blue Star";
872};
873String RID_SVXSTR_GRAPHICS_DESCRIPTION_18
874{
875    Text [en-US] = "Blue Triangle";
876};
877String RID_SVXSTR_GRAPHICS_DESCRIPTION_19
878{
879    Text [en-US] = "Dark Green Triangle";
880};
881String RID_SVXSTR_GRAPHICS_DESCRIPTION_20
882{
883    Text [en-US] = "Red Arrow";
884};
885String RID_SVXSTR_GRAPHICS_DESCRIPTION_21
886{
887    Text [en-US] = "Blue Arrow 2";
888};
889String RID_SVXSTR_GRAPHICS_DESCRIPTION_22
890{
891    Text [en-US] = "Blue Box";
892};
893String RID_SVXSTR_GRAPHICS_DESCRIPTION_23
894{
895    Text [en-US] = "Red Box";
896};
897String RID_SVXSTR_GRAPHICS_DESCRIPTION_24
898{
899    Text [en-US] = "Light Blue Asterisk";
900};
901String RID_SVXSTR_GRAPHICS_DESCRIPTION_25
902{
903    Text [en-US] = "Red Leaves";
904};
905String RID_SVXSTR_GRAPHICS_DESCRIPTION_26
906{
907    Text [en-US] = "Blue Target";
908};
909String RID_SVXSTR_GRAPHICS_DESCRIPTION_27
910{
911    Text [en-US] = "Blue Arrow 3";
912};
913String RID_SVXSTR_GRAPHICS_DESCRIPTION_28
914{
915    Text [en-US] = "Dark Blue Arrow";
916};
917String RID_SVXSTR_GRAPHICS_DESCRIPTION_29
918{
919    Text [en-US] = "Brown Arrow";
920};
921//i122118