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