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/ResourceDefinitions.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
200                /** The next line should be
201                    Command = ".uno:ParaspaceIncrease";
202                The hack is necessary because the ParaspaceIncrease command is only
203                defined for Draw/Impress.  It has to be defined in
204                GenericCommancs.xcu to be recognized. See issue 122446 for more details.
205                */
206                Command = "private:graphicrepository/res/commandimagelist/sc_paraspaceincrease.png";
207			};
208			ToolBoxItem
209			{
210				Identifier = BT_TBX_UL_DEC ;
211				HelpID = HID_PPROPERTYPANEL_PARA_TBI_DEC ;
212				Text [ en-US ] = "Decrease Spacing" ;
213                /** See above or issue 122446 why the following line is not
214                    Command = ".uno:ParaspaceDecrease";
215                */
216                Command = "private:graphicrepository/res/commandimagelist/sc_paraspacedecrease.png";
217			};
218		};
219	};
220	MetricField MF_ABOVE_PARASPACING
221	{
222		HelpID = HID_POPUP_PS_ED_SBINDE_TOPDIST ;
223		Border = TRUE;
224		Pos = MAP_APPFONT ( MBX_TOP_DIST_X, MBX_TOP_DIST_Y );
225        	Size = MAP_APPFONT ( CONTROL_WIDTH -10 ,MBOX_HEIGHT ) ;
226        	QuickHelpText [ en-US ] = "Above Paragraph Spacing";
227        	TabStop = TRUE;
228		Repeat = TRUE;
229		Spin = TRUE;
230		Maximum = 999;
231		Unit = FUNIT_INCH;
232		Last = 999;
233		SpinSize = 1;
234
235	};
236	MetricField MF_BELOW_PARASPACING
237	{
238		Border = TRUE;
239		Pos = MAP_APPFONT ( MBX_BOT_DIST_X, MBX_BOT_DIST_Y );
240        Size = MAP_APPFONT ( CONTROL_WIDTH -10,MBOX_HEIGHT ) ;
241        QuickHelpText [ en-US ] = "Below Paragraph Spacing";
242        HelpID = HID_POPUP_PS_ED_SBINDE_BOTTOMDIST ;
243		Repeat = TRUE;
244		Spin = TRUE;
245		Maximum = 999;
246		Unit = FUNIT_INCH;
247		Last = 999;
248		SpinSize = 1;
249	};
250	FixedText FT_INDENT
251	{
252	    Pos = MAP_APPFONT ( FT_PARA_INDENT_X, FT_PARA_INDENT_Y );
253        Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH + 50, _FIXED_TEXT_HEIGHT) ;
254		Text [ en-US ] = "~Indent:";
255	};
256	ToolBox TBX_INDENT_INC_DEC
257	{
258		Pos = MAP_APPFONT ( TBX_PARA_INDENT_INC_DEC_X, TBX_PARA_INDENT_INC_DEC_Y );
259		Size = MAP_APPFONT (ALIGNMENT_TBX_WIDTH*2,ALIGNMENT_TBX_HEIGHT);
260		SVLook = TRUE ;
261		Border = FALSE ;
262		HelpID = HID_PPROPERTYPANEL_PARA_TBX_INDENT_INC_DEC ;
263		Text = "Indent";
264		ItemList =
265		{
266			ToolBoxItem
267			{
268				Identifier = BT_TBX_INDENT_INC ;
269				HelpID = HID_PPROPERTYPANEL_PARA_TBI_INDENT_INC ;
270				Text [ en-US ] = "Increase Indent" ;
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			};
278			ToolBoxItem
279			{
280				Identifier = ID_HANGING_INDENT ;
281				Text [ en-US ] = "Switch to Hanging Indent" ;
282				HelpID = HID_PPROPERTYPANEL_PARA_TBI_INDENT_HANG ;
283				ItemBitmap = Bitmap
284				{
285					File = "symphony/Indent_Hanging.png";
286				};
287			};
288		};
289	};
290	ToolBox TBX_INDENT_PRO_DEMOTE
291	{
292		Pos = MAP_APPFONT ( TBX_PARA_INDENT_INC_DEC_X, TBX_PARA_INDENT_INC_DEC_Y );
293		Size = MAP_APPFONT (ALIGNMENT_TBX_WIDTH*2,ALIGNMENT_TBX_HEIGHT);
294		SVLook = TRUE ;
295		Border = FALSE ;
296		HelpID = HID_PPROPERTYPANEL_PARA_TBX_INDENTP_INC_DEC ;
297		Text = "Indent";
298		ItemList =
299		{
300			ToolBoxItem
301			{
302				Identifier = BT_TBX_INDENT_PROMOTE ;
303				HelpID = HID_PPROPERTYPANEL_PARA_TBI_INDENTP_INC ;
304				Text [ en-US ] = "Increase Indent" ;
305			};
306			ToolBoxItem
307			{
308				Identifier = BT_TBX_INDENT_DEMOTE ;
309				HelpID = HID_PPROPERTYPANEL_PARA_TBI_INDENTP_DEC ;
310				Text [ en-US ] = "Decrease Indent" ;
311			};
312			ToolBoxItem
313			{
314				Identifier = SD_HANGING_INDENT ;
315				Text [ en-US ] = "Switch to Hanging Indent" ;
316				HelpID = HID_PPROPERTYPANEL_PARA_TBI_INDENTP_HANG ;
317				ItemBitmap = Bitmap
318				{
319					File = "symphony/Indent_Hanging.png";
320				};
321			};
322		};
323	};
324	MetricField MF_BEFORE_INDENT
325	{
326		Border = TRUE ;
327        Pos = MAP_APPFONT ( MBX_LEFT_DIST_X, MBX_LEFT_DIST_Y );
328        Size = MAP_APPFONT ( CONTROL_WIDTH - 10,MBOX_HEIGHT ) ;
329        QuickHelpText [ en-US ] = "Before Text Indent";
330        HelpID = HID_POPUP_INDENT_ED_INDENT_LEFTINDENT ;
331		Repeat = TRUE ;
332		Spin = TRUE ;
333		Maximum = 9999 ;
334		StrictFormat = TRUE ;
335		Unit = FUNIT_INCH;
336		Last = 9999 ;
337		SpinSize = 2 ;
338	};
339    MetricField MF_AFTER_INDENT
340	{
341		Border = TRUE ;
342        Pos = MAP_APPFONT ( MBX_RIGHT_DIST_X, MBX_RIGHT_DIST_Y );
343        Size = MAP_APPFONT ( CONTROL_WIDTH -10 ,MBOX_HEIGHT ) ;
344        QuickHelpText [ en-US ] = "After Text Indent";
345        HelpID = HID_POPUP_INDENT_ED_INDENT_RIGHTINDENT ;
346		Repeat = TRUE ;
347		Spin = TRUE ;
348		Maximum = 9999 ;
349		StrictFormat = TRUE ;
350		Unit = FUNIT_INCH;
351		Last = 9999 ;
352		SpinSize = 2 ;
353	};
354    MetricField MF_FL_INDENT
355	{
356		Border = TRUE ;
357        Pos = MAP_APPFONT ( MBX_FLINE_DIST_X, MBX_FLINE_DIST_Y );
358        Size = MAP_APPFONT ( CONTROL_WIDTH -10 ,MBOX_HEIGHT ) ;
359        QuickHelpText [ en-US ] = "First Line Indent";
360        HelpID = HID_POPUP_INDENT_ED_INDENT_FLINDENT ;
361		Repeat = TRUE ;
362		Spin = TRUE ;
363		Minimum = -9999;
364		Maximum = 9999 ;
365		DecimalDigits = 2;
366		Unit = FUNIT_INCH;
367		First = -9999;
368		Last = 9999 ;
369		SpinSize = 2 ;
370	};
371	ToolBox TBX_LINESP
372	{
373	    Pos = MAP_APPFONT ( TBX_LINE_SPACE_X, TBX_LINE_SPACE_Y);
374		SVLook = TRUE ;
375		Border = FALSE ;
376		Size = MAP_APPFONT (TOOLBOX_WIDTH, TOOLBOX_HEIGHT);
377		HelpID = HID_PPROPERTYPANEL_PARA_TBX_LINESP ;
378		Text = "Line Spacing" ;
379		ItemList =
380		{
381			ToolBoxItem
382			{
383				Identifier = BT_BTX_LINESP ;
384				HelpID = HID_PPROPERTYPANEL_PARA_TBI_LINESP ;
385				Text [ en-US ] = "Line Spacing" ;
386				ItemBitmap = Bitmap
387				{
388					File = "symphony/lpsmall-spacing-1.png" ;
389				};
390				DropDown = TRUE;
391			};
392		};
393	};
394	FixedImage FI_INDENT1
395    {
396        Pos = MAP_APPFONT( IMG_SPACE_X, IMG_SPACE1_Y );
397        Size = MAP_APPFONT( IMAGE_SIZE, IMAGE_SIZE );
398    };
399    FixedImage FI_INDENT2
400    {
401        Pos = MAP_APPFONT( IMG_SPACE_X, IMG_SPACE2_Y );
402        Size = MAP_APPFONT( IMAGE_SIZE, IMAGE_SIZE );
403    };
404    FixedImage FI_INDENT3
405    {
406        Pos = MAP_APPFONT( IMG_INDENT_X, IMG_INDENT1_Y );
407        Size = MAP_APPFONT( IMAGE_SIZE, IMAGE_SIZE );
408    };
409    FixedImage FI_SPACE1
410    {
411        Pos = MAP_APPFONT( IMG_INDENT_X, IMG_INDENT2_Y );
412        Size = MAP_APPFONT( IMAGE_SIZE, IMAGE_SIZE );
413    };
414    FixedImage FI_SPACE2
415    {
416        Pos = MAP_APPFONT( IMG_INDENT_X, IMG_INDENT3_Y );
417        Size = MAP_APPFONT( IMAGE_SIZE, IMAGE_SIZE );
418    };
419
420	ImageList IL_NUM_BULLET
421	{
422        Prefix = "symphony/para_numbullet";
423		MaskColor = STD_MASKCOLOR ;
424        SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST
425    };
426    ImageList ILH_NUM_BULLET
427	{
428        Prefix = "symphony/para_numbulleth";
429		MaskColor = STD_MASKCOLOR ;
430        SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST
431    };
432    //for sym2_7380
433    ImageList IL_NUM_BULLET_RTL
434	{
435        Prefix = "symphony/para_numbullet_rtl";
436		MaskColor = STD_MASKCOLOR ;
437        SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST_RTL
438    };
439    //end
440    Image IMG_BACK_COLOR
441	{
442		ImageBitmap = Bitmap{File = "symphony/sc_backgroundcolor.bmp";};
443	};
444	Image IMG_BACK_COLOR_H
445	{
446		ImageBitmap = Bitmap{File = "symphony/sch_backgroundcolor.bmp";};
447	};
448	Image IMG_SPACE1
449	{
450	    ImageBitmap = Bitmap{File = "symphony/spacing1.png";};
451	};
452	Image IMG_SPACE2
453    {
454	    ImageBitmap = Bitmap{File = "symphony/spacing2.png";};
455	};
456	Image IMG_SPACE3
457	{
458	    ImageBitmap = Bitmap{File = "symphony/spacing3.png";};
459	};
460    Image IMG_INDENT1
461    {
462	    ImageBitmap = Bitmap{File = "symphony/Indent2.png";};
463	};
464    Image IMG_INDENT2
465    {
466	    ImageBitmap = Bitmap{File = "symphony/Indent3.png";};
467	};
468    Image IMG_INDENT3
469    {
470	    ImageBitmap = Bitmap{File = "symphony/Indent4.png";};
471	};
472	Image IMG_INDENT_HANG
473    {
474	    ImageBitmap = Bitmap{File = "symphony/Indent_Hanging.png";};
475	};
476};
477
478//===========================================Back color page==============================
479Control RID_POPUPPANEL_PARAPAGE_BACK_COLOR
480{
481	OutputSize = TRUE;
482	DialogControl = TRUE;
483	Border = FALSE;
484	Size = MAP_APPFONT(  POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT  );
485
486	Control VS_FONT_COLOR
487	{
488		HelpID = HID_PPROPERTYPANEL_PARA_BACK_COLOR_VS ;
489	    Hide = TRUE ;
490        Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y );
491        Size = MAP_APPFONT (  POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2);
492		TabStop = TRUE ;
493		Text = "Color Picker";
494	};
495	String STR_NOFILL
496	{
497		Text [ en-US ] = "No Color";
498	};
499};
500
501//===========================================Bullet popup page==============================
502Control RID_POPUPPANEL_PARAPAGE_BULLETS
503{
504	DialogControl = TRUE;
505	OutputSize = TRUE;
506	Border = FALSE;
507
508	Size = MAP_APPFONT ( POPUP_WIDTH_BULLET , POPUP_HEIGHT_BULLET) ;
509	Control VS_VALUES
510	{
511		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_NB , POPUPPANEL_MARGIN_NB ) ;
512		Size = MAP_APPFONT ( VS_WIDTH_BULLET ,  VS_HEIGHT_BULLET) ;
513		HelpID = HID_POPUP_BULLET_VS_VALUES ;
514		TabStop = TRUE ;
515		Text = "Bullet";
516	};
517	PushButton CB_BULLET_MORE
518	{
519		Pos = MAP_APPFONT (CUST_MORE_BUTTON_X + POPUPPANEL_MARGIN_NB, VS_HEIGHT_BULLET + POPUPPANEL_MARGIN_NB * 2 ) ;
520		Size = MAP_APPFONT (POPUP_WIDTH_BULLET - 2*CUST_MORE_BUTTON_X - POPUPPANEL_MARGIN_NB*2, CUST_MORE_BUTTON_HEIGHT ) ;
521		HelpID = HID_POPUP_BULLET_CB_BULLET_MORE ;
522		TabStop = TRUE ;
523		Text [ en-US ] = "~More Options";
524	};
525    Bitmap	BMP_BULLET_MORE
526	{
527		File = "symphony/__morebutton.bmp";
528	};
529	Bitmap	BMP_BULLET_MORE_H
530	{
531		File = "symphony/__morebutton_h.bmp";
532	};
533};
534
535String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_0
536{
537    Text [en-US] = "large square bullets";
538};
539
540String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_1
541{
542    Text [en-US] = "graphic bullets";
543};
544
545String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_2
546{
547    Text [en-US] = "graphic bullets";
548};
549
550String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_3
551{
552    Text [en-US] = "graphic bullets";
553};
554
555String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_4
556{
557    Text [en-US] = "graphic bullets";
558};
559
560//===========================================Numbering popup page==============================
561Control RID_POPUPPANEL_PARAPAGE_NUMBERING
562{
563	SVLook = TRUE ;
564	DialogControl = TRUE;
565	OutputSize = TRUE;
566	Border = FALSE;
567
568	Size = MAP_APPFONT ( POPUP_WIDTH_NUM , POPUP_HEIGHT_NUM) ;
569	Control VS_NUMBERING
570	{
571		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_NB, POPUPPANEL_MARGIN_NB ) ;
572		Size = MAP_APPFONT ( VS_WIDTH_NUM ,  VS_HEIGHT_NUM) ;
573		HelpID = HID_POPUP_NUM_VS_NUMBERING ;
574		TabStop = TRUE ;
575		Text = "Numbering";
576	};
577	PushButton CB_NUMBERING_MORE
578	{
579		Pos = MAP_APPFONT (CUST_MORE_BUTTON_X + POPUPPANEL_MARGIN_NB,  VS_HEIGHT_NUM + POPUPPANEL_MARGIN_NB * 2 ) ;
580		Size = MAP_APPFONT (POPUP_WIDTH_NUM - 2*CUST_MORE_BUTTON_X - POPUPPANEL_MARGIN_NB*2, CUST_MORE_BUTTON_HEIGHT ) ;
581		HelpID = HID_POPUP_NUM_CB_NUMBERING_MORE ;
582		TabStop = TRUE ;
583		Text [ en-US ] = "~More Options";
584	};
585    Bitmap	BMP_NUMERING_MORE
586	{
587		File = "symphony/__morebutton.bmp";
588	};
589	Bitmap	BMP_NUMERING_MORE_H
590	{
591		File = "symphony/__morebutton_h.bmp";
592	};
593};
594
595//===========================================Line Space popup page==============================
596Control RID_POPUPPANEL_PARAPAGE_LINESPACING
597{
598	OutputSize = TRUE;
599	DialogControl = TRUE;
600	Border = FALSE;
601
602	Size = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_SPACING_WIDTH, POPUP_PAGE_HEIGHT );
603
604	Control LINE_SPACING
605	{
606		Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
607        Size = MAP_APPFONT ( VS_SPACING_WIDTH  , 17 * 5);
608		TabStop = TRUE ;
609		Text = "Line Spacing";
610	};
611
612	FixedText FT_CUSTOM
613	{
614	    Pos = MAP_APPFONT ( POP_FT_CUSTOM_X, POP_FT_CUSTOM_Y );
615        Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH + 50 , _FIXED_TEXT_HEIGHT) ;
616		Text [ en-US ] = "Custom:";
617	};
618    FixedText FT_LINE_SPACING
619	{
620	    Pos = MAP_APPFONT ( FT_1_X, FT_1_Y );
621        Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH + 10, _FIXED_TEXT_HEIGHT) ;
622		Text [ en-US ] = "~Line Spacing:";
623	};
624
625	FixedText FT_OF
626	{
627	    Pos = MAP_APPFONT ( FT_2_X, FT_2_Y );
628        Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH , _FIXED_TEXT_HEIGHT) ;
629		Text [ en-US ] = "~Of:";
630	};
631
632	ListBox LB_LINE_SPACING
633	{
634		Border = TRUE ;
635        Pos = MAP_APPFONT ( EDIT_1_X, EDIT_1_Y );
636        Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2,LISTBOX_HEIGHT ) ;
637		TabStop = TRUE ;
638		DropDown = TRUE ;
639		HelpID = HID_POPUP_LS_LB_LINE_SPACING ;
640        StringList [ en-US ] =
641        {
642			< "Single" ; Default ; > ;
643			< "1.5 Lines" ; Default ; > ;
644			< "Double" ; Default ; > ;
645            < "Proportional" ; Default ; > ;
646            < "At least" ; Default ; > ;
647            < "Leading" ; Default ; > ;
648            < "Fixed" ; Default ; > ;
649        };
650	};
651	MetricField ED_SBINDE_LINEDISTPERCENT
652	{
653		Disable = TRUE;
654		Border = TRUE;
655		Pos = MAP_APPFONT ( EDIT_2_X, EDIT_2_Y );
656        Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2,MBOX_HEIGHT ) ;
657        HelpID = HID_POPUP_LS_ED_SBINDE_LINEDISTPERCENT ;
658		Repeat = TRUE;
659		Spin = TRUE;
660		Minimum = 50;
661		Maximum = 200;
662		Value = 100;
663		StrictFormat = TRUE;
664		Unit = FUNIT_CUSTOM ;
665		CustomUnitText = "%";
666		First = 50;
667		Last = 200;
668		SpinSize = 1;
669	};
670	MetricField ED_SBINDE_LINEDISTPOINT
671	{
672		Disable = TRUE;
673		Border = TRUE;
674		Pos = MAP_APPFONT ( EDIT_2_X, EDIT_2_Y );
675        Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2, MBOX_HEIGHT ) ;
676        HelpID = HID_POPUP_LS_ED_SBINDE_LINEDISTPOINT ;
677		Repeat = TRUE;
678		Spin = TRUE;
679		Maximum = 9999;
680		DecimalDigits = 2;
681		StrictFormat = TRUE ;
682		Unit = FUNIT_INCH;
683		Last = 9999;
684		SpinSize = 2;
685	};
686	Image IMG_SPACING1
687	{
688	    ImageBitmap = Bitmap{File = "symphony/lpspacing-1.png";};
689	};
690	Image IMG_SPACING115
691	{
692	    ImageBitmap = Bitmap{File = "symphony/lpspacing-1_15.png";};
693	};
694	Image IMG_SPACING15
695	{
696	    ImageBitmap = Bitmap{File = "symphony/lpspacing-1_5.png";};
697	};
698	Image IMG_SPACING2
699	{
700	    ImageBitmap = Bitmap{File = "symphony/lpspacing-2.png";};
701	};
702	Image IMG_SEL_SPACING1
703	{
704	    ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-1.png";};
705	};
706	Image IMG_SEL_SPACING115
707	{
708	    ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-1_15.png";};
709	};
710	Image IMG_SEL_SPACING15
711	{
712	    ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-1_5.png";};
713	};
714	Image IMG_SEL_SPACING2
715	{
716	    ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-2.png";};
717	};
718    Image IMG_CUSTOM
719	{
720		ImageBitmap = Bitmap{File = "symphony/last_custom_common.png";};
721	};
722	Image IMG_CUSTOM_GRAY
723	{
724		ImageBitmap = Bitmap{File = "symphony/last_custom_common_grey.png";};
725	};
726	String STR_LS_SINGLE
727    {
728        Text [ en-US ] = "Line spacing: Single";
729    };
730    String STR_LS_115
731    {
732        Text [ en-US ] = "Line spacing: 1.15 Lines";
733    };
734    String STR_LS_15
735    {
736        Text [ en-US ] = "Line spacing: 1.5 Lines";
737    };
738    String STR_LS_DOUBLE
739    {
740        Text [ en-US ] = "Line spacing: Double";
741    };
742    String STR_LSPACING
743    {
744        Text [ en-US ] = "Line spacing:";
745    };
746    String STR_LS_OF
747    {
748        Text [ en-US ] = "of:";
749    };
750    String STR_SPACING1
751    {
752        Text [ en-US ] = "Spacing: 1";
753    };
754    String STR_SPACING115
755    {
756        Text [ en-US ] = "Spacing: 1.15";
757    };
758    String STR_SPACING15
759    {
760        Text [ en-US ] = "Spacing: 1.5";
761    };
762    String STR_SPACING2
763    {
764        Text [ en-US ] = "Spacing: 2";
765    };
766    String STR_LCVALUE
767    {
768        Text [ en-US ] = "Last Custom Value";
769    };
770
771};
772
773String RID_SVXSTR_NUMBULLET_NONE
774{
775    Text [en-US] = "None";
776};
777
778//i122118, Seems the bullets graphic order and count is changed in the gallary,
779//Following descriptions should be changed accordingly.
780
781String RID_SVXSTR_GRAPHICS_DESCRIPTION_0
782{
783    Text [en-US] = "Black Pearl";
784};
785String RID_SVXSTR_GRAPHICS_DESCRIPTION_1
786{
787    Text [en-US] = "Blue Arrow 1";
788};
789String RID_SVXSTR_GRAPHICS_DESCRIPTION_2
790{
791    Text [en-US] = "Blue Ball";
792};
793String RID_SVXSTR_GRAPHICS_DESCRIPTION_3
794{
795    Text [en-US] = "Blue Diamond";
796};
797String RID_SVXSTR_GRAPHICS_DESCRIPTION_4
798{
799    Text [en-US] = "Blue Red";
800};
801String RID_SVXSTR_GRAPHICS_DESCRIPTION_5
802{
803    Text [en-US] = "Blue Square";
804};
805String RID_SVXSTR_GRAPHICS_DESCRIPTION_6
806{
807    Text [en-US] = "Blue Star";
808};
809String RID_SVXSTR_GRAPHICS_DESCRIPTION_7
810{
811    Text [en-US] = "Dark Red Circle";
812};
813String RID_SVXSTR_GRAPHICS_DESCRIPTION_8
814{
815    Text [en-US] = "Blue Circle";
816};
817String RID_SVXSTR_GRAPHICS_DESCRIPTION_9
818{
819    Text [en-US] = "Green Circle";
820};
821String RID_SVXSTR_GRAPHICS_DESCRIPTION_10
822{
823    Text [en-US] = "Black Square";
824};
825String RID_SVXSTR_GRAPHICS_DESCRIPTION_11
826{
827    Text [en-US] = "Orange Square";
828};
829String RID_SVXSTR_GRAPHICS_DESCRIPTION_12
830{
831    Text [en-US] = "Purple Square";
832};
833String RID_SVXSTR_GRAPHICS_DESCRIPTION_13
834{
835    Text [en-US] = "Blue Diamond";
836};
837String RID_SVXSTR_GRAPHICS_DESCRIPTION_14
838{
839    Text [en-US] = "Light Blue Diamond";
840};
841String RID_SVXSTR_GRAPHICS_DESCRIPTION_15
842{
843    Text [en-US] = "Red Diamond";
844};
845String RID_SVXSTR_GRAPHICS_DESCRIPTION_16
846{
847    Text [en-US] = "Yellow Star";
848};
849String RID_SVXSTR_GRAPHICS_DESCRIPTION_17
850{
851    Text [en-US] = "Blue Star";
852};
853String RID_SVXSTR_GRAPHICS_DESCRIPTION_18
854{
855    Text [en-US] = "Blue Triangle";
856};
857String RID_SVXSTR_GRAPHICS_DESCRIPTION_19
858{
859    Text [en-US] = "Dark Green Triangle";
860};
861String RID_SVXSTR_GRAPHICS_DESCRIPTION_20
862{
863    Text [en-US] = "Red Arrow";
864};
865String RID_SVXSTR_GRAPHICS_DESCRIPTION_21
866{
867    Text [en-US] = "Blue Arrow 2";
868};
869String RID_SVXSTR_GRAPHICS_DESCRIPTION_22
870{
871    Text [en-US] = "Blue Box";
872};
873String RID_SVXSTR_GRAPHICS_DESCRIPTION_23
874{
875    Text [en-US] = "Red Box";
876};
877String RID_SVXSTR_GRAPHICS_DESCRIPTION_24
878{
879    Text [en-US] = "Light Blue Asterisk";
880};
881String RID_SVXSTR_GRAPHICS_DESCRIPTION_25
882{
883    Text [en-US] = "Red Leaves";
884};
885String RID_SVXSTR_GRAPHICS_DESCRIPTION_26
886{
887    Text [en-US] = "Blue Target";
888};
889String RID_SVXSTR_GRAPHICS_DESCRIPTION_27
890{
891    Text [en-US] = "Blue Arrow 3";
892};
893String RID_SVXSTR_GRAPHICS_DESCRIPTION_28
894{
895    Text [en-US] = "Dark Blue Arrow";
896};
897String RID_SVXSTR_GRAPHICS_DESCRIPTION_29
898{
899    Text [en-US] = "Brown Arrow";
900};
901//i122118