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