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