1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27#include <cuires.hrc>
28#include "helpid.hrc"
29
30#ifndef SVX_HANGUL_HANJA_DLG_HRC
31#include "hangulhanjadlg.hrc"
32#endif
33
34ModalDialog RID_SVX_MDLG_HANGULHANJA
35{
36	HelpId = HID_DIALOG_HANGULHANJA;
37    Size = MAP_APPFONT( 302, 175 );
38	OutputSize = TRUE;
39	Closeable = TRUE ;
40	Moveable = TRUE ;
41	SVLook = TRUE;
42
43	Text [ en-US ] = "Hangul/Hanja Conversion";
44
45	PushButton PB_FIND
46	{
47	    HelpID = "cui:PushButton:RID_SVX_MDLG_HANGULHANJA:PB_FIND";
48        Pos = MAP_APPFONT( 207, 23 );
49		Size = MAP_APPFONT( 30, 14 );
50
51		Text [ en-US ] = "~Find";
52	};
53
54	Control CTL_SUGGESTIONS
55	{
56		Pos = MAP_APPFONT( 51, 46 );
57        Size = MAP_APPFONT( 186, 30 );
58		TabStop = TRUE ;
59	};
60
61	FixedText FT_FORMAT
62	{
63		Pos = MAP_APPFONT( 6, 81 );
64		Size = MAP_APPFONT( 42, 8 );
65
66		Text [ en-US ] = "Format";
67	};
68
69	RadioButton RB_SIMPLE_CONVERSION
70	{
71	    HelpID = "cui:RadioButton:RID_SVX_MDLG_HANGULHANJA:RB_SIMPLE_CONVERSION";
72		Pos = MAP_APPFONT( 51, 81 );
73        Size = MAP_APPFONT( 60, 8 );
74
75		Group = TRUE;
76
77		Text [ en-US ] = "~Hangul/Hanja";
78	};
79
80	RadioButton RB_HANJA_HANGUL_BRACKETED
81	{
82	    HelpID = "cui:RadioButton:RID_SVX_MDLG_HANGULHANJA:RB_HANJA_HANGUL_BRACKETED";
83        Pos = MAP_APPFONT( 114, 81 );
84        Size = MAP_APPFONT( 60, 8 );
85
86		Text [ en-US ] = "Hanja (Han~gul)";
87	};
88
89	RadioButton RB_HANGUL_HANJA_BRACKETED
90	{
91	    HelpID = "cui:RadioButton:RID_SVX_MDLG_HANGULHANJA:RB_HANGUL_HANJA_BRACKETED";
92        Pos = MAP_APPFONT( 177, 81 );
93        Size = MAP_APPFONT( 60, 8 );
94
95		Text [ en-US ] = "Hang~ul (Hanja)";
96	};
97
98	RadioButton RB_HANGUL_HANJA_ABOVE
99	{
100	    HelpID = "cui:RadioButton:RID_SVX_MDLG_HANGULHANJA:RB_HANGUL_HANJA_ABOVE";
101		Pos = MAP_APPFONT( 51, 95 );
102        Size = MAP_APPFONT( 60, 16 );
103
104		// this is the _primary_ text
105		Text [ en-US ] = "Hangu~l";
106	};
107
108	RadioButton RB_HANGUL_HANJA_BELOW
109	{
110	    HelpID = "cui:RadioButton:RID_SVX_MDLG_HANGULHANJA:RB_HANGUL_HANJA_BELOW";
111        Pos = MAP_APPFONT( 114, 95 );
112        Size = MAP_APPFONT( 60, 16 );
113
114		// this is the _primary_ text
115		Text [ en-US ] = "Hang~ul";
116	};
117
118	RadioButton RB_HANJA_HANGUL_ABOVE
119	{
120	    HelpID = "cui:RadioButton:RID_SVX_MDLG_HANGULHANJA:RB_HANJA_HANGUL_ABOVE";
121        Pos = MAP_APPFONT( 56, 114 );
122        Size = MAP_APPFONT( 60, 16 );
123
124		// this is the _primary_ text
125		Text [ en-US ] = "Han~ja";
126	};
127
128	RadioButton RB_HANJA_HANGUL_BELOW
129	{
130	    HelpID = "cui:RadioButton:RID_SVX_MDLG_HANGULHANJA:RB_HANJA_HANGUL_BELOW";
131        Pos = MAP_APPFONT( 114, 114 );
132        Size = MAP_APPFONT( 60, 16 );
133
134		// this is the _primary_ text
135		Text [ en-US ] = "Ha~nja";
136	};
137
138	FixedText FT_CONVERSION
139	{
140		Pos = MAP_APPFONT( 6, 134 );
141		Size = MAP_APPFONT( 42, 8 );
142
143		Text [ en-US ] = "Conversion";
144	};
145
146	CheckBox CB_HANGUL_ONLY
147	{
148	    HelpID = "cui:CheckBox:RID_SVX_MDLG_HANGULHANJA:CB_HANGUL_ONLY";
149		Pos = MAP_APPFONT( 51, 134 );
150        Size = MAP_APPFONT( 60, 8 );
151
152		Text [ en-US ] = "Hangul ~only";
153	};
154
155	CheckBox CB_HANJA_ONLY
156	{
157	    HelpID = "cui:CheckBox:RID_SVX_MDLG_HANGULHANJA:CB_HANJA_ONLY";
158        Pos = MAP_APPFONT( 114, 134 );
159		Size = MAP_APPFONT( 55, 8 );
160
161		Text [ en-US ] = "Hanja onl~y";
162	};
163
164	// this element is only for determining where our radio button group ends (in both directions)
165	FixedText FT_RESIZE_ANCHOR
166	{
167        Pos = MAP_APPFONT( 241, 133 );
168	};
169
170	CheckBox CB_REPLACE_BY_CHARACTER
171	{
172	    HelpID = "cui:CheckBox:RID_SVX_MDLG_HANGULHANJA:CB_REPLACE_BY_CHARACTER";
173        Pos = MAP_APPFONT( 241, 81 );
174		Size = MAP_APPFONT( 55, 24 );
175
176		WordBreak = TRUE;
177
178        Text [ en-US ] = "Replace b~y character";
179	};
180
181	String STR_HANGUL
182	{
183		Text [ en-US ] = "Hangul";
184	};
185
186	String STR_HANJA
187	{
188		Text [ en-US ] = "Hanja";
189	};
190};
191
192ModalDialog RID_SVX_MDLG_HANGULHANJA_OPT
193{
194	OutputSize = TRUE ;
195	Hide = TRUE ;
196	SVLook = TRUE ;
197	HelpId = HID_HANGULHANJA_OPT_DLG;
198	Pos = MAP_APPFONT ( 0 , 0 ) ;
199    Size = MAP_APPFONT ( HHO_DLGWIDTH , HHx_DLGHIGHT ) ;
200	Text [ en-US ] = "Hangul/Hanja Options" ;
201	Moveable = TRUE ;
202	Closeable = TRUE ;
203
204    FixedText FT_USERDEFDICT
205	{
206        Pos = MAP_APPFONT ( HHO_COL_1 , HHO_ROW_1 ) ;
207        Size = MAP_APPFONT ( HHO_COL_2 - HHO_COL_1, 8 ) ;
208		Text[ en-US ] = "User-defined dictionaries";
209	};
210	Control LB_DICTS
211	{
212		Pos = MAP_APPFONT ( HHO_COL_1 , HHO_ROW_2 ) ;
213        Size = MAP_APPFONT ( HHO_COL_2 - HHO_COL_1 , HHO_ROW_7 - HHO_ROW_2 ) ;
214        HelpId = HID_HANGULHANJA_OPT_DICTS_LB;
215		TabStop = TRUE;
216		Border = TRUE;
217	};
218    FixedLine FL_OPTIONS
219	{
220        Pos = MAP_APPFONT ( HHO_COL_1 , HHO_ROW_8 ) ;
221        Size = MAP_APPFONT ( HHO_COL_4 - HHO_COL_1, 8 ) ;
222		Text[ en-US ] = "Options";
223	};
224	CheckBox CB_IGNOREPOST
225	{
226	    HelpID = "cui:CheckBox:RID_SVX_MDLG_HANGULHANJA_OPT:CB_IGNOREPOST";
227		Pos = MAP_APPFONT ( HHO_COL_1a, HHO_ROW_9 ) ;
228		Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_1a , 12 ) ;
229		Text[ en-US ] = "Ignore post-positional word";
230	};
231	CheckBox CB_SHOWRECENTLYFIRST
232	{
233	    HelpID = "cui:CheckBox:RID_SVX_MDLG_HANGULHANJA_OPT:CB_SHOWRECENTLYFIRST";
234		Pos = MAP_APPFONT ( HHO_COL_1a, HHO_ROW_11 ) ;
235		Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_1a , 12 ) ;
236		Text [ en-US ] = "Show recently used entries first";
237	};
238	CheckBox CB_AUTOREPLACEUNIQUE
239	{
240	    HelpID = "cui:CheckBox:RID_SVX_MDLG_HANGULHANJA_OPT:CB_AUTOREPLACEUNIQUE";
241		Pos = MAP_APPFONT ( HHO_COL_1a, HHO_ROW_12 ) ;
242		Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_1a , 12 ) ;
243		Text [ en-US ] = "Replace all unique entries automatically";
244	};
245	PushButton PB_HHO_NEW
246	{
247	    HelpID = "cui:PushButton:RID_SVX_MDLG_HANGULHANJA_OPT:PB_HHO_NEW";
248        Pos = MAP_APPFONT ( HHO_COL_3 , HHO_ROW_2 ) ;
249		Size = MAP_APPFONT ( HHO_COL_4 - HHO_COL_3 , 14 ) ;
250		Text [ en-US ] = "New...";
251	};
252	PushButton PB_HHO_EDIT
253	{
254	    HelpID = "cui:PushButton:RID_SVX_MDLG_HANGULHANJA_OPT:PB_HHO_EDIT";
255        Pos = MAP_APPFONT ( HHO_COL_3 , HHO_ROW_4 ) ;
256		Size = MAP_APPFONT ( HHO_COL_4 - HHO_COL_3 , 14 ) ;
257		Text [ en-US ] = "Edit...";
258	};
259	PushButton PB_HHO_DELETE
260	{
261	    HelpID = "cui:PushButton:RID_SVX_MDLG_HANGULHANJA_OPT:PB_HHO_DELETE";
262        Pos = MAP_APPFONT ( HHO_COL_3 , HHO_ROW_6 ) ;
263		Size = MAP_APPFONT ( HHO_COL_4 - HHO_COL_3 , 14 ) ;
264		Text [ en-US ] = "Delete";
265	};
266	OKButton PB_HHO_OK
267	{
268		DefButton = TRUE;
269        Pos = MAP_APPFONT ( HHO_COL_5 , HHO_ROW_a1 ) ;
270		Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_5 , 14 ) ;
271	};
272	CancelButton PB_HHO_CANCEL
273	{
274        Pos = MAP_APPFONT ( HHO_COL_5 , HHO_ROW_a3 ) ;
275		Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_5 , 14 ) ;
276	};
277	HelpButton PB_HHO_HELP
278	{
279        Pos = MAP_APPFONT ( HHO_COL_5 , HHO_ROW_a5 ) ;
280		Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_5 , 14 ) ;
281	};
282
283};
284
285
286ModalDialog RID_SVX_MDLG_HANGULHANJA_NEWDICT
287{
288	HelpId = HID_HANGULHANJA_NEWDICT_DLG;
289	OutputSize = TRUE ;
290	SVLook = TRUE ;
291	Size = MAP_APPFONT ( 213 , 66 ) ;
292	Moveable = TRUE ;
293
294	Text [ en-US ] = "New Dictionary" ;
295
296	FixedLine FL_NEWDICT
297	{
298		Pos = MAP_APPFONT ( 6 , 3 ) ;
299		Size = MAP_APPFONT ( 145 , 8 ) ;
300		Text [ en-US ] = "Dictionary" ;
301	};
302	FixedText FT_DICTNAME
303	{
304		Pos = MAP_APPFONT ( 11 , 15 ) ;
305		Size = MAP_APPFONT ( 40 , 10 ) ;
306		LeftLabel = TRUE ;
307		Text [ en-US ] = "~Name" ;
308	};
309	Edit ED_DICTNAME
310	{
311	    HelpID = "cui:Edit:RID_SVX_MDLG_HANGULHANJA_NEWDICT:ED_DICTNAME";
312		Border = TRUE ;
313		Pos = MAP_APPFONT ( 55 , 14 ) ;
314		Size = MAP_APPFONT ( 90 , 12 ) ;
315		MaxTextLength = 32 ;
316	};
317	OKButton PB_NEWDICT_OK
318	{
319		Pos = MAP_APPFONT ( 157 , 6 ) ;
320		Size = MAP_APPFONT ( 50 , 14 ) ;
321		Disable = TRUE ;
322		DefButton = TRUE ;
323	};
324	CancelButton PB_NEWDICT_ESC
325	{
326		Pos = MAP_APPFONT ( 157 , 23 ) ;
327		Size = MAP_APPFONT ( 50 , 14 ) ;
328	};
329	HelpButton PB_NEWDICT_HLP
330	{
331		Pos = MAP_APPFONT ( 157 , 43 ) ;
332		Size = MAP_APPFONT ( 50 , 14 ) ;
333	};
334};
335
336
337ModalDialog RID_SVX_MDLG_HANGULHANJA_EDIT
338{
339	OutputSize = TRUE ;
340	Hide = TRUE ;
341	SVLook = TRUE ;
342	HelpId = HID_HANGULHANJA_EDIT_DLG;
343	Pos = MAP_APPFONT ( 0 , 0 ) ;
344    Size = MAP_APPFONT ( HHE_DLGWIDTH , HHx_DLGHIGHT ) ;
345	Text [ en-US ] = "Edit Custom Dictionary" ;
346	Moveable = TRUE ;
347	Closeable = TRUE ;
348
349	String STR_EDITHINT
350	{
351		Text [ en-US ] = "[Enter text here]";
352	};
353    FixedText FT_BOOK
354	{
355        Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_2 ) ;
356        Size = MAP_APPFONT ( HHE_COL_2 - HHE_COL_1, 8 ) ;
357		Text [ en-US ] = "Book";
358	};
359	ListBox LB_BOOK
360	{
361	    HelpID = "cui:ListBox:RID_SVX_MDLG_HANGULHANJA_EDIT:LB_BOOK";
362		Pos = MAP_APPFONT ( HHE_COL_3 , HHE_ROW_1 ) ;
363        Size = MAP_APPFONT ( HHE_COL_4 - HHE_COL_3 , 60 ) ;
364		DropDown = TRUE;
365		Border = TRUE;
366	};
367    FixedText FT_ORIGINAL
368	{
369        Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_4 ) ;
370        Size = MAP_APPFONT ( HHE_COL_4 - HHE_COL_1, 8 ) ;
371		Text [ en-US ] = "Original";
372	};
373	ComboBox LB_ORIGINAL
374	{
375	    HelpID = "cui:ComboBox:RID_SVX_MDLG_HANGULHANJA_EDIT:LB_ORIGINAL";
376		Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_5 ) ;
377        Size = MAP_APPFONT ( HHE_COL_4 - HHE_COL_1 , 60 ) ;
378		DropDown = TRUE;
379		Border = TRUE;
380	};
381    FixedText FT_SUGGESTIONS
382	{
383        Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_10 ) ;
384        Size = MAP_APPFONT ( HHE_COL_4 - HHE_COL_1, 8 ) ;
385		Text [ en-US ] = "Suggestions (max. 8)";
386	};
387    Edit ED_1
388	{
389        HelpID = "cui:Edit:RID_SVX_MDLG_HANGULHANJA_EDIT:ED_1";
390		Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_11 ) ;
391        Size = MAP_APPFONT ( HHE_COL_3_1 - HHE_COL_1 , 12 ) ;
392		Hide = False;
393		Border = TRUE;
394	};
395    Edit ED_2
396	{
397        HelpID = "cui:Edit:RID_SVX_MDLG_HANGULHANJA_EDIT:ED_2";
398		Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_11 + 12 ) ;
399        Size = MAP_APPFONT ( HHE_COL_3_1 - HHE_COL_1 , 12 ) ;
400		Hide = False;
401		Border = TRUE;
402	};
403    Edit ED_3
404	{
405        HelpID = "cui:Edit:RID_SVX_MDLG_HANGULHANJA_EDIT:ED_3";
406		Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_11 + 24 ) ;
407        Size = MAP_APPFONT ( HHE_COL_3_1 - HHE_COL_1 , 12 ) ;
408		Hide = False;
409		Border = TRUE;
410	};
411    Edit ED_4
412	{
413        HelpID = "cui:Edit:RID_SVX_MDLG_HANGULHANJA_EDIT:ED_4";
414		Pos = MAP_APPFONT ( HHE_COL_1 , HHE_ROW_11 + 36 ) ;
415        Size = MAP_APPFONT ( HHE_COL_3_1 - HHE_COL_1 , 12 ) ;
416		Hide = False;
417		Border = TRUE;
418	};
419	ScrollBar SB_SCROLL
420	{
421        Pos = MAP_APPFONT ( HHE_COL_3_2 , HHE_ROW_11 ) ;
422		Size = MAP_APPFONT ( RSC_CD_VSCRLWIDTH , HHE_ROW_12 - HHE_ROW_11 ) ;	// height = 48
423		VScroll = TRUE ;
424		Drag = TRUE ;
425	};
426	PushButton PB_HHE_NEW
427	{
428	    HelpID = "cui:PushButton:RID_SVX_MDLG_HANGULHANJA_EDIT:PB_HHE_NEW";
429        Pos = MAP_APPFONT ( HHE_COL_5 , HHE_ROW_a1 ) ;
430		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
431		Text [ en-US ] = "New";
432	};
433	PushButton PB_HHE_DELETE
434	{
435	    HelpID = "cui:PushButton:RID_SVX_MDLG_HANGULHANJA_EDIT:PB_HHE_DELETE";
436        Pos = MAP_APPFONT ( HHE_COL_5 , HHE_ROW_a3 ) ;
437		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
438		Text [ en-US ] = "Delete";
439	};
440	HelpButton PB_HHE_HELP
441	{
442        Pos = MAP_APPFONT ( HHE_COL_3_0 , HHE_ROW_13 ) ;
443		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
444	};
445	CancelButton PB_HHE_CLOSE
446	{
447        Pos = MAP_APPFONT ( HHE_COL_5 , HHE_ROW_13 ) ;
448		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
449		Text [ en-US ] = "Close";
450	};
451};
452
453
454
455