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