xref: /AOO41X/main/svx/source/tbxctrls/fontworkgallery.src (revision 7ea7a1cc0485d11251efeb72154f72ac1c990b6e)
109a1d057SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
309a1d057SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
409a1d057SAndrew Rist * or more contributor license agreements.  See the NOTICE file
509a1d057SAndrew Rist * distributed with this work for additional information
609a1d057SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
709a1d057SAndrew Rist * to you under the Apache License, Version 2.0 (the
809a1d057SAndrew Rist * "License"); you may not use this file except in compliance
909a1d057SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
1109a1d057SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
1309a1d057SAndrew Rist * Unless required by applicable law or agreed to in writing,
1409a1d057SAndrew Rist * software distributed under the License is distributed on an
1509a1d057SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1609a1d057SAndrew Rist * KIND, either express or implied.  See the License for the
1709a1d057SAndrew Rist * specific language governing permissions and limitations
1809a1d057SAndrew Rist * under the License.
19cdf0e10cSrcweir *
2009a1d057SAndrew Rist *************************************************************/
2109a1d057SAndrew Rist
2209a1d057SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "helpid.hrc"
25cdf0e10cSrcweir#include <svx/dialogs.hrc>
26cdf0e10cSrcweir#include "fontworkgallery.hrc"
27cdf0e10cSrcweir#include "svtools/controldims.hrc"
28cdf0e10cSrcweir
29cdf0e10cSrcweir#define WIDTH 						256
30cdf0e10cSrcweir#define HEIGHT 						256
31cdf0e10cSrcweir
32cdf0e10cSrcweir#define MASKCOLOR	MaskColor = Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; };
33cdf0e10cSrcweir
34cdf0e10cSrcweirModalDialog RID_SVX_MDLG_FONTWORK_GALLERY
35cdf0e10cSrcweir{
36cdf0e10cSrcweir    HelpID = "svx:ModalDialog:RID_SVX_MDLG_FONTWORK_GALLERY";
37cdf0e10cSrcweir	OutputSize = TRUE;
38cdf0e10cSrcweir	SVLook = TRUE ;
39cdf0e10cSrcweir	Moveable = TRUE;
40cdf0e10cSrcweir	Closeable = TRUE;
41cdf0e10cSrcweir
42cdf0e10cSrcweir	Size = MAP_APPFONT( WIDTH, HEIGHT );
43cdf0e10cSrcweir
44cdf0e10cSrcweir	Text [ en-US ] = "Fontwork Gallery" ;
45cdf0e10cSrcweir
46cdf0e10cSrcweir    FixedLine FL_FAVORITES
47cdf0e10cSrcweir	{
48cdf0e10cSrcweir        Pos = MAP_APPFONT ( 3 , 3 ) ;
49cdf0e10cSrcweir        Size = MAP_APPFONT ( WIDTH - 6 , 8 ) ;
50cdf0e10cSrcweir		Text [ en-US ] = "Select a Fontwork style:" ;
51cdf0e10cSrcweir	};
52cdf0e10cSrcweir	Control CTL_FAVORITES
53cdf0e10cSrcweir	{
54cdf0e10cSrcweir		HelpId = HID_CTL_FONTWORK_FAVORITES ;
55cdf0e10cSrcweir		Border = FALSE ;
56cdf0e10cSrcweir        Pos = MAP_APPFONT ( 3 , 14 ) ;
57cdf0e10cSrcweir        Size = MAP_APPFONT ( WIDTH - 6,
58cdf0e10cSrcweir                             HEIGHT - RSC_CD_PUSHBUTTON_HEIGHT -
59cdf0e10cSrcweir                             6 - RSC_CD_PUSHBUTTON_HEIGHT ) ;
60cdf0e10cSrcweir		TabStop = TRUE ;
61cdf0e10cSrcweir	};
62cdf0e10cSrcweir	OkButton BTN_OK
63cdf0e10cSrcweir	{
64cdf0e10cSrcweir        Pos = MAP_APPFONT ( WIDTH - 3 * RSC_CD_PUSHBUTTON_WIDTH - 9 ,
65cdf0e10cSrcweir                            HEIGHT - 3 - RSC_CD_PUSHBUTTON_HEIGHT ) ;
66cdf0e10cSrcweir        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH,
67cdf0e10cSrcweir                             RSC_CD_PUSHBUTTON_HEIGHT ) ;
68cdf0e10cSrcweir		TabStop = TRUE ;
69cdf0e10cSrcweir	};
70cdf0e10cSrcweir	CancelButton BTN_CANCEL
71cdf0e10cSrcweir	{
72cdf0e10cSrcweir        Pos = MAP_APPFONT ( WIDTH - 2 * RSC_CD_PUSHBUTTON_WIDTH - 6 ,
73cdf0e10cSrcweir                            HEIGHT - 3 - RSC_CD_PUSHBUTTON_HEIGHT ) ;
74cdf0e10cSrcweir        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH,
75cdf0e10cSrcweir                             RSC_CD_PUSHBUTTON_HEIGHT ) ;
76cdf0e10cSrcweir		TabStop = TRUE ;
77cdf0e10cSrcweir	};
78cdf0e10cSrcweir    HelpButton BTN_HELP
79cdf0e10cSrcweir	{
80cdf0e10cSrcweir        Pos = MAP_APPFONT ( WIDTH - 1 * RSC_CD_PUSHBUTTON_WIDTH - 3 ,
81cdf0e10cSrcweir                            HEIGHT - 3 - RSC_CD_PUSHBUTTON_HEIGHT ) ;
82cdf0e10cSrcweir        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH,
83cdf0e10cSrcweir                             RSC_CD_PUSHBUTTON_HEIGHT ) ;
84cdf0e10cSrcweir		TabStop = TRUE ;
85cdf0e10cSrcweir	};
86cdf0e10cSrcweir	String STR_CLICK_TO_ADD_TEXT
87cdf0e10cSrcweir	{
88cdf0e10cSrcweir		Text [ en-US ] = "Click to edit text" ;
89cdf0e10cSrcweir	};
90cdf0e10cSrcweir};
91cdf0e10cSrcweir
92cdf0e10cSrcweirDockingWindow RID_SVXFLOAT_FONTWORK_ALIGNMENT
93cdf0e10cSrcweir{
94cdf0e10cSrcweir    HelpID = "svx:DockingWindow:RID_SVXFLOAT_FONTWORK_ALIGNMENT";
95cdf0e10cSrcweir	Border = FALSE ;
96cdf0e10cSrcweir	Hide = TRUE ;
97cdf0e10cSrcweir	SVLook = TRUE ;
98cdf0e10cSrcweir	Sizeable = FALSE ;
99cdf0e10cSrcweir	Moveable = TRUE ;
100cdf0e10cSrcweir	Closeable = TRUE ;
101cdf0e10cSrcweir	Zoomable = TRUE ;
102cdf0e10cSrcweir
103cdf0e10cSrcweir	Text [ en-US ] = "Fontwork Alignment" ;
104cdf0e10cSrcweir
105cdf0e10cSrcweir	String STR_ALIGN_LEFT
106cdf0e10cSrcweir	{
107cdf0e10cSrcweir		Text [ en-US ] = "~Left Align";
108cdf0e10cSrcweir	};
109cdf0e10cSrcweir	String STR_ALIGN_CENTER
110cdf0e10cSrcweir	{
111cdf0e10cSrcweir		Text [ en-US ] = "~Center";
112cdf0e10cSrcweir	};
113cdf0e10cSrcweir	String STR_ALIGN_RIGHT
114cdf0e10cSrcweir	{
115cdf0e10cSrcweir		Text [ en-US ] = "~Right Align";
116cdf0e10cSrcweir	};
117cdf0e10cSrcweir	String STR_ALIGN_WORD
118cdf0e10cSrcweir	{
119cdf0e10cSrcweir		Text [ en-US ] = "~Word Justify";
120cdf0e10cSrcweir	};
121cdf0e10cSrcweir	String STR_ALIGN_STRETCH
122cdf0e10cSrcweir	{
123cdf0e10cSrcweir		Text [ en-US ] = "S~tretch Justify";
124cdf0e10cSrcweir	};
125cdf0e10cSrcweir
126cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_LEFT_16
127cdf0e10cSrcweir	{
128cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignleft_16.png"; };
129cdf0e10cSrcweir		MASKCOLOR
130cdf0e10cSrcweir	};
131cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_LEFT_16_H
132cdf0e10cSrcweir	{
133cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignleft_16_h.png"; };
134cdf0e10cSrcweir		MASKCOLOR
135cdf0e10cSrcweir	};
136cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_LEFT_26
137cdf0e10cSrcweir	{
138cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignleft_26.png"; };
139cdf0e10cSrcweir		MASKCOLOR
140cdf0e10cSrcweir	};
141cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_LEFT_26_H
142cdf0e10cSrcweir	{
143cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignleft_26_h.png"; };
144cdf0e10cSrcweir		MASKCOLOR
145cdf0e10cSrcweir	};
146cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_CENTER_16
147cdf0e10cSrcweir	{
148cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkaligncentered_16.png"; };
149cdf0e10cSrcweir		MASKCOLOR
150cdf0e10cSrcweir	};
151cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_CENTER_16_H
152cdf0e10cSrcweir	{
153cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkaligncentered_16_h.png"; };
154cdf0e10cSrcweir		MASKCOLOR
155cdf0e10cSrcweir	};
156cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_CENTER_26
157cdf0e10cSrcweir	{
158cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkaligncentered_26.png"; };
159cdf0e10cSrcweir		MASKCOLOR
160cdf0e10cSrcweir	};
161cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_CENTER_26_H
162cdf0e10cSrcweir	{
163cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkaligncentered_26_h.png"; };
164cdf0e10cSrcweir		MASKCOLOR
165cdf0e10cSrcweir	};
166cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_RIGHT_16
167cdf0e10cSrcweir	{
168cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignright_16.png"; };
169cdf0e10cSrcweir		MASKCOLOR
170cdf0e10cSrcweir	};
171cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_RIGHT_16_H
172cdf0e10cSrcweir	{
173cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignright_16_h.png"; };
174cdf0e10cSrcweir		MASKCOLOR
175cdf0e10cSrcweir	};
176cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_RIGHT_26
177cdf0e10cSrcweir	{
178cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignright_26.png"; };
179cdf0e10cSrcweir		MASKCOLOR
180cdf0e10cSrcweir	};
181cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_RIGHT_26_H
182cdf0e10cSrcweir	{
183cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignright_26_h.png"; };
184cdf0e10cSrcweir		MASKCOLOR
185cdf0e10cSrcweir	};
186cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_WORD_16
187cdf0e10cSrcweir	{
188cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignjustified_16.png"; };
189cdf0e10cSrcweir		MASKCOLOR
190cdf0e10cSrcweir	};
191cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_WORD_16_H
192cdf0e10cSrcweir	{
193cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignjustified_16_h.png"; };
194cdf0e10cSrcweir		MASKCOLOR
195cdf0e10cSrcweir	};
196cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_WORD_26
197cdf0e10cSrcweir	{
198cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignjustified_26.png"; };
199cdf0e10cSrcweir		MASKCOLOR
200cdf0e10cSrcweir	};
201cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_WORD_26_H
202cdf0e10cSrcweir	{
203cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignjustified_26_h.png"; };
204cdf0e10cSrcweir		MASKCOLOR
205cdf0e10cSrcweir	};
206cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_STRETCH_16
207cdf0e10cSrcweir	{
208cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignstretch_16.png"; };
209cdf0e10cSrcweir		MASKCOLOR
210cdf0e10cSrcweir	};
211cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_STRETCH_16_H
212cdf0e10cSrcweir	{
213cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignstretch_16_h.png"; };
214cdf0e10cSrcweir		MASKCOLOR
215cdf0e10cSrcweir	};
216cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_STRETCH_26
217cdf0e10cSrcweir	{
218cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignstretch_26.png"; };
219cdf0e10cSrcweir		MASKCOLOR
220cdf0e10cSrcweir	};
221cdf0e10cSrcweir	Image IMG_FONTWORK_ALIGN_STRETCH_26_H
222cdf0e10cSrcweir	{
223cdf0e10cSrcweir		ImageBitmap = Bitmap { File = "fontworkalignstretch_26_h.png"; };
224cdf0e10cSrcweir		MASKCOLOR
225cdf0e10cSrcweir	};
226cdf0e10cSrcweir};
227cdf0e10cSrcweir
228cdf0e10cSrcweirDockingWindow RID_SVXFLOAT_FONTWORK_CHARSPACING
229cdf0e10cSrcweir{
230cdf0e10cSrcweir    HelpID = "svx:DockingWindow:RID_SVXFLOAT_FONTWORK_CHARSPACING";
231cdf0e10cSrcweir	Border = FALSE ;
232cdf0e10cSrcweir	Hide = TRUE ;
233cdf0e10cSrcweir	SVLook = TRUE ;
234cdf0e10cSrcweir	Sizeable = FALSE ;
235cdf0e10cSrcweir	Moveable = TRUE ;
236cdf0e10cSrcweir	Closeable = TRUE ;
237cdf0e10cSrcweir	Zoomable = TRUE ;
238cdf0e10cSrcweir
239cdf0e10cSrcweir	Text [ en-US ] = "Fontwork Character Spacing" ;
240cdf0e10cSrcweir
241cdf0e10cSrcweir	String STR_CHARS_SPACING_VERY_TIGHT
242cdf0e10cSrcweir	{
243cdf0e10cSrcweir		Text [ en-US ] = "~Very Tight";
244cdf0e10cSrcweir	};
245cdf0e10cSrcweir	String STR_CHARS_SPACING_TIGHT
246cdf0e10cSrcweir	{
247cdf0e10cSrcweir		Text [ en-US ] = "~Tight";
248cdf0e10cSrcweir	};
249cdf0e10cSrcweir	String STR_CHARS_SPACING_NORMAL
250cdf0e10cSrcweir	{
251cdf0e10cSrcweir		Text [ en-US ] = "~Normal";
252cdf0e10cSrcweir	};
253cdf0e10cSrcweir	String STR_CHARS_SPACING_LOOSE
254cdf0e10cSrcweir	{
255cdf0e10cSrcweir		Text [ en-US ] = "~Loose";
256cdf0e10cSrcweir	};
257cdf0e10cSrcweir	String STR_CHARS_SPACING_VERY_LOOSE
258cdf0e10cSrcweir	{
259cdf0e10cSrcweir		Text [ en-US ] = "Very ~Loose";
260cdf0e10cSrcweir	};
261cdf0e10cSrcweir	String STR_CHARS_SPACING_CUSTOM
262cdf0e10cSrcweir	{
263cdf0e10cSrcweir		Text [ en-US ] = "~Custom...";
264cdf0e10cSrcweir	};
265cdf0e10cSrcweir	String STR_CHARS_SPACING_KERN_PAIRS
266cdf0e10cSrcweir	{
267cdf0e10cSrcweir		Text [ en-US ] = "~Kern Character Pairs";
268cdf0e10cSrcweir	};
269cdf0e10cSrcweir};
270cdf0e10cSrcweir
271cdf0e10cSrcweirModalDialog RID_SVX_MDLG_FONTWORK_CHARSPACING
272cdf0e10cSrcweir{
273cdf0e10cSrcweir    HelpID = "svx:ModalDialog:RID_SVX_MDLG_FONTWORK_CHARSPACING";
274cdf0e10cSrcweir	OutputSize = TRUE ;
275cdf0e10cSrcweir	SVLook = TRUE ;
276cdf0e10cSrcweir	Size = MAP_APPFONT ( 139 , 64 ) ;
277cdf0e10cSrcweir	Moveable = TRUE ;
278cdf0e10cSrcweir	Closeable = TRUE ;
279cdf0e10cSrcweir
280cdf0e10cSrcweir	Text [ en-US ] = "Fontwork Character Spacing" ;
281cdf0e10cSrcweir
282cdf0e10cSrcweir	OKButton BTN_OK
283cdf0e10cSrcweir	{
284cdf0e10cSrcweir		Pos = MAP_APPFONT ( 83 , 6 ) ;
285cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
286cdf0e10cSrcweir		TabStop = TRUE ;
287cdf0e10cSrcweir		DefButton = TRUE ;
288cdf0e10cSrcweir	};
289cdf0e10cSrcweir	CancelButton BTN_CANCEL
290cdf0e10cSrcweir	{
291cdf0e10cSrcweir		Pos = MAP_APPFONT ( 83 , 23 ) ;
292cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
293cdf0e10cSrcweir		TabStop = TRUE ;
294cdf0e10cSrcweir	};
295cdf0e10cSrcweir	HelpButton BTN_HELP
296cdf0e10cSrcweir	{
297cdf0e10cSrcweir		Pos = MAP_APPFONT ( 83 , 43 ) ;
298cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
299cdf0e10cSrcweir		TabStop = TRUE ;
300cdf0e10cSrcweir	};
301cdf0e10cSrcweir	FixedText FT_VALUE
302cdf0e10cSrcweir	{
303cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 6 ) ;
304cdf0e10cSrcweir		Size = MAP_APPFONT ( 76 , 8 ) ;
305cdf0e10cSrcweir		Text[ en-US ] = "~Value";
306cdf0e10cSrcweir	};
307cdf0e10cSrcweir	MetricField MF_VALUE
308cdf0e10cSrcweir	{
309cdf0e10cSrcweir	    HelpID = "svx:MetricField:RID_SVX_MDLG_FONTWORK_CHARSPACING:MF_VALUE";
310cdf0e10cSrcweir		Border = FALSE ;
311cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 17 ) ;
312cdf0e10cSrcweir        Size = MAP_APPFONT ( 32 , 12 ) ;
313cdf0e10cSrcweir		TabStop = TRUE ;
314cdf0e10cSrcweir		Repeat = TRUE ;
315cdf0e10cSrcweir		Spin = TRUE ;
316cdf0e10cSrcweir		Maximum = 500 ;
317cdf0e10cSrcweir		StrictFormat = TRUE ;
318*7ea7a1ccSTsutomu Uchino		Unit = FUNIT_PERCENT ;
319cdf0e10cSrcweir		Last = 100 ;
320cdf0e10cSrcweir		SpinSize = 5 ;
321cdf0e10cSrcweir	};
322cdf0e10cSrcweir};
323cdf0e10cSrcweir
324