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#ifndef SVX_HANGUL_HANJA_DLG_HRC
28#define SVX_HANGUL_HANJA_DLG_HRC
29
30#ifndef _SVT_CONTROLDIMS_HRC_
31#include <svtools/controldims.hrc>
32#endif
33
34// PushButton
35#define PB_FIND			1
36
37// Control
38#define CTL_SUGGESTIONS	1
39
40// FixedText
41#define FT_FORMAT			1
42#define FT_RESIZE_ANCHOR	2
43#define FT_CONVERSION		3
44
45// RadioButton
46#define RB_SIMPLE_CONVERSION		1
47#define RB_HANJA_HANGUL_BRACKETED	2
48#define RB_HANGUL_HANJA_BRACKETED	3
49#define RB_HANGUL_HANJA_ABOVE		4
50#define RB_HANGUL_HANJA_BELOW		5
51#define RB_HANJA_HANGUL_ABOVE		6
52#define RB_HANJA_HANGUL_BELOW		7
53
54// CheckBox
55#define CB_REPLACE_BY_CHARACTER		1
56#define CB_HANGUL_ONLY				2
57#define CB_HANJA_ONLY				3
58
59// String
60#define STR_HANGUL					1
61#define STR_HANJA					2
62
63#define FT_WORD                     10
64#define FT_AKTWORD                  11
65#define FT_NEWWORD                  12
66#define GB_AUDIT                    13
67#define BTN_IGNORE                  14
68#define BTN_IGNOREALL               15
69#define BTN_CHANGE                  16
70#define BTN_CHANGEALL               17
71#define FT_STATUS                   18
72#define BTN_SPL_CANCEL              19
73#define BTN_SPL_HELP                20
74#define ED_NEWWORD                  21
75#define FT_SUGGESTION               22
76
77
78
79// Hangul / Hanja Options Dialog
80
81#define	FT_USERDEFDICT				1
82#define	FL_OPTIONS					2
83#define BTN_OPTIONS                 10
84
85#define	LB_DICTS					1
86
87#define CB_IGNOREPOST				1
88#define	CB_SHOWRECENTLYFIRST		3
89#define CB_AUTOREPLACEUNIQUE		4
90
91#define	PB_HHO_NEW					1
92#define PB_HHO_EDIT					2
93#define	PB_HHO_DELETE				3
94#define	PB_HHO_OK					4
95#define	PB_HHO_CANCEL				5
96#define	PB_HHO_HELP					6
97
98// metrics
99
100#define	HHO_DLGWIDTH				287
101#define HHx_DLGHIGHT				175
102#define HHO_COL_1					RSC_SP_DLG_INNERBORDER_LEFT
103#define HHO_COL_1a					(HHO_COL_1+3)
104#define HHO_COL_6					(HHO_DLGWIDTH-6)
105#define HHO_COL_5					(HHO_COL_6-50)
106#define HHO_COL_4					(HHO_COL_5-12)
107#define HHO_COL_3					(HHO_COL_4-50)
108#define HHO_COL_2					(HHO_COL_3-6)
109
110#define HHO_ROW_1					RSC_SP_DLG_INNERBORDER_TOP
111#define HHO_ROW_2					(HHO_ROW_1+8+2)
112#define HHO_ROW_3					(HHO_ROW_2+14)
113#define HHO_ROW_4					(HHO_ROW_3+2)
114#define HHO_ROW_5					(HHO_ROW_4+14)
115#define HHO_ROW_6					(HHO_ROW_5+2)
116#define HHO_ROW_7					(HHO_ROW_6+14)
117#define HHO_ROW_8					(HHO_ROW_7+4)
118#define HHO_ROW_9					(HHO_ROW_8+8+4)
119#define HHO_ROW_11					(HHO_ROW_9+8+4)
120#define HHO_ROW_12					(HHO_ROW_11+8+4)
121
122#define	HHO_ROW_a1					HHO_ROW_1
123#define	HHO_ROW_a2					(HHO_ROW_a1+14)
124#define	HHO_ROW_a3					(HHO_ROW_a2+2)
125#define	HHO_ROW_a4					(HHO_ROW_a3+14)
126#define	HHO_ROW_a5					(HHO_ROW_a4+4)
127#define	HHO_ROW_a6					(HHO_ROW_a5+14)
128
129
130// Hangul / Hanja New Dictonary Dialog
131#define FL_NEWDICT					1
132
133#define FT_DICTNAME					1
134
135#define ED_DICTNAME					1
136
137#define PB_NEWDICT_OK				1
138#define PB_NEWDICT_ESC				2
139#define PB_NEWDICT_HLP				3
140
141
142// Hangul Hanja Edit Custom Dictionary Dialog
143#define MAXNUM_SUGGESTIONS			50
144
145#define STR_EDITHINT				1
146
147#define	FT_BOOK						1
148#define	FT_ORIGINAL					2
149#define	FT_SUGGESTIONS				3
150
151#define LB_BOOK						1
152#define	LB_ORIGINAL					2
153
154#define	PB_HHE_NEW					1
155#define	PB_HHE_DELETE				2
156#define PB_HHE_HELP					3
157#define	PB_HHE_CLOSE				4
158
159#define	SB_SCROLL					1
160
161#define ED_1						1
162#define ED_2						2
163#define ED_3						3
164#define ED_4						4
165
166// metrics
167
168#define RSC_CD_VSCRLWIDTH			8		// vertical scroll bar width
169#define	HHE_DLGWIDTH				HHO_DLGWIDTH
170#define HHE_COL_1					RSC_SP_DLG_INNERBORDER_LEFT
171#define HHE_COL_6					(HHE_DLGWIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)
172#define HHE_COL_5					(HHE_COL_6-RSC_CD_PUSHBUTTON_WIDTH)
173#define HHE_COL_4					(HHE_COL_5-6)
174#define HHE_COL_3_2					(HHE_COL_4-RSC_CD_VSCRLWIDTH)
175#define HHE_COL_3_1					(HHE_COL_3_2-RSC_SP_CTRL_GROUP_X)
176#define HHE_COL_3_0					(HHE_COL_3_2-RSC_CD_PUSHBUTTON_WIDTH)
177#define HHE_COL_2					(HHE_COL_1+50)
178#define HHE_COL_3					(HHE_COL_2+1)
179
180#define HHE_ROW_1					RSC_SP_DLG_INNERBORDER_TOP
181#define HHE_ROW_2					(HHE_ROW_1+2)
182#define HHE_ROW_3					(HHE_ROW_2+12)
183#define HHE_ROW_4					(HHE_ROW_3+12)
184#define HHE_ROW_5					(HHE_ROW_4+8+2)
185#define HHE_ROW_6					(HHE_ROW_5+12)
186#define HHE_ROW_7					(HHE_ROW_6+2)
187#define HHE_ROW_8					(HHE_ROW_7+2)
188#define HHE_ROW_9					(HHE_ROW_6+12)
189#define HHE_ROW_10					(HHE_ROW_8+RSC_SP_CTRL_GROUP_Y)
190#define HHE_ROW_11					(HHE_ROW_10+8+2)
191#define HHE_ROW_12					(HHE_ROW_11+4*12)
192#define HHE_ROW_14					(HHx_DLGHIGHT-RSC_SP_DLG_INNERBORDER_BOTTOM)
193#define HHE_ROW_13					(HHE_ROW_14-RSC_CD_PUSHBUTTON_HEIGHT)
194#define HHE_ROW_a1					(HHE_ROW_5)
195#define HHE_ROW_a3					(HHE_ROW_a1+RSC_CD_PUSHBUTTON_HEIGHT+2)
196
197#endif // SVX_HANGUL_HANJA_DLG_HRC
198