1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: hangulhanjadlg.hrc,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef SVX_HANGUL_HANJA_DLG_HRC
31 #define SVX_HANGUL_HANJA_DLG_HRC
33 #ifndef _SVT_CONTROLDIMS_HRC_
34 #include <svtools/controldims.hrc>
41 #define CTL_SUGGESTIONS 1
45 #define FT_RESIZE_ANCHOR 2
46 #define FT_CONVERSION 3
49 #define RB_SIMPLE_CONVERSION 1
50 #define RB_HANJA_HANGUL_BRACKETED 2
51 #define RB_HANGUL_HANJA_BRACKETED 3
52 #define RB_HANGUL_HANJA_ABOVE 4
53 #define RB_HANGUL_HANJA_BELOW 5
54 #define RB_HANJA_HANGUL_ABOVE 6
55 #define RB_HANJA_HANGUL_BELOW 7
58 #define CB_REPLACE_BY_CHARACTER 1
59 #define CB_HANGUL_ONLY 2
60 #define CB_HANJA_ONLY 3
71 #define BTN_IGNOREALL 15
73 #define BTN_CHANGEALL 17
75 #define BTN_SPL_CANCEL 19
76 #define BTN_SPL_HELP 20
78 #define FT_SUGGESTION 22
82 // Hangul / Hanja Options Dialog
84 #define FT_USERDEFDICT 1
86 #define BTN_OPTIONS 10
90 #define CB_IGNOREPOST 1
91 #define CB_SHOWRECENTLYFIRST 3
92 #define CB_AUTOREPLACEUNIQUE 4
96 #define PB_HHO_DELETE 3
98 #define PB_HHO_CANCEL 5
103 #define HHO_DLGWIDTH 287
104 #define HHx_DLGHIGHT 175
105 #define HHO_COL_1 RSC_SP_DLG_INNERBORDER_LEFT
106 #define HHO_COL_1a (HHO_COL_1+3)
107 #define HHO_COL_6 (HHO_DLGWIDTH-6)
108 #define HHO_COL_5 (HHO_COL_6-50)
109 #define HHO_COL_4 (HHO_COL_5-12)
110 #define HHO_COL_3 (HHO_COL_4-50)
111 #define HHO_COL_2 (HHO_COL_3-6)
113 #define HHO_ROW_1 RSC_SP_DLG_INNERBORDER_TOP
114 #define HHO_ROW_2 (HHO_ROW_1+8+2)
115 #define HHO_ROW_3 (HHO_ROW_2+14)
116 #define HHO_ROW_4 (HHO_ROW_3+2)
117 #define HHO_ROW_5 (HHO_ROW_4+14)
118 #define HHO_ROW_6 (HHO_ROW_5+2)
119 #define HHO_ROW_7 (HHO_ROW_6+14)
120 #define HHO_ROW_8 (HHO_ROW_7+4)
121 #define HHO_ROW_9 (HHO_ROW_8+8+4)
122 #define HHO_ROW_11 (HHO_ROW_9+8+4)
123 #define HHO_ROW_12 (HHO_ROW_11+8+4)
125 #define HHO_ROW_a1 HHO_ROW_1
126 #define HHO_ROW_a2 (HHO_ROW_a1+14)
127 #define HHO_ROW_a3 (HHO_ROW_a2+2)
128 #define HHO_ROW_a4 (HHO_ROW_a3+14)
129 #define HHO_ROW_a5 (HHO_ROW_a4+4)
130 #define HHO_ROW_a6 (HHO_ROW_a5+14)
133 // Hangul / Hanja New Dictonary Dialog
136 #define FT_DICTNAME 1
138 #define ED_DICTNAME 1
140 #define PB_NEWDICT_OK 1
141 #define PB_NEWDICT_ESC 2
142 #define PB_NEWDICT_HLP 3
145 // Hangul Hanja Edit Custom Dictionary Dialog
146 #define MAXNUM_SUGGESTIONS 50
148 #define STR_EDITHINT 1
151 #define FT_ORIGINAL 2
152 #define FT_SUGGESTIONS 3
155 #define LB_ORIGINAL 2
158 #define PB_HHE_DELETE 2
159 #define PB_HHE_HELP 3
160 #define PB_HHE_CLOSE 4
171 #define RSC_CD_VSCRLWIDTH 8 // vertical scroll bar width
172 #define HHE_DLGWIDTH HHO_DLGWIDTH
173 #define HHE_COL_1 RSC_SP_DLG_INNERBORDER_LEFT
174 #define HHE_COL_6 (HHE_DLGWIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)
175 #define HHE_COL_5 (HHE_COL_6-RSC_CD_PUSHBUTTON_WIDTH)
176 #define HHE_COL_4 (HHE_COL_5-6)
177 #define HHE_COL_3_2 (HHE_COL_4-RSC_CD_VSCRLWIDTH)
178 #define HHE_COL_3_1 (HHE_COL_3_2-RSC_SP_CTRL_GROUP_X)
179 #define HHE_COL_3_0 (HHE_COL_3_2-RSC_CD_PUSHBUTTON_WIDTH)
180 #define HHE_COL_2 (HHE_COL_1+50)
181 #define HHE_COL_3 (HHE_COL_2+1)
183 #define HHE_ROW_1 RSC_SP_DLG_INNERBORDER_TOP
184 #define HHE_ROW_2 (HHE_ROW_1+2)
185 #define HHE_ROW_3 (HHE_ROW_2+12)
186 #define HHE_ROW_4 (HHE_ROW_3+12)
187 #define HHE_ROW_5 (HHE_ROW_4+8+2)
188 #define HHE_ROW_6 (HHE_ROW_5+12)
189 #define HHE_ROW_7 (HHE_ROW_6+2)
190 #define HHE_ROW_8 (HHE_ROW_7+2)
191 #define HHE_ROW_9 (HHE_ROW_6+12)
192 #define HHE_ROW_10 (HHE_ROW_8+RSC_SP_CTRL_GROUP_Y)
193 #define HHE_ROW_11 (HHE_ROW_10+8+2)
194 #define HHE_ROW_12 (HHE_ROW_11+4*12)
195 #define HHE_ROW_14 (HHx_DLGHIGHT-RSC_SP_DLG_INNERBORDER_BOTTOM)
196 #define HHE_ROW_13 (HHE_ROW_14-RSC_CD_PUSHBUTTON_HEIGHT)
197 #define HHE_ROW_a1 (HHE_ROW_5)
198 #define HHE_ROW_a3 (HHE_ROW_a1+RSC_CD_PUSHBUTTON_HEIGHT+2)
200 #endif // SVX_HANGUL_HANJA_DLG_HRC