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