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