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