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==============================
560/*
561Control RID_POPUPPANEL_PARAPAGE_BACK_COLOR
562{
563	OutputSize = TRUE;
564	DialogControl = TRUE;
565	Border = FALSE;
566
567	Size = MAP_APPFONT(  POPUP_COLOR_PICKER_WIDTH + POPUP_BORDER_WIDTH , POPUP_COLOR_PICKER_HEIGHT +POPUP_BORDER_HEIGHT );
568
569	Control VS_FONT_COLOR
570	{
571		HelpID = HID_PPROPERTYPANEL_PARA_BACK_COLOR_VS ;
572	        Hide = TRUE ;
573	        Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y );
574	        Size = MAP_APPFONT (  POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT );
575		TabStop = TRUE ;
576		Text = "Color Picker";
577	};
578
579	String STR_NOFILL
580	{
581		Text [ en-US ] = "No Color";
582	};
583
584};*/
585
586//===========================================Bullet popup page==============================
587Control RID_POPUPPANEL_PARAPAGE_BULLETS
588{
589	DialogControl = TRUE;
590	OutputSize = TRUE;
591	Border = FALSE;
592
593	Size = MAP_APPFONT ( POPUP_WIDTH_BULLET , POPUP_HEIGHT_BULLET) ;
594	Control VS_VALUES
595	{
596		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_NB , POPUPPANEL_MARGIN_NB ) ;
597		Size = MAP_APPFONT ( VS_WIDTH_BULLET ,  VS_HEIGHT_BULLET) ;
598		HelpID = HID_POPUP_BULLET_VS_VALUES ;
599		TabStop = TRUE ;
600		Text = "Bullet";
601	};
602	PushButton CB_BULLET_MORE
603	{
604		Pos = MAP_APPFONT (CUST_MORE_BUTTON_X + POPUPPANEL_MARGIN_NB, VS_HEIGHT_BULLET + POPUPPANEL_MARGIN_NB * 2 ) ;
605		Size = MAP_APPFONT (POPUP_WIDTH_BULLET - 2*CUST_MORE_BUTTON_X - POPUPPANEL_MARGIN_NB*2, CUST_MORE_BUTTON_HEIGHT ) ;
606		HelpID = HID_POPUP_BULLET_CB_BULLET_MORE ;
607		TabStop = TRUE ;
608		Text [ en-US ] = "~More Options";
609	};
610    Bitmap	BMP_BULLET_MORE
611	{
612		File = "symphony/__morebutton.bmp";
613	};
614	Bitmap	BMP_BULLET_MORE_H
615	{
616		File = "symphony/__morebutton_h.bmp";
617	};
618};
619
620String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_0
621{
622    Text [en-US] = "large square bullets";
623};
624
625String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_1
626{
627    Text [en-US] = "graphic bullets";
628};
629
630String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_2
631{
632    Text [en-US] = "graphic bullets";
633};
634
635String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_3
636{
637    Text [en-US] = "graphic bullets";
638};
639
640String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_4
641{
642    Text [en-US] = "graphic bullets";
643};
644
645//===========================================Numbering popup page==============================
646Control RID_POPUPPANEL_PARAPAGE_NUMBERING
647{
648	SVLook = TRUE ;
649	DialogControl = TRUE;
650	OutputSize = TRUE;
651	Border = FALSE;
652
653	Size = MAP_APPFONT ( POPUP_WIDTH_NUM , POPUP_HEIGHT_NUM) ;
654	Control VS_NUMBERING
655	{
656		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_NB, POPUPPANEL_MARGIN_NB ) ;
657		Size = MAP_APPFONT ( VS_WIDTH_NUM ,  VS_HEIGHT_NUM) ;
658		HelpID = HID_POPUP_NUM_VS_NUMBERING ;
659		TabStop = TRUE ;
660		Text = "Numbering";
661	};
662	PushButton CB_NUMBERING_MORE
663	{
664		Pos = MAP_APPFONT (CUST_MORE_BUTTON_X + POPUPPANEL_MARGIN_NB,  VS_HEIGHT_NUM + POPUPPANEL_MARGIN_NB * 2 ) ;
665		Size = MAP_APPFONT (POPUP_WIDTH_NUM - 2*CUST_MORE_BUTTON_X - POPUPPANEL_MARGIN_NB*2, CUST_MORE_BUTTON_HEIGHT ) ;
666		HelpID = HID_POPUP_NUM_CB_NUMBERING_MORE ;
667		TabStop = TRUE ;
668		Text [ en-US ] = "~More Options";
669	};
670    Bitmap	BMP_NUMERING_MORE
671	{
672		File = "symphony/__morebutton.bmp";
673	};
674	Bitmap	BMP_NUMERING_MORE_H
675	{
676		File = "symphony/__morebutton_h.bmp";
677	};
678};
679
680//===========================================Line Space popup page==============================
681Control RID_POPUPPANEL_PARAPAGE_LINESPACING
682{
683	OutputSize = TRUE;
684	DialogControl = TRUE;
685	Border = FALSE;
686
687	Size = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_SPACING_WIDTH, POPUP_PAGE_HEIGHT );
688
689	Control LINE_SPACING
690	{
691		Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
692        Size = MAP_APPFONT ( VS_SPACING_WIDTH  , 17 * 5);
693		TabStop = TRUE ;
694		Text = "Line Spacing";
695	};
696
697	FixedText FT_CUSTOM
698	{
699	    Pos = MAP_APPFONT ( POP_FT_CUSTOM_X, POP_FT_CUSTOM_Y );
700        Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH + 50 , _FIXED_TEXT_HEIGHT) ;
701		Text [ en-US ] = "Custom:";
702	};
703    FixedText FT_LINE_SPACING
704	{
705	    Pos = MAP_APPFONT ( FT_1_X, FT_1_Y );
706        Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH + 10, _FIXED_TEXT_HEIGHT) ;
707		Text [ en-US ] = "~Line Spacing:";
708	};
709
710	FixedText FT_OF
711	{
712	    Pos = MAP_APPFONT ( FT_2_X, FT_2_Y );
713        Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH , _FIXED_TEXT_HEIGHT) ;
714		Text [ en-US ] = "~Of:";
715	};
716
717	ListBox LB_LINE_SPACING
718	{
719		Border = TRUE ;
720        Pos = MAP_APPFONT ( EDIT_1_X, EDIT_1_Y );
721        Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2,LISTBOX_HEIGHT ) ;
722		TabStop = TRUE ;
723		DropDown = TRUE ;
724		HelpID = HID_POPUP_LS_LB_LINE_SPACING ;
725        StringList [ en-US ] =
726        {
727			< "Single" ; Default ; > ;
728			< "1.5 Lines" ; Default ; > ;
729			< "Double" ; Default ; > ;
730            < "Proportional" ; Default ; > ;
731            < "At least" ; Default ; > ;
732            < "Leading" ; Default ; > ;
733            < "Fixed" ; Default ; > ;
734        };
735	};
736	MetricField ED_SBINDE_LINEDISTPERCENT
737	{
738		Disable = TRUE;
739		Border = TRUE;
740		Pos = MAP_APPFONT ( EDIT_2_X, EDIT_2_Y );
741        Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2,MBOX_HEIGHT ) ;
742        HelpID = HID_POPUP_LS_ED_SBINDE_LINEDISTPERCENT ;
743		Repeat = TRUE;
744		Spin = TRUE;
745		Minimum = 50;
746		Maximum = 200;
747		Value = 100;
748		StrictFormat = TRUE;
749		Unit = FUNIT_CUSTOM ;
750		CustomUnitText = "%";
751		First = 50;
752		Last = 200;
753		SpinSize = 1;
754	};
755	MetricField ED_SBINDE_LINEDISTPOINT
756	{
757		Disable = TRUE;
758		Border = TRUE;
759		Pos = MAP_APPFONT ( EDIT_2_X, EDIT_2_Y );
760        Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2, MBOX_HEIGHT ) ;
761        HelpID = HID_POPUP_LS_ED_SBINDE_LINEDISTPOINT ;
762		Repeat = TRUE;
763		Spin = TRUE;
764		Maximum = 9999;
765		DecimalDigits = 2;
766		StrictFormat = TRUE ;
767		Unit = FUNIT_INCH;
768		Last = 9999;
769		SpinSize = 2;
770	};
771	Image IMG_SPACING1
772	{
773	    ImageBitmap = Bitmap{File = "symphony/lpspacing-1.png";};
774	};
775	Image IMG_SPACING115
776	{
777	    ImageBitmap = Bitmap{File = "symphony/lpspacing-1_15.png";};
778	};
779	Image IMG_SPACING15
780	{
781	    ImageBitmap = Bitmap{File = "symphony/lpspacing-1_5.png";};
782	};
783	Image IMG_SPACING2
784	{
785	    ImageBitmap = Bitmap{File = "symphony/lpspacing-2.png";};
786	};
787	Image IMG_SEL_SPACING1
788	{
789	    ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-1.png";};
790	};
791	Image IMG_SEL_SPACING115
792	{
793	    ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-1_15.png";};
794	};
795	Image IMG_SEL_SPACING15
796	{
797	    ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-1_5.png";};
798	};
799	Image IMG_SEL_SPACING2
800	{
801	    ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-2.png";};
802	};
803    Image IMG_CUSTOM
804	{
805		ImageBitmap = Bitmap{File = "symphony/last_custom_common.png";};
806	};
807	Image IMG_CUSTOM_GRAY
808	{
809		ImageBitmap = Bitmap{File = "symphony/last_custom_common_grey.png";};
810	};
811	String STR_LS_SINGLE
812    {
813        Text [ en-US ] = "Line spacing: Single";
814    };
815    String STR_LS_115
816    {
817        Text [ en-US ] = "Line spacing: 1.15 Lines";
818    };
819    String STR_LS_15
820    {
821        Text [ en-US ] = "Line spacing: 1.5 Lines";
822    };
823    String STR_LS_DOUBLE
824    {
825        Text [ en-US ] = "Line spacing: Double";
826    };
827    String STR_LSPACING
828    {
829        Text [ en-US ] = "Line spacing:";
830    };
831    String STR_LS_OF
832    {
833        Text [ en-US ] = "of:";
834    };
835    String STR_SPACING1
836    {
837        Text [ en-US ] = "Spacing: 1";
838    };
839    String STR_SPACING115
840    {
841        Text [ en-US ] = "Spacing: 1.15";
842    };
843    String STR_SPACING15
844    {
845        Text [ en-US ] = "Spacing: 1.5";
846    };
847    String STR_SPACING2
848    {
849        Text [ en-US ] = "Spacing: 2";
850    };
851    String STR_LCVALUE
852    {
853        Text [ en-US ] = "Last Custom Value";
854    };
855
856};
857
858
859String RID_SVXSTR_GRAPHICS_DESCRIPTION_0
860{
861    Text [en-US] = "Dark Red Circle";
862};
863String RID_SVXSTR_GRAPHICS_DESCRIPTION_1
864{
865    Text [en-US] = "Blue Ball";
866};
867String RID_SVXSTR_GRAPHICS_DESCRIPTION_2
868{
869    Text [en-US] = "Green Ball";
870};
871String RID_SVXSTR_GRAPHICS_DESCRIPTION_3
872{
873    Text [en-US] = "Black Square";
874};
875String RID_SVXSTR_GRAPHICS_DESCRIPTION_4
876{
877    Text [en-US] = "Orange";
878};
879String RID_SVXSTR_GRAPHICS_DESCRIPTION_5
880{
881    Text [en-US] = "Purple Square";
882};
883String RID_SVXSTR_GRAPHICS_DESCRIPTION_6
884{
885    Text [en-US] = "Diamond Blue";
886};
887String RID_SVXSTR_GRAPHICS_DESCRIPTION_7
888{
889    Text [en-US] = "Light Blue Diamond";
890};
891String RID_SVXSTR_GRAPHICS_DESCRIPTION_8
892{
893    Text [en-US] = "Red Diamond";
894};
895String RID_SVXSTR_GRAPHICS_DESCRIPTION_9
896{
897    Text [en-US] = "Yellow Star";
898};
899String RID_SVXSTR_GRAPHICS_DESCRIPTION_10
900{
901    Text [en-US] = "Blue Star";
902};
903String RID_SVXSTR_GRAPHICS_DESCRIPTION_11
904{
905    Text [en-US] = "Blue Triangle";
906};
907String RID_SVXSTR_GRAPHICS_DESCRIPTION_12
908{
909    Text [en-US] = "Dark Green Triangle";
910};
911String RID_SVXSTR_GRAPHICS_DESCRIPTION_13
912{
913    Text [en-US] = "Red Arrow";
914};
915String RID_SVXSTR_GRAPHICS_DESCRIPTION_14
916{
917    Text [en-US] = "Blue Arrow";
918};
919String RID_SVXSTR_GRAPHICS_DESCRIPTION_15
920{
921    Text [en-US] = "Blue Box";
922};
923String RID_SVXSTR_GRAPHICS_DESCRIPTION_16
924{
925    Text [en-US] = "Red Box";
926};
927String RID_SVXSTR_GRAPHICS_DESCRIPTION_17
928{
929    Text [en-US] = "Light Blue Asterisk";
930};
931String RID_SVXSTR_GRAPHICS_DESCRIPTION_18
932{
933    Text [en-US] = "Red Leaves";
934};
935String RID_SVXSTR_GRAPHICS_DESCRIPTION_19
936{
937    Text [en-US] = "Blue Target";
938};
939String RID_SVXSTR_GRAPHICS_DESCRIPTION_20
940{
941    Text [en-US] = "Blue Arrow";
942};
943String RID_SVXSTR_GRAPHICS_DESCRIPTION_21
944{
945    Text [en-US] = "Dark Blue Arrow";
946};
947String RID_SVXSTR_GRAPHICS_DESCRIPTION_22
948{
949    Text [en-US] = "Brown Arrow";
950};
951String RID_SVXSTR_GRAPHICS_DESCRIPTION_23
952{
953    Text [en-US] = "Red Flag";
954};
955String RID_SVXSTR_GRAPHICS_DESCRIPTION_24
956{
957    Text [en-US] = "Green Flag";
958};
959String RID_SVXSTR_GRAPHICS_DESCRIPTION_25
960{
961    Text [en-US] = "Red X";
962};
963String RID_SVXSTR_GRAPHICS_DESCRIPTION_26
964{
965    Text [en-US] = "Black X";
966};
967String RID_SVXSTR_GRAPHICS_DESCRIPTION_27
968{
969    Text [en-US] = "Green Checkmark";
970};
971String RID_SVXSTR_GRAPHICS_DESCRIPTION_28
972{
973    Text [en-US] = "Blue Checkmark";
974};
975String RID_SVXSTR_GRAPHICS_DESCRIPTION_29
976{
977    Text [en-US] = "Dark Red Square";
978};