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};
528
529String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_0
530{
531	Text [en-US] = "large square bullets" ;
532};
533
534String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_1
535{
536	Text [en-US] = "graphic bullets" ;
537};
538
539String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_2
540{
541	Text [en-US] = "graphic bullets" ;
542};
543
544String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_3
545{
546	Text [en-US] = "graphic bullets" ;
547};
548
549String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_4
550{
551	Text [en-US] = "graphic bullets" ;
552};
553
554// ===========================================Numbering popup page==============================
555Control RID_POPUPPANEL_PARAPAGE_NUMBERING
556{
557	SVLook = TRUE ;
558	DialogControl = TRUE ;
559	OutputSize = TRUE ;
560	Border = FALSE ;
561
562	Size = MAP_APPFONT ( POPUP_WIDTH_NUM, POPUP_HEIGHT_NUM) ;
563	Control VS_NUMBERING
564	{
565		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_NB, POPUPPANEL_MARGIN_NB ) ;
566		Size = MAP_APPFONT ( VS_WIDTH_NUM, VS_HEIGHT_NUM) ;
567		HelpID = HID_POPUP_NUM_VS_NUMBERING ;
568		TabStop = TRUE ;
569		Text = "Numbering" ;
570	};
571	PushButton CB_NUMBERING_MORE
572	{
573		Pos = MAP_APPFONT (CUST_MORE_BUTTON_X + POPUPPANEL_MARGIN_NB, VS_HEIGHT_NUM + POPUPPANEL_MARGIN_NB * 2 ) ;
574		Size = MAP_APPFONT (POPUP_WIDTH_NUM - 2 * CUST_MORE_BUTTON_X - POPUPPANEL_MARGIN_NB * 2, CUST_MORE_BUTTON_HEIGHT ) ;
575		HelpID = HID_POPUP_NUM_CB_NUMBERING_MORE ;
576		TabStop = TRUE ;
577		Text [ en-US ] = "~More Options" ;
578	};
579};
580
581// ===========================================Line Space popup page==============================
582Control RID_POPUPPANEL_PARAPAGE_LINESPACING
583{
584	OutputSize = TRUE ;
585	DialogControl = TRUE ;
586	Border = FALSE ;
587
588	Size = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_SPACING_WIDTH, POPUP_PAGE_HEIGHT ) ;
589
590	Control LINE_SPACING
591	{
592		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y ) ;
593		Size = MAP_APPFONT ( VS_SPACING_WIDTH, 17 * 5) ;
594		TabStop = TRUE ;
595		Text = "Line Spacing" ;
596	};
597
598	FixedText FT_CUSTOM
599	{
600		Pos = MAP_APPFONT ( POP_FT_CUSTOM_X, POP_FT_CUSTOM_Y ) ;
601		Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH + 50, _FIXED_TEXT_HEIGHT) ;
602		Text [ en-US ] = "Custom:" ;
603	};
604	FixedText FT_LINE_SPACING
605	{
606		Pos = MAP_APPFONT ( FT_1_X, FT_1_Y ) ;
607		Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH + 10, _FIXED_TEXT_HEIGHT) ;
608		Text [ en-US ] = "~Line Spacing:" ;
609	};
610
611	FixedText FT_OF
612	{
613		Pos = MAP_APPFONT ( FT_2_X, FT_2_Y ) ;
614		Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH, _FIXED_TEXT_HEIGHT) ;
615		Text [ en-US ] = "~Of:" ;
616	};
617
618	ListBox LB_LINE_SPACING
619	{
620		Border = TRUE ;
621		Pos = MAP_APPFONT ( EDIT_1_X, EDIT_1_Y ) ;
622		Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2,LISTBOX_HEIGHT ) ;
623		TabStop = TRUE ;
624		DropDown = TRUE ;
625		HelpID = HID_POPUP_LS_LB_LINE_SPACING ;
626		StringList [ en-US ] =
627		{
628			< "Single" ; Default ;			> ;
629			< "1.5 Lines" ; Default ;		> ;
630			< "Double" ; Default ;			> ;
631			< "Proportional" ; Default ;	> ;
632			< "At least" ; Default ;		> ;
633			< "Leading" ; Default ;			> ;
634			< "Fixed" ; Default ;			> ;
635		};
636	};
637	MetricField ED_SBINDE_LINEDISTPERCENT
638	{
639		Disable = TRUE ;
640		Border = TRUE ;
641		Pos = MAP_APPFONT ( EDIT_2_X, EDIT_2_Y ) ;
642		Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2,MBOX_HEIGHT ) ;
643		HelpID = HID_POPUP_LS_ED_SBINDE_LINEDISTPERCENT ;
644		Repeat = TRUE ;
645		Spin = TRUE ;
646		Minimum = 50 ;
647		Maximum = 200 ;
648		Value = 100 ;
649		StrictFormat = TRUE ;
650		Unit = FUNIT_PERCENT ;
651		First = 50 ;
652		Last = 200 ;
653		SpinSize = 1 ;
654	};
655	MetricField ED_SBINDE_LINEDISTPOINT
656	{
657		Disable = TRUE ;
658		Border = TRUE ;
659		Pos = MAP_APPFONT ( EDIT_2_X, EDIT_2_Y ) ;
660		Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2, MBOX_HEIGHT ) ;
661		HelpID = HID_POPUP_LS_ED_SBINDE_LINEDISTPOINT ;
662		Repeat = TRUE ;
663		Spin = TRUE ;
664		Maximum = 9999 ;
665		DecimalDigits = 2 ;
666		StrictFormat = TRUE ;
667		Unit = FUNIT_INCH ;
668		Last = 9999 ;
669		SpinSize = 2 ;
670	};
671	Image IMG_SPACING1
672	{
673		ImageBitmap = Bitmap {File = "symphony/lpspacing-1.png" ;} ;
674	};
675	Image IMG_SPACING115
676	{
677		ImageBitmap = Bitmap {File = "symphony/lpspacing-1_15.png" ;} ;
678	};
679	Image IMG_SPACING15
680	{
681		ImageBitmap = Bitmap {File = "symphony/lpspacing-1_5.png" ;} ;
682	};
683	Image IMG_SPACING2
684	{
685		ImageBitmap = Bitmap {File = "symphony/lpspacing-2.png" ;} ;
686	};
687	Image IMG_SEL_SPACING1
688	{
689		ImageBitmap = Bitmap {File = "symphony/lpselected-spacing-1.png" ;} ;
690	};
691	Image IMG_SEL_SPACING115
692	{
693		ImageBitmap = Bitmap {File = "symphony/lpselected-spacing-1_15.png" ;} ;
694	};
695	Image IMG_SEL_SPACING15
696	{
697		ImageBitmap = Bitmap {File = "symphony/lpselected-spacing-1_5.png" ;} ;
698	};
699	Image IMG_SEL_SPACING2
700	{
701		ImageBitmap = Bitmap {File = "symphony/lpselected-spacing-2.png" ;} ;
702	};
703	Image IMG_CUSTOM
704	{
705		ImageBitmap = Bitmap {File = "symphony/last_custom_common.png" ;} ;
706	};
707	Image IMG_CUSTOM_GRAY
708	{
709		ImageBitmap = Bitmap {File = "symphony/last_custom_common_grey.png" ;} ;
710	};
711	String STR_LS_SINGLE
712	{
713		Text [ en-US ] = "Line spacing: Single" ;
714	};
715	String STR_LS_115
716	{
717		Text [ en-US ] = "Line spacing: 1.15 Lines" ;
718	};
719	String STR_LS_15
720	{
721		Text [ en-US ] = "Line spacing: 1.5 Lines" ;
722	};
723	String STR_LS_DOUBLE
724	{
725		Text [ en-US ] = "Line spacing: Double" ;
726	};
727	String STR_LSPACING
728	{
729		Text [ en-US ] = "Line spacing:" ;
730	};
731	String STR_LS_OF
732	{
733		Text [ en-US ] = "of:" ;
734	};
735	String STR_SPACING1
736	{
737		Text [ en-US ] = "Spacing: 1" ;
738	};
739	String STR_SPACING115
740	{
741		Text [ en-US ] = "Spacing: 1.15" ;
742	};
743	String STR_SPACING15
744	{
745		Text [ en-US ] = "Spacing: 1.5" ;
746	};
747	String STR_SPACING2
748	{
749		Text [ en-US ] = "Spacing: 2" ;
750	};
751	String STR_LCVALUE
752	{
753		Text [ en-US ] = "Last Custom Value" ;
754	};
755
756};
757
758String RID_SVXSTR_NUMBULLET_NONE
759{
760	Text [en-US] = "None" ;
761};
762
763// i122118, Seems the bullets graphic order and count is changed in the gallery,
764// Following descriptions should be changed accordingly.
765
766String RID_SVXSTR_GRAPHICS_DESCRIPTION_0
767{
768	Text [en-US] = "Black Pearl" ;
769};
770String RID_SVXSTR_GRAPHICS_DESCRIPTION_1
771{
772	Text [en-US] = "Blue Arrow 1" ;
773};
774String RID_SVXSTR_GRAPHICS_DESCRIPTION_2
775{
776	Text [en-US] = "Blue Ball" ;
777};
778String RID_SVXSTR_GRAPHICS_DESCRIPTION_3
779{
780	Text [en-US] = "Blue Diamond" ;
781};
782String RID_SVXSTR_GRAPHICS_DESCRIPTION_4
783{
784	Text [en-US] = "Blue Red" ;
785};
786String RID_SVXSTR_GRAPHICS_DESCRIPTION_5
787{
788	Text [en-US] = "Blue Square" ;
789};
790String RID_SVXSTR_GRAPHICS_DESCRIPTION_6
791{
792	Text [en-US] = "Blue Star" ;
793};
794String RID_SVXSTR_GRAPHICS_DESCRIPTION_7
795{
796	Text [en-US] = "Dark Red Circle" ;
797};
798String RID_SVXSTR_GRAPHICS_DESCRIPTION_8
799{
800	Text [en-US] = "Blue Circle" ;
801};
802String RID_SVXSTR_GRAPHICS_DESCRIPTION_9
803{
804	Text [en-US] = "Green Circle" ;
805};
806String RID_SVXSTR_GRAPHICS_DESCRIPTION_10
807{
808	Text [en-US] = "Black Square" ;
809};
810String RID_SVXSTR_GRAPHICS_DESCRIPTION_11
811{
812	Text [en-US] = "Orange Square" ;
813};
814String RID_SVXSTR_GRAPHICS_DESCRIPTION_12
815{
816	Text [en-US] = "Purple Square" ;
817};
818String RID_SVXSTR_GRAPHICS_DESCRIPTION_13
819{
820	Text [en-US] = "Blue Diamond" ;
821};
822String RID_SVXSTR_GRAPHICS_DESCRIPTION_14
823{
824	Text [en-US] = "Light Blue Diamond" ;
825};
826String RID_SVXSTR_GRAPHICS_DESCRIPTION_15
827{
828	Text [en-US] = "Red Diamond" ;
829};
830String RID_SVXSTR_GRAPHICS_DESCRIPTION_16
831{
832	Text [en-US] = "Yellow Star" ;
833};
834String RID_SVXSTR_GRAPHICS_DESCRIPTION_17
835{
836	Text [en-US] = "Blue Star" ;
837};
838String RID_SVXSTR_GRAPHICS_DESCRIPTION_18
839{
840	Text [en-US] = "Blue Triangle" ;
841};
842String RID_SVXSTR_GRAPHICS_DESCRIPTION_19
843{
844	Text [en-US] = "Dark Green Triangle" ;
845};
846String RID_SVXSTR_GRAPHICS_DESCRIPTION_20
847{
848	Text [en-US] = "Red Arrow" ;
849};
850String RID_SVXSTR_GRAPHICS_DESCRIPTION_21
851{
852	Text [en-US] = "Blue Arrow 2" ;
853};
854String RID_SVXSTR_GRAPHICS_DESCRIPTION_22
855{
856	Text [en-US] = "Blue Box" ;
857};
858String RID_SVXSTR_GRAPHICS_DESCRIPTION_23
859{
860	Text [en-US] = "Red Box" ;
861};
862String RID_SVXSTR_GRAPHICS_DESCRIPTION_24
863{
864	Text [en-US] = "Light Blue Asterisk" ;
865};
866String RID_SVXSTR_GRAPHICS_DESCRIPTION_25
867{
868	Text [en-US] = "Red Leaves" ;
869};
870String RID_SVXSTR_GRAPHICS_DESCRIPTION_26
871{
872	Text [en-US] = "Blue Target" ;
873};
874String RID_SVXSTR_GRAPHICS_DESCRIPTION_27
875{
876	Text [en-US] = "Blue Arrow 3" ;
877};
878String RID_SVXSTR_GRAPHICS_DESCRIPTION_28
879{
880	Text [en-US] = "Dark Blue Arrow" ;
881};
882String RID_SVXSTR_GRAPHICS_DESCRIPTION_29
883{
884	Text [en-US] = "Brown Arrow" ;
885};
886// i122118
887
888// ********************************************************************** EOF
889