xref: /trunk/main/svx/source/sidebar/text/TextPropertyPanel.src (revision d4aefcae16681f638496d1e984264fe390e450e8)
1b9e67834SAndre Fischer/**************************************************************
2b9e67834SAndre Fischer *
3b9e67834SAndre Fischer * Licensed to the Apache Software Foundation (ASF) under one
4b9e67834SAndre Fischer * or more contributor license agreements.  See the NOTICE file
5b9e67834SAndre Fischer * distributed with this work for additional information
6b9e67834SAndre Fischer * regarding copyright ownership.  The ASF licenses this file
7b9e67834SAndre Fischer * to you under the Apache License, Version 2.0 (the
8b9e67834SAndre Fischer * "License"); you may not use this file except in compliance
9b9e67834SAndre Fischer * with the License.  You may obtain a copy of the License at
10b9e67834SAndre Fischer *
11b9e67834SAndre Fischer *   http://www.apache.org/licenses/LICENSE-2.0
12b9e67834SAndre Fischer *
13b9e67834SAndre Fischer * Unless required by applicable law or agreed to in writing,
14b9e67834SAndre Fischer * software distributed under the License is distributed on an
15b9e67834SAndre Fischer * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16b9e67834SAndre Fischer * KIND, either express or implied.  See the License for the
17b9e67834SAndre Fischer * specific language governing permissions and limitations
18b9e67834SAndre Fischer * under the License.
19b9e67834SAndre Fischer *
20b9e67834SAndre Fischer *************************************************************/
21b9e67834SAndre Fischer
22b9e67834SAndre Fischer#include "TextPropertyPanel.hrc"
23b9e67834SAndre Fischer#include <sfx2/sidebar/propertypanel.hrc>
24b9e67834SAndre Fischer#include "helpid.hrc"
25b9e67834SAndre Fischer
26b9e67834SAndre Fischer#define CONTROL_HEIGHT_FONT_NAME        250
27b9e67834SAndre Fischer#define CONTROL_HEIGHT_FONT_SIZE        180
28b9e67834SAndre Fischer#define FONTNAME_WIDTH                  TOOLBOX_ITEM_WIDTH * 2 + TOOLBOX_ITEM_DD_WIDTH
29b9e67834SAndre Fischer#define FONTSIZE_WIDTH                  TOOLBOX_ITEM_WIDTH * 2
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
38b9e67834SAndre FischerControl RID_SIDEBAR_TEXT_PANEL
39b9e67834SAndre Fischer{
40b9e67834SAndre Fischer    OutputSize = TRUE;
41b9e67834SAndre Fischer    DialogControl = TRUE;
42b9e67834SAndre Fischer    Border = FALSE;
43b9e67834SAndre Fischer
44b9e67834SAndre Fischer    Size = MAP_APPFONT( PROPERTYPAGE_WIDTH, SECTIONPAGE_MARGIN_VERTICAL_TOP + CBOX_HEIGHT + TOOLBOX_ITEM_HEIGHT * 2 + CONTROL_SPACING_VERTICAL * 2 + SECTIONPAGE_MARGIN_VERTICAL_BOT );
45b9e67834SAndre Fischer    HelpID = HID_PROPERTYPANEL_TEXT_SECTION ;
46b9e67834SAndre Fischer    Text = "Text";
47b9e67834SAndre Fischer
48b9e67834SAndre Fischer    ComboBox CB_SBFONT_FONT
49b9e67834SAndre Fischer    {
50b9e67834SAndre Fischer        Border = TRUE;
51b9e67834SAndre Fischer        Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP );
52b9e67834SAndre Fischer        Size = MAP_APPFONT ( FONTNAME_WIDTH , CONTROL_HEIGHT_FONT_NAME  );
53b9e67834SAndre Fischer        TabStop = TRUE;
54b9e67834SAndre Fischer        DropDown = TRUE;
55b9e67834SAndre Fischer        HelpID = HID_COMBO_FONT_NAME ;
56b9e67834SAndre Fischer        QuickHelpText [ en-US ] = "Font";
57b9e67834SAndre Fischer    };
58b9e67834SAndre Fischer    MetricBox MB_SBFONT_FONTSIZE
59b9e67834SAndre Fischer    {
60b9e67834SAndre Fischer        Border = TRUE;
61b9e67834SAndre Fischer        Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + FONTNAME_WIDTH + 2, SECTIONPAGE_MARGIN_VERTICAL_TOP);
62b9e67834SAndre Fischer        Size = MAP_APPFONT ( FONTSIZE_WIDTH - 1, CONTROL_HEIGHT_FONT_SIZE );
63b9e67834SAndre Fischer        TabStop = TRUE;
64b9e67834SAndre Fischer        DropDown = TRUE;
65b9e67834SAndre Fischer        HelpID = HID_METRIC_FONT_SIZE;
66b9e67834SAndre Fischer        QuickHelpText [ en-US ] = "Font Size";
67b9e67834SAndre Fischer    };
68b9e67834SAndre Fischer
69b9e67834SAndre Fischer    ToolBox TB_INCREASE_DECREASE
70b9e67834SAndre Fischer    {
71b9e67834SAndre Fischer        SVLook = TRUE ;
72b9e67834SAndre Fischer        Pos = MAP_APPFONT ( PROPERTYPAGE_WIDTH - SECTIONPAGE_MARGIN_HORIZONTAL - TOOLBOX_ITEM_WIDTH * 2, SECTIONPAGE_MARGIN_VERTICAL_TOP) ;
73b9e67834SAndre Fischer        Size = MAP_APPFONT ( TOOLBOX_ITEM_WIDTH * 2 ,TOOLBOX_ITEM_HEIGHT ) ;
74b9e67834SAndre Fischer        TabStop = TRUE ;
75b9e67834SAndre Fischer//      HelpID = HID_TB_INCREASE_DECREASE;
76b9e67834SAndre Fischer        HelpID = HID_PPROPERTYPANEL_TEXT_TBX_FONTSIZE_INDE;
77b9e67834SAndre Fischer        Text = "Font Size Adjusting" ;
78b9e67834SAndre Fischer        ItemList =
79b9e67834SAndre Fischer        {
80b9e67834SAndre Fischer            ToolBoxItem
81b9e67834SAndre Fischer            {
82b9e67834SAndre Fischer                Identifier = TBI_INCREASE;
83b9e67834SAndre Fischer                Text [ en-US ] = "Increase Font Size" ;
84b9e67834SAndre Fischer//              HelpID = HID_TBI_INCREASE;
85b9e67834SAndre Fischer                HelpID = HID_PPROPERTYPANEL_TEXT_TBI_INCREASE;
86b9e67834SAndre Fischer            };
87b9e67834SAndre Fischer            ToolBoxItem
88b9e67834SAndre Fischer            {
89b9e67834SAndre Fischer                Identifier = TBI_DECREASE;
90b9e67834SAndre Fischer                Text [ en-US ] = "Decrease Font Size" ;
91b9e67834SAndre Fischer//              HelpID = HID_TBI_DECREASE;
92b9e67834SAndre Fischer                HelpID = HID_PPROPERTYPANEL_TEXT_TBI_DECREASE;
93b9e67834SAndre Fischer            };
94b9e67834SAndre Fischer        };
95b9e67834SAndre Fischer    };
96b9e67834SAndre Fischer    ToolBox TB_FONT
97b9e67834SAndre Fischer    {
98b9e67834SAndre Fischer        SVLook = TRUE ;
99b9e67834SAndre Fischer        Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL + 1, SECTIONPAGE_MARGIN_VERTICAL_TOP + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL  + 1) ;
100b9e67834SAndre Fischer        Size = MAP_APPFONT ( TOOLBOX_ITEM_WIDTH * 4 + TOOLBOX_ITEM_DD_WIDTH, TOOLBOX_ITEM_HEIGHT ) ;
101b9e67834SAndre Fischer        TabStop = TRUE ;
102b9e67834SAndre Fischer//      HelpID = HID_TB_FONT;
103b9e67834SAndre Fischer        HelpID = HID_PPROPERTYPANEL_TEXT_TBX_FONT;
104b9e67834SAndre Fischer        Text = "Font Effects" ;
105b9e67834SAndre Fischer        ItemList =
106b9e67834SAndre Fischer        {
107b9e67834SAndre Fischer            ToolBoxItem
108b9e67834SAndre Fischer            {
109b9e67834SAndre Fischer                Identifier = TBI_BOLD;
110b9e67834SAndre Fischer                Text [ en-US ] = "Bold" ;
111b9e67834SAndre Fischer//              HelpID = HID_TBI_FONT_BOLD;
112b9e67834SAndre Fischer                HelpID = HID_PPROPERTYPANEL_TEXT_TBI_BOLD;
113b9e67834SAndre Fischer            };
114b9e67834SAndre Fischer            ToolBoxItem
115b9e67834SAndre Fischer            {
116b9e67834SAndre Fischer                Identifier = TBI_ITALIC;
117b9e67834SAndre Fischer                Text [ en-US ] = "Italic" ;
118b9e67834SAndre Fischer//              HelpID = HID_TBI_FONT_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                Text [ en-US ] = "Underline" ;
126b9e67834SAndre Fischer//              HelpID = HID_TBI_FONT_UNDERLINE;
127b9e67834SAndre Fischer                HelpID = HID_PPROPERTYPANEL_TEXT_TBI_UNDERLINE;
128b9e67834SAndre Fischer            };
129b9e67834SAndre Fischer            ToolBoxItem
130b9e67834SAndre Fischer            {
131b9e67834SAndre Fischer                Identifier = TBI_STRIKEOUT;
132b9e67834SAndre Fischer                Text [ en-US ] = "Strikethrough" ;
133b9e67834SAndre Fischer//              HelpID = HID_TBI_FONT_STRIKEOUT;
134b9e67834SAndre Fischer                HelpID = HID_PPROPERTYPANEL_TEXT_TBI_STRIKEOUT;
135b9e67834SAndre Fischer            };
136b9e67834SAndre Fischer            ToolBoxItem
137b9e67834SAndre Fischer            {
138b9e67834SAndre Fischer                Identifier = TBI_SHADOWED;
139b9e67834SAndre Fischer                Text [ en-US ] = "Shadow" ;
140b9e67834SAndre Fischer//              HelpID = HID_TBI_FONT_SHADOWED;
141b9e67834SAndre Fischer                HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SHADOWED;
142b9e67834SAndre Fischer            };
143b9e67834SAndre Fischer        };
144b9e67834SAndre Fischer    };
145b9e67834SAndre Fischer
146b9e67834SAndre Fischer    String STR_QH_BOLD
147b9e67834SAndre Fischer    {
148b9e67834SAndre Fischer        Text [ en-US ] = "Bold (Ctrl+B)";
149b9e67834SAndre Fischer    };
150b9e67834SAndre Fischer    String STR_QH_ITALIC
151b9e67834SAndre Fischer    {
152b9e67834SAndre Fischer        Text [ en-US ] = "Italic (Ctrl+I)";
153b9e67834SAndre Fischer    };
154b9e67834SAndre Fischer    String STR_QH_UNDERLINE
155b9e67834SAndre Fischer    {
156b9e67834SAndre Fischer        Text [ en-US ] = "Underline (Ctrl+U)";
157b9e67834SAndre Fischer    };
158b9e67834SAndre Fischer
159b9e67834SAndre Fischer
160b9e67834SAndre Fischer    ToolBox TB_FONTCOLOR
161b9e67834SAndre Fischer    {
162b9e67834SAndre Fischer//      HelpID = HID_TB_COLOR;
163b9e67834SAndre Fischer        HelpID = HID_PPROPERTYPANEL_TEXT_TBX_FONT_COLOR;
164b9e67834SAndre Fischer        SVLook = TRUE ;
165b9e67834SAndre Fischer        Pos = MAP_APPFONT (PROPERTYPAGE_WIDTH - SECTIONPAGE_MARGIN_HORIZONTAL - TOOLBOX_ITEM_WIDTH * 2, SECTIONPAGE_MARGIN_VERTICAL_TOP + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL  + 1) ;
166b9e67834SAndre Fischer        Size = MAP_APPFONT (TOOLBOX_ITEM_DD_WIDTH ,TOOLBOX_ITEM_HEIGHT ) ;
167b9e67834SAndre Fischer        TabStop = TRUE ;
168b9e67834SAndre Fischer        Text = "Font Color" ;
169b9e67834SAndre Fischer        ItemList =
170b9e67834SAndre Fischer        {
171b9e67834SAndre Fischer            ToolBoxItem
172b9e67834SAndre Fischer            {
173b9e67834SAndre Fischer                Identifier = TBI_FONTCOLOR ;
174b9e67834SAndre Fischer//              HelpID =  HID_TBI_COLOR;
175b9e67834SAndre Fischer                HelpID = HID_PPROPERTYPANEL_TEXT_TBI_FONT_COLOR;
176b9e67834SAndre Fischer                DropDown = TRUE ;
177b9e67834SAndre Fischer                Text [ en-US ] = "Font Color" ;
178b9e67834SAndre Fischer            };
179b9e67834SAndre Fischer        };
180b9e67834SAndre Fischer    };
181b9e67834SAndre Fischer
182b9e67834SAndre Fischer    ToolBox TB_HIGHLIGHT
183b9e67834SAndre Fischer    {
184b9e67834SAndre Fischer        SVLook = TRUE ;
185b9e67834SAndre Fischer        Pos = MAP_APPFONT (PROPERTYPAGE_WIDTH - SECTIONPAGE_MARGIN_HORIZONTAL  - TOOLBOX_ITEM_WIDTH * 2 , SECTIONPAGE_MARGIN_VERTICAL_TOP + CBOX_HEIGHT + (TOOLBOX_ITEM_HEIGHT + 2) + CONTROL_SPACING_VERTICAL * 2 + 1) ;
186b9e67834SAndre Fischer        Size = MAP_APPFONT (TOOLBOX_ITEM_DD_WIDTH ,TOOLBOX_ITEM_HEIGHT ) ;
187b9e67834SAndre Fischer        TabStop = TRUE ;
188b9e67834SAndre Fischer//      HelpID = HID_TB_HIGHLIGHT;
189b9e67834SAndre Fischer        HelpID = HID_PPROPERTYPANEL_TEXT_TBX_HIGHLIGHT_COLOR;
190b9e67834SAndre Fischer        Text = "Highlight Color" ;
191b9e67834SAndre Fischer        ItemList =
192b9e67834SAndre Fischer        {
193b9e67834SAndre Fischer            ToolBoxItem
194b9e67834SAndre Fischer            {
195b9e67834SAndre Fischer                Identifier = TBI_HIGHLIGHT ;
196b9e67834SAndre Fischer//              HelpID =  HID_TBI_HIGHLIGHT;
197b9e67834SAndre Fischer                HelpID = HID_PPROPERTYPANEL_TEXT_TBI_HIGHLIGHT_COLOR;
198b9e67834SAndre Fischer                DropDown = TRUE ;
199b9e67834SAndre Fischer                Text [ en-US ] = "Highlight Color" ;
200b9e67834SAndre Fischer            };
201b9e67834SAndre Fischer        };
202b9e67834SAndre Fischer    };
203b9e67834SAndre Fischer
204b9e67834SAndre Fischer    ToolBox TB_SCRIPT_SW
205b9e67834SAndre Fischer    {
206b9e67834SAndre Fischer        SVLook = TRUE ;
207b9e67834SAndre Fischer        Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL + 1 , SECTIONPAGE_MARGIN_VERTICAL_TOP + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL * 2 + (TOOLBOX_ITEM_HEIGHT + 2) + 1) ;
208b9e67834SAndre Fischer        Size = MAP_APPFONT (TOOLBOX_ITEM_WIDTH * 2 ,TOOLBOX_ITEM_HEIGHT ) ;
209b9e67834SAndre Fischer        TabStop = TRUE ;
210b9e67834SAndre Fischer//      HelpID = HID_TB_SCRIPT_SW;
211b9e67834SAndre Fischer        HelpID = HID_PPROPERTYPANEL_TEXT_TBX_SCRIPT_SW;
212b9e67834SAndre Fischer        Text = "Font Position" ;
213b9e67834SAndre Fischer        ItemList =
214b9e67834SAndre Fischer        {
215b9e67834SAndre Fischer            ToolBoxItem
216b9e67834SAndre Fischer            {
217b9e67834SAndre Fischer                Identifier = TBI_SUPER_SW;
218b9e67834SAndre Fischer                Text [ en-US ] = "Superscript" ;
219b9e67834SAndre Fischer//              HelpID = HID_TBI_SCRIPT_SW_SUPER;
220b9e67834SAndre Fischer                HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUPER_SW;
221b9e67834SAndre Fischer            };
222b9e67834SAndre Fischer            ToolBoxItem
223b9e67834SAndre Fischer            {
224b9e67834SAndre Fischer                Identifier = TBI_SUB_SW;
225b9e67834SAndre Fischer                Text [ en-US ] = "Subscript" ;
226b9e67834SAndre Fischer//              HelpID = HID_TBI_SCRIPT_SW_SUB;
227b9e67834SAndre Fischer                HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUB_SW;
228b9e67834SAndre Fischer            };
229b9e67834SAndre Fischer        };
230b9e67834SAndre Fischer    };
231b9e67834SAndre Fischer    ToolBox TB_SCRIPT
232b9e67834SAndre Fischer    {
233b9e67834SAndre Fischer        SVLook = TRUE ;
234b9e67834SAndre Fischer        Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL + 1 , SECTIONPAGE_MARGIN_VERTICAL_TOP + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL * 2 + (TOOLBOX_ITEM_HEIGHT + 2) + 1) ;
235b9e67834SAndre Fischer        Size = MAP_APPFONT (TOOLBOX_ITEM_WIDTH * 2 ,TOOLBOX_ITEM_HEIGHT ) ;
236b9e67834SAndre Fischer        TabStop = TRUE ;
237b9e67834SAndre Fischer//      HelpID = HID_TB_SCRIPT;
238b9e67834SAndre Fischer        HelpID = HID_PPROPERTYPANEL_TEXT_TBX_SCRIPT;
239b9e67834SAndre Fischer        Text = "Font Position" ;
240b9e67834SAndre Fischer        ItemList =
241b9e67834SAndre Fischer        {
242b9e67834SAndre Fischer            ToolBoxItem
243b9e67834SAndre Fischer            {
244b9e67834SAndre Fischer                Identifier = TBI_SUPER;
245b9e67834SAndre Fischer                Text [ en-US ] = "Superscript" ;
246b9e67834SAndre Fischer//              HelpID = HID_TBI_SCRIPT_SUPER;
247b9e67834SAndre Fischer                HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUPER;
248b9e67834SAndre Fischer            };
249b9e67834SAndre Fischer            ToolBoxItem
250b9e67834SAndre Fischer            {
251b9e67834SAndre Fischer                Identifier = TBI_SUB;
252b9e67834SAndre Fischer                Text [ en-US ] = "Subscript" ;
253b9e67834SAndre Fischer//              HelpID = HID_TBI_SCRIPT_SUB;
254b9e67834SAndre Fischer                HelpID = HID_PPROPERTYPANEL_TEXT_TBI_SUB;
255b9e67834SAndre Fischer            };
256b9e67834SAndre Fischer        };
257b9e67834SAndre Fischer    };
258b9e67834SAndre Fischer
259b9e67834SAndre Fischer    ToolBox TB_SPACING
260b9e67834SAndre Fischer    {
261b9e67834SAndre Fischer        SVLook = TRUE ;
262b9e67834SAndre Fischer        Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL + 1 + TOOLBOX_ITEM_WIDTH * 2  + 4 , SECTIONPAGE_MARGIN_VERTICAL_TOP + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL * 2 + (TOOLBOX_ITEM_HEIGHT + 2) + 1) ;
263b9e67834SAndre Fischer        Size = MAP_APPFONT (TOOLBOX_24_16_ITEM_DD_WIDTH, TOOLBOX_24_16_ITEM_HEIGHT ) ;
264b9e67834SAndre Fischer        TabStop = TRUE ;
265b9e67834SAndre Fischer        HelpID = HID_TB_SPACING;
266b9e67834SAndre Fischer        Text = "Character Spacing" ;
267b9e67834SAndre Fischer        ItemList =
268b9e67834SAndre Fischer        {
269b9e67834SAndre Fischer            ToolBoxItem
270b9e67834SAndre Fischer            {
271b9e67834SAndre Fischer                Identifier = TBI_SPACING;
272b9e67834SAndre Fischer                DropDown = TRUE ;
273b9e67834SAndre Fischer                Text [ en-US ] = "Character Spacing" ;
274b9e67834SAndre Fischer                HelpID = HID_TBI_SPACING;
275b9e67834SAndre Fischer            };
276b9e67834SAndre Fischer        };
277b9e67834SAndre Fischer    };
278b9e67834SAndre Fischer
279b9e67834SAndre Fischer    Image IMG_INCREASE
280b9e67834SAndre Fischer    {
2817c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/enlarge font.png";};
282b9e67834SAndre Fischer    //  MaskColor = IMAGE_MASK_COLOR;
283b9e67834SAndre Fischer    };
284b9e67834SAndre Fischer    Image IMG_INCREASE_H
285b9e67834SAndre Fischer    {
2867c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/enlarge font.png";};
287b9e67834SAndre Fischer    };
288b9e67834SAndre Fischer    Image IMG_DECREASE
289b9e67834SAndre Fischer    {
2907c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/decrease font.png";};
291b9e67834SAndre Fischer    };
292b9e67834SAndre Fischer    Image IMG_DECREASE_H
293b9e67834SAndre Fischer    {
2947c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/decrease font.png";};
295b9e67834SAndre Fischer    };
296b9e67834SAndre Fischer    Image IMG_BOLD
297b9e67834SAndre Fischer    {
2987c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/sc_bold.png";};//sc_bold.bmp
299b9e67834SAndre Fischer    };
300b9e67834SAndre Fischer    Image IMG_BOLD_H
301b9e67834SAndre Fischer    {
3027c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/sc_bold.png";};
303b9e67834SAndre Fischer    };
304b9e67834SAndre Fischer    Image IMG_ITALIC
305b9e67834SAndre Fischer    {
3067c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/sc_italic.png";};//sc_italic.bmp
307b9e67834SAndre Fischer    };
308b9e67834SAndre Fischer    Image IMG_ITALIC_H
309b9e67834SAndre Fischer    {
3107c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/sc_italic.png";};
311b9e67834SAndre Fischer    };
312b9e67834SAndre Fischer    Image IMG_UNDERLINE
313b9e67834SAndre Fischer    {
3147c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/sc_underline.png";};//sc_underline.png
315b9e67834SAndre Fischer    };
316b9e67834SAndre Fischer    Image IMG_UNDERLINE_H
317b9e67834SAndre Fischer    {
3187c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/sc_underline.png";};
319b9e67834SAndre Fischer    };
320b9e67834SAndre Fischer
321b9e67834SAndre Fischer    Image IMG_STRIKEOUT
322b9e67834SAndre Fischer    {
3237c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/sc_strikeout.png";};//sc_strikeout.png
324b9e67834SAndre Fischer    };
325b9e67834SAndre Fischer    Image IMG_STRIKEOUT_H
326b9e67834SAndre Fischer    {
3277c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/sc_strikeout.png";};
328b9e67834SAndre Fischer    };
329b9e67834SAndre Fischer    Image IMG_SHADOWED
330b9e67834SAndre Fischer    {
3317c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/sc_shadowed.png";};//sc_shadowed.png
332b9e67834SAndre Fischer    };
333b9e67834SAndre Fischer    Image IMG_SHADOWED_H
334b9e67834SAndre Fischer    {
3357c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/sc_shadowed.png";};
336b9e67834SAndre Fischer    };
337b9e67834SAndre Fischer    Image IMG_FONTCOLOR
338b9e67834SAndre Fischer    {
3397c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/sc_color.png";};
340b9e67834SAndre Fischer    };
341b9e67834SAndre Fischer    Image IMG_FONTCOLOR_H
342b9e67834SAndre Fischer    {
3437c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/sc_color.png";};
344b9e67834SAndre Fischer    };
345b9e67834SAndre Fischer    Image IMG_SUPSCRIPT
346b9e67834SAndre Fischer    {
3477c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/sc_superscript.png";};
348b9e67834SAndre Fischer    };
349b9e67834SAndre Fischer    Image IMG_SUPSCRIPT_H
350b9e67834SAndre Fischer    {
3517c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/sc_superscript.png";};
352b9e67834SAndre Fischer    };
353b9e67834SAndre Fischer    Image IMG_SUBSCRIPT
354b9e67834SAndre Fischer    {
3557c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/sc_subscript.png";};
356b9e67834SAndre Fischer    };
357b9e67834SAndre Fischer    Image IMG_SUBSCRIPT_H
358b9e67834SAndre Fischer    {
3597c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/sc_subscript.png";};
360b9e67834SAndre Fischer    };
361b9e67834SAndre Fischer//  Image IMG_SPACING
362b9e67834SAndre Fischer//  {
3637c526447SAndre Fischer//      ImageBitmap = Bitmap{File = "symphony/icon_normal.png";};
364b9e67834SAndre Fischer//  };
365b9e67834SAndre Fischer//  Image IMG_SPACING_H
366b9e67834SAndre Fischer//  {
3677c526447SAndre Fischer//      ImageBitmap = Bitmap{File = "symphony/icon_normal.png";};
368b9e67834SAndre Fischer//  };
369b9e67834SAndre Fischer    Image IMG_HIGHLIGHT
370b9e67834SAndre Fischer    {
3717c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/Highlight.png";};//sc_backcolor
372b9e67834SAndre Fischer    };
373b9e67834SAndre Fischer    Image IMG_HIGHLIGHT_H
374b9e67834SAndre Fischer    {
3757c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/Highlight.png";};
376b9e67834SAndre Fischer    };
377b9e67834SAndre Fischer
378b9e67834SAndre Fischer    //small icon for spacing
379b9e67834SAndre Fischer    Image IMG_SPACING_D
380b9e67834SAndre Fischer    {
3817c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/icon_normal.png";};
382b9e67834SAndre Fischer    };
383b9e67834SAndre Fischer};
384b9e67834SAndre Fischer
385b9e67834SAndre FischerControl RID_POPUPPANEL_TEXTPAGE_UNDERLINE
386b9e67834SAndre Fischer{
387b9e67834SAndre Fischer    OutputSize = TRUE;
388b9e67834SAndre Fischer    DialogControl = TRUE;
389b9e67834SAndre Fischer    Border = FALSE;
390b9e67834SAndre Fischer
391*d4aefcaeSZheng 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);
392b9e67834SAndre Fischer    Control VS_UNDERLINE
393b9e67834SAndre Fischer    {
394b9e67834SAndre Fischer//      HelpID = HID_UNDERLINE_VS ;
395b9e67834SAndre Fischer        HelpID = HID_PPROPERTYPANEL_TEXT_UNDERLINE_VS;
396b9e67834SAndre Fischer        Hide = TRUE ;
397b9e67834SAndre Fischer        Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
398*d4aefcaeSZheng Fan        Size = MAP_APPFONT ( VS_UNDERLINE_WIDTH  ,VS_UNDERLINE_HEIGHT);
399b9e67834SAndre Fischer        TabStop = TRUE ;
400b9e67834SAndre Fischer        Text = "Underline";
401b9e67834SAndre Fischer    };
402b9e67834SAndre Fischer
403b9e67834SAndre Fischer    PushButton PB_OPTIONS
404b9e67834SAndre Fischer    {
405b9e67834SAndre Fischer        HelpID = HID_UNDERLINE_BTN;
406*d4aefcaeSZheng Fan        Pos = MAP_APPFONT (  POPUPPANEL_MARGIN_SMALL + OFFSET_X  , POPUPPANEL_MARGIN_SMALL * 2 + OFFSET_Y + VS_UNDERLINE_HEIGHT );
407*d4aefcaeSZheng Fan        Size = MAP_APPFONT ( VS_UNDERLINE_WIDTH, 13 );
408b9e67834SAndre Fischer        TabStop = TRUE;
409b9e67834SAndre Fischer        Text [ en-US ] = "~More Options...";
410b9e67834SAndre Fischer    };
411b9e67834SAndre Fischer
412b9e67834SAndre Fischer
413b9e67834SAndre Fischer    Image IMG_SINGLE
414b9e67834SAndre Fischer    {
4157c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line1.bmp";};
416b9e67834SAndre Fischer    };
417b9e67834SAndre Fischer    Image IMG_DOUBLE
418b9e67834SAndre Fischer    {
4197c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line2.bmp";};
420b9e67834SAndre Fischer    };
421b9e67834SAndre Fischer    Image IMG_BOLD2
422b9e67834SAndre Fischer    {
4237c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line3.bmp";};
424b9e67834SAndre Fischer    };
425b9e67834SAndre Fischer    Image IMG_DOT
426b9e67834SAndre Fischer    {
4277c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line4.bmp";};
428b9e67834SAndre Fischer    };
429b9e67834SAndre Fischer    Image IMG_DOT_BOLD
430b9e67834SAndre Fischer    {
4317c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line5.bmp";};
432b9e67834SAndre Fischer    };
433b9e67834SAndre Fischer    Image IMG_DASH
434b9e67834SAndre Fischer    {
4357c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line6.bmp";};
436b9e67834SAndre Fischer    };
437b9e67834SAndre Fischer    Image IMG_DASH_LONG
438b9e67834SAndre Fischer    {
4397c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line7.bmp";};
440b9e67834SAndre Fischer    };
441b9e67834SAndre Fischer    Image IMG_DASH_DOT
442b9e67834SAndre Fischer    {
4437c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line8.bmp";};
444b9e67834SAndre Fischer    };
445b9e67834SAndre Fischer    Image IMG_DASH_DOT_DOT
446b9e67834SAndre Fischer    {
4477c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line9.bmp";};
448b9e67834SAndre Fischer    };
449b9e67834SAndre Fischer    Image IMG_WAVE
450b9e67834SAndre Fischer    {
4517c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line10.bmp";};
452b9e67834SAndre Fischer    };
453b9e67834SAndre Fischer
454b9e67834SAndre Fischer    //high contract
455b9e67834SAndre Fischer    Image IMG_SINGLE_H
456b9e67834SAndre Fischer    {
4577c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line1_h.bmp";};
458b9e67834SAndre Fischer    };
459b9e67834SAndre Fischer    Image IMG_DOUBLE_H
460b9e67834SAndre Fischer    {
4617c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line2_h.bmp";};
462b9e67834SAndre Fischer    };
463b9e67834SAndre Fischer    Image IMG_BOLD2_H
464b9e67834SAndre Fischer    {
4657c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line3_h.bmp";};
466b9e67834SAndre Fischer    };
467b9e67834SAndre Fischer    Image IMG_DOT_H
468b9e67834SAndre Fischer    {
4697c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line4_h.bmp";};
470b9e67834SAndre Fischer    };
471b9e67834SAndre Fischer    Image IMG_DOT_BOLD_H
472b9e67834SAndre Fischer    {
4737c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line5_h.bmp";};
474b9e67834SAndre Fischer    };
475b9e67834SAndre Fischer    Image IMG_DASH_H
476b9e67834SAndre Fischer    {
4777c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line6_h.bmp";};
478b9e67834SAndre Fischer    };
479b9e67834SAndre Fischer    Image IMG_DASH_LONG_H
480b9e67834SAndre Fischer    {
4817c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line7_h.bmp";};
482b9e67834SAndre Fischer    };
483b9e67834SAndre Fischer    Image IMG_DASH_DOT_H
484b9e67834SAndre Fischer    {
4857c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line8_h.bmp";};
486b9e67834SAndre Fischer    };
487b9e67834SAndre Fischer    Image IMG_DASH_DOT_DOT_H
488b9e67834SAndre Fischer    {
4897c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line9_h.bmp";};
490b9e67834SAndre Fischer    };
491b9e67834SAndre Fischer    Image IMG_WAVE_H
492b9e67834SAndre Fischer    {
4937c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/line10_h.bmp";};
494b9e67834SAndre Fischer    };
495b9e67834SAndre Fischer
496b9e67834SAndre Fischer    //image when selected
497b9e67834SAndre Fischer    Image IMG_SINGLE_SEL
498b9e67834SAndre Fischer    {
4997c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/selected-line1.bmp";};
500b9e67834SAndre Fischer    };
501b9e67834SAndre Fischer    Image IMG_DOUBLE_SEL
502b9e67834SAndre Fischer    {
5037c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/selected-line2.bmp";};
504b9e67834SAndre Fischer    };
505b9e67834SAndre Fischer    Image IMG_BOLD2_SEL
506b9e67834SAndre Fischer    {
5077c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/selected-line3.bmp";};
508b9e67834SAndre Fischer    };
509b9e67834SAndre Fischer    Image IMG_DOT_SEL
510b9e67834SAndre Fischer    {
5117c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/selected-line4.bmp";};
512b9e67834SAndre Fischer    };
513b9e67834SAndre Fischer    Image IMG_DOT_BOLD_SEL
514b9e67834SAndre Fischer    {
5157c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/selected-line5.bmp";};
516b9e67834SAndre Fischer    };
517b9e67834SAndre Fischer    Image IMG_DASH_SEL
518b9e67834SAndre Fischer    {
5197c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/selected-line6.bmp";};
520b9e67834SAndre Fischer    };
521b9e67834SAndre Fischer    Image IMG_DASH_LONG_SEL
522b9e67834SAndre Fischer    {
5237c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/selected-line7.bmp";};
524b9e67834SAndre Fischer    };
525b9e67834SAndre Fischer    Image IMG_DASH_DOT_SEL
526b9e67834SAndre Fischer    {
5277c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/selected-line8.bmp";};
528b9e67834SAndre Fischer    };
529b9e67834SAndre Fischer    Image IMG_DASH_DOT_DOT_SEL
530b9e67834SAndre Fischer    {
5317c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/selected-line9.bmp";};
532b9e67834SAndre Fischer    };
533b9e67834SAndre Fischer    Image IMG_WAVE_SEL
534b9e67834SAndre Fischer    {
5357c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/selected-line10.bmp";};
536b9e67834SAndre Fischer    };
537b9e67834SAndre Fischer
53858e893aeSArmin Le Grand//  //more button bmps
539da72173fSAndre Fischer//  Bitmap  BMP_UNDERLINE_MORE
540da72173fSAndre Fischer//  {
541da72173fSAndre Fischer//      File = "symphony/morebutton.bmp";
542da72173fSAndre Fischer//  };
543da72173fSAndre Fischer//  Bitmap  BMP_UNDERLINE_MORE_H
544da72173fSAndre Fischer//  {
545da72173fSAndre Fischer//      File = "symphony/morebutton_h.bmp";
546da72173fSAndre Fischer//  };
547b9e67834SAndre Fischer
548b9e67834SAndre Fischer    //tips
549b9e67834SAndre Fischer    String STR_SINGLE
550b9e67834SAndre Fischer    {
551b9e67834SAndre Fischer        Text [ en-US ] = "Single";
552b9e67834SAndre Fischer    };
553b9e67834SAndre Fischer    String STR_DOUBLE
554b9e67834SAndre Fischer    {
555b9e67834SAndre Fischer        Text [ en-US ] = "Double";
556b9e67834SAndre Fischer    };
557b9e67834SAndre Fischer    String STR_BOLD
558b9e67834SAndre Fischer    {
559b9e67834SAndre Fischer        Text [ en-US ] = "Bold";
560b9e67834SAndre Fischer    };
561b9e67834SAndre Fischer    String STR_DOT
562b9e67834SAndre Fischer    {
563b9e67834SAndre Fischer        Text [ en-US ] = "Dotted";
564b9e67834SAndre Fischer    };
565b9e67834SAndre Fischer    String STR_DOT_BOLD
566b9e67834SAndre Fischer    {
567b9e67834SAndre Fischer        Text [ en-US ] = "Dotted (Bold)";
568b9e67834SAndre Fischer    };
569b9e67834SAndre Fischer    String STR_DASH
570b9e67834SAndre Fischer    {
571b9e67834SAndre Fischer        Text [ en-US ] = "Dash";
572b9e67834SAndre Fischer    };
573b9e67834SAndre Fischer    String STR_DASH_LONG
574b9e67834SAndre Fischer    {
575b9e67834SAndre Fischer        Text [ en-US ] = "Long Dash";
576b9e67834SAndre Fischer    };
577b9e67834SAndre Fischer    String STR_DASH_DOT
578b9e67834SAndre Fischer    {
579b9e67834SAndre Fischer        Text [ en-US ] = "Dot Dash";
580b9e67834SAndre Fischer    };
581b9e67834SAndre Fischer    String STR_DASH_DOT_DOT
582b9e67834SAndre Fischer    {
583b9e67834SAndre Fischer        Text [ en-US ] = "Dot Dot Dash";
584b9e67834SAndre Fischer    };
585b9e67834SAndre Fischer    String STR_WAVE
586b9e67834SAndre Fischer    {
587b9e67834SAndre Fischer        Text [ en-US ] = "Wave";
588b9e67834SAndre Fischer    };
589b9e67834SAndre Fischer
590b9e67834SAndre Fischer};
591b9e67834SAndre Fischer
592b9e67834SAndre Fischer
593b9e67834SAndre FischerControl RID_POPUPPANEL_TEXTPAGE_FONT_COLOR
594b9e67834SAndre Fischer{
595b9e67834SAndre Fischer    OutputSize = TRUE;
596b9e67834SAndre Fischer    DialogControl = TRUE;
597b9e67834SAndre Fischer    Border = FALSE;
598b9e67834SAndre Fischer    Size = MAP_APPFONT(  POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT  );
599b9e67834SAndre Fischer
600b9e67834SAndre Fischer    Control VS_FONT_COLOR
601b9e67834SAndre Fischer    {
602b9e67834SAndre Fischer//      HelpID = HID_COLOR_VS ;
603b9e67834SAndre Fischer        HelpID = HID_PPROPERTYPANEL_TEXT_COLOR_VS;
604b9e67834SAndre Fischer        Hide = TRUE ;
605b9e67834SAndre Fischer        Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y );
606b9e67834SAndre Fischer        Size = MAP_APPFONT (  POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2);
607b9e67834SAndre Fischer        TabStop = TRUE ;
608b9e67834SAndre Fischer        Text = "Color Picker";
609b9e67834SAndre Fischer    };
610b9e67834SAndre Fischer    String STR_AUTOMATICE
611b9e67834SAndre Fischer    {
612b9e67834SAndre Fischer        Text [ en-US ] = "Automatic";
613b9e67834SAndre Fischer    };
614b9e67834SAndre Fischer
615b9e67834SAndre Fischer};
616b9e67834SAndre Fischer
617b9e67834SAndre FischerControl RID_POPUPPANEL_TEXTPAGE_SPACING
618b9e67834SAndre Fischer{
619b9e67834SAndre Fischer    OutputSize = TRUE;
620b9e67834SAndre Fischer    DialogControl = TRUE;
621b9e67834SAndre Fischer    Border = FALSE;
622b9e67834SAndre Fischer
623b9e67834SAndre 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);
624b9e67834SAndre Fischer
625b9e67834SAndre Fischer    Control VS_SPACING
626b9e67834SAndre Fischer    {
627b9e67834SAndre Fischer        HelpId = HID_PPROPERTYPANEL_TEXT_SPACING_VS ;
628b9e67834SAndre Fischer        Hide = TRUE ;
629b9e67834SAndre Fischer        Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
630b9e67834SAndre Fischer        Size = MAP_APPFONT ( VS_SPACING_WIDTH  , 15 * 6);
631b9e67834SAndre Fischer        TabStop = TRUE ;
632b9e67834SAndre Fischer        Text  = "Character Spacing";
633b9e67834SAndre Fischer    };
634b9e67834SAndre Fischer
635b9e67834SAndre Fischer    FixedText FT_LASTCUSTOM
636b9e67834SAndre Fischer    {
637b9e67834SAndre Fischer        Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X ,POPUPPANEL_MARGIN_SMALL + OFFSET_Y + POPUPPANEL_MARGIN_SMALL + 15 * 6) ;
638b9e67834SAndre Fischer        Size = MAP_APPFONT ( CUSTOM_WIDTH , TEXT_HEIGHT );
639b9e67834SAndre Fischer        Left = TRUE ;
640b9e67834SAndre Fischer        Text [ en-US ] = "Custom:" ;
641b9e67834SAndre Fischer    };
642b9e67834SAndre Fischer    //custom area
643b9e67834SAndre Fischer//  Control CT_BORDER
644b9e67834SAndre Fischer//  {
645b9e67834SAndre Fischer//      Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X + 1 , OFFSET_Y + POPUPPANEL_MARGIN_SMALL * 3 + 15 * 6 + TEXT_HEIGHT) ;
646b9e67834SAndre Fischer//      Size = MAP_APPFONT (CUSTOM_WIDTH ,  CUSTOM_HEIGHT ) ;// TOOLBOX_42_42_ITEM_DD_WIDTH * 2 +  TB_SPACE * 2 - 5 + TEXT_WIDTH - 2
647b9e67834SAndre Fischer//        DialogControl = TRUE;
648b9e67834SAndre Fischer//  };
649b9e67834SAndre Fischer    FixedText   FT_SPACING
650b9e67834SAndre Fischer    {
651b9e67834SAndre Fischer        Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE);
652b9e67834SAndre Fischer        Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , TEXT_HEIGHT );
653b9e67834SAndre Fischer        Left = TRUE ;
654b9e67834SAndre Fischer        Text [ en-US ] = "~Character spacing: " ;
655b9e67834SAndre Fischer    };
656b9e67834SAndre Fischer    ListBox LB_KERNING
657b9e67834SAndre Fischer    {
658b9e67834SAndre Fischer        Border = TRUE;
659b9e67834SAndre Fischer        Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE + TEXT_HEIGHT + POPUPPANEL_MARGIN_SMALL);//20
660b9e67834SAndre Fischer        Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , 80 ) ;
661b9e67834SAndre Fischer        TabStop = TRUE;
662b9e67834SAndre Fischer        DropDown = TRUE ;
663b9e67834SAndre Fischer        HelpID = HID_SPACING_CB_KERN;
664b9e67834SAndre Fischer        StringList [ en-US ] =
665b9e67834SAndre Fischer        {
666b9e67834SAndre Fischer            < "Default" ; Default ; > ;
667b9e67834SAndre Fischer            < "Expanded" ; Default ; > ;
668b9e67834SAndre Fischer            < "Condensed" ; Default ; > ;
669b9e67834SAndre Fischer        };
670b9e67834SAndre Fischer    };
671b9e67834SAndre Fischer    FixedText   FT_BY
672b9e67834SAndre Fischer    {
673b9e67834SAndre Fischer        Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE * 2 + TEXT_HEIGHT + POPUPPANEL_MARGIN_SMALL + CBOX_HEIGHT );
674b9e67834SAndre Fischer        Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , TEXT_HEIGHT );
675b9e67834SAndre Fischer        Left = TRUE ;
676b9e67834SAndre Fischer        Text [ en-US ] = "Change ~by: " ;
677b9e67834SAndre Fischer    };
678b9e67834SAndre Fischer    MetricField ED_KERNING
679b9e67834SAndre Fischer    {
680b9e67834SAndre Fischer        HelpID = HID_SPACING_MB_KERN;
681b9e67834SAndre Fischer        Border = TRUE;
682b9e67834SAndre 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
683b9e67834SAndre Fischer        Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , MBOX_HEIGHT );
684b9e67834SAndre Fischer        TabStop = TRUE;
685b9e67834SAndre Fischer        Repeat = TRUE ;
686b9e67834SAndre Fischer        Spin = TRUE ;
687b9e67834SAndre Fischer        Maximum = 9999 ;
688b9e67834SAndre Fischer        DecimalDigits = 1 ;
689b9e67834SAndre Fischer        Unit = FUNIT_POINT ;
690b9e67834SAndre Fischer        SpinSize = 10 ;
691b9e67834SAndre Fischer    };
692b9e67834SAndre Fischer
693b9e67834SAndre Fischer    Image IMG_NORMAL
694b9e67834SAndre Fischer    {
6957c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/spacing_normal.bmp" ;};//"spacing_normal.bmp"
696b9e67834SAndre Fischer    };
697b9e67834SAndre Fischer    Image IMG_VERY_TIGHT
698b9e67834SAndre Fischer    {
6997c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/spacing_very tight.bmp";};
700b9e67834SAndre Fischer    };
701b9e67834SAndre Fischer    Image IMG_TIGHT
702b9e67834SAndre Fischer    {
7037c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/spacing_tight.bmp";};
704b9e67834SAndre Fischer    };
705b9e67834SAndre Fischer    Image IMG_LOOSE
706b9e67834SAndre Fischer    {
7077c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/spacing_loose.bmp";};
708b9e67834SAndre Fischer    };
709b9e67834SAndre Fischer    Image IMG_VERY_LOOSE
710b9e67834SAndre Fischer    {
7117c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/spacing_very loose.bmp";};
712b9e67834SAndre Fischer    };
713b9e67834SAndre Fischer
714b9e67834SAndre Fischer    Image IMG_NORMAL_S
715b9e67834SAndre Fischer    {
7167c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/spacing_normal_s.bmp";};
717b9e67834SAndre Fischer    };
718b9e67834SAndre Fischer    Image IMG_VERY_TIGHT_S
719b9e67834SAndre Fischer    {
7207c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/spacing_very tight_s.bmp";};
721b9e67834SAndre Fischer    };
722b9e67834SAndre Fischer    Image IMG_TIGHT_S
723b9e67834SAndre Fischer    {
7247c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/spacing_tight_s.bmp";};
725b9e67834SAndre Fischer    };
726b9e67834SAndre Fischer    Image IMG_LOOSE_S
727b9e67834SAndre Fischer    {
7287c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/spacing_loose_s.bmp";};
729b9e67834SAndre Fischer    };
730b9e67834SAndre Fischer    Image IMG_VERY_LOOSE_S
731b9e67834SAndre Fischer    {
7327c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/spacing_very loose_s.bmp";};
733b9e67834SAndre Fischer    };
734b9e67834SAndre Fischer
735b9e67834SAndre Fischer    Image IMG_CUSTOM
736b9e67834SAndre Fischer    {
7377c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/last_custom_common.png";};
738b9e67834SAndre Fischer    };
739b9e67834SAndre Fischer    Image IMG_CUSTOM_GRAY
740b9e67834SAndre Fischer    {
7417c526447SAndre Fischer        ImageBitmap = Bitmap{File = "symphony/last_custom_common_grey.png";};
742b9e67834SAndre Fischer    };
743b9e67834SAndre Fischer
744b9e67834SAndre Fischer    String STR_VERY_TIGHT
745b9e67834SAndre Fischer    {
746b9e67834SAndre Fischer        Text [ en-US ] = "Very Tight";
747b9e67834SAndre Fischer    };
748b9e67834SAndre Fischer    String STR_TIGHT
749b9e67834SAndre Fischer    {
750b9e67834SAndre Fischer        Text [ en-US ] = "Tight";
751b9e67834SAndre Fischer    };
752b9e67834SAndre Fischer    String STR_NORMAL
753b9e67834SAndre Fischer    {
754b9e67834SAndre Fischer        Text [ en-US ] = "Normal";
755b9e67834SAndre Fischer    };
756b9e67834SAndre Fischer    String STR_LOOSE
757b9e67834SAndre Fischer    {
758b9e67834SAndre Fischer        Text [ en-US ] = "Loose";
759b9e67834SAndre Fischer    };
760b9e67834SAndre Fischer    String STR_VERY_LOOSE
761b9e67834SAndre Fischer    {
762b9e67834SAndre Fischer        Text [ en-US ] = "Very Loose";
763b9e67834SAndre Fischer    };
764b9e67834SAndre Fischer    String STR_CUSTOM
765b9e67834SAndre Fischer    {
766b9e67834SAndre Fischer        Text [ en-US ] = "Last Custom Value";
767b9e67834SAndre Fischer    };
768b9e67834SAndre Fischer
769b9e67834SAndre Fischer    String STR_VERY_TIGHT_TIP
770b9e67834SAndre Fischer    {
771b9e67834SAndre Fischer        Text [ en-US ] = " Spacing: Condensed By: 3pt";
772b9e67834SAndre Fischer    };
773b9e67834SAndre Fischer    String STR_TIGHT_TIP
774b9e67834SAndre Fischer    {
775b9e67834SAndre Fischer        Text [ en-US ] = " Spacing: Condensed By: 1.5pt";
776b9e67834SAndre Fischer    };
777b9e67834SAndre Fischer    String STR_NORMAL_TIP
778b9e67834SAndre Fischer    {
779b9e67834SAndre Fischer        Text [ en-US ] = " Spacing: Normal";
780b9e67834SAndre Fischer    };
781b9e67834SAndre Fischer    String STR_LOOSE_TIP
782b9e67834SAndre Fischer    {
783b9e67834SAndre Fischer        Text [ en-US ] = " Spacing: Expanded By: 3pt";
784b9e67834SAndre Fischer    };
785b9e67834SAndre Fischer    String STR_VERY_LOOSE_TIP
786b9e67834SAndre Fischer    {
787b9e67834SAndre Fischer        Text [ en-US ] = " Spacing: Expanded By: 6pt";
788b9e67834SAndre Fischer    };
789b9e67834SAndre Fischer    String STR_CUSTOM_C_TIP
790b9e67834SAndre Fischer    {
791b9e67834SAndre Fischer        Text [ en-US ] = " Spacing: Condensed By: ";
792b9e67834SAndre Fischer    };
793b9e67834SAndre Fischer    String STR_CUSTOM_E_TIP
794b9e67834SAndre Fischer    {
795b9e67834SAndre Fischer        Text [ en-US ] = " Spacing: Expanded By: ";
796b9e67834SAndre Fischer    };
797b9e67834SAndre Fischer    String STR_PT
798b9e67834SAndre Fischer    {
799b9e67834SAndre Fischer        Text[ en-US ] = "pt";
800b9e67834SAndre Fischer    };
801b9e67834SAndre Fischer};
802