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