1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir
28*cdf0e10cSrcweir#include "helpid.hrc"
29*cdf0e10cSrcweir#include <svx/dialogs.hrc>
30*cdf0e10cSrcweir#include "fontworkgallery.hrc"
31*cdf0e10cSrcweir#include "svtools/controldims.hrc"
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir#define WIDTH 						256
34*cdf0e10cSrcweir#define HEIGHT 						256
35*cdf0e10cSrcweir
36*cdf0e10cSrcweir#define MASKCOLOR	MaskColor = Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; };
37*cdf0e10cSrcweir
38*cdf0e10cSrcweirModalDialog RID_SVX_MDLG_FONTWORK_GALLERY
39*cdf0e10cSrcweir{
40*cdf0e10cSrcweir    HelpID = "svx:ModalDialog:RID_SVX_MDLG_FONTWORK_GALLERY";
41*cdf0e10cSrcweir	OutputSize = TRUE;
42*cdf0e10cSrcweir	SVLook = TRUE ;
43*cdf0e10cSrcweir	Moveable = TRUE;
44*cdf0e10cSrcweir	Closeable = TRUE;
45*cdf0e10cSrcweir
46*cdf0e10cSrcweir	Size = MAP_APPFONT( WIDTH, HEIGHT );
47*cdf0e10cSrcweir
48*cdf0e10cSrcweir	Text [ en-US ] = "Fontwork Gallery" ;
49*cdf0e10cSrcweir
50*cdf0e10cSrcweir    FixedLine FL_FAVORITES
51*cdf0e10cSrcweir	{
52*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 3 , 3 ) ;
53*cdf0e10cSrcweir        Size = MAP_APPFONT ( WIDTH - 6 , 8 ) ;
54*cdf0e10cSrcweir		Text [ en-US ] = "Select a Fontwork style:" ;
55*cdf0e10cSrcweir	};
56*cdf0e10cSrcweir	Control CTL_FAVORITES
57*cdf0e10cSrcweir	{
58*cdf0e10cSrcweir		HelpId = HID_CTL_FONTWORK_FAVORITES ;
59*cdf0e10cSrcweir		Border = FALSE ;
60*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 3 , 14 ) ;
61*cdf0e10cSrcweir        Size = MAP_APPFONT ( WIDTH - 6,
62*cdf0e10cSrcweir                             HEIGHT - RSC_CD_PUSHBUTTON_HEIGHT -
63*cdf0e10cSrcweir                             6 - RSC_CD_PUSHBUTTON_HEIGHT ) ;
64*cdf0e10cSrcweir		TabStop = TRUE ;
65*cdf0e10cSrcweir	};
66*cdf0e10cSrcweir	OkButton BTN_OK
67*cdf0e10cSrcweir	{
68*cdf0e10cSrcweir        Pos = MAP_APPFONT ( WIDTH - 3 * RSC_CD_PUSHBUTTON_WIDTH - 9 ,
69*cdf0e10cSrcweir                            HEIGHT - 3 - RSC_CD_PUSHBUTTON_HEIGHT ) ;
70*cdf0e10cSrcweir        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH,
71*cdf0e10cSrcweir                             RSC_CD_PUSHBUTTON_HEIGHT ) ;
72*cdf0e10cSrcweir		TabStop = TRUE ;
73*cdf0e10cSrcweir	};
74*cdf0e10cSrcweir	CancelButton BTN_CANCEL
75*cdf0e10cSrcweir	{
76*cdf0e10cSrcweir        Pos = MAP_APPFONT ( WIDTH - 2 * RSC_CD_PUSHBUTTON_WIDTH - 6 ,
77*cdf0e10cSrcweir                            HEIGHT - 3 - RSC_CD_PUSHBUTTON_HEIGHT ) ;
78*cdf0e10cSrcweir        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH,
79*cdf0e10cSrcweir                             RSC_CD_PUSHBUTTON_HEIGHT ) ;
80*cdf0e10cSrcweir		TabStop = TRUE ;
81*cdf0e10cSrcweir	};
82*cdf0e10cSrcweir    HelpButton BTN_HELP
83*cdf0e10cSrcweir	{
84*cdf0e10cSrcweir        Pos = MAP_APPFONT ( WIDTH - 1 * RSC_CD_PUSHBUTTON_WIDTH - 3 ,
85*cdf0e10cSrcweir                            HEIGHT - 3 - RSC_CD_PUSHBUTTON_HEIGHT ) ;
86*cdf0e10cSrcweir        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH,
87*cdf0e10cSrcweir                             RSC_CD_PUSHBUTTON_HEIGHT ) ;
88*cdf0e10cSrcweir		TabStop = TRUE ;
89*cdf0e10cSrcweir	};
90*cdf0e10cSrcweir	String STR_CLICK_TO_ADD_TEXT
91*cdf0e10cSrcweir	{
92*cdf0e10cSrcweir		Text [ en-US ] = "Click to edit text" ;
93*cdf0e10cSrcweir	};
94*cdf0e10cSrcweir};
95*cdf0e10cSrcweir
96*cdf0e10cSrcweirDockingWindow RID_SVXFLOAT_FONTWORK_ALIGNMENT
97*cdf0e10cSrcweir{
98*cdf0e10cSrcweir    HelpID = "svx:DockingWindow:RID_SVXFLOAT_FONTWORK_ALIGNMENT";
99*cdf0e10cSrcweir	Border = FALSE ;
100*cdf0e10cSrcweir	Hide = TRUE ;
101*cdf0e10cSrcweir	SVLook = TRUE ;
102*cdf0e10cSrcweir	Sizeable = FALSE ;
103*cdf0e10cSrcweir	Moveable = TRUE ;
104*cdf0e10cSrcweir	Closeable = TRUE ;
105*cdf0e10cSrcweir	Zoomable = TRUE ;
106*cdf0e10cSrcweir
107*cdf0e10cSrcweir	Text [ en-US ] = "Fontwork Alignment" ;
108*cdf0e10cSrcweir
109*cdf0e10cSrcweir	String STR_ALIGN_LEFT
110*cdf0e10cSrcweir	{
111*cdf0e10cSrcweir		Text [ en-US ] = "~Left Align";
112*cdf0e10cSrcweir	};
113*cdf0e10cSrcweir	String STR_ALIGN_CENTER
114*cdf0e10cSrcweir	{
115*cdf0e10cSrcweir		Text [ en-US ] = "~Center";
116*cdf0e10cSrcweir	};
117*cdf0e10cSrcweir	String STR_ALIGN_RIGHT
118*cdf0e10cSrcweir	{
119*cdf0e10cSrcweir		Text [ en-US ] = "~Right Align";
120*cdf0e10cSrcweir	};
121*cdf0e10cSrcweir	String STR_ALIGN_WORD
122*cdf0e10cSrcweir	{
123*cdf0e10cSrcweir		Text [ en-US ] = "~Word Justify";
124*cdf0e10cSrcweir	};
125*cdf0e10cSrcweir	String STR_ALIGN_STRETCH
126*cdf0e10cSrcweir	{
127*cdf0e10cSrcweir		Text [ en-US ] = "S~tretch Justify";
128*cdf0e10cSrcweir	};
129*cdf0e10cSrcweir
130*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_LEFT_16
131*cdf0e10cSrcweir	{
132*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignleft_16.png"; };
133*cdf0e10cSrcweir		MASKCOLOR
134*cdf0e10cSrcweir	};
135*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_LEFT_16_H
136*cdf0e10cSrcweir	{
137*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignleft_16_h.png"; };
138*cdf0e10cSrcweir		MASKCOLOR
139*cdf0e10cSrcweir	};
140*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_LEFT_26
141*cdf0e10cSrcweir	{
142*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignleft_26.png"; };
143*cdf0e10cSrcweir		MASKCOLOR
144*cdf0e10cSrcweir	};
145*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_LEFT_26_H
146*cdf0e10cSrcweir	{
147*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignleft_26_h.png"; };
148*cdf0e10cSrcweir		MASKCOLOR
149*cdf0e10cSrcweir	};
150*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_CENTER_16
151*cdf0e10cSrcweir	{
152*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkaligncentered_16.png"; };
153*cdf0e10cSrcweir		MASKCOLOR
154*cdf0e10cSrcweir	};
155*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_CENTER_16_H
156*cdf0e10cSrcweir	{
157*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkaligncentered_16_h.png"; };
158*cdf0e10cSrcweir		MASKCOLOR
159*cdf0e10cSrcweir	};
160*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_CENTER_26
161*cdf0e10cSrcweir	{
162*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkaligncentered_26.png"; };
163*cdf0e10cSrcweir		MASKCOLOR
164*cdf0e10cSrcweir	};
165*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_CENTER_26_H
166*cdf0e10cSrcweir	{
167*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkaligncentered_26_h.png"; };
168*cdf0e10cSrcweir		MASKCOLOR
169*cdf0e10cSrcweir	};
170*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_RIGHT_16
171*cdf0e10cSrcweir	{
172*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignright_16.png"; };
173*cdf0e10cSrcweir		MASKCOLOR
174*cdf0e10cSrcweir	};
175*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_RIGHT_16_H
176*cdf0e10cSrcweir	{
177*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignright_16_h.png"; };
178*cdf0e10cSrcweir		MASKCOLOR
179*cdf0e10cSrcweir	};
180*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_RIGHT_26
181*cdf0e10cSrcweir	{
182*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignright_26.png"; };
183*cdf0e10cSrcweir		MASKCOLOR
184*cdf0e10cSrcweir	};
185*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_RIGHT_26_H
186*cdf0e10cSrcweir	{
187*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignright_26_h.png"; };
188*cdf0e10cSrcweir		MASKCOLOR
189*cdf0e10cSrcweir	};
190*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_WORD_16
191*cdf0e10cSrcweir	{
192*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignjustified_16.png"; };
193*cdf0e10cSrcweir		MASKCOLOR
194*cdf0e10cSrcweir	};
195*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_WORD_16_H
196*cdf0e10cSrcweir	{
197*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignjustified_16_h.png"; };
198*cdf0e10cSrcweir		MASKCOLOR
199*cdf0e10cSrcweir	};
200*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_WORD_26
201*cdf0e10cSrcweir	{
202*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignjustified_26.png"; };
203*cdf0e10cSrcweir		MASKCOLOR
204*cdf0e10cSrcweir	};
205*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_WORD_26_H
206*cdf0e10cSrcweir	{
207*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignjustified_26_h.png"; };
208*cdf0e10cSrcweir		MASKCOLOR
209*cdf0e10cSrcweir	};
210*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_STRETCH_16
211*cdf0e10cSrcweir	{
212*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignstretch_16.png"; };
213*cdf0e10cSrcweir		MASKCOLOR
214*cdf0e10cSrcweir	};
215*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_STRETCH_16_H
216*cdf0e10cSrcweir	{
217*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignstretch_16_h.png"; };
218*cdf0e10cSrcweir		MASKCOLOR
219*cdf0e10cSrcweir	};
220*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_STRETCH_26
221*cdf0e10cSrcweir	{
222*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignstretch_26.png"; };
223*cdf0e10cSrcweir		MASKCOLOR
224*cdf0e10cSrcweir	};
225*cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_STRETCH_26_H
226*cdf0e10cSrcweir	{
227*cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignstretch_26_h.png"; };
228*cdf0e10cSrcweir		MASKCOLOR
229*cdf0e10cSrcweir	};
230*cdf0e10cSrcweir};
231*cdf0e10cSrcweir
232*cdf0e10cSrcweirDockingWindow RID_SVXFLOAT_FONTWORK_CHARSPACING
233*cdf0e10cSrcweir{
234*cdf0e10cSrcweir    HelpID = "svx:DockingWindow:RID_SVXFLOAT_FONTWORK_CHARSPACING";
235*cdf0e10cSrcweir	Border = FALSE ;
236*cdf0e10cSrcweir	Hide = TRUE ;
237*cdf0e10cSrcweir	SVLook = TRUE ;
238*cdf0e10cSrcweir	Sizeable = FALSE ;
239*cdf0e10cSrcweir	Moveable = TRUE ;
240*cdf0e10cSrcweir	Closeable = TRUE ;
241*cdf0e10cSrcweir	Zoomable = TRUE ;
242*cdf0e10cSrcweir
243*cdf0e10cSrcweir	Text [ en-US ] = "Fontwork Character Spacing" ;
244*cdf0e10cSrcweir
245*cdf0e10cSrcweir	String STR_CHARS_SPACING_VERY_TIGHT
246*cdf0e10cSrcweir	{
247*cdf0e10cSrcweir		Text [ en-US ] = "~Very Tight";
248*cdf0e10cSrcweir	};
249*cdf0e10cSrcweir	String STR_CHARS_SPACING_TIGHT
250*cdf0e10cSrcweir	{
251*cdf0e10cSrcweir		Text [ en-US ] = "~Tight";
252*cdf0e10cSrcweir	};
253*cdf0e10cSrcweir	String STR_CHARS_SPACING_NORMAL
254*cdf0e10cSrcweir	{
255*cdf0e10cSrcweir		Text [ en-US ] = "~Normal";
256*cdf0e10cSrcweir	};
257*cdf0e10cSrcweir	String STR_CHARS_SPACING_LOOSE
258*cdf0e10cSrcweir	{
259*cdf0e10cSrcweir		Text [ en-US ] = "~Loose";
260*cdf0e10cSrcweir	};
261*cdf0e10cSrcweir	String STR_CHARS_SPACING_VERY_LOOSE
262*cdf0e10cSrcweir	{
263*cdf0e10cSrcweir		Text [ en-US ] = "Very ~Loose";
264*cdf0e10cSrcweir	};
265*cdf0e10cSrcweir	String STR_CHARS_SPACING_CUSTOM
266*cdf0e10cSrcweir	{
267*cdf0e10cSrcweir		Text [ en-US ] = "~Custom...";
268*cdf0e10cSrcweir	};
269*cdf0e10cSrcweir	String STR_CHARS_SPACING_KERN_PAIRS
270*cdf0e10cSrcweir	{
271*cdf0e10cSrcweir		Text [ en-US ] = "~Kern Character Pairs";
272*cdf0e10cSrcweir	};
273*cdf0e10cSrcweir};
274*cdf0e10cSrcweir
275*cdf0e10cSrcweirModalDialog RID_SVX_MDLG_FONTWORK_CHARSPACING
276*cdf0e10cSrcweir{
277*cdf0e10cSrcweir    HelpID = "svx:ModalDialog:RID_SVX_MDLG_FONTWORK_CHARSPACING";
278*cdf0e10cSrcweir	OutputSize = TRUE ;
279*cdf0e10cSrcweir	SVLook = TRUE ;
280*cdf0e10cSrcweir	Size = MAP_APPFONT ( 139 , 64 ) ;
281*cdf0e10cSrcweir	Moveable = TRUE ;
282*cdf0e10cSrcweir	Closeable = TRUE ;
283*cdf0e10cSrcweir
284*cdf0e10cSrcweir	Text [ en-US ] = "Fontwork Character Spacing" ;
285*cdf0e10cSrcweir
286*cdf0e10cSrcweir	OKButton BTN_OK
287*cdf0e10cSrcweir	{
288*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 83 , 6 ) ;
289*cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
290*cdf0e10cSrcweir		TabStop = TRUE ;
291*cdf0e10cSrcweir		DefButton = TRUE ;
292*cdf0e10cSrcweir	};
293*cdf0e10cSrcweir	CancelButton BTN_CANCEL
294*cdf0e10cSrcweir	{
295*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 83 , 23 ) ;
296*cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
297*cdf0e10cSrcweir		TabStop = TRUE ;
298*cdf0e10cSrcweir	};
299*cdf0e10cSrcweir	HelpButton BTN_HELP
300*cdf0e10cSrcweir	{
301*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 83 , 43 ) ;
302*cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
303*cdf0e10cSrcweir		TabStop = TRUE ;
304*cdf0e10cSrcweir	};
305*cdf0e10cSrcweir	FixedText FT_VALUE
306*cdf0e10cSrcweir	{
307*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 6 ) ;
308*cdf0e10cSrcweir		Size = MAP_APPFONT ( 76 , 8 ) ;
309*cdf0e10cSrcweir		Text[ en-US ] = "~Value";
310*cdf0e10cSrcweir	};
311*cdf0e10cSrcweir	MetricField MF_VALUE
312*cdf0e10cSrcweir	{
313*cdf0e10cSrcweir	    HelpID = "svx:MetricField:RID_SVX_MDLG_FONTWORK_CHARSPACING:MF_VALUE";
314*cdf0e10cSrcweir		Border = FALSE ;
315*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 17 ) ;
316*cdf0e10cSrcweir        Size = MAP_APPFONT ( 32 , 12 ) ;
317*cdf0e10cSrcweir		TabStop = TRUE ;
318*cdf0e10cSrcweir		Repeat = TRUE ;
319*cdf0e10cSrcweir		Spin = TRUE ;
320*cdf0e10cSrcweir		Maximum = 500 ;
321*cdf0e10cSrcweir		StrictFormat = TRUE ;
322*cdf0e10cSrcweir		Unit = FUNIT_CUSTOM ;
323*cdf0e10cSrcweir        CustomUnitText = "%" ;
324*cdf0e10cSrcweir		Last = 100 ;
325*cdf0e10cSrcweir		SpinSize = 5 ;
326*cdf0e10cSrcweir	};
327*cdf0e10cSrcweir};
328*cdf0e10cSrcweir
329