fontwork.src (7ea7a1cc) fontwork.src (5b75b699)
1/**************************************************************
1/**************************************************************
2 *
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
10 *
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
19 *
20 *************************************************************/
21
22
20 *************************************************************/
21
22
23 // include ---------------------------------------------------------------
23
24// include ---------------------------------------------------------------
24#include <svx/svxids.hrc>
25#include <svx/dialogs.hrc>
26#include "fontwork.hrc"
27#include "helpid.hrc"
28
25#include <svx/svxids.hrc>
26#include <svx/dialogs.hrc>
27#include "fontwork.hrc"
28#include "helpid.hrc"
29
29 // pragma ----------------------------------------------------------------
30#define REDUCED_WIDTH 6
31#define REMOVED_VS_FORMS_HEIGHT (30 + 6)
30// pragma ----------------------------------------------------------------
31#define REDUCED_WIDTH 6
32#define REMOVED_VS_FORMS_HEIGHT (30 + 6)
32
33
33 // RID_SVXDLG_FONTWORK ---------------------------------------------------
34// RID_SVXDLG_FONTWORK ---------------------------------------------------
34DockingWindow RID_SVXDLG_FONTWORK
35{
36 HelpId = CMD_SID_FONTWORK ;
37 OutputSize = TRUE ;
38 SVLook = TRUE ;
39 Hide = TRUE ;
35DockingWindow RID_SVXDLG_FONTWORK
36{
37 HelpId = CMD_SID_FONTWORK ;
38 OutputSize = TRUE ;
39 SVLook = TRUE ;
40 Hide = TRUE ;
40 Pos = MAP_APPFONT ( 0 , 0 ) ;
41 Size = MAP_APPFONT ( 89 - REDUCED_WIDTH , 193 - REMOVED_VS_FORMS_HEIGHT ) ;
41 Pos = MAP_APPFONT ( 0, 0 ) ;
42 Size = MAP_APPFONT ( 89 - REDUCED_WIDTH, 193 - REMOVED_VS_FORMS_HEIGHT ) ;
42 Text [ en-US ] = "Fontwork" ;
43 Moveable = TRUE ;
44 Zoomable = TRUE ;
45 Closeable = TRUE ;
46 Dockable = TRUE ;
47 EnableResizing = TRUE ;
48 ToolBox TBX_STYLE
49 {
50 SVLook = TRUE ;
43 Text [ en-US ] = "Fontwork" ;
44 Moveable = TRUE ;
45 Zoomable = TRUE ;
46 Closeable = TRUE ;
47 Dockable = TRUE ;
48 EnableResizing = TRUE ;
49 ToolBox TBX_STYLE
50 {
51 SVLook = TRUE ;
51 Pos = MAP_APPFONT ( 6 , 41 - REMOVED_VS_FORMS_HEIGHT ) ;
52 ItemList =
52 Pos = MAP_APPFONT ( 6, 41 - REMOVED_VS_FORMS_HEIGHT ) ;
53 ItemList =
53 {
54 ToolBoxItem
55 {
56 AutoCheck = TRUE ;
57 Identifier = TBI_STYLE_OFF ;
58 HelpId = HID_FONTWORK_TBI_STYLE_OFF ;
59 Text [ en-US ] = "Off" ;
60 };

--- 33 unchanged lines hidden (view full) ---

94 HelpId = HID_FONTWORK_TBI_STYLE_SLANTY ;
95 Text [ en-US ] = "Slant Vertical" ;
96 };
97 };
98 };
99 ToolBox TBX_ADJUST
100 {
101 SVLook = TRUE ;
54 {
55 ToolBoxItem
56 {
57 AutoCheck = TRUE ;
58 Identifier = TBI_STYLE_OFF ;
59 HelpId = HID_FONTWORK_TBI_STYLE_OFF ;
60 Text [ en-US ] = "Off" ;
61 };

--- 33 unchanged lines hidden (view full) ---

95 HelpId = HID_FONTWORK_TBI_STYLE_SLANTY ;
96 Text [ en-US ] = "Slant Vertical" ;
97 };
98 };
99 };
100 ToolBox TBX_ADJUST
101 {
102 SVLook = TRUE ;
102 Pos = MAP_APPFONT ( 6 , 63 - REMOVED_VS_FORMS_HEIGHT ) ;
103 ItemList =
103 Pos = MAP_APPFONT ( 6, 63 - REMOVED_VS_FORMS_HEIGHT ) ;
104 ItemList =
104 {
105 ToolBoxItem
106 {
107 AutoCheck = TRUE ;
108 Checkable = TRUE ;
109 Identifier = TBI_ADJUST_MIRROR ;
110 HelpId = HID_FONTWORK_TBI_ADJUST_MIRROR ;
111 Text [ en-US ] = "Orientation" ;

--- 33 unchanged lines hidden (view full) ---

145 Identifier = TBI_ADJUST_AUTOSIZE ;
146 HelpId = HID_FONTWORK_TBI_ADJUST_AUTOSIZE ;
147 Text [ en-US ] = "AutoSize Text" ;
148 };
149 };
150 };
151 FixedImage FB_DISTANCE
152 {
105 {
106 ToolBoxItem
107 {
108 AutoCheck = TRUE ;
109 Checkable = TRUE ;
110 Identifier = TBI_ADJUST_MIRROR ;
111 HelpId = HID_FONTWORK_TBI_ADJUST_MIRROR ;
112 Text [ en-US ] = "Orientation" ;

--- 33 unchanged lines hidden (view full) ---

146 Identifier = TBI_ADJUST_AUTOSIZE ;
147 HelpId = HID_FONTWORK_TBI_ADJUST_AUTOSIZE ;
148 Text [ en-US ] = "AutoSize Text" ;
149 };
150 };
151 };
152 FixedImage FB_DISTANCE
153 {
153 Pos = MAP_APPFONT ( 10 , 84 - REMOVED_VS_FORMS_HEIGHT ) ;
154 Size = MAP_APPFONT ( 14 , 15 ) ;
154 Pos = MAP_APPFONT ( 10, 84 - REMOVED_VS_FORMS_HEIGHT ) ;
155 Size = MAP_APPFONT ( 14, 15 ) ;
155 };
156 MetricField MTR_FLD_DISTANCE
157 {
156 };
157 MetricField MTR_FLD_DISTANCE
158 {
158 HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_DISTANCE";
159 HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_DISTANCE" ;
159 Border = TRUE ;
160 Border = TRUE ;
160 Pos = MAP_APPFONT ( 29 , 85 - REMOVED_VS_FORMS_HEIGHT ) ;
161 Size = MAP_APPFONT ( 48 , 12 ) ;
161 Pos = MAP_APPFONT ( 29, 85 - REMOVED_VS_FORMS_HEIGHT ) ;
162 Size = MAP_APPFONT ( 48, 12 ) ;
162 TabStop = TRUE ;
163 Repeat = TRUE ;
164 Spin = TRUE ;
165 Minimum = -5000000 ;
166 Maximum = 5000000 ;
167 StrictFormat = TRUE ;
168 DecimalDigits = 2 ;
169 Unit = FUNIT_MM ;
170 First = -5000000 ;
171 Last = 5000000 ;
172 SpinSize = 50 ;
173 QuickHelpText [ en-US ] = "Distance" ;
174
175 };
176 FixedImage FB_TEXTSTART
177 {
163 TabStop = TRUE ;
164 Repeat = TRUE ;
165 Spin = TRUE ;
166 Minimum = -5000000 ;
167 Maximum = 5000000 ;
168 StrictFormat = TRUE ;
169 DecimalDigits = 2 ;
170 Unit = FUNIT_MM ;
171 First = -5000000 ;
172 Last = 5000000 ;
173 SpinSize = 50 ;
174 QuickHelpText [ en-US ] = "Distance" ;
175
176 };
177 FixedImage FB_TEXTSTART
178 {
178 Pos = MAP_APPFONT ( 10 , 99 - REMOVED_VS_FORMS_HEIGHT ) ;
179 Size = MAP_APPFONT ( 14 , 15 ) ;
179 Pos = MAP_APPFONT ( 10, 99 - REMOVED_VS_FORMS_HEIGHT ) ;
180 Size = MAP_APPFONT ( 14, 15 ) ;
180 };
181 MetricField MTR_FLD_TEXTSTART
182 {
181 };
182 MetricField MTR_FLD_TEXTSTART
183 {
183 HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_TEXTSTART";
184 HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_TEXTSTART" ;
184 Border = TRUE ;
185 Border = TRUE ;
185 Pos = MAP_APPFONT ( 29 , 100 - REMOVED_VS_FORMS_HEIGHT ) ;
186 Size = MAP_APPFONT ( 48 , 12 ) ;
186 Pos = MAP_APPFONT ( 29, 100 - REMOVED_VS_FORMS_HEIGHT ) ;
187 Size = MAP_APPFONT ( 48, 12 ) ;
187 TabStop = TRUE ;
188 Repeat = TRUE ;
189 Spin = TRUE ;
190 Maximum = 5000000 ;
191 StrictFormat = TRUE ;
192 DecimalDigits = 2 ;
193 Unit = FUNIT_MM ;
194 Last = 5000000 ;
195 SpinSize = 50 ;
196 QuickHelpText [ en-US ] = "Indent" ;
197 };
198 ToolBox TBX_SHADOW
199 {
200 SVLook = TRUE ;
188 TabStop = TRUE ;
189 Repeat = TRUE ;
190 Spin = TRUE ;
191 Maximum = 5000000 ;
192 StrictFormat = TRUE ;
193 DecimalDigits = 2 ;
194 Unit = FUNIT_MM ;
195 Last = 5000000 ;
196 SpinSize = 50 ;
197 QuickHelpText [ en-US ] = "Indent" ;
198 };
199 ToolBox TBX_SHADOW
200 {
201 SVLook = TRUE ;
201 Pos = MAP_APPFONT ( 6 , 122 - REMOVED_VS_FORMS_HEIGHT ) ;
202 ItemList =
202 Pos = MAP_APPFONT ( 6, 122 - REMOVED_VS_FORMS_HEIGHT ) ;
203 ItemList =
203 {
204 ToolBoxItem
205 {
206 AutoCheck = TRUE ;
207 Checkable = TRUE ;
208 Identifier = TBI_SHOWFORM ;
209 HelpId = HID_FONTWORK_TBI_SHOWFORM ;
210 Text [ en-US ] = "Contour" ;

--- 33 unchanged lines hidden (view full) ---

244 Identifier = TBI_SHADOW_SLANT ;
245 HelpId = HID_FONTWORK_TBI_SHADOW_SLANT ;
246 Text [ en-US ] = "Slant" ;
247 };
248 };
249 };
250 FixedImage FB_SHADOW_X
251 {
204 {
205 ToolBoxItem
206 {
207 AutoCheck = TRUE ;
208 Checkable = TRUE ;
209 Identifier = TBI_SHOWFORM ;
210 HelpId = HID_FONTWORK_TBI_SHOWFORM ;
211 Text [ en-US ] = "Contour" ;

--- 33 unchanged lines hidden (view full) ---

245 Identifier = TBI_SHADOW_SLANT ;
246 HelpId = HID_FONTWORK_TBI_SHADOW_SLANT ;
247 Text [ en-US ] = "Slant" ;
248 };
249 };
250 };
251 FixedImage FB_SHADOW_X
252 {
252 Pos = MAP_APPFONT ( 10 , 143 - REMOVED_VS_FORMS_HEIGHT ) ;
253 Size = MAP_APPFONT ( 14 , 15 ) ;
253 Pos = MAP_APPFONT ( 10, 143 - REMOVED_VS_FORMS_HEIGHT ) ;
254 Size = MAP_APPFONT ( 14, 15 ) ;
254 };
255 MetricField MTR_FLD_SHADOW_X
256 {
255 };
256 MetricField MTR_FLD_SHADOW_X
257 {
257 HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_SHADOW_X";
258 HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_SHADOW_X" ;
258 Border = TRUE ;
259 Border = TRUE ;
259 Pos = MAP_APPFONT ( 29 , 144 - REMOVED_VS_FORMS_HEIGHT ) ;
260 Size = MAP_APPFONT ( 48 , 12 ) ;
260 Pos = MAP_APPFONT ( 29, 144 - REMOVED_VS_FORMS_HEIGHT ) ;
261 Size = MAP_APPFONT ( 48, 12 ) ;
261 TabStop = TRUE ;
262 Repeat = TRUE ;
263 Spin = TRUE ;
264 Minimum = -5000000 ;
265 Maximum = 5000000 ;
266 StrictFormat = TRUE ;
267 DecimalDigits = 2 ;
268 Unit = FUNIT_MM ;
269 CustomUnitText [ en-US ] = " degrees" ;
270 First = -5000000 ;
271 Last = 5000000 ;
272 SpinSize = 50 ;
273 QuickHelpText [ en-US ] = "Distance X" ;
274 };
275 FixedImage FB_SHADOW_Y
276 {
262 TabStop = TRUE ;
263 Repeat = TRUE ;
264 Spin = TRUE ;
265 Minimum = -5000000 ;
266 Maximum = 5000000 ;
267 StrictFormat = TRUE ;
268 DecimalDigits = 2 ;
269 Unit = FUNIT_MM ;
270 CustomUnitText [ en-US ] = " degrees" ;
271 First = -5000000 ;
272 Last = 5000000 ;
273 SpinSize = 50 ;
274 QuickHelpText [ en-US ] = "Distance X" ;
275 };
276 FixedImage FB_SHADOW_Y
277 {
277 Pos = MAP_APPFONT ( 10 , 158 - REMOVED_VS_FORMS_HEIGHT ) ;
278 Size = MAP_APPFONT ( 14 , 15 ) ;
278 Pos = MAP_APPFONT ( 10, 158 - REMOVED_VS_FORMS_HEIGHT ) ;
279 Size = MAP_APPFONT ( 14, 15 ) ;
279 };
280 MetricField MTR_FLD_SHADOW_Y
281 {
280 };
281 MetricField MTR_FLD_SHADOW_Y
282 {
282 HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_SHADOW_Y";
283 HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_SHADOW_Y" ;
283 Border = TRUE ;
284 Border = TRUE ;
284 Pos = MAP_APPFONT ( 29 , 159 - REMOVED_VS_FORMS_HEIGHT ) ;
285 Size = MAP_APPFONT ( 48 , 12 ) ;
285 Pos = MAP_APPFONT ( 29, 159 - REMOVED_VS_FORMS_HEIGHT ) ;
286 Size = MAP_APPFONT ( 48, 12 ) ;
286 TabStop = TRUE ;
287 Repeat = TRUE ;
288 Spin = TRUE ;
289 Maximum = 5000000 ;
290 StrictFormat = TRUE ;
291 DecimalDigits = 2 ;
292 Unit = FUNIT_MM ;
293 Last = 5000000 ;
294 SpinSize = 50 ;
295 QuickHelpText [ en-US ] = "Distance Y" ;
296 };
297 ListBox CLB_SHADOW_COLOR
298 {
287 TabStop = TRUE ;
288 Repeat = TRUE ;
289 Spin = TRUE ;
290 Maximum = 5000000 ;
291 StrictFormat = TRUE ;
292 DecimalDigits = 2 ;
293 Unit = FUNIT_MM ;
294 Last = 5000000 ;
295 SpinSize = 50 ;
296 QuickHelpText [ en-US ] = "Distance Y" ;
297 };
298 ListBox CLB_SHADOW_COLOR
299 {
299 HelpID = "svx:ListBox:RID_SVXDLG_FONTWORK:CLB_SHADOW_COLOR";
300 HelpID = "svx:ListBox:RID_SVXDLG_FONTWORK:CLB_SHADOW_COLOR" ;
300 Border = TRUE ;
301 Border = TRUE ;
301 Pos = MAP_APPFONT ( 6 , 174 - REMOVED_VS_FORMS_HEIGHT ) ;
302 Size = MAP_APPFONT ( 71 , 60 ) ;
302 Pos = MAP_APPFONT ( 6, 174 - REMOVED_VS_FORMS_HEIGHT ) ;
303 Size = MAP_APPFONT ( 71, 60 ) ;
303 DropDown = TRUE ;
304 QuickHelpText [ en-US ] = "Shadow Color" ;
304 DropDown = TRUE ;
305 QuickHelpText [ en-US ] = "Shadow Color" ;
305 Text = "-";
306 Text = "-" ;
306 };
307
307 };
308
308#define FONTWORK_IDLIST \
309 IdList = \
310 { \
311 TBI_STYLE_OFF ; \
312 TBI_STYLE_ROTATE ; \
313 TBI_STYLE_UPRIGHT ; \
314 TBI_STYLE_SLANTX ; \
315 TBI_STYLE_SLANTY ; \
316 TBI_ADJUST_MIRROR ; \
317 TBI_ADJUST_LEFT ; \
318 TBI_ADJUST_CENTER ; \
319 TBI_ADJUST_RIGHT ; \
320 TBI_ADJUST_AUTOSIZE ; \
321 TBI_SHOWFORM ; \
322 TBI_OUTLINE ; \
323 TBI_SHADOW_OFF ; \
324 TBI_SHADOW_NORMAL ; \
325 TBI_SHADOW_SLANT ; \
326 TBI_SHADOW_XDIST ; \
327 TBI_SHADOW_YDIST ; \
328 TBI_SHADOW_ANGLE ; \
329 TBI_SHADOW_SIZE ; \
330 TBI_DISTANCE ; \
331 TBI_TEXTSTART ; \
332 }; \
333 IdCount = { 21 ; };
309#define FONTWORK_IDLIST \
310 IdList = \
311 { \
312 TBI_STYLE_OFF ; \
313 TBI_STYLE_ROTATE ; \
314 TBI_STYLE_UPRIGHT ; \
315 TBI_STYLE_SLANTX ; \
316 TBI_STYLE_SLANTY ; \
317 TBI_ADJUST_MIRROR ; \
318 TBI_ADJUST_LEFT ; \
319 TBI_ADJUST_CENTER ; \
320 TBI_ADJUST_RIGHT ; \
321 TBI_ADJUST_AUTOSIZE ; \
322 TBI_SHOWFORM ; \
323 TBI_OUTLINE ; \
324 TBI_SHADOW_OFF ; \
325 TBI_SHADOW_NORMAL ; \
326 TBI_SHADOW_SLANT ; \
327 TBI_SHADOW_XDIST ; \
328 TBI_SHADOW_YDIST ; \
329 TBI_SHADOW_ANGLE ; \
330 TBI_SHADOW_SIZE ; \
331 TBI_DISTANCE ; \
332 TBI_TEXTSTART ; \
333 }; \
334 IdCount = { 21 ; } ;
334
335 #define IMAGE_STDBTN_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; }
336
337 ImageList IL_FONTWORK
338 {
335
336 #define IMAGE_STDBTN_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; }
337
338 ImageList IL_FONTWORK
339 {
339 Prefix = "fw";
340 Prefix = "fw" ;
340 MaskColor = IMAGE_STDBTN_COLOR ;
341 MaskColor = IMAGE_STDBTN_COLOR ;
341 FONTWORK_IDLIST
342 };
343 ImageList ILH_FONTWORK
342 FONTWORK_IDLIST
343 };
344 ImageList ILH_FONTWORK
344 {
345 {
345 Prefix = "fwh";
346 Prefix = "fwh" ;
346 MaskColor = IMAGE_STDBTN_COLOR ;
347 MaskColor = IMAGE_STDBTN_COLOR ;
347 FONTWORK_IDLIST
348 };
348 FONTWORK_IDLIST
349 };
349};
350
350};
351
351// **********************************************************************
352// EOF
352// ********************************************************************** EOF