1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include <svx/svxids.hrc>
21 #include <svx/dialogs.hrc>
22 #include "fontwork.hrc"
25 #define REDUCED_WIDTH 6
26 #define REMOVED_VS_FORMS_HEIGHT (30 + 6)
28 // RID_SVXDLG_FONTWORK ---------------------------------------------------
29 DockingWindow RID_SVXDLG_FONTWORK
31 HelpId = CMD_SID_FONTWORK ;
35 Pos = MAP_APPFONT ( 0 , 0 ) ;
36 Size = MAP_APPFONT ( 89 - REDUCED_WIDTH , 193 - REMOVED_VS_FORMS_HEIGHT ) ;
37 Text [ en-US ] = "Fontwork" ;
42 EnableResizing = TRUE ;
46 Pos = MAP_APPFONT ( 6 , 41 - REMOVED_VS_FORMS_HEIGHT ) ;
52 Identifier = TBI_STYLE_OFF ;
53 HelpId = HID_FONTWORK_TBI_STYLE_OFF ;
54 Text [ en-US ] = "Off" ;
58 Type = TOOLBOXITEM_SEPARATOR ;
64 Identifier = TBI_STYLE_ROTATE ;
65 HelpId = HID_FONTWORK_TBI_STYLE_ROTATE ;
66 Text [ en-US ] = "Rotate" ;
72 Identifier = TBI_STYLE_UPRIGHT ;
73 HelpId = HID_FONTWORK_TBI_STYLE_UPRIGHT ;
74 Text [ en-US ] = "Upright" ;
80 Identifier = TBI_STYLE_SLANTX ;
81 HelpId = HID_FONTWORK_TBI_STYLE_SLANTX ;
82 Text [ en-US ] = "Slant Horizontal" ;
88 Identifier = TBI_STYLE_SLANTY ;
89 HelpId = HID_FONTWORK_TBI_STYLE_SLANTY ;
90 Text [ en-US ] = "Slant Vertical" ;
97 Pos = MAP_APPFONT ( 6 , 63 - REMOVED_VS_FORMS_HEIGHT ) ;
104 Identifier = TBI_ADJUST_MIRROR ;
105 HelpId = HID_FONTWORK_TBI_ADJUST_MIRROR ;
106 Text [ en-US ] = "Orientation" ;
110 Type = TOOLBOXITEM_SEPARATOR ;
116 Identifier = TBI_ADJUST_LEFT ;
117 HelpId = HID_FONTWORK_TBI_ADJUST_LEFT ;
118 Text [ en-US ] = "Align Left" ;
124 Identifier = TBI_ADJUST_CENTER ;
125 HelpId = HID_FONTWORK_TBI_ADJUST_CENTER ;
126 Text [ en-US ] = "Center" ;
132 Identifier = TBI_ADJUST_RIGHT ;
133 HelpId = HID_FONTWORK_TBI_ADJUST_RIGHT ;
134 Text [ en-US ] = "Align Right" ;
140 Identifier = TBI_ADJUST_AUTOSIZE ;
141 HelpId = HID_FONTWORK_TBI_ADJUST_AUTOSIZE ;
142 Text [ en-US ] = "AutoSize Text" ;
146 FixedImage FB_DISTANCE
148 Pos = MAP_APPFONT ( 10 , 84 - REMOVED_VS_FORMS_HEIGHT ) ;
149 Size = MAP_APPFONT ( 14 , 15 ) ;
151 MetricField MTR_FLD_DISTANCE
153 HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_DISTANCE";
155 Pos = MAP_APPFONT ( 29 , 85 - REMOVED_VS_FORMS_HEIGHT ) ;
156 Size = MAP_APPFONT ( 48 , 12 ) ;
162 StrictFormat = TRUE ;
168 QuickHelpText [ en-US ] = "Distance" ;
171 FixedImage FB_TEXTSTART
173 Pos = MAP_APPFONT ( 10 , 99 - REMOVED_VS_FORMS_HEIGHT ) ;
174 Size = MAP_APPFONT ( 14 , 15 ) ;
176 MetricField MTR_FLD_TEXTSTART
178 HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_TEXTSTART";
180 Pos = MAP_APPFONT ( 29 , 100 - REMOVED_VS_FORMS_HEIGHT ) ;
181 Size = MAP_APPFONT ( 48 , 12 ) ;
186 StrictFormat = TRUE ;
191 QuickHelpText [ en-US ] = "Indent" ;
196 Pos = MAP_APPFONT ( 6 , 122 - REMOVED_VS_FORMS_HEIGHT ) ;
203 Identifier = TBI_SHOWFORM ;
204 HelpId = HID_FONTWORK_TBI_SHOWFORM ;
205 Text [ en-US ] = "Contour" ;
211 Identifier = TBI_OUTLINE ;
212 HelpId = HID_FONTWORK_TBI_OUTLINE ;
213 Text [ en-US ] = "Text Contour" ;
217 Type = TOOLBOXITEM_SEPARATOR ;
223 Identifier = TBI_SHADOW_OFF ;
224 HelpId = HID_FONTWORK_TBI_SHADOW_OFF ;
225 Text [ en-US ] = "No Shadow" ;
231 Identifier = TBI_SHADOW_NORMAL ;
232 HelpId = HID_FONTWORK_TBI_SHADOW_NORMAL ;
233 Text [ en-US ] = "Vertical" ;
239 Identifier = TBI_SHADOW_SLANT ;
240 HelpId = HID_FONTWORK_TBI_SHADOW_SLANT ;
241 Text [ en-US ] = "Slant" ;
245 FixedImage FB_SHADOW_X
247 Pos = MAP_APPFONT ( 10 , 143 - REMOVED_VS_FORMS_HEIGHT ) ;
248 Size = MAP_APPFONT ( 14 , 15 ) ;
250 MetricField MTR_FLD_SHADOW_X
252 HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_SHADOW_X";
254 Pos = MAP_APPFONT ( 29 , 144 - REMOVED_VS_FORMS_HEIGHT ) ;
255 Size = MAP_APPFONT ( 48 , 12 ) ;
261 StrictFormat = TRUE ;
264 CustomUnitText [ en-US ] = " degrees" ;
268 QuickHelpText [ en-US ] = "Distance X" ;
270 FixedImage FB_SHADOW_Y
272 Pos = MAP_APPFONT ( 10 , 158 - REMOVED_VS_FORMS_HEIGHT ) ;
273 Size = MAP_APPFONT ( 14 , 15 ) ;
275 MetricField MTR_FLD_SHADOW_Y
277 HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_SHADOW_Y";
279 Pos = MAP_APPFONT ( 29 , 159 - REMOVED_VS_FORMS_HEIGHT ) ;
280 Size = MAP_APPFONT ( 48 , 12 ) ;
285 StrictFormat = TRUE ;
290 QuickHelpText [ en-US ] = "Distance Y" ;
292 ListBox CLB_SHADOW_COLOR
294 HelpID = "svx:ListBox:RID_SVXDLG_FONTWORK:CLB_SHADOW_COLOR";
296 Pos = MAP_APPFONT ( 6 , 174 - REMOVED_VS_FORMS_HEIGHT ) ;
297 Size = MAP_APPFONT ( 71 , 60 ) ;
299 QuickHelpText [ en-US ] = "Shadow Color" ;
303 #define FONTWORK_IDLIST \
308 TBI_STYLE_UPRIGHT ; \
311 TBI_ADJUST_MIRROR ; \
313 TBI_ADJUST_CENTER ; \
315 TBI_ADJUST_AUTOSIZE ; \
319 TBI_SHADOW_NORMAL ; \
330 #define IMAGE_STDBTN_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; }
332 ImageList IL_FONTWORK
335 MaskColor = IMAGE_STDBTN_COLOR ;
340 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */