Update ooo320-m1
[ooovba.git] / svx / source / cui / hangulhanjadlg.hrc
blob22e0e11aa7d15239c11a633e7329b6fab31f2749
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  * 
5  * Copyright 2008 by Sun Microsystems, Inc.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * $RCSfile: hangulhanjadlg.hrc,v $
10  * $Revision: 1.7 $
11  *
12  * This file is part of OpenOffice.org.
13  *
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.
17  *
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).
23  *
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.
28  *
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>
35 #endif
37 // PushButton
38 #define PB_FIND                 1
40 // Control
41 #define CTL_SUGGESTIONS 1
43 // FixedText
44 #define FT_FORMAT                       1
45 #define FT_RESIZE_ANCHOR        2
46 #define FT_CONVERSION           3
48 // RadioButton
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
57 // CheckBox
58 #define CB_REPLACE_BY_CHARACTER         1
59 #define CB_HANGUL_ONLY                          2
60 #define CB_HANJA_ONLY                           3
62 // String
63 #define STR_HANGUL                                      1
64 #define STR_HANJA                                       2
66 #define FT_WORD                     10
67 #define FT_AKTWORD                  11
68 #define FT_NEWWORD                  12
69 #define GB_AUDIT                    13
70 #define BTN_IGNORE                  14
71 #define BTN_IGNOREALL               15
72 #define BTN_CHANGE                  16
73 #define BTN_CHANGEALL               17
74 #define FT_STATUS                   18
75 #define BTN_SPL_CANCEL              19
76 #define BTN_SPL_HELP                20
77 #define ED_NEWWORD                  21
78 #define FT_SUGGESTION               22
82 // Hangul / Hanja Options Dialog
84 #define FT_USERDEFDICT                          1
85 #define FL_OPTIONS                                      2
86 #define BTN_OPTIONS                 10
88 #define LB_DICTS                                        1
90 #define CB_IGNOREPOST                           1
91 #define CB_SHOWRECENTLYFIRST            3
92 #define CB_AUTOREPLACEUNIQUE            4
94 #define PB_HHO_NEW                                      1
95 #define PB_HHO_EDIT                                     2
96 #define PB_HHO_DELETE                           3
97 #define PB_HHO_OK                                       4
98 #define PB_HHO_CANCEL                           5
99 #define PB_HHO_HELP                                     6
101 // metrics
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
134 #define FL_NEWDICT                                      1
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
150 #define FT_BOOK                                         1
151 #define FT_ORIGINAL                                     2
152 #define FT_SUGGESTIONS                          3
154 #define LB_BOOK                                         1
155 #define LB_ORIGINAL                                     2
157 #define PB_HHE_NEW                                      1
158 #define PB_HHE_DELETE                           2
159 #define PB_HHE_HELP                                     3
160 #define PB_HHE_CLOSE                            4
162 #define SB_SCROLL                                       1
164 #define ED_1                                            1
165 #define ED_2                                            2
166 #define ED_3                                            3
167 #define ED_4                                            4
169 // metrics
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