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