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"
23d29c2fc2SAndre Fischer#include <sfx2/sidebar/ResourceDefinitions.hrc>
24b9e67834SAndre Fischer#include "helpid.hrc"
25b9e67834SAndre Fischer
26b9e67834SAndre Fischer#define CONTROL_HEIGHT_FONT_NAME  		250
27b9e67834SAndre Fischer#define CONTROL_HEIGHT_FONT_SIZE		180
28f79579d2SAndre Fischer#define FONTSIZE_WIDTH					(TOOLBOX_ITEM_WIDTH * 2 - 1)
29f79579d2SAndre 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
38f79579d2SAndre Fischer#define X0                      SECTIONPAGE_MARGIN_HORIZONTAL
39f79579d2SAndre Fischer#define X1                      SECTIONPAGE_MARGIN_HORIZONTAL + 1 + TOOLBOX_ITEM_WIDTH * 2  + 4
40f79579d2SAndre Fischer#define X2                      (PROPERTYPAGE_WIDTH - (FONTSIZE_WIDTH))
41f79579d2SAndre Fischer#define X3                      (X2 - (TOOLBOX_ITEM_DD_WIDTH) - 2)
42f79579d2SAndre Fischer
43f79579d2SAndre Fischer#define FIRST_LINE_Y            SECTIONPAGE_MARGIN_VERTICAL_TOP
44f79579d2SAndre Fischer#define SECOND_LINE_Y           FIRST_LINE_Y + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL  + 1
45f79579d2SAndre Fischer#define THIRD_LINE_Y            SECOND_LINE_Y + CONTROL_SPACING_VERTICAL + (TOOLBOX_ITEM_HEIGHT + 2)
46f79579d2SAndre Fischer
47f79579d2SAndre 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;
61f79579d2SAndre Fischer		Pos = MAP_APPFONT (X0 , FIRST_LINE_Y);
62f79579d2SAndre 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;
71f79579d2SAndre Fischer		Pos = MAP_APPFONT (X2, FIRST_LINE_Y);
72f79579d2SAndre 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 ;
82f79579d2SAndre 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 ;
104f79579d2SAndre 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 ;
144f79579d2SAndre 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 ;
162f79579d2SAndre 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 ;
181f79579d2SAndre 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 ;
203f79579d2SAndre 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 ;
226f79579d2SAndre 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
395*a3586beeSOliver-Rainer Wittmann	String STR_WITHOUT
396*a3586beeSOliver-Rainer Wittmann	{
397*a3586beeSOliver-Rainer Wittmann		Text [ en-US ] = "(Without)";
398*a3586beeSOliver-Rainer Wittmann	};
399*a3586beeSOliver-Rainer Wittmann
400b9e67834SAndre Fischer	//tips
401b9e67834SAndre Fischer	String STR_SINGLE
402b9e67834SAndre Fischer	{
403b9e67834SAndre Fischer		Text [ en-US ] = "Single";
404b9e67834SAndre Fischer	};
405b9e67834SAndre Fischer	String STR_DOUBLE
406b9e67834SAndre Fischer	{
407b9e67834SAndre Fischer		Text [ en-US ] = "Double";
408b9e67834SAndre Fischer	};
409b9e67834SAndre Fischer	String STR_BOLD
410b9e67834SAndre Fischer	{
411b9e67834SAndre Fischer		Text [ en-US ] = "Bold";
412b9e67834SAndre Fischer	};
413b9e67834SAndre Fischer	String STR_DOT
414b9e67834SAndre Fischer	{
415b9e67834SAndre Fischer		Text [ en-US ] = "Dotted";
416b9e67834SAndre Fischer	};
417b9e67834SAndre Fischer	String STR_DOT_BOLD
418b9e67834SAndre Fischer	{
419b9e67834SAndre Fischer		Text [ en-US ] = "Dotted (Bold)";
420b9e67834SAndre Fischer	};
421b9e67834SAndre Fischer	String STR_DASH
422b9e67834SAndre Fischer	{
423b9e67834SAndre Fischer		Text [ en-US ] = "Dash";
424b9e67834SAndre Fischer	};
425b9e67834SAndre Fischer	String STR_DASH_LONG
426b9e67834SAndre Fischer	{
427b9e67834SAndre Fischer		Text [ en-US ] = "Long Dash";
428b9e67834SAndre Fischer	};
429b9e67834SAndre Fischer	String STR_DASH_DOT
430b9e67834SAndre Fischer	{
431b9e67834SAndre Fischer		Text [ en-US ] = "Dot Dash";
432b9e67834SAndre Fischer	};
433b9e67834SAndre Fischer	String STR_DASH_DOT_DOT
434b9e67834SAndre Fischer	{
435b9e67834SAndre Fischer		Text [ en-US ] = "Dot Dot Dash";
436b9e67834SAndre Fischer	};
437b9e67834SAndre Fischer	String STR_WAVE
438b9e67834SAndre Fischer	{
439b9e67834SAndre Fischer		Text [ en-US ] = "Wave";
440b9e67834SAndre Fischer	};
441b9e67834SAndre Fischer
442b9e67834SAndre Fischer};
443b9e67834SAndre Fischer
444b9e67834SAndre Fischer
445b9e67834SAndre FischerControl RID_POPUPPANEL_TEXTPAGE_FONT_COLOR
446b9e67834SAndre Fischer{
447b9e67834SAndre Fischer	OutputSize = TRUE;
448b9e67834SAndre Fischer	DialogControl = TRUE;
449b9e67834SAndre Fischer	Border = FALSE;
450b9e67834SAndre Fischer	Size = MAP_APPFONT(  POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT  );
451b9e67834SAndre Fischer
452b9e67834SAndre Fischer	Control VS_FONT_COLOR
453b9e67834SAndre Fischer	{
454b9e67834SAndre Fischer		HelpID = HID_PPROPERTYPANEL_TEXT_COLOR_VS;
455b9e67834SAndre Fischer        Hide = TRUE ;
456b9e67834SAndre Fischer        Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y );
457b9e67834SAndre Fischer        Size = MAP_APPFONT (  POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2);
458b9e67834SAndre Fischer		TabStop = TRUE ;
459b9e67834SAndre Fischer		Text = "Color Picker";
460b9e67834SAndre Fischer	};
461b9e67834SAndre Fischer	String STR_AUTOMATICE
462b9e67834SAndre Fischer	{
463b9e67834SAndre Fischer		Text [ en-US ] = "Automatic";
464b9e67834SAndre Fischer	};
465b9e67834SAndre Fischer};
466b9e67834SAndre Fischer
467b9e67834SAndre FischerControl RID_POPUPPANEL_TEXTPAGE_SPACING
468b9e67834SAndre Fischer{
469b9e67834SAndre Fischer	OutputSize = TRUE;
470b9e67834SAndre Fischer	DialogControl = TRUE;
471b9e67834SAndre Fischer	Border = FALSE;
472b9e67834SAndre Fischer
473b9e67834SAndre 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);
474b9e67834SAndre Fischer
475b9e67834SAndre Fischer	Control VS_SPACING
476b9e67834SAndre Fischer	{
477b9e67834SAndre Fischer		HelpId = HID_PPROPERTYPANEL_TEXT_SPACING_VS ;
478b9e67834SAndre Fischer        Hide = TRUE ;
479b9e67834SAndre Fischer        Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
480b9e67834SAndre Fischer        Size = MAP_APPFONT ( VS_SPACING_WIDTH  , 15 * 6);
481b9e67834SAndre Fischer		TabStop = TRUE ;
482b9e67834SAndre Fischer		Text  = "Character Spacing";
483b9e67834SAndre Fischer	};
484b9e67834SAndre Fischer
485b9e67834SAndre Fischer    FixedText FT_LASTCUSTOM
486b9e67834SAndre Fischer    {
487b9e67834SAndre Fischer		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X ,POPUPPANEL_MARGIN_SMALL + OFFSET_Y + POPUPPANEL_MARGIN_SMALL + 15 * 6) ;
488b9e67834SAndre Fischer        Size = MAP_APPFONT ( CUSTOM_WIDTH , TEXT_HEIGHT );
489b9e67834SAndre Fischer        Left = TRUE ;
490b9e67834SAndre Fischer        Text [ en-US ] = "Custom:" ;
491b9e67834SAndre Fischer    };
492b9e67834SAndre Fischer    //custom area
493b9e67834SAndre Fischer	FixedText	FT_SPACING
494b9e67834SAndre Fischer	{
495b9e67834SAndre Fischer		Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE);
496b9e67834SAndre Fischer        Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , TEXT_HEIGHT );
497b9e67834SAndre Fischer        Left = TRUE ;
498b9e67834SAndre Fischer        Text [ en-US ] = "~Character spacing: " ;
499b9e67834SAndre Fischer	};
500b9e67834SAndre Fischer	ListBox LB_KERNING
501b9e67834SAndre Fischer	{
502b9e67834SAndre Fischer		Border = TRUE;
503b9e67834SAndre Fischer        Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE + TEXT_HEIGHT + POPUPPANEL_MARGIN_SMALL);//20
504b9e67834SAndre Fischer		Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , 80 ) ;
505b9e67834SAndre Fischer		TabStop = TRUE;
506b9e67834SAndre Fischer		DropDown = TRUE ;
507b9e67834SAndre Fischer		HelpID = HID_SPACING_CB_KERN;
508b9e67834SAndre Fischer		StringList [ en-US ] =
509b9e67834SAndre Fischer		{
510b9e67834SAndre Fischer			< "Default" ; Default ; > ;
511b9e67834SAndre Fischer			< "Expanded" ; Default ; > ;
512b9e67834SAndre Fischer			< "Condensed" ; Default ; > ;
513b9e67834SAndre Fischer		};
514b9e67834SAndre Fischer	};
515b9e67834SAndre Fischer	FixedText	FT_BY
516b9e67834SAndre Fischer	{
517b9e67834SAndre Fischer		Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE * 2 + TEXT_HEIGHT + POPUPPANEL_MARGIN_SMALL + CBOX_HEIGHT );
518b9e67834SAndre Fischer        Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , TEXT_HEIGHT );
519b9e67834SAndre Fischer        Left = TRUE ;
520b9e67834SAndre Fischer        Text [ en-US ] = "Change ~by: " ;
521b9e67834SAndre Fischer	};
522b9e67834SAndre Fischer	MetricField ED_KERNING
523b9e67834SAndre Fischer	{
524b9e67834SAndre Fischer		HelpID = HID_SPACING_MB_KERN;
525b9e67834SAndre Fischer		Border = TRUE;
526b9e67834SAndre 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
527b9e67834SAndre Fischer        Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , MBOX_HEIGHT );
528b9e67834SAndre Fischer		TabStop = TRUE;
529b9e67834SAndre Fischer		Repeat = TRUE ;
530b9e67834SAndre Fischer		Spin = TRUE ;
531b9e67834SAndre Fischer		Maximum = 9999 ;
532b9e67834SAndre Fischer		DecimalDigits = 1 ;
533b9e67834SAndre Fischer		Unit = FUNIT_POINT ;
534b9e67834SAndre Fischer		SpinSize = 10 ;
535b9e67834SAndre Fischer	};
536b9e67834SAndre Fischer
537b9e67834SAndre Fischer	Image IMG_NORMAL
538b9e67834SAndre Fischer	{
5397c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_normal.bmp" ;};//"spacing_normal.bmp"
540b9e67834SAndre Fischer	};
541b9e67834SAndre Fischer	Image IMG_VERY_TIGHT
542b9e67834SAndre Fischer	{
5437c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_very tight.bmp";};
544b9e67834SAndre Fischer	};
545b9e67834SAndre Fischer	Image IMG_TIGHT
546b9e67834SAndre Fischer	{
5477c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_tight.bmp";};
548b9e67834SAndre Fischer	};
549b9e67834SAndre Fischer	Image IMG_LOOSE
550b9e67834SAndre Fischer	{
5517c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_loose.bmp";};
552b9e67834SAndre Fischer	};
553b9e67834SAndre Fischer	Image IMG_VERY_LOOSE
554b9e67834SAndre Fischer	{
5557c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_very loose.bmp";};
556b9e67834SAndre Fischer	};
557b9e67834SAndre Fischer
558b9e67834SAndre Fischer	Image IMG_NORMAL_S
559b9e67834SAndre Fischer	{
5607c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_normal_s.bmp";};
561b9e67834SAndre Fischer	};
562b9e67834SAndre Fischer	Image IMG_VERY_TIGHT_S
563b9e67834SAndre Fischer	{
5647c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_very tight_s.bmp";};
565b9e67834SAndre Fischer	};
566b9e67834SAndre Fischer	Image IMG_TIGHT_S
567b9e67834SAndre Fischer	{
5687c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_tight_s.bmp";};
569b9e67834SAndre Fischer	};
570b9e67834SAndre Fischer	Image IMG_LOOSE_S
571b9e67834SAndre Fischer	{
5727c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_loose_s.bmp";};
573b9e67834SAndre Fischer	};
574b9e67834SAndre Fischer	Image IMG_VERY_LOOSE_S
575b9e67834SAndre Fischer	{
5767c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/spacing_very loose_s.bmp";};
577b9e67834SAndre Fischer	};
578b9e67834SAndre Fischer
579b9e67834SAndre Fischer	Image IMG_CUSTOM
580b9e67834SAndre Fischer	{
5817c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/last_custom_common.png";};
582b9e67834SAndre Fischer	};
583b9e67834SAndre Fischer	Image IMG_CUSTOM_GRAY
584b9e67834SAndre Fischer	{
5857c526447SAndre Fischer		ImageBitmap = Bitmap{File = "symphony/last_custom_common_grey.png";};
586b9e67834SAndre Fischer	};
587b9e67834SAndre Fischer
588b9e67834SAndre Fischer	String STR_VERY_TIGHT
589b9e67834SAndre Fischer	{
590b9e67834SAndre Fischer		Text [ en-US ] = "Very Tight";
591b9e67834SAndre Fischer	};
592b9e67834SAndre Fischer	String STR_TIGHT
593b9e67834SAndre Fischer	{
594b9e67834SAndre Fischer		Text [ en-US ] = "Tight";
595b9e67834SAndre Fischer	};
596b9e67834SAndre Fischer	String STR_NORMAL
597b9e67834SAndre Fischer	{
598b9e67834SAndre Fischer		Text [ en-US ] = "Normal";
599b9e67834SAndre Fischer	};
600b9e67834SAndre Fischer	String STR_LOOSE
601b9e67834SAndre Fischer	{
602b9e67834SAndre Fischer		Text [ en-US ] = "Loose";
603b9e67834SAndre Fischer	};
604b9e67834SAndre Fischer	String STR_VERY_LOOSE
605b9e67834SAndre Fischer	{
606b9e67834SAndre Fischer		Text [ en-US ] = "Very Loose";
607b9e67834SAndre Fischer	};
608b9e67834SAndre Fischer	String STR_CUSTOM
609b9e67834SAndre Fischer	{
610b9e67834SAndre Fischer		Text [ en-US ] = "Last Custom Value";
611b9e67834SAndre Fischer	};
612b9e67834SAndre Fischer
613b9e67834SAndre Fischer	String STR_VERY_TIGHT_TIP
614b9e67834SAndre Fischer	{
615b9e67834SAndre Fischer		Text [ en-US ] = " Spacing: Condensed By: 3pt";
616b9e67834SAndre Fischer	};
617b9e67834SAndre Fischer	String STR_TIGHT_TIP
618b9e67834SAndre Fischer	{
619b9e67834SAndre Fischer		Text [ en-US ] = " Spacing: Condensed By: 1.5pt";
620b9e67834SAndre Fischer	};
621b9e67834SAndre Fischer	String STR_NORMAL_TIP
622b9e67834SAndre Fischer	{
623b9e67834SAndre Fischer		Text [ en-US ] = " Spacing: Normal";
624b9e67834SAndre Fischer	};
625b9e67834SAndre Fischer	String STR_LOOSE_TIP
626b9e67834SAndre Fischer	{
627b9e67834SAndre Fischer		Text [ en-US ] = " Spacing: Expanded By: 3pt";
628b9e67834SAndre Fischer	};
629b9e67834SAndre Fischer	String STR_VERY_LOOSE_TIP
630b9e67834SAndre Fischer	{
631b9e67834SAndre Fischer		Text [ en-US ] = " Spacing: Expanded By: 6pt";
632b9e67834SAndre Fischer	};
633b9e67834SAndre Fischer	String STR_CUSTOM_C_TIP
634b9e67834SAndre Fischer	{
635b9e67834SAndre Fischer		Text [ en-US ] = " Spacing: Condensed By: ";
636b9e67834SAndre Fischer	};
637b9e67834SAndre Fischer	String STR_CUSTOM_E_TIP
638b9e67834SAndre Fischer	{
639b9e67834SAndre Fischer		Text [ en-US ] = " Spacing: Expanded By: ";
640b9e67834SAndre Fischer	};
641b9e67834SAndre Fischer	String STR_PT
642b9e67834SAndre Fischer	{
643b9e67834SAndre Fischer		Text[ en-US ] = "pt";
644b9e67834SAndre Fischer	};
645b9e67834SAndre Fischer};
646