1b9e67834SAndre Fischer/**************************************************************
2b9e67834SAndre Fischer *
3b9e67834SAndre Fischer * Licensed to the Apache Software Foundation (ASF) under one
4b9e67834SAndre Fischer * or more contributor license agreements.  See the NOTICE file
5b9e67834SAndre Fischer * distributed with this work for additional information
6b9e67834SAndre Fischer * regarding copyright ownership.  The ASF licenses this file
7b9e67834SAndre Fischer * to you under the Apache License, Version 2.0 (the
8b9e67834SAndre Fischer * "License"); you may not use this file except in compliance
9b9e67834SAndre Fischer * with the License.  You may obtain a copy of the License at
10b9e67834SAndre Fischer *
11b9e67834SAndre Fischer *   http://www.apache.org/licenses/LICENSE-2.0
12b9e67834SAndre Fischer *
13b9e67834SAndre Fischer * Unless required by applicable law or agreed to in writing,
14b9e67834SAndre Fischer * software distributed under the License is distributed on an
15b9e67834SAndre Fischer * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16b9e67834SAndre Fischer * KIND, either express or implied.  See the License for the
17b9e67834SAndre Fischer * specific language governing permissions and limitations
18b9e67834SAndre Fischer * under the License.
19b9e67834SAndre Fischer *
20b9e67834SAndre Fischer *************************************************************/
21b9e67834SAndre Fischer
22b9e67834SAndre Fischer#include "TextPropertyPanel.hrc"
23b9e67834SAndre Fischer#include <sfx2/sidebar/propertypanel.hrc>
24b9e67834SAndre Fischer#include "helpid.hrc"
25b9e67834SAndre Fischer
26b9e67834SAndre Fischer#define CONTROL_HEIGHT_FONT_NAME  		250
27b9e67834SAndre Fischer#define CONTROL_HEIGHT_FONT_SIZE		180
28*f79579d2SAndre Fischer#define FONTSIZE_WIDTH					(TOOLBOX_ITEM_WIDTH * 2 - 1)
29*f79579d2SAndre Fischer#define FONTNAME_WIDTH					(PROPERTYPAGE_WIDTH - (FONTSIZE_WIDTH) - 6)
30b9e67834SAndre Fischer
31b9e67834SAndre Fischer#define TB_SPACE				18
32b9e67834SAndre Fischer#define TB_SPACE_V				4
33b9e67834SAndre Fischer#define TEXT_WIDTH				TOOLBOX_42_42_ITEM_DD_WIDTH + TB_SPACE - 3
34b9e67834SAndre Fischer
35b9e67834SAndre Fischer#define FT_TB_SPACE				1
36b9e67834SAndre Fischer#define BK_IMG					20
37b9e67834SAndre Fischer
38*f79579d2SAndre Fischer#define X0                      SECTIONPAGE_MARGIN_HORIZONTAL
39*f79579d2SAndre Fischer#define X1                      SECTIONPAGE_MARGIN_HORIZONTAL + 1 + TOOLBOX_ITEM_WIDTH * 2  + 4
40*f79579d2SAndre Fischer#define X2                      (PROPERTYPAGE_WIDTH - (FONTSIZE_WIDTH))
41*f79579d2SAndre Fischer#define X3                      (X2 - (TOOLBOX_ITEM_DD_WIDTH) - 2)
42*f79579d2SAndre Fischer
43*f79579d2SAndre Fischer#define FIRST_LINE_Y            SECTIONPAGE_MARGIN_VERTICAL_TOP
44*f79579d2SAndre Fischer#define SECOND_LINE_Y           FIRST_LINE_Y + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL  + 1
45*f79579d2SAndre Fischer#define THIRD_LINE_Y            SECOND_LINE_Y + CONTROL_SPACING_VERTICAL + (TOOLBOX_ITEM_HEIGHT + 2)
46*f79579d2SAndre Fischer
47*f79579d2SAndre Fischer
48b9e67834SAndre FischerControl RID_SIDEBAR_TEXT_PANEL
49b9e67834SAndre Fischer{
50b9e67834SAndre Fischer	OutputSize = TRUE;
51b9e67834SAndre Fischer	DialogControl = TRUE;
52b9e67834SAndre Fischer	Border = FALSE;
53b9e67834SAndre Fischer
54b9e67834SAndre Fischer	Size = MAP_APPFONT( PROPERTYPAGE_WIDTH, SECTIONPAGE_MARGIN_VERTICAL_TOP + CBOX_HEIGHT + TOOLBOX_ITEM_HEIGHT * 2 + CONTROL_SPACING_VERTICAL * 2 + SECTIONPAGE_MARGIN_VERTICAL_BOT );
55b9e67834SAndre Fischer	HelpID = HID_PROPERTYPANEL_TEXT_SECTION ;
56b9e67834SAndre Fischer	Text = "Text";
57b9e67834SAndre Fischer
58b9e67834SAndre Fischer	ComboBox CB_SBFONT_FONT
59b9e67834SAndre Fischer	{
60b9e67834SAndre Fischer		Border = TRUE;
61*f79579d2SAndre Fischer		Pos = MAP_APPFONT (X0 , FIRST_LINE_Y);
62*f79579d2SAndre Fischer		Size = MAP_APPFONT (FONTNAME_WIDTH , CONTROL_HEIGHT_FONT_NAME);
63b9e67834SAndre Fischer		TabStop = TRUE;
64b9e67834SAndre Fischer		DropDown = TRUE;
65b9e67834SAndre Fischer		HelpID = HID_COMBO_FONT_NAME ;
66b9e67834SAndre Fischer		QuickHelpText [ en-US ] = "Font";
67b9e67834SAndre Fischer	};
68b9e67834SAndre Fischer	MetricBox MB_SBFONT_FONTSIZE
69b9e67834SAndre Fischer	{
70b9e67834SAndre Fischer		Border = TRUE;
71*f79579d2SAndre Fischer		Pos = MAP_APPFONT (X2, FIRST_LINE_Y);
72*f79579d2SAndre Fischer		Size = MAP_APPFONT (FONTSIZE_WIDTH, CONTROL_HEIGHT_FONT_SIZE);
73b9e67834SAndre Fischer		TabStop = TRUE;
74b9e67834SAndre Fischer		DropDown = TRUE;
75b9e67834SAndre Fischer		HelpID = HID_METRIC_FONT_SIZE;
76b9e67834SAndre Fischer		QuickHelpText [ en-US ] = "Font Size";
77b9e67834SAndre Fischer	};
78b9e67834SAndre Fischer
79b9e67834SAndre Fischer	ToolBox TB_INCREASE_DECREASE
80b9e67834SAndre Fischer	{
81b9e67834SAndre Fischer		SVLook = TRUE ;
82*f79579d2SAndre Fischer		Pos = MAP_APPFONT (X2, SECOND_LINE_Y) ;
83b9e67834SAndre Fischer		Size = MAP_APPFONT ( TOOLBOX_ITEM_WIDTH * 2 ,TOOLBOX_ITEM_HEIGHT ) ;
84b9e67834SAndre Fischer		TabStop = TRUE ;
85b9e67834SAndre Fischer		HelpID = HID_PPROPERTYPANEL_TEXT_TBX_FONTSIZE_INDE;
86b9e67834SAndre Fischer		Text = "Font Size Adjusting" ;
87b9e67834SAndre Fischer		ItemList =
88b9e67834SAndre Fischer		{
89b9e67834SAndre Fischer			ToolBoxItem
90b9e67834SAndre Fischer			{
91b9e67834SAndre Fischer				Identifier = TBI_INCREASE;
92b9e67834SAndre Fischer				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_INCREASE;
93b9e67834SAndre Fischer			};
94b9e67834SAndre Fischer			ToolBoxItem
95b9e67834SAndre Fischer			{
96b9e67834SAndre Fischer				Identifier = TBI_DECREASE;
97b9e67834SAndre Fischer				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_DECREASE;
98b9e67834SAndre Fischer			};
99b9e67834SAndre Fischer		};
100b9e67834SAndre Fischer	};
101b9e67834SAndre Fischer	ToolBox TB_FONT
102b9e67834SAndre Fischer	{
103b9e67834SAndre Fischer		SVLook = TRUE ;
104*f79579d2SAndre Fischer		Pos = MAP_APPFONT (X0 + 1, SECOND_LINE_Y) ;
105b9e67834SAndre Fischer		Size = MAP_APPFONT ( TOOLBOX_ITEM_WIDTH * 4 + TOOLBOX_ITEM_DD_WIDTH, TOOLBOX_ITEM_HEIGHT ) ;
106b9e67834SAndre Fischer		TabStop = TRUE ;
107b9e67834SAndre Fischer		HelpID = HID_PPROPERTYPANEL_TEXT_TBX_FONT;
108b9e67834SAndre Fischer		Text = "Font Effects" ;
109b9e67834SAndre Fischer		ItemList =
110b9e67834SAndre Fischer		{
111b9e67834SAndre Fischer			ToolBoxItem
112b9e67834SAndre Fischer			{
113b9e67834SAndre Fischer				Identifier = TBI_BOLD;
114b9e67834SAndre Fischer				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_BOLD;
115b9e67834SAndre Fischer			};
116b9e67834SAndre Fischer			ToolBoxItem
117b9e67834SAndre Fischer			{
118b9e67834SAndre Fischer				Identifier = TBI_ITALIC;
119b9e67834SAndre Fischer				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_ITALIC;
120b9e67834SAndre Fischer			};
121b9e67834SAndre Fischer			ToolBoxItem
122b9e67834SAndre Fischer			{
123b9e67834SAndre Fischer				Identifier = TBI_UNDERLINE;
124b9e67834SAndre Fischer				DropDown = TRUE ;
125b9e67834SAndre Fischer				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_UNDERLINE;
126b9e67834SAndre Fischer			};
127b9e67834SAndre Fischer			ToolBoxItem
128b9e67834SAndre Fischer			{
129b9e67834SAndre Fischer				Identifier = TBI_STRIKEOUT;
130b9e67834SAndre Fischer				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_STRIKEOUT;
131b9e67834SAndre Fischer			};
132b9e67834SAndre Fischer			ToolBoxItem
133b9e67834SAndre Fischer			{
134b9e67834SAndre Fischer				Identifier = TBI_SHADOWED;
135b9e67834SAndre Fischer				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SHADOWED;
136b9e67834SAndre Fischer			};
137b9e67834SAndre Fischer		};
138b9e67834SAndre Fischer	};
139b9e67834SAndre Fischer
140b9e67834SAndre Fischer	ToolBox TB_FONTCOLOR
141b9e67834SAndre Fischer	{
142b9e67834SAndre Fischer		HelpID = HID_PPROPERTYPANEL_TEXT_TBX_FONT_COLOR;
143b9e67834SAndre Fischer		SVLook = TRUE ;
144*f79579d2SAndre Fischer		Pos = MAP_APPFONT (X3, THIRD_LINE_Y) ;
145b9e67834SAndre Fischer		Size = MAP_APPFONT (TOOLBOX_ITEM_DD_WIDTH ,TOOLBOX_ITEM_HEIGHT ) ;
146b9e67834SAndre Fischer		TabStop = TRUE ;
147b9e67834SAndre Fischer		Text = "Font Color" ;
148b9e67834SAndre Fischer		ItemList =
149b9e67834SAndre Fischer		{
150b9e67834SAndre Fischer			ToolBoxItem
151b9e67834SAndre Fischer			{
152b9e67834SAndre Fischer				Identifier = TBI_FONTCOLOR ;
153b9e67834SAndre Fischer				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_FONT_COLOR;
154b9e67834SAndre Fischer				DropDown = TRUE ;
155b9e67834SAndre Fischer			};
156b9e67834SAndre Fischer		};
157b9e67834SAndre Fischer	};
158b9e67834SAndre Fischer
159b9e67834SAndre Fischer	ToolBox TB_HIGHLIGHT
160b9e67834SAndre Fischer	{
161b9e67834SAndre Fischer		SVLook = TRUE ;
162*f79579d2SAndre Fischer		Pos = MAP_APPFONT (X2, THIRD_LINE_Y) ;
163b9e67834SAndre Fischer		Size = MAP_APPFONT (TOOLBOX_ITEM_DD_WIDTH ,TOOLBOX_ITEM_HEIGHT ) ;
164b9e67834SAndre Fischer		TabStop = TRUE ;
165b9e67834SAndre Fischer		HelpID = HID_PPROPERTYPANEL_TEXT_TBX_HIGHLIGHT_COLOR;
166b9e67834SAndre Fischer		Text = "Highlight Color" ;
167b9e67834SAndre Fischer		ItemList =
168b9e67834SAndre Fischer		{
169b9e67834SAndre Fischer			ToolBoxItem
170b9e67834SAndre Fischer			{
171b9e67834SAndre Fischer				Identifier = TBI_HIGHLIGHT ;
172b9e67834SAndre Fischer				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_HIGHLIGHT_COLOR;
173b9e67834SAndre Fischer				DropDown = TRUE ;
174b9e67834SAndre Fischer			};
175b9e67834SAndre Fischer		};
176b9e67834SAndre Fischer	};
177b9e67834SAndre Fischer
178b9e67834SAndre Fischer	ToolBox TB_SCRIPT_SW
179b9e67834SAndre Fischer	{
180b9e67834SAndre Fischer		SVLook = TRUE ;
181*f79579d2SAndre Fischer		Pos = MAP_APPFONT (X0 + 1 , THIRD_LINE_Y) ;
182b9e67834SAndre Fischer		Size = MAP_APPFONT (TOOLBOX_ITEM_WIDTH * 2 ,TOOLBOX_ITEM_HEIGHT ) ;
183b9e67834SAndre Fischer		TabStop = TRUE ;
184b9e67834SAndre Fischer		HelpID = HID_PPROPERTYPANEL_TEXT_TBX_SCRIPT_SW;
185b9e67834SAndre Fischer		Text = "Font Position" ;
186b9e67834SAndre Fischer		ItemList =
187b9e67834SAndre Fischer		{
188b9e67834SAndre Fischer			ToolBoxItem
189b9e67834SAndre Fischer			{
190b9e67834SAndre Fischer				Identifier = TBI_SUPER_SW;
191b9e67834SAndre Fischer				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUPER_SW;
192b9e67834SAndre Fischer			};
193b9e67834SAndre Fischer			ToolBoxItem
194b9e67834SAndre Fischer			{
195b9e67834SAndre Fischer				Identifier = TBI_SUB_SW;
196b9e67834SAndre Fischer				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUB_SW;
197b9e67834SAndre Fischer			};
198b9e67834SAndre Fischer		};
199b9e67834SAndre Fischer	};
200b9e67834SAndre Fischer	ToolBox TB_SCRIPT
201b9e67834SAndre Fischer	{
202b9e67834SAndre Fischer		SVLook = TRUE ;
203*f79579d2SAndre Fischer		Pos = MAP_APPFONT (X0 + 1 , THIRD_LINE_Y) ;
204b9e67834SAndre Fischer		Size = MAP_APPFONT (TOOLBOX_ITEM_WIDTH * 2 ,TOOLBOX_ITEM_HEIGHT ) ;
205b9e67834SAndre Fischer		TabStop = TRUE ;
206b9e67834SAndre Fischer		HelpID = HID_PPROPERTYPANEL_TEXT_TBX_SCRIPT;
207b9e67834SAndre Fischer		Text = "Font Position" ;
208b9e67834SAndre Fischer		ItemList =
209b9e67834SAndre Fischer		{
210b9e67834SAndre Fischer			ToolBoxItem
211b9e67834SAndre Fischer			{
212b9e67834SAndre Fischer				Identifier = TBI_SUPER;
213b9e67834SAndre Fischer				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUPER;
214b9e67834SAndre Fischer			};
215b9e67834SAndre Fischer			ToolBoxItem
216b9e67834SAndre Fischer			{
217b9e67834SAndre Fischer				Identifier = TBI_SUB;
218b9e67834SAndre Fischer				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUB;
219b9e67834SAndre Fischer			};
220b9e67834SAndre Fischer		};
221b9e67834SAndre Fischer	};
222b9e67834SAndre Fischer
223b9e67834SAndre Fischer	ToolBox TB_SPACING
224b9e67834SAndre Fischer	{
225b9e67834SAndre Fischer		SVLook = TRUE ;
226*f79579d2SAndre Fischer		Pos = MAP_APPFONT (X1, THIRD_LINE_Y) ;
227b9e67834SAndre Fischer		Size = MAP_APPFONT (TOOLBOX_24_16_ITEM_DD_WIDTH, TOOLBOX_24_16_ITEM_HEIGHT ) ;
228b9e67834SAndre Fischer		TabStop = TRUE ;
229b9e67834SAndre Fischer		HelpID = HID_TB_SPACING;
230b9e67834SAndre Fischer		Text = "Character Spacing" ;
231b9e67834SAndre Fischer		ItemList =
232b9e67834SAndre Fischer		{
233b9e67834SAndre Fischer			ToolBoxItem
234b9e67834SAndre Fischer			{
235b9e67834SAndre Fischer				Identifier = TBI_SPACING;
236b9e67834SAndre Fischer				DropDown = TRUE ;
237b9e67834SAndre Fischer				HelpID = HID_TBI_SPACING;
238b9e67834SAndre Fischer			};
239b9e67834SAndre Fischer		};
240b9e67834SAndre Fischer	};
241b9e67834SAndre Fischer};
242b9e67834SAndre Fischer
243b9e67834SAndre FischerControl RID_POPUPPANEL_TEXTPAGE_UNDERLINE
244b9e67834SAndre Fischer{
245b9e67834SAndre Fischer	OutputSize = TRUE;
246b9e67834SAndre Fischer	DialogControl = TRUE;
247b9e67834SAndre Fischer	Border = FALSE;
248b9e67834SAndre Fischer
249d4aefcaeSZheng Fan	Size = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_UNDERLINE_WIDTH,  13+ VS_UNDERLINE_HEIGHT + POPUP_BORDER_HEIGHT + POPUPPANEL_MARGIN_SMALL * 2 + POPUPPANEL_MARGIN_LARGE);
250b9e67834SAndre Fischer	Control VS_UNDERLINE
251b9e67834SAndre Fischer	{
252b9e67834SAndre Fischer		HelpID = HID_PPROPERTYPANEL_TEXT_UNDERLINE_VS;
253b9e67834SAndre Fischer        Hide = TRUE ;
254b9e67834SAndre Fischer        Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
255d4aefcaeSZheng Fan        Size = MAP_APPFONT ( VS_UNDERLINE_WIDTH  ,VS_UNDERLINE_HEIGHT);
256b9e67834SAndre Fischer		TabStop = TRUE ;
257b9e67834SAndre Fischer		Text = "Underline";
258b9e67834SAndre Fischer	};
259b9e67834SAndre Fischer
260b9e67834SAndre Fischer	PushButton PB_OPTIONS
261b9e67834SAndre Fischer	{
262b9e67834SAndre Fischer		HelpID = HID_UNDERLINE_BTN;
263d4aefcaeSZheng Fan		Pos = MAP_APPFONT (  POPUPPANEL_MARGIN_SMALL + OFFSET_X  , POPUPPANEL_MARGIN_SMALL * 2 + OFFSET_Y + VS_UNDERLINE_HEIGHT );
264d4aefcaeSZheng Fan		Size = MAP_APPFONT ( VS_UNDERLINE_WIDTH, 13 );
265b9e67834SAndre Fischer		TabStop = TRUE;
266b9e67834SAndre Fischer		Text [ en-US ] = "~More Options...";
267b9e67834SAndre Fischer	};
268b9e67834SAndre Fischer
269b9e67834SAndre Fischer
270b9e67834SAndre Fischer	Image IMG_SINGLE
271b9e67834SAndre Fischer	{
2727c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line1.bmp";};
273b9e67834SAndre Fischer	};
274b9e67834SAndre Fischer	Image IMG_DOUBLE
275b9e67834SAndre Fischer	{
2767c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line2.bmp";};
277b9e67834SAndre Fischer	};
278b9e67834SAndre Fischer	Image IMG_BOLD2
279b9e67834SAndre Fischer	{
2807c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line3.bmp";};
281b9e67834SAndre Fischer	};
282b9e67834SAndre Fischer	Image IMG_DOT
283b9e67834SAndre Fischer	{
2847c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line4.bmp";};
285b9e67834SAndre Fischer	};
286b9e67834SAndre Fischer	Image IMG_DOT_BOLD
287b9e67834SAndre Fischer	{
2887c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line5.bmp";};
289b9e67834SAndre Fischer	};
290b9e67834SAndre Fischer	Image IMG_DASH
291b9e67834SAndre Fischer	{
2927c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line6.bmp";};
293b9e67834SAndre Fischer	};
294b9e67834SAndre Fischer	Image IMG_DASH_LONG
295b9e67834SAndre Fischer	{
2967c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line7.bmp";};
297b9e67834SAndre Fischer	};
298b9e67834SAndre Fischer	Image IMG_DASH_DOT
299b9e67834SAndre Fischer	{
3007c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line8.bmp";};
301b9e67834SAndre Fischer	};
302b9e67834SAndre Fischer	Image IMG_DASH_DOT_DOT
303b9e67834SAndre Fischer	{
3047c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line9.bmp";};
305b9e67834SAndre Fischer	};
306b9e67834SAndre Fischer	Image IMG_WAVE
307b9e67834SAndre Fischer	{
3087c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line10.bmp";};
309b9e67834SAndre Fischer	};
310b9e67834SAndre Fischer
311b9e67834SAndre Fischer	//high contract
312b9e67834SAndre Fischer	Image IMG_SINGLE_H
313b9e67834SAndre Fischer	{
3147c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line1_h.bmp";};
315b9e67834SAndre Fischer	};
316b9e67834SAndre Fischer	Image IMG_DOUBLE_H
317b9e67834SAndre Fischer	{
3187c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line2_h.bmp";};
319b9e67834SAndre Fischer	};
320b9e67834SAndre Fischer	Image IMG_BOLD2_H
321b9e67834SAndre Fischer	{
3227c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line3_h.bmp";};
323b9e67834SAndre Fischer	};
324b9e67834SAndre Fischer	Image IMG_DOT_H
325b9e67834SAndre Fischer	{
3267c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line4_h.bmp";};
327b9e67834SAndre Fischer	};
328b9e67834SAndre Fischer	Image IMG_DOT_BOLD_H
329b9e67834SAndre Fischer	{
3307c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line5_h.bmp";};
331b9e67834SAndre Fischer	};
332b9e67834SAndre Fischer	Image IMG_DASH_H
333b9e67834SAndre Fischer	{
3347c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line6_h.bmp";};
335b9e67834SAndre Fischer	};
336b9e67834SAndre Fischer	Image IMG_DASH_LONG_H
337b9e67834SAndre Fischer	{
3387c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line7_h.bmp";};
339b9e67834SAndre Fischer	};
340b9e67834SAndre Fischer	Image IMG_DASH_DOT_H
341b9e67834SAndre Fischer	{
3427c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line8_h.bmp";};
343b9e67834SAndre Fischer	};
344b9e67834SAndre Fischer	Image IMG_DASH_DOT_DOT_H
345b9e67834SAndre Fischer	{
3467c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line9_h.bmp";};
347b9e67834SAndre Fischer	};
348b9e67834SAndre Fischer	Image IMG_WAVE_H
349b9e67834SAndre Fischer	{
3507c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/line10_h.bmp";};
351b9e67834SAndre Fischer	};
352b9e67834SAndre Fischer
353b9e67834SAndre Fischer	//image when selected
354b9e67834SAndre Fischer	Image IMG_SINGLE_SEL
355b9e67834SAndre Fischer	{
3567c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/selected-line1.bmp";};
357b9e67834SAndre Fischer	};
358b9e67834SAndre Fischer	Image IMG_DOUBLE_SEL
359b9e67834SAndre Fischer	{
3607c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/selected-line2.bmp";};
361b9e67834SAndre Fischer	};
362b9e67834SAndre Fischer	Image IMG_BOLD2_SEL
363b9e67834SAndre Fischer	{
3647c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/selected-line3.bmp";};
365b9e67834SAndre Fischer	};
366b9e67834SAndre Fischer	Image IMG_DOT_SEL
367b9e67834SAndre Fischer	{
3687c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/selected-line4.bmp";};
369b9e67834SAndre Fischer	};
370b9e67834SAndre Fischer	Image IMG_DOT_BOLD_SEL
371b9e67834SAndre Fischer	{
3727c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/selected-line5.bmp";};
373b9e67834SAndre Fischer	};
374b9e67834SAndre Fischer	Image IMG_DASH_SEL
375b9e67834SAndre Fischer	{
3767c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/selected-line6.bmp";};
377b9e67834SAndre Fischer	};
378b9e67834SAndre Fischer	Image IMG_DASH_LONG_SEL
379b9e67834SAndre Fischer	{
3807c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/selected-line7.bmp";};
381b9e67834SAndre Fischer	};
382b9e67834SAndre Fischer	Image IMG_DASH_DOT_SEL
383b9e67834SAndre Fischer	{
3847c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/selected-line8.bmp";};
385b9e67834SAndre Fischer	};
386b9e67834SAndre Fischer	Image IMG_DASH_DOT_DOT_SEL
387b9e67834SAndre Fischer	{
3887c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/selected-line9.bmp";};
389b9e67834SAndre Fischer	};
390b9e67834SAndre Fischer	Image IMG_WAVE_SEL
391b9e67834SAndre Fischer	{
3927c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/selected-line10.bmp";};
393b9e67834SAndre Fischer	};
394b9e67834SAndre Fischer
395b9e67834SAndre Fischer	//tips
396b9e67834SAndre Fischer	String STR_SINGLE
397b9e67834SAndre Fischer	{
398b9e67834SAndre Fischer		Text [ en-US ] = "Single";
399b9e67834SAndre Fischer	};
400b9e67834SAndre Fischer	String STR_DOUBLE
401b9e67834SAndre Fischer	{
402b9e67834SAndre Fischer		Text [ en-US ] = "Double";
403b9e67834SAndre Fischer	};
404b9e67834SAndre Fischer	String STR_BOLD
405b9e67834SAndre Fischer	{
406b9e67834SAndre Fischer		Text [ en-US ] = "Bold";
407b9e67834SAndre Fischer	};
408b9e67834SAndre Fischer	String STR_DOT
409b9e67834SAndre Fischer	{
410b9e67834SAndre Fischer		Text [ en-US ] = "Dotted";
411b9e67834SAndre Fischer	};
412b9e67834SAndre Fischer	String STR_DOT_BOLD
413b9e67834SAndre Fischer	{
414b9e67834SAndre Fischer		Text [ en-US ] = "Dotted (Bold)";
415b9e67834SAndre Fischer	};
416b9e67834SAndre Fischer	String STR_DASH
417b9e67834SAndre Fischer	{
418b9e67834SAndre Fischer		Text [ en-US ] = "Dash";
419b9e67834SAndre Fischer	};
420b9e67834SAndre Fischer	String STR_DASH_LONG
421b9e67834SAndre Fischer	{
422b9e67834SAndre Fischer		Text [ en-US ] = "Long Dash";
423b9e67834SAndre Fischer	};
424b9e67834SAndre Fischer	String STR_DASH_DOT
425b9e67834SAndre Fischer	{
426b9e67834SAndre Fischer		Text [ en-US ] = "Dot Dash";
427b9e67834SAndre Fischer	};
428b9e67834SAndre Fischer	String STR_DASH_DOT_DOT
429b9e67834SAndre Fischer	{
430b9e67834SAndre Fischer		Text [ en-US ] = "Dot Dot Dash";
431b9e67834SAndre Fischer	};
432b9e67834SAndre Fischer	String STR_WAVE
433b9e67834SAndre Fischer	{
434b9e67834SAndre Fischer		Text [ en-US ] = "Wave";
435b9e67834SAndre Fischer	};
436b9e67834SAndre Fischer
437b9e67834SAndre Fischer};
438b9e67834SAndre Fischer
439b9e67834SAndre Fischer
440b9e67834SAndre FischerControl RID_POPUPPANEL_TEXTPAGE_FONT_COLOR
441b9e67834SAndre Fischer{
442b9e67834SAndre Fischer	OutputSize = TRUE;
443b9e67834SAndre Fischer	DialogControl = TRUE;
444b9e67834SAndre Fischer	Border = FALSE;
445b9e67834SAndre Fischer	Size = MAP_APPFONT(  POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT  );
446b9e67834SAndre Fischer
447b9e67834SAndre Fischer	Control VS_FONT_COLOR
448b9e67834SAndre Fischer	{
449b9e67834SAndre Fischer		HelpID = HID_PPROPERTYPANEL_TEXT_COLOR_VS;
450b9e67834SAndre Fischer        Hide = TRUE ;
451b9e67834SAndre Fischer        Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y );
452b9e67834SAndre Fischer        Size = MAP_APPFONT (  POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2);
453b9e67834SAndre Fischer		TabStop = TRUE ;
454b9e67834SAndre Fischer		Text = "Color Picker";
455b9e67834SAndre Fischer	};
456b9e67834SAndre Fischer	String STR_AUTOMATICE
457b9e67834SAndre Fischer	{
458b9e67834SAndre Fischer		Text [ en-US ] = "Automatic";
459b9e67834SAndre Fischer	};
460b9e67834SAndre Fischer};
461b9e67834SAndre Fischer
462b9e67834SAndre FischerControl RID_POPUPPANEL_TEXTPAGE_SPACING
463b9e67834SAndre Fischer{
464b9e67834SAndre Fischer	OutputSize = TRUE;
465b9e67834SAndre Fischer	DialogControl = TRUE;
466b9e67834SAndre Fischer	Border = FALSE;
467b9e67834SAndre Fischer
468b9e67834SAndre Fischer	Size = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_SPACING_WIDTH , POPUPPANEL_MARGIN_SMALL * 3 + 15 * 6 + CUSTOM_HEIGHT + TEXT_HEIGHT + POPUPPANEL_MARGIN_LARGE + POPUP_BORDER_WIDTH + 1);
469b9e67834SAndre Fischer
470b9e67834SAndre Fischer	Control VS_SPACING
471b9e67834SAndre Fischer	{
472b9e67834SAndre Fischer		HelpId = HID_PPROPERTYPANEL_TEXT_SPACING_VS ;
473b9e67834SAndre Fischer        Hide = TRUE ;
474b9e67834SAndre Fischer        Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
475b9e67834SAndre Fischer        Size = MAP_APPFONT ( VS_SPACING_WIDTH  , 15 * 6);
476b9e67834SAndre Fischer		TabStop = TRUE ;
477b9e67834SAndre Fischer		Text  = "Character Spacing";
478b9e67834SAndre Fischer	};
479b9e67834SAndre Fischer
480b9e67834SAndre Fischer    FixedText FT_LASTCUSTOM
481b9e67834SAndre Fischer    {
482b9e67834SAndre Fischer		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X ,POPUPPANEL_MARGIN_SMALL + OFFSET_Y + POPUPPANEL_MARGIN_SMALL + 15 * 6) ;
483b9e67834SAndre Fischer        Size = MAP_APPFONT ( CUSTOM_WIDTH , TEXT_HEIGHT );
484b9e67834SAndre Fischer        Left = TRUE ;
485b9e67834SAndre Fischer        Text [ en-US ] = "Custom:" ;
486b9e67834SAndre Fischer    };
487b9e67834SAndre Fischer    //custom area
488b9e67834SAndre Fischer	FixedText	FT_SPACING
489b9e67834SAndre Fischer	{
490b9e67834SAndre Fischer		Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE);
491b9e67834SAndre Fischer        Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , TEXT_HEIGHT );
492b9e67834SAndre Fischer        Left = TRUE ;
493b9e67834SAndre Fischer        Text [ en-US ] = "~Character spacing: " ;
494b9e67834SAndre Fischer	};
495b9e67834SAndre Fischer	ListBox LB_KERNING
496b9e67834SAndre Fischer	{
497b9e67834SAndre Fischer		Border = TRUE;
498b9e67834SAndre Fischer        Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE + TEXT_HEIGHT + POPUPPANEL_MARGIN_SMALL);//20
499b9e67834SAndre Fischer		Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , 80 ) ;
500b9e67834SAndre Fischer		TabStop = TRUE;
501b9e67834SAndre Fischer		DropDown = TRUE ;
502b9e67834SAndre Fischer		HelpID = HID_SPACING_CB_KERN;
503b9e67834SAndre Fischer		StringList [ en-US ] =
504b9e67834SAndre Fischer		{
505b9e67834SAndre Fischer			< "Default" ; Default ; > ;
506b9e67834SAndre Fischer			< "Expanded" ; Default ; > ;
507b9e67834SAndre Fischer			< "Condensed" ; Default ; > ;
508b9e67834SAndre Fischer		};
509b9e67834SAndre Fischer	};
510b9e67834SAndre Fischer	FixedText	FT_BY
511b9e67834SAndre Fischer	{
512b9e67834SAndre Fischer		Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE * 2 + TEXT_HEIGHT + POPUPPANEL_MARGIN_SMALL + CBOX_HEIGHT );
513b9e67834SAndre Fischer        Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , TEXT_HEIGHT );
514b9e67834SAndre Fischer        Left = TRUE ;
515b9e67834SAndre Fischer        Text [ en-US ] = "Change ~by: " ;
516b9e67834SAndre Fischer	};
517b9e67834SAndre Fischer	MetricField ED_KERNING
518b9e67834SAndre Fischer	{
519b9e67834SAndre Fischer		HelpID = HID_SPACING_MB_KERN;
520b9e67834SAndre Fischer		Border = TRUE;
521b9e67834SAndre Fischer        Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE * 2 + TEXT_HEIGHT * 2 + POPUPPANEL_MARGIN_SMALL * 2 + CBOX_HEIGHT);//60
522b9e67834SAndre Fischer        Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , MBOX_HEIGHT );
523b9e67834SAndre Fischer		TabStop = TRUE;
524b9e67834SAndre Fischer		Repeat = TRUE ;
525b9e67834SAndre Fischer		Spin = TRUE ;
526b9e67834SAndre Fischer		Maximum = 9999 ;
527b9e67834SAndre Fischer		DecimalDigits = 1 ;
528b9e67834SAndre Fischer		Unit = FUNIT_POINT ;
529b9e67834SAndre Fischer		SpinSize = 10 ;
530b9e67834SAndre Fischer	};
531b9e67834SAndre Fischer
532b9e67834SAndre Fischer	Image IMG_NORMAL
533b9e67834SAndre Fischer	{
5347c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_normal.bmp" ;};//"spacing_normal.bmp"
535b9e67834SAndre Fischer	};
536b9e67834SAndre Fischer	Image IMG_VERY_TIGHT
537b9e67834SAndre Fischer	{
5387c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_very tight.bmp";};
539b9e67834SAndre Fischer	};
540b9e67834SAndre Fischer	Image IMG_TIGHT
541b9e67834SAndre Fischer	{
5427c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_tight.bmp";};
543b9e67834SAndre Fischer	};
544b9e67834SAndre Fischer	Image IMG_LOOSE
545b9e67834SAndre Fischer	{
5467c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_loose.bmp";};
547b9e67834SAndre Fischer	};
548b9e67834SAndre Fischer	Image IMG_VERY_LOOSE
549b9e67834SAndre Fischer	{
5507c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_very loose.bmp";};
551b9e67834SAndre Fischer	};
552b9e67834SAndre Fischer
553b9e67834SAndre Fischer	Image IMG_NORMAL_S
554b9e67834SAndre Fischer	{
5557c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_normal_s.bmp";};
556b9e67834SAndre Fischer	};
557b9e67834SAndre Fischer	Image IMG_VERY_TIGHT_S
558b9e67834SAndre Fischer	{
5597c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_very tight_s.bmp";};
560b9e67834SAndre Fischer	};
561b9e67834SAndre Fischer	Image IMG_TIGHT_S
562b9e67834SAndre Fischer	{
5637c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_tight_s.bmp";};
564b9e67834SAndre Fischer	};
565b9e67834SAndre Fischer	Image IMG_LOOSE_S
566b9e67834SAndre Fischer	{
5677c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_loose_s.bmp";};
568b9e67834SAndre Fischer	};
569b9e67834SAndre Fischer	Image IMG_VERY_LOOSE_S
570b9e67834SAndre Fischer	{
5717c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_very loose_s.bmp";};
572b9e67834SAndre Fischer	};
573b9e67834SAndre Fischer
574b9e67834SAndre Fischer	Image IMG_CUSTOM
575b9e67834SAndre Fischer	{
5767c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/last_custom_common.png";};
577b9e67834SAndre Fischer	};
578b9e67834SAndre Fischer	Image IMG_CUSTOM_GRAY
579b9e67834SAndre Fischer	{
5807c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/last_custom_common_grey.png";};
581b9e67834SAndre Fischer	};
582b9e67834SAndre Fischer
583b9e67834SAndre Fischer	String STR_VERY_TIGHT
584b9e67834SAndre Fischer	{
585b9e67834SAndre Fischer		Text [ en-US ] = "Very Tight";
586b9e67834SAndre Fischer	};
587b9e67834SAndre Fischer	String STR_TIGHT
588b9e67834SAndre Fischer	{
589b9e67834SAndre Fischer		Text [ en-US ] = "Tight";
590b9e67834SAndre Fischer	};
591b9e67834SAndre Fischer	String STR_NORMAL
592b9e67834SAndre Fischer	{
593b9e67834SAndre Fischer		Text [ en-US ] = "Normal";
594b9e67834SAndre Fischer	};
595b9e67834SAndre Fischer	String STR_LOOSE
596b9e67834SAndre Fischer	{
597b9e67834SAndre Fischer		Text [ en-US ] = "Loose";
598b9e67834SAndre Fischer	};
599b9e67834SAndre Fischer	String STR_VERY_LOOSE
600b9e67834SAndre Fischer	{
601b9e67834SAndre Fischer		Text [ en-US ] = "Very Loose";
602b9e67834SAndre Fischer	};
603b9e67834SAndre Fischer	String STR_CUSTOM
604b9e67834SAndre Fischer	{
605b9e67834SAndre Fischer		Text [ en-US ] = "Last Custom Value";
606b9e67834SAndre Fischer	};
607b9e67834SAndre Fischer
608b9e67834SAndre Fischer	String STR_VERY_TIGHT_TIP
609b9e67834SAndre Fischer	{
610b9e67834SAndre Fischer		Text [ en-US ] = " Spacing: Condensed By: 3pt";
611b9e67834SAndre Fischer	};
612b9e67834SAndre Fischer	String STR_TIGHT_TIP
613b9e67834SAndre Fischer	{
614b9e67834SAndre Fischer		Text [ en-US ] = " Spacing: Condensed By: 1.5pt";
615b9e67834SAndre Fischer	};
616b9e67834SAndre Fischer	String STR_NORMAL_TIP
617b9e67834SAndre Fischer	{
618b9e67834SAndre Fischer		Text [ en-US ] = " Spacing: Normal";
619b9e67834SAndre Fischer	};
620b9e67834SAndre Fischer	String STR_LOOSE_TIP
621b9e67834SAndre Fischer	{
622b9e67834SAndre Fischer		Text [ en-US ] = " Spacing: Expanded By: 3pt";
623b9e67834SAndre Fischer	};
624b9e67834SAndre Fischer	String STR_VERY_LOOSE_TIP
625b9e67834SAndre Fischer	{
626b9e67834SAndre Fischer		Text [ en-US ] = " Spacing: Expanded By: 6pt";
627b9e67834SAndre Fischer	};
628b9e67834SAndre Fischer	String STR_CUSTOM_C_TIP
629b9e67834SAndre Fischer	{
630b9e67834SAndre Fischer		Text [ en-US ] = " Spacing: Condensed By: ";
631b9e67834SAndre Fischer	};
632b9e67834SAndre Fischer	String STR_CUSTOM_E_TIP
633b9e67834SAndre Fischer	{
634b9e67834SAndre Fischer		Text [ en-US ] = " Spacing: Expanded By: ";
635b9e67834SAndre Fischer	};
636b9e67834SAndre Fischer	String STR_PT
637b9e67834SAndre Fischer	{
638b9e67834SAndre Fischer		Text[ en-US ] = "pt";
639b9e67834SAndre Fischer	};
640b9e67834SAndre Fischer};
641