1b9e67834SAndre Fischer/**************************************************************
2c9d338dbSmseidel *
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
10c9d338dbSmseidel *
11b9e67834SAndre Fischer *   http://www.apache.org/licenses/LICENSE-2.0
12c9d338dbSmseidel *
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.
19c9d338dbSmseidel *
20b9e67834SAndre Fischer *************************************************************/
21b9e67834SAndre Fischer
22c9d338dbSmseidel
23c9d338dbSmseidel
24b9e67834SAndre Fischer#include "TextPropertyPanel.hrc"
25d29c2fc2SAndre Fischer#include <sfx2/sidebar/ResourceDefinitions.hrc>
26b9e67834SAndre Fischer#include "helpid.hrc"
27b9e67834SAndre Fischer
28b9e67834SAndre FischerControl RID_SIDEBAR_TEXT_PANEL
29b9e67834SAndre Fischer{
30c9d338dbSmseidel	OutputSize = TRUE ;
31c9d338dbSmseidel	DialogControl = TRUE ;
32c9d338dbSmseidel	Border = FALSE ;
33b9e67834SAndre Fischer
34c9d338dbSmseidel	Size = MAP_APPFONT ( PROPERTYPAGE_WIDTH, SECTIONPAGE_MARGIN_VERTICAL_TOP + CBOX_HEIGHT + TOOLBOX_ITEM_HEIGHT * 2 + CONTROL_SPACING_VERTICAL * 2 + SECTIONPAGE_MARGIN_VERTICAL_BOT ) ;
35b9e67834SAndre Fischer	HelpID = HID_PROPERTYPANEL_TEXT_SECTION ;
36c9d338dbSmseidel	Text = "Text" ;
37c9d338dbSmseidel
38b9e67834SAndre Fischer	ComboBox CB_SBFONT_FONT
39b9e67834SAndre Fischer	{
40c9d338dbSmseidel		Border = TRUE ;
41*769abe26Smseidel		Pos = MAP_APPFONT ( X0, FIRST_LINE_Y ) ;
42*769abe26Smseidel		Size = MAP_APPFONT ( FONTNAME_WIDTH, CONTROL_HEIGHT_FONT_NAME ) ;
43c9d338dbSmseidel		TabStop = TRUE ;
44c9d338dbSmseidel		DropDown = TRUE ;
45b9e67834SAndre Fischer		HelpID = HID_COMBO_FONT_NAME ;
46c9d338dbSmseidel		QuickHelpText [ en-US ] = "Font" ;
47c9d338dbSmseidel//		Command = ".uno:CharFontName" ;
48b9e67834SAndre Fischer	};
49b9e67834SAndre Fischer	MetricBox MB_SBFONT_FONTSIZE
50b9e67834SAndre Fischer	{
51c9d338dbSmseidel		Border = TRUE ;
52*769abe26Smseidel		Pos = MAP_APPFONT ( X2, FIRST_LINE_Y ) ;
53*769abe26Smseidel		Size = MAP_APPFONT ( FONTSIZE_WIDTH, CONTROL_HEIGHT_FONT_SIZE ) ;
54c9d338dbSmseidel		TabStop = TRUE ;
55c9d338dbSmseidel		DropDown = TRUE ;
56c9d338dbSmseidel		HelpID = HID_METRIC_FONT_SIZE ;
57c9d338dbSmseidel		QuickHelpText [ en-US ] = "Font Size" ;
58c9d338dbSmseidel//		Command = ".uno:FontHeight" ;
59b9e67834SAndre Fischer	};
60c9d338dbSmseidel
61b9e67834SAndre Fischer	ToolBox TB_INCREASE_DECREASE
62b9e67834SAndre Fischer	{
63b9e67834SAndre Fischer		SVLook = TRUE ;
64*769abe26Smseidel		Pos = MAP_APPFONT ( X2, SECOND_LINE_Y ) ;
65c9d338dbSmseidel		Size = MAP_APPFONT ( TOOLBOX_ITEM_WIDTH * 2, TOOLBOX_ITEM_HEIGHT ) ;
66b9e67834SAndre Fischer		TabStop = TRUE ;
67c9d338dbSmseidel		HelpID = HID_PPROPERTYPANEL_TEXT_TBX_FONTSIZE_INDE ;
68b9e67834SAndre Fischer		Text = "Font Size Adjusting" ;
69b9e67834SAndre Fischer		ItemList =
70b9e67834SAndre Fischer		{
71b9e67834SAndre Fischer			ToolBoxItem
72b9e67834SAndre Fischer			{
73c9d338dbSmseidel				Identifier = TBI_INCREASE ;
74c9d338dbSmseidel				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_INCREASE ;
75c9d338dbSmseidel				Command = ".uno:Grow" ;
76b9e67834SAndre Fischer			};
77b9e67834SAndre Fischer			ToolBoxItem
78b9e67834SAndre Fischer			{
79c9d338dbSmseidel				Identifier = TBI_DECREASE ;
80c9d338dbSmseidel				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_DECREASE ;
81c9d338dbSmseidel				Command = ".uno:Shrink" ;
82b9e67834SAndre Fischer			};
83b9e67834SAndre Fischer		};
84b9e67834SAndre Fischer	};
85b9e67834SAndre Fischer	ToolBox TB_FONT
86b9e67834SAndre Fischer	{
87b9e67834SAndre Fischer		SVLook = TRUE ;
88*769abe26Smseidel		Pos = MAP_APPFONT ( X0 + 1, SECOND_LINE_Y ) ;
89c9d338dbSmseidel		Size = MAP_APPFONT ( TOOLBOX_ITEM_WIDTH * 4 + TOOLBOX_ITEM_DD_WIDTH, TOOLBOX_ITEM_HEIGHT ) ;
90b9e67834SAndre Fischer		TabStop = TRUE ;
91c9d338dbSmseidel		HelpID = HID_PPROPERTYPANEL_TEXT_TBX_FONT ;
92b9e67834SAndre Fischer		Text = "Font Effects" ;
93b9e67834SAndre Fischer		ItemList =
94b9e67834SAndre Fischer		{
95b9e67834SAndre Fischer			ToolBoxItem
96b9e67834SAndre Fischer			{
97c9d338dbSmseidel				Identifier = TBI_BOLD ;
98c9d338dbSmseidel				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_BOLD ;
99c9d338dbSmseidel				Command = ".uno:Bold" ;
100b9e67834SAndre Fischer			};
101b9e67834SAndre Fischer			ToolBoxItem
102b9e67834SAndre Fischer			{
103c9d338dbSmseidel				Identifier = TBI_ITALIC ;
104c9d338dbSmseidel				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_ITALIC ;
105c9d338dbSmseidel				Command = ".uno:Italic" ;
106b9e67834SAndre Fischer			};
107b9e67834SAndre Fischer			ToolBoxItem
108b9e67834SAndre Fischer			{
109c9d338dbSmseidel				Identifier = TBI_UNDERLINE ;
110b9e67834SAndre Fischer				DropDown = TRUE ;
111c9d338dbSmseidel				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_UNDERLINE ;
112c9d338dbSmseidel				Command = ".uno:Underline" ;
113b9e67834SAndre Fischer			};
114b9e67834SAndre Fischer			ToolBoxItem
115b9e67834SAndre Fischer			{
116c9d338dbSmseidel				Identifier = TBI_STRIKEOUT ;
117c9d338dbSmseidel				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_STRIKEOUT ;
118c9d338dbSmseidel				Command = ".uno:Strikeout" ;
119b9e67834SAndre Fischer			};
120b9e67834SAndre Fischer			ToolBoxItem
121b9e67834SAndre Fischer			{
122c9d338dbSmseidel				Identifier = TBI_SHADOWED ;
123c9d338dbSmseidel				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SHADOWED ;
124c9d338dbSmseidel				Command = ".uno:Shadowed" ;
125c9d338dbSmseidel			};
126b9e67834SAndre Fischer		};
127b9e67834SAndre Fischer	};
128c9d338dbSmseidel
129b9e67834SAndre Fischer	ToolBox TB_FONTCOLOR
130b9e67834SAndre Fischer	{
131c9d338dbSmseidel		HelpID = HID_PPROPERTYPANEL_TEXT_TBX_FONT_COLOR ;
132b9e67834SAndre Fischer		SVLook = TRUE ;
133*769abe26Smseidel		Pos = MAP_APPFONT ( X3, THIRD_LINE_Y ) ;
134*769abe26Smseidel		Size = MAP_APPFONT ( TOOLBOX_ITEM_DD_WIDTH, TOOLBOX_ITEM_HEIGHT ) ;
135b9e67834SAndre Fischer		TabStop = TRUE ;
136b9e67834SAndre Fischer		ItemList =
137b9e67834SAndre Fischer		{
138b9e67834SAndre Fischer			ToolBoxItem
139b9e67834SAndre Fischer			{
140b9e67834SAndre Fischer				Identifier = TBI_FONTCOLOR ;
141c9d338dbSmseidel				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_FONT_COLOR ;
142b9e67834SAndre Fischer				DropDown = TRUE ;
143c9d338dbSmseidel				Command = ".uno:Color" ;
144b9e67834SAndre Fischer			};
145b9e67834SAndre Fischer		};
146b9e67834SAndre Fischer	};
147ae13266dSAndre Fischer	ToolBox TB_FONTCOLOR_SW
148ae13266dSAndre Fischer	{
149c9d338dbSmseidel		HelpID = HID_PPROPERTYPANEL_TEXT_TBX_FONT_COLOR ;
150ae13266dSAndre Fischer		SVLook = TRUE ;
151*769abe26Smseidel		Pos = MAP_APPFONT ( X3, THIRD_LINE_Y ) ;
152*769abe26Smseidel		Size = MAP_APPFONT ( TOOLBOX_ITEM_DD_WIDTH, TOOLBOX_ITEM_HEIGHT ) ;
153ae13266dSAndre Fischer		TabStop = TRUE ;
154ae13266dSAndre Fischer		ItemList =
155ae13266dSAndre Fischer		{
156ae13266dSAndre Fischer			ToolBoxItem
157ae13266dSAndre Fischer			{
158ae13266dSAndre Fischer				Identifier = TBI_FONTCOLOR ;
159c9d338dbSmseidel				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_FONT_COLOR ;
160ae13266dSAndre Fischer				DropDown = TRUE ;
161c9d338dbSmseidel				Command = ".uno:FontColor" ;
162ae13266dSAndre Fischer			};
163ae13266dSAndre Fischer		};
164ae13266dSAndre Fischer	};
165c9d338dbSmseidel
166b9e67834SAndre Fischer	ToolBox TB_HIGHLIGHT
167b9e67834SAndre Fischer	{
168b9e67834SAndre Fischer		SVLook = TRUE ;
169*769abe26Smseidel		Pos = MAP_APPFONT ( X2, THIRD_LINE_Y ) ;
170*769abe26Smseidel		Size = MAP_APPFONT ( TOOLBOX_ITEM_DD_WIDTH, TOOLBOX_ITEM_HEIGHT ) ;
171b9e67834SAndre Fischer		TabStop = TRUE ;
172c9d338dbSmseidel		HelpID = HID_PPROPERTYPANEL_TEXT_TBX_HIGHLIGHT_COLOR ;
173b9e67834SAndre Fischer		Text = "Highlight Color" ;
174b9e67834SAndre Fischer		ItemList =
175b9e67834SAndre Fischer		{
176b9e67834SAndre Fischer			ToolBoxItem
177b9e67834SAndre Fischer			{
178b9e67834SAndre Fischer				Identifier = TBI_HIGHLIGHT ;
179c9d338dbSmseidel				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_HIGHLIGHT_COLOR ;
180b9e67834SAndre Fischer				DropDown = TRUE ;
181c9d338dbSmseidel				Command = ".uno:BackColor" ;
182b9e67834SAndre Fischer			};
183b9e67834SAndre Fischer		};
184b9e67834SAndre Fischer	};
185c9d338dbSmseidel
186b9e67834SAndre Fischer	ToolBox TB_SCRIPT_SW
187b9e67834SAndre Fischer	{
188b9e67834SAndre Fischer		SVLook = TRUE ;
189*769abe26Smseidel		Pos = MAP_APPFONT ( X0 + 1, THIRD_LINE_Y ) ;
190*769abe26Smseidel		Size = MAP_APPFONT ( TOOLBOX_ITEM_WIDTH * 2, TOOLBOX_ITEM_HEIGHT ) ;
191b9e67834SAndre Fischer		TabStop = TRUE ;
192c9d338dbSmseidel		HelpID = HID_PPROPERTYPANEL_TEXT_TBX_SCRIPT_SW ;
193b9e67834SAndre Fischer		Text = "Font Position" ;
194b9e67834SAndre Fischer		ItemList =
195b9e67834SAndre Fischer		{
196b9e67834SAndre Fischer			ToolBoxItem
197b9e67834SAndre Fischer			{
198c9d338dbSmseidel				Identifier = TBI_SUPER_SW ;
199c9d338dbSmseidel				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUPER_SW ;
200c9d338dbSmseidel				Command = ".uno:SuperScript" ;
201b9e67834SAndre Fischer			};
202b9e67834SAndre Fischer			ToolBoxItem
203b9e67834SAndre Fischer			{
204c9d338dbSmseidel				Identifier = TBI_SUB_SW ;
205c9d338dbSmseidel				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUB_SW ;
206c9d338dbSmseidel				Command = ".uno:SubScript" ;
207b9e67834SAndre Fischer			};
208b9e67834SAndre Fischer		};
209b9e67834SAndre Fischer	};
210b9e67834SAndre Fischer	ToolBox TB_SCRIPT
211b9e67834SAndre Fischer	{
212b9e67834SAndre Fischer		SVLook = TRUE ;
213*769abe26Smseidel		Pos = MAP_APPFONT ( X0 + 1, THIRD_LINE_Y ) ;
214*769abe26Smseidel		Size = MAP_APPFONT ( TOOLBOX_ITEM_WIDTH * 2, TOOLBOX_ITEM_HEIGHT ) ;
215b9e67834SAndre Fischer		TabStop = TRUE ;
216c9d338dbSmseidel		HelpID = HID_PPROPERTYPANEL_TEXT_TBX_SCRIPT ;
217b9e67834SAndre Fischer		Text = "Font Position" ;
218b9e67834SAndre Fischer		ItemList =
219b9e67834SAndre Fischer		{
220b9e67834SAndre Fischer			ToolBoxItem
221b9e67834SAndre Fischer			{
222c9d338dbSmseidel				Identifier = TBI_SUPER ;
223c9d338dbSmseidel				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUPER ;
224c9d338dbSmseidel				Command = ".uno:SuperScript" ;
225b9e67834SAndre Fischer			};
226b9e67834SAndre Fischer			ToolBoxItem
227b9e67834SAndre Fischer			{
228c9d338dbSmseidel				Identifier = TBI_SUB ;
229c9d338dbSmseidel				HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUB ;
230c9d338dbSmseidel				Command = ".uno:SubScript" ;
231b9e67834SAndre Fischer			};
232b9e67834SAndre Fischer		};
233b9e67834SAndre Fischer	};
234c9d338dbSmseidel
235b9e67834SAndre Fischer	ToolBox TB_SPACING
236b9e67834SAndre Fischer	{
237b9e67834SAndre Fischer		SVLook = TRUE ;
238*769abe26Smseidel		Pos = MAP_APPFONT ( X1, THIRD_LINE_Y ) ;
239*769abe26Smseidel		Size = MAP_APPFONT ( TOOLBOX_24_16_ITEM_DD_WIDTH, TOOLBOX_24_16_ITEM_HEIGHT ) ;
240b9e67834SAndre Fischer		TabStop = TRUE ;
241c9d338dbSmseidel		HelpID = HID_TB_SPACING ;
242b9e67834SAndre Fischer		Text = "Character Spacing" ;
243b9e67834SAndre Fischer		ItemList =
244b9e67834SAndre Fischer		{
245b9e67834SAndre Fischer			ToolBoxItem
246b9e67834SAndre Fischer			{
247c9d338dbSmseidel				Identifier = TBI_SPACING ;
248b9e67834SAndre Fischer				DropDown = TRUE ;
249c9d338dbSmseidel				HelpID = HID_TBI_SPACING ;
250c9d338dbSmseidel				Command = ".uno:Spacing" ;
251b9e67834SAndre Fischer			};
252b9e67834SAndre Fischer		};
253b9e67834SAndre Fischer	};
254b9e67834SAndre Fischer};
255b9e67834SAndre Fischer
256c9d338dbSmseidelControl RID_POPUPPANEL_TEXTPAGE_UNDERLINE
257b9e67834SAndre Fischer{
258c9d338dbSmseidel	OutputSize = TRUE ;
259c9d338dbSmseidel	DialogControl = TRUE ;
260c9d338dbSmseidel	Border = FALSE ;
261c9d338dbSmseidel
262*769abe26Smseidel	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 ) ;
263b9e67834SAndre Fischer	Control VS_UNDERLINE
264b9e67834SAndre Fischer	{
265c9d338dbSmseidel		HelpID = HID_PPROPERTYPANEL_TEXT_UNDERLINE_VS ;
266c9d338dbSmseidel		Hide = TRUE ;
267c9d338dbSmseidel		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y ) ;
268*769abe26Smseidel		Size = MAP_APPFONT ( VS_UNDERLINE_WIDTH, VS_UNDERLINE_HEIGHT ) ;
269b9e67834SAndre Fischer		TabStop = TRUE ;
270c9d338dbSmseidel		Text = "Underline" ;
271b9e67834SAndre Fischer	};
272b9e67834SAndre Fischer
273b9e67834SAndre Fischer	PushButton PB_OPTIONS
274b9e67834SAndre Fischer	{
275c9d338dbSmseidel		HelpID = HID_UNDERLINE_BTN ;
276c9d338dbSmseidel		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL * 2 + OFFSET_Y + VS_UNDERLINE_HEIGHT ) ;
277c9d338dbSmseidel		Size = MAP_APPFONT ( VS_UNDERLINE_WIDTH, 13 ) ;
278c9d338dbSmseidel		TabStop = TRUE ;
279c9d338dbSmseidel		Text [ en-US ] = "~More Options..." ;
280b9e67834SAndre Fischer	};
281c9d338dbSmseidel
282c9d338dbSmseidel
283b9e67834SAndre Fischer	Image IMG_SINGLE
284b9e67834SAndre Fischer	{
285c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line1.png" ;} ;
286b9e67834SAndre Fischer	};
287b9e67834SAndre Fischer	Image IMG_DOUBLE
288b9e67834SAndre Fischer	{
289c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line2.png" ;} ;
290b9e67834SAndre Fischer	};
291b9e67834SAndre Fischer	Image IMG_BOLD2
292b9e67834SAndre Fischer	{
293c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line3.png" ;} ;
294b9e67834SAndre Fischer	};
295b9e67834SAndre Fischer	Image IMG_DOT
296b9e67834SAndre Fischer	{
297c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line4.png" ;} ;
298b9e67834SAndre Fischer	};
299b9e67834SAndre Fischer	Image IMG_DOT_BOLD
300b9e67834SAndre Fischer	{
301c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line5.png" ;} ;
302b9e67834SAndre Fischer	};
303b9e67834SAndre Fischer	Image IMG_DASH
304b9e67834SAndre Fischer	{
305c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line6.png" ;} ;
306b9e67834SAndre Fischer	};
307b9e67834SAndre Fischer	Image IMG_DASH_LONG
308b9e67834SAndre Fischer	{
309c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line7.png" ;} ;
310b9e67834SAndre Fischer	};
311b9e67834SAndre Fischer	Image IMG_DASH_DOT
312b9e67834SAndre Fischer	{
313c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line8.png" ;} ;
314b9e67834SAndre Fischer	};
315b9e67834SAndre Fischer	Image IMG_DASH_DOT_DOT
316b9e67834SAndre Fischer	{
317c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line9.png" ;} ;
318b9e67834SAndre Fischer	};
319b9e67834SAndre Fischer	Image IMG_WAVE
320b9e67834SAndre Fischer	{
321c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line10.png" ;} ;
322b9e67834SAndre Fischer	};
323c9d338dbSmseidel
324c9d338dbSmseidel	// high contract
325b9e67834SAndre Fischer	Image IMG_SINGLE_H
326b9e67834SAndre Fischer	{
327c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line1_h.png" ;} ;
328b9e67834SAndre Fischer	};
329b9e67834SAndre Fischer	Image IMG_DOUBLE_H
330b9e67834SAndre Fischer	{
331c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line2_h.png" ;} ;
332b9e67834SAndre Fischer	};
333b9e67834SAndre Fischer	Image IMG_BOLD2_H
334b9e67834SAndre Fischer	{
335c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line3_h.png" ;} ;
336b9e67834SAndre Fischer	};
337b9e67834SAndre Fischer	Image IMG_DOT_H
338b9e67834SAndre Fischer	{
339c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line4_h.png" ;} ;
340b9e67834SAndre Fischer	};
341b9e67834SAndre Fischer	Image IMG_DOT_BOLD_H
342b9e67834SAndre Fischer	{
343c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line5_h.png" ;} ;
344b9e67834SAndre Fischer	};
345b9e67834SAndre Fischer	Image IMG_DASH_H
346b9e67834SAndre Fischer	{
347c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line6_h.png" ;} ;
348b9e67834SAndre Fischer	};
349b9e67834SAndre Fischer	Image IMG_DASH_LONG_H
350b9e67834SAndre Fischer	{
351c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line7_h.png" ;} ;
352b9e67834SAndre Fischer	};
353b9e67834SAndre Fischer	Image IMG_DASH_DOT_H
354b9e67834SAndre Fischer	{
355c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line8_h.png" ;} ;
356b9e67834SAndre Fischer	};
357b9e67834SAndre Fischer	Image IMG_DASH_DOT_DOT_H
358b9e67834SAndre Fischer	{
359c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line9_h.png" ;} ;
360b9e67834SAndre Fischer	};
361b9e67834SAndre Fischer	Image IMG_WAVE_H
362b9e67834SAndre Fischer	{
363c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/line10_h.png" ;} ;
364b9e67834SAndre Fischer	};
365c9d338dbSmseidel
366c9d338dbSmseidel	// image when selected
367b9e67834SAndre Fischer	Image IMG_SINGLE_SEL
368b9e67834SAndre Fischer	{
369c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/selected-line1.png" ;} ;
370b9e67834SAndre Fischer	};
371b9e67834SAndre Fischer	Image IMG_DOUBLE_SEL
372b9e67834SAndre Fischer	{
373c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/selected-line2.png" ;} ;
374b9e67834SAndre Fischer	};
375b9e67834SAndre Fischer	Image IMG_BOLD2_SEL
376b9e67834SAndre Fischer	{
377c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/selected-line3.png" ;} ;
378b9e67834SAndre Fischer	};
379b9e67834SAndre Fischer	Image IMG_DOT_SEL
380b9e67834SAndre Fischer	{
381c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/selected-line4.png" ;} ;
382b9e67834SAndre Fischer	};
383b9e67834SAndre Fischer	Image IMG_DOT_BOLD_SEL
384b9e67834SAndre Fischer	{
385c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/selected-line5.png" ;} ;
386b9e67834SAndre Fischer	};
387b9e67834SAndre Fischer	Image IMG_DASH_SEL
388b9e67834SAndre Fischer	{
389c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/selected-line6.png" ;} ;
390b9e67834SAndre Fischer	};
391b9e67834SAndre Fischer	Image IMG_DASH_LONG_SEL
392b9e67834SAndre Fischer	{
393c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/selected-line7.png" ;} ;
394b9e67834SAndre Fischer	};
395b9e67834SAndre Fischer	Image IMG_DASH_DOT_SEL
396b9e67834SAndre Fischer	{
397c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/selected-line8.png" ;} ;
398b9e67834SAndre Fischer	};
399b9e67834SAndre Fischer	Image IMG_DASH_DOT_DOT_SEL
400b9e67834SAndre Fischer	{
401c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/selected-line9.png" ;} ;
402b9e67834SAndre Fischer	};
403b9e67834SAndre Fischer	Image IMG_WAVE_SEL
404b9e67834SAndre Fischer	{
405c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/selected-line10.png" ;} ;
406b9e67834SAndre Fischer	};
407c9d338dbSmseidel
408a3586beeSOliver-Rainer Wittmann	String STR_WITHOUT
409a3586beeSOliver-Rainer Wittmann	{
410c9d338dbSmseidel		Text [ en-US ] = "(Without)" ;
411a3586beeSOliver-Rainer Wittmann	};
412a3586beeSOliver-Rainer Wittmann
413c9d338dbSmseidel	// tips
414b9e67834SAndre Fischer	String STR_SINGLE
415b9e67834SAndre Fischer	{
416c9d338dbSmseidel		Text [ en-US ] = "Single" ;
417b9e67834SAndre Fischer	};
418b9e67834SAndre Fischer	String STR_DOUBLE
419b9e67834SAndre Fischer	{
420c9d338dbSmseidel		Text [ en-US ] = "Double" ;
421b9e67834SAndre Fischer	};
422b9e67834SAndre Fischer	String STR_BOLD
423b9e67834SAndre Fischer	{
424c9d338dbSmseidel		Text [ en-US ] = "Bold" ;
425b9e67834SAndre Fischer	};
426b9e67834SAndre Fischer	String STR_DOT
427b9e67834SAndre Fischer	{
428c9d338dbSmseidel		Text [ en-US ] = "Dotted" ;
429b9e67834SAndre Fischer	};
430b9e67834SAndre Fischer	String STR_DOT_BOLD
431b9e67834SAndre Fischer	{
432c9d338dbSmseidel		Text [ en-US ] = "Dotted (Bold)" ;
433b9e67834SAndre Fischer	};
434b9e67834SAndre Fischer	String STR_DASH
435b9e67834SAndre Fischer	{
436c9d338dbSmseidel		Text [ en-US ] = "Dash" ;
437b9e67834SAndre Fischer	};
438b9e67834SAndre Fischer	String STR_DASH_LONG
439b9e67834SAndre Fischer	{
440c9d338dbSmseidel		Text [ en-US ] = "Long Dash" ;
441b9e67834SAndre Fischer	};
442b9e67834SAndre Fischer	String STR_DASH_DOT
443b9e67834SAndre Fischer	{
444c9d338dbSmseidel		Text [ en-US ] = "Dot Dash" ;
445b9e67834SAndre Fischer	};
446b9e67834SAndre Fischer	String STR_DASH_DOT_DOT
447b9e67834SAndre Fischer	{
448c9d338dbSmseidel		Text [ en-US ] = "Dot Dot Dash" ;
449b9e67834SAndre Fischer	};
450b9e67834SAndre Fischer	String STR_WAVE
451b9e67834SAndre Fischer	{
452c9d338dbSmseidel		Text [ en-US ] = "Wave" ;
453b9e67834SAndre Fischer	};
454c9d338dbSmseidel
455b9e67834SAndre Fischer};
456b9e67834SAndre Fischer
457b9e67834SAndre Fischer
458b9e67834SAndre FischerControl RID_POPUPPANEL_TEXTPAGE_FONT_COLOR
459b9e67834SAndre Fischer{
460c9d338dbSmseidel	OutputSize = TRUE ;
461c9d338dbSmseidel	DialogControl = TRUE ;
462c9d338dbSmseidel	Border = FALSE ;
463c9d338dbSmseidel	Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH, POPUP_COLOR_PICKER_HEIGHT ) ;
464c9d338dbSmseidel
465b9e67834SAndre Fischer	Control VS_FONT_COLOR
466b9e67834SAndre Fischer	{
467c9d338dbSmseidel		HelpID = HID_PPROPERTYPANEL_TEXT_COLOR_VS ;
468c9d338dbSmseidel		Hide = TRUE ;
469c9d338dbSmseidel		Pos = MAP_APPFONT ( OFFSET_X, OFFSET_Y ) ;
470*769abe26Smseidel		Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2 ) ;
471b9e67834SAndre Fischer		TabStop = TRUE ;
472c9d338dbSmseidel		Text = "Color Picker" ;
473b9e67834SAndre Fischer	};
474b9e67834SAndre Fischer	String STR_AUTOMATICE
475b9e67834SAndre Fischer	{
476c9d338dbSmseidel		Text [ en-US ] = "Automatic" ;
477b9e67834SAndre Fischer	};
478b9e67834SAndre Fischer};
479b9e67834SAndre Fischer
480b9e67834SAndre FischerControl RID_POPUPPANEL_TEXTPAGE_SPACING
481b9e67834SAndre Fischer{
482c9d338dbSmseidel	OutputSize = TRUE ;
483c9d338dbSmseidel	DialogControl = TRUE ;
484c9d338dbSmseidel	Border = FALSE ;
485c9d338dbSmseidel
486*769abe26Smseidel	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 ) ;
487c9d338dbSmseidel
488b9e67834SAndre Fischer	Control VS_SPACING
489b9e67834SAndre Fischer	{
490b9e67834SAndre Fischer		HelpId = HID_PPROPERTYPANEL_TEXT_SPACING_VS ;
491c9d338dbSmseidel		Hide = TRUE ;
492c9d338dbSmseidel		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y ) ;
493*769abe26Smseidel		Size = MAP_APPFONT ( VS_SPACING_WIDTH, 15 * 6 ) ;
494b9e67834SAndre Fischer		TabStop = TRUE ;
495c9d338dbSmseidel		Text = "Character Spacing" ;
496c9d338dbSmseidel	};
497c9d338dbSmseidel
498c9d338dbSmseidel	FixedText FT_LASTCUSTOM
499c9d338dbSmseidel	{
500*769abe26Smseidel		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y + POPUPPANEL_MARGIN_SMALL + 15 * 6 ) ;
501c9d338dbSmseidel		Size = MAP_APPFONT ( CUSTOM_WIDTH, TEXT_HEIGHT ) ;
502c9d338dbSmseidel		Left = TRUE ;
503c9d338dbSmseidel		Text [ en-US ] = "Custom:" ;
504c9d338dbSmseidel	};
505c9d338dbSmseidel	// custom area
506b9e67834SAndre Fischer	FixedText	FT_SPACING
507b9e67834SAndre Fischer	{
508*769abe26Smseidel		Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE ) ;
509c9d338dbSmseidel		Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2, TEXT_HEIGHT ) ;
510c9d338dbSmseidel		Left = TRUE ;
511c9d338dbSmseidel		Text [ en-US ] = "~Character spacing: " ;
512b9e67834SAndre Fischer	};
513b9e67834SAndre Fischer	ListBox LB_KERNING
514b9e67834SAndre Fischer	{
515c9d338dbSmseidel		Border = TRUE ;
516*769abe26Smseidel		Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE + TEXT_HEIGHT + POPUPPANEL_MARGIN_SMALL ); // 20
517c9d338dbSmseidel		Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2, 80 ) ;
518c9d338dbSmseidel		TabStop = TRUE ;
519b9e67834SAndre Fischer		DropDown = TRUE ;
520c9d338dbSmseidel		HelpID = HID_SPACING_CB_KERN ;
521b9e67834SAndre Fischer		StringList [ en-US ] =
522b9e67834SAndre Fischer		{
523c9d338dbSmseidel			< "Default" ; Default ;		> ;
524c9d338dbSmseidel			< "Expanded" ; Default ;	> ;
525c9d338dbSmseidel			< "Condensed" ; Default ;	> ;
526b9e67834SAndre Fischer		};
527b9e67834SAndre Fischer	};
528b9e67834SAndre Fischer	FixedText	FT_BY
529b9e67834SAndre Fischer	{
530c9d338dbSmseidel		Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE * 2 + TEXT_HEIGHT + POPUPPANEL_MARGIN_SMALL + CBOX_HEIGHT ) ;
531c9d338dbSmseidel		Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2, TEXT_HEIGHT ) ;
532c9d338dbSmseidel		Left = TRUE ;
533c9d338dbSmseidel		Text [ en-US ] = "Change ~by: " ;
534b9e67834SAndre Fischer	};
535b9e67834SAndre Fischer	MetricField ED_KERNING
536b9e67834SAndre Fischer	{
537c9d338dbSmseidel		HelpID = HID_SPACING_MB_KERN ;
538c9d338dbSmseidel		Border = TRUE ;
539*769abe26Smseidel		Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE * 2 + TEXT_HEIGHT * 2 + POPUPPANEL_MARGIN_SMALL * 2 + CBOX_HEIGHT ) ; // 60
540c9d338dbSmseidel		Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2, MBOX_HEIGHT ) ;
541c9d338dbSmseidel		TabStop = TRUE ;
542b9e67834SAndre Fischer		Repeat = TRUE ;
543b9e67834SAndre Fischer		Spin = TRUE ;
544b9e67834SAndre Fischer		Maximum = 9999 ;
545b9e67834SAndre Fischer		DecimalDigits = 1 ;
546b9e67834SAndre Fischer		Unit = FUNIT_POINT ;
547b9e67834SAndre Fischer		SpinSize = 10 ;
548b9e67834SAndre Fischer	};
549c9d338dbSmseidel
550b9e67834SAndre Fischer	Image IMG_NORMAL
551b9e67834SAndre Fischer	{
552c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/spacing_normal.png" ;} ;
553b9e67834SAndre Fischer	};
554b9e67834SAndre Fischer	Image IMG_VERY_TIGHT
555b9e67834SAndre Fischer	{
556c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/spacing_very_tight.png" ;} ;
557b9e67834SAndre Fischer	};
558b9e67834SAndre Fischer	Image IMG_TIGHT
559b9e67834SAndre Fischer	{
560c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/spacing_tight.png" ;} ;
561b9e67834SAndre Fischer	};
562b9e67834SAndre Fischer	Image IMG_LOOSE
563b9e67834SAndre Fischer	{
564c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/spacing_loose.png" ;} ;
565b9e67834SAndre Fischer	};
566b9e67834SAndre Fischer	Image IMG_VERY_LOOSE
567b9e67834SAndre Fischer	{
568c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/spacing_very_loose.png" ;} ;
569b9e67834SAndre Fischer	};
570c9d338dbSmseidel
571b9e67834SAndre Fischer	Image IMG_NORMAL_S
572b9e67834SAndre Fischer	{
573c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/spacing_normal_s.png" ;} ;
574b9e67834SAndre Fischer	};
575b9e67834SAndre Fischer	Image IMG_VERY_TIGHT_S
576b9e67834SAndre Fischer	{
577c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/spacing_very_tight_s.png" ;} ;
578b9e67834SAndre Fischer	};
579b9e67834SAndre Fischer	Image IMG_TIGHT_S
580b9e67834SAndre Fischer	{
581c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/spacing_tight_s.png" ;} ;
582b9e67834SAndre Fischer	};
583b9e67834SAndre Fischer	Image IMG_LOOSE_S
584b9e67834SAndre Fischer	{
585*769abe26Smseidel		ImageBitmap = Bitmap {File = "symphony/spacing_loose_s.png" ;} ;
586b9e67834SAndre Fischer	};
587b9e67834SAndre Fischer	Image IMG_VERY_LOOSE_S
588b9e67834SAndre Fischer	{
589c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/spacing_very_loose_s.png" ;} ;
590b9e67834SAndre Fischer	};
591c9d338dbSmseidel
592b9e67834SAndre Fischer	Image IMG_CUSTOM
593b9e67834SAndre Fischer	{
594c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/last_custom_common.png" ;} ;
595b9e67834SAndre Fischer	};
596b9e67834SAndre Fischer	Image IMG_CUSTOM_GRAY
597b9e67834SAndre Fischer	{
598c9d338dbSmseidel		ImageBitmap = Bitmap {File = "symphony/last_custom_common_grey.png" ;} ;
599b9e67834SAndre Fischer	};
600c9d338dbSmseidel
601b9e67834SAndre Fischer	String STR_VERY_TIGHT
602b9e67834SAndre Fischer	{
603c9d338dbSmseidel		Text [ en-US ] = "Very Tight" ;
604b9e67834SAndre Fischer	};
605b9e67834SAndre Fischer	String STR_TIGHT
606b9e67834SAndre Fischer	{
607c9d338dbSmseidel		Text [ en-US ] = "Tight" ;
608b9e67834SAndre Fischer	};
609b9e67834SAndre Fischer	String STR_NORMAL
610b9e67834SAndre Fischer	{
611c9d338dbSmseidel		Text [ en-US ] = "Normal" ;
612b9e67834SAndre Fischer	};
613b9e67834SAndre Fischer	String STR_LOOSE
614b9e67834SAndre Fischer	{
615c9d338dbSmseidel		Text [ en-US ] = "Loose" ;
616b9e67834SAndre Fischer	};
617b9e67834SAndre Fischer	String STR_VERY_LOOSE
618b9e67834SAndre Fischer	{
619c9d338dbSmseidel		Text [ en-US ] = "Very Loose" ;
620b9e67834SAndre Fischer	};
621b9e67834SAndre Fischer	String STR_CUSTOM
622b9e67834SAndre Fischer	{
623c9d338dbSmseidel		Text [ en-US ] = "Last Custom Value" ;
624b9e67834SAndre Fischer	};
625c9d338dbSmseidel
626b9e67834SAndre Fischer	String STR_VERY_TIGHT_TIP
627b9e67834SAndre Fischer	{
628c9d338dbSmseidel		Text [ en-US ] = " Spacing: Condensed By: 3 pt" ;
629b9e67834SAndre Fischer	};
630b9e67834SAndre Fischer	String STR_TIGHT_TIP
631b9e67834SAndre Fischer	{
632c9d338dbSmseidel		Text [ en-US ] = " Spacing: Condensed By: 1.5 pt" ;
633b9e67834SAndre Fischer	};
634b9e67834SAndre Fischer	String STR_NORMAL_TIP
635b9e67834SAndre Fischer	{
636c9d338dbSmseidel		Text [ en-US ] = " Spacing: Normal" ;
637b9e67834SAndre Fischer	};
638b9e67834SAndre Fischer	String STR_LOOSE_TIP
639b9e67834SAndre Fischer	{
640c9d338dbSmseidel		Text [ en-US ] = " Spacing: Expanded By: 3 pt" ;
641b9e67834SAndre Fischer	};
642b9e67834SAndre Fischer	String STR_VERY_LOOSE_TIP
643b9e67834SAndre Fischer	{
644c9d338dbSmseidel		Text [ en-US ] = " Spacing: Expanded By: 6 pt" ;
645b9e67834SAndre Fischer	};
646b9e67834SAndre Fischer	String STR_CUSTOM_C_TIP
647b9e67834SAndre Fischer	{
648c9d338dbSmseidel		Text [ en-US ] = " Spacing: Condensed By: " ;
649b9e67834SAndre Fischer	};
650b9e67834SAndre Fischer	String STR_CUSTOM_E_TIP
651b9e67834SAndre Fischer	{
652c9d338dbSmseidel		Text [ en-US ] = " Spacing: Expanded By: " ;
653b9e67834SAndre Fischer	};
654b9e67834SAndre Fischer	String STR_PT
655b9e67834SAndre Fischer	{
656c9d338dbSmseidel		Text [ en-US ] = "pt" ;
657b9e67834SAndre Fischer	};
658b9e67834SAndre Fischer};
659c9d338dbSmseidel
660c9d338dbSmseidel// ********************************************************************** EOF
661