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