xref: /aoo42x/main/svx/source/dialog/fontwork.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27 // include ---------------------------------------------------------------
28#include <svx/svxids.hrc>
29#include <svx/dialogs.hrc>
30#include "fontwork.hrc"
31#include "helpid.hrc"
32 // pragma ----------------------------------------------------------------
33
34 // RID_SVXDLG_FONTWORK ---------------------------------------------------
35DockingWindow RID_SVXDLG_FONTWORK
36{
37	HelpId = CMD_SID_FONTWORK ;
38	OutputSize = TRUE ;
39	SVLook = TRUE ;
40	Hide = TRUE ;
41	Pos = MAP_APPFONT ( 0 , 0 ) ;
42	Size = MAP_APPFONT ( 89 , 193 ) ;
43	Text [ en-US ] = "Fontwork" ;
44	Moveable = TRUE ;
45	Zoomable = TRUE ;
46	Closeable = TRUE ;
47	Dockable = TRUE ;
48	EnableResizing = TRUE ;
49	Control VS_FORMS
50	{
51		HelpId = HID_FONTWORK_CTL_FORMS ;
52		Pos = MAP_APPFONT ( 6 , 4 ) ;
53		Size = MAP_APPFONT ( 71 , 30 ) ;
54		Border = TRUE ;
55		TabStop = TRUE ;
56	};
57	ToolBox TBX_STYLE
58	{
59		SVLook = TRUE ;
60		Pos = MAP_APPFONT ( 6 , 41 ) ;
61		ItemList  =
62		{
63			ToolBoxItem
64			{
65				AutoCheck = TRUE ;
66				Identifier = TBI_STYLE_OFF ;
67				HelpId = HID_FONTWORK_TBI_STYLE_OFF ;
68				Text [ en-US ] = "Off" ;
69			};
70			ToolBoxItem
71			{
72				Type = TOOLBOXITEM_SEPARATOR ;
73			};
74			ToolBoxItem
75			{
76				AutoCheck = TRUE ;
77				RadioCheck = TRUE ;
78				Identifier = TBI_STYLE_ROTATE ;
79				HelpId = HID_FONTWORK_TBI_STYLE_ROTATE ;
80				Text [ en-US ] = "Rotate" ;
81			};
82			ToolBoxItem
83			{
84				AutoCheck = TRUE ;
85				RadioCheck = TRUE ;
86				Identifier = TBI_STYLE_UPRIGHT ;
87				HelpId = HID_FONTWORK_TBI_STYLE_UPRIGHT ;
88				Text [ en-US ] = "Upright" ;
89			};
90			ToolBoxItem
91			{
92				AutoCheck = TRUE ;
93				RadioCheck = TRUE ;
94				Identifier = TBI_STYLE_SLANTX ;
95				HelpId = HID_FONTWORK_TBI_STYLE_SLANTX ;
96				Text [ en-US ] = "Slant Horizontal" ;
97			};
98			ToolBoxItem
99			{
100				AutoCheck = TRUE ;
101				RadioCheck = TRUE ;
102				Identifier = TBI_STYLE_SLANTY ;
103				HelpId = HID_FONTWORK_TBI_STYLE_SLANTY ;
104				Text [ en-US ] = "Slant Vertical" ;
105			};
106		};
107	};
108	ToolBox TBX_ADJUST
109	{
110		SVLook = TRUE ;
111		Pos = MAP_APPFONT ( 6 , 63 ) ;
112		ItemList  =
113		{
114			ToolBoxItem
115			{
116				AutoCheck = TRUE ;
117				Checkable = TRUE ;
118				Identifier = TBI_ADJUST_MIRROR ;
119				HelpId = HID_FONTWORK_TBI_ADJUST_MIRROR ;
120				Text [ en-US ] = "Orientation" ;
121			};
122			ToolBoxItem
123			{
124				Type = TOOLBOXITEM_SEPARATOR ;
125			};
126			ToolBoxItem
127			{
128				AutoCheck = TRUE ;
129				RadioCheck = TRUE ;
130				Identifier = TBI_ADJUST_LEFT ;
131				HelpId = HID_FONTWORK_TBI_ADJUST_LEFT ;
132				Text [ en-US ] = "Align Left" ;
133			};
134			ToolBoxItem
135			{
136				AutoCheck = TRUE ;
137				RadioCheck = TRUE ;
138				Identifier = TBI_ADJUST_CENTER ;
139				HelpId = HID_FONTWORK_TBI_ADJUST_CENTER ;
140				Text [ en-US ] = "Center" ;
141			};
142			ToolBoxItem
143			{
144				AutoCheck = TRUE ;
145				RadioCheck = TRUE ;
146				Identifier = TBI_ADJUST_RIGHT ;
147				HelpId = HID_FONTWORK_TBI_ADJUST_RIGHT ;
148				Text [ en-US ] = "Align Right" ;
149			};
150			ToolBoxItem
151			{
152				AutoCheck = TRUE ;
153				RadioCheck = TRUE ;
154				Identifier = TBI_ADJUST_AUTOSIZE ;
155				HelpId = HID_FONTWORK_TBI_ADJUST_AUTOSIZE ;
156				Text [ en-US ] = "AutoSize Text" ;
157			};
158		};
159	};
160	FixedImage FB_DISTANCE
161	{
162		Pos = MAP_APPFONT ( 10 , 84 ) ;
163		Size = MAP_APPFONT ( 14 , 15 ) ;
164	};
165	MetricField MTR_FLD_DISTANCE
166	{
167	    HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_DISTANCE";
168		Border = TRUE ;
169		Pos = MAP_APPFONT ( 29 , 85 ) ;
170		Size = MAP_APPFONT ( 48 , 12 ) ;
171		TabStop = TRUE ;
172		Repeat = TRUE ;
173		Spin = TRUE ;
174		Minimum = -5000000 ;
175		Maximum = 5000000 ;
176		StrictFormat = TRUE ;
177		DecimalDigits = 2 ;
178		Unit = FUNIT_MM ;
179		First = -5000000 ;
180		Last = 5000000 ;
181		SpinSize = 50 ;
182		QuickHelpText [ en-US ] = "Distance" ;
183
184	};
185	FixedImage FB_TEXTSTART
186	{
187		Pos = MAP_APPFONT ( 10 , 99 ) ;
188		Size = MAP_APPFONT ( 14 , 15 ) ;
189	};
190	MetricField MTR_FLD_TEXTSTART
191	{
192	    HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_TEXTSTART";
193		Border = TRUE ;
194		Pos = MAP_APPFONT ( 29 , 100 ) ;
195		Size = MAP_APPFONT ( 48 , 12 ) ;
196		TabStop = TRUE ;
197		Repeat = TRUE ;
198		Spin = TRUE ;
199		Maximum = 5000000 ;
200		StrictFormat = TRUE ;
201		DecimalDigits = 2 ;
202		Unit = FUNIT_MM ;
203		Last = 5000000 ;
204		SpinSize = 50 ;
205		QuickHelpText [ en-US ] = "Indent" ;
206	};
207	ToolBox TBX_SHADOW
208	{
209		SVLook = TRUE ;
210		Pos = MAP_APPFONT ( 6 , 122 ) ;
211		ItemList  =
212		{
213			ToolBoxItem
214			{
215				AutoCheck = TRUE ;
216				Checkable = TRUE ;
217				Identifier = TBI_SHOWFORM ;
218				HelpId = HID_FONTWORK_TBI_SHOWFORM ;
219				Text [ en-US ] = "Contour" ;
220			};
221			ToolBoxItem
222			{
223				AutoCheck = TRUE ;
224				Checkable = TRUE ;
225				Identifier = TBI_OUTLINE ;
226				HelpId = HID_FONTWORK_TBI_OUTLINE ;
227				Text [ en-US ] = "Text Contour" ;
228			};
229			ToolBoxItem
230			{
231				Type = TOOLBOXITEM_SEPARATOR ;
232			};
233			ToolBoxItem
234			{
235				AutoCheck = TRUE ;
236				RadioCheck = TRUE ;
237				Identifier = TBI_SHADOW_OFF ;
238				HelpId = HID_FONTWORK_TBI_SHADOW_OFF ;
239				Text [ en-US ] = "No Shadow" ;
240			};
241			ToolBoxItem
242			{
243				AutoCheck = TRUE ;
244				RadioCheck = TRUE ;
245				Identifier = TBI_SHADOW_NORMAL ;
246				HelpId = HID_FONTWORK_TBI_SHADOW_NORMAL ;
247				Text [ en-US ] = "Vertical" ;
248			};
249			ToolBoxItem
250			{
251				AutoCheck = TRUE ;
252				RadioCheck = TRUE ;
253				Identifier = TBI_SHADOW_SLANT ;
254				HelpId = HID_FONTWORK_TBI_SHADOW_SLANT ;
255				Text [ en-US ] = "Slant" ;
256			};
257		};
258	};
259	FixedImage FB_SHADOW_X
260	{
261		Pos = MAP_APPFONT ( 10 , 143 ) ;
262		Size = MAP_APPFONT ( 14 , 15 ) ;
263	};
264	MetricField MTR_FLD_SHADOW_X
265	{
266	    HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_SHADOW_X";
267		Border = TRUE ;
268		Pos = MAP_APPFONT ( 29 , 144 ) ;
269		Size = MAP_APPFONT ( 48 , 12 ) ;
270		TabStop = TRUE ;
271		Repeat = TRUE ;
272		Spin = TRUE ;
273		Minimum = -5000000 ;
274		Maximum = 5000000 ;
275		StrictFormat = TRUE ;
276		DecimalDigits = 2 ;
277		Unit = FUNIT_MM ;
278		CustomUnitText [ en-US ] = " degrees" ;
279		First = -5000000 ;
280		Last = 5000000 ;
281		SpinSize = 50 ;
282		QuickHelpText [ en-US ] = "Distance X" ;
283	};
284	FixedImage FB_SHADOW_Y
285	{
286		Pos = MAP_APPFONT ( 10 , 158 ) ;
287		Size = MAP_APPFONT ( 14 , 15 ) ;
288	};
289	MetricField MTR_FLD_SHADOW_Y
290	{
291	    HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_SHADOW_Y";
292		Border = TRUE ;
293		Pos = MAP_APPFONT ( 29 , 159 ) ;
294		Size = MAP_APPFONT ( 48 , 12 ) ;
295		TabStop = TRUE ;
296		Repeat = TRUE ;
297		Spin = TRUE ;
298		Maximum = 5000000 ;
299		StrictFormat = TRUE ;
300		DecimalDigits = 2 ;
301		Unit = FUNIT_MM ;
302		Last = 5000000 ;
303		SpinSize = 50 ;
304		QuickHelpText [ en-US ] = "Distance Y" ;
305		CustomUnitText [ en-US ] = "%" ;
306	};
307	ListBox CLB_SHADOW_COLOR
308	{
309	    HelpID = "svx:ListBox:RID_SVXDLG_FONTWORK:CLB_SHADOW_COLOR";
310		Border = TRUE ;
311		Pos = MAP_APPFONT ( 6 , 174 ) ;
312		Size = MAP_APPFONT ( 71 , 60 ) ;
313		DropDown = TRUE ;
314		QuickHelpText [ en-US ] = "Shadow Color" ;
315		Text = "-";
316	};
317
318#define FONTWORK_IDLIST \
319        IdList =            \
320        {                   \
321			TBI_STYLE_OFF ;	\
322			TBI_STYLE_ROTATE ;	\
323			TBI_STYLE_UPRIGHT ;	\
324			TBI_STYLE_SLANTX ;	\
325			TBI_STYLE_SLANTY ;	\
326			TBI_ADJUST_MIRROR ;	\
327			TBI_ADJUST_LEFT ;	\
328			TBI_ADJUST_CENTER ;	\
329			TBI_ADJUST_RIGHT ;	\
330			TBI_ADJUST_AUTOSIZE ; \
331			TBI_SHOWFORM ;	\
332			TBI_OUTLINE ;	\
333			TBI_SHADOW_OFF ;	\
334			TBI_SHADOW_NORMAL ;	\
335			TBI_SHADOW_SLANT ; \
336			TBI_SHADOW_XDIST ; \
337			TBI_SHADOW_YDIST ; \
338			TBI_SHADOW_ANGLE ; \
339			TBI_SHADOW_SIZE ; \
340			TBI_DISTANCE ; \
341			TBI_TEXTSTART ; \
342        };                 \
343        IdCount = { 21 ; };
344
345	#define IMAGE_STDBTN_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; }
346
347	ImageList IL_FONTWORK
348	{
349        Prefix = "fw";
350		MaskColor = IMAGE_STDBTN_COLOR ;
351        FONTWORK_IDLIST
352    };
353    ImageList ILH_FONTWORK
354	{
355        Prefix = "fwh";
356		MaskColor = IMAGE_STDBTN_COLOR ;
357        FONTWORK_IDLIST
358    };
359};
360 // Bitmaps ---------------------------------------------------------------
361Bitmap RID_SVXBMP_FONTWORK_FORM1
362{
363	File = "fwthcirc.bmp" ;
364};
365Bitmap RID_SVXBMP_FONTWORK_FORM2
366{
367	File = "fwbhcirc.bmp" ;
368};
369Bitmap RID_SVXBMP_FONTWORK_FORM3
370{
371	File = "fwlhcirc.bmp" ;
372};
373Bitmap RID_SVXBMP_FONTWORK_FORM4
374{
375	File = "fwrhcirc.bmp" ;
376};
377Bitmap RID_SVXBMP_FONTWORK_FORM5
378{
379	File = "fwtoparc.bmp" ;
380};
381Bitmap RID_SVXBMP_FONTWORK_FORM6
382{
383	File = "fwbotarc.bmp" ;
384};
385Bitmap RID_SVXBMP_FONTWORK_FORM7
386{
387	File = "fwlftarc.bmp" ;
388};
389Bitmap RID_SVXBMP_FONTWORK_FORM8
390{
391	File = "fwrgtarc.bmp" ;
392};
393Bitmap RID_SVXBMP_FONTWORK_FORM9
394{
395	File = "fwbuttn1.bmp" ;
396};
397Bitmap RID_SVXBMP_FONTWORK_FORM10
398{
399	File = "fwbuttn2.bmp" ;
400};
401Bitmap RID_SVXBMP_FONTWORK_FORM11
402{
403	File = "fwbuttn3.bmp" ;
404};
405Bitmap RID_SVXBMP_FONTWORK_FORM12
406{
407	File = "fwbuttn4.bmp" ;
408};
409
410Bitmap RID_SVXBMP_FONTWORK_FORM1_H
411{
412	File = "fwthcirc_h.bmp" ;
413};
414Bitmap RID_SVXBMP_FONTWORK_FORM2_H
415{
416	File = "fwbhcirc_h.bmp" ;
417};
418Bitmap RID_SVXBMP_FONTWORK_FORM3_H
419{
420	File = "fwlhcirc_h.bmp" ;
421};
422Bitmap RID_SVXBMP_FONTWORK_FORM4_H
423{
424	File = "fwrhcirc_h.bmp" ;
425};
426Bitmap RID_SVXBMP_FONTWORK_FORM5_H
427{
428	File = "fwtoparc_h.bmp" ;
429};
430Bitmap RID_SVXBMP_FONTWORK_FORM6_H
431{
432	File = "fwbotarc_h.bmp" ;
433};
434Bitmap RID_SVXBMP_FONTWORK_FORM7_H
435{
436	File = "fwlftarc_h.bmp" ;
437};
438Bitmap RID_SVXBMP_FONTWORK_FORM8_H
439{
440	File = "fwrgtarc_h.bmp" ;
441};
442Bitmap RID_SVXBMP_FONTWORK_FORM9_H
443{
444	File = "fwbuttn1_h.bmp" ;
445};
446Bitmap RID_SVXBMP_FONTWORK_FORM10_H
447{
448	File = "fwbuttn2_h.bmp" ;
449};
450Bitmap RID_SVXBMP_FONTWORK_FORM11_H
451{
452	File = "fwbuttn3_h.bmp" ;
453};
454Bitmap RID_SVXBMP_FONTWORK_FORM12_H
455{
456	File = "fwbuttn4_h.bmp" ;
457};
458
459 // Strings ---------------------------------------------------------------
460String RID_SVXSTR_FONTWORK_FORM1
461{
462	Text [ en-US ] = "Upper Semicircle" ;
463};
464String RID_SVXSTR_FONTWORK_FORM2
465{
466	Text [ en-US ] = "Lower Semicircle" ;
467};
468String RID_SVXSTR_FONTWORK_FORM3
469{
470	Text [ en-US ] = "Left Semicircle" ;
471};
472String RID_SVXSTR_FONTWORK_FORM4
473{
474	Text [ en-US ] = "Right Semicircle" ;
475};
476String RID_SVXSTR_FONTWORK_FORM5
477{
478	Text [ en-US ] = "Upper Arc" ;
479};
480String RID_SVXSTR_FONTWORK_FORM6
481{
482	Text [ en-US ] = "Lower Arc" ;
483};
484String RID_SVXSTR_FONTWORK_FORM7
485{
486	Text [ en-US ] = "Left Arc" ;
487};
488String RID_SVXSTR_FONTWORK_FORM8
489{
490	Text [ en-US ] = "Right Arc" ;
491};
492String RID_SVXSTR_FONTWORK_FORM9
493{
494	Text [ en-US ] = "Open Circle" ;
495};
496String RID_SVXSTR_FONTWORK_FORM10
497{
498	Text [ en-US ] = "Closed Circle" ;
499};
500String RID_SVXSTR_FONTWORK_FORM11
501{
502	Text [ en-US ] = "Closed Circle II" ;
503};
504String RID_SVXSTR_FONTWORK_FORM12
505{
506	Text [ en-US ] = "Open Circle Vertical" ;
507};
508String RID_SVXSTR_FONTWORK_UNDOCREATE
509{
510	Text [ en-US ] = "Create Fontwork object" ;
511};
512 // ********************************************************************** EOF
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561