1*8414840eSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*8414840eSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*8414840eSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*8414840eSAndrew Rist * distributed with this work for additional information 6*8414840eSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*8414840eSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*8414840eSAndrew Rist * "License"); you may not use this file except in compliance 9*8414840eSAndrew Rist * with the License. You may obtain a copy of the License at 10*8414840eSAndrew Rist * 11*8414840eSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*8414840eSAndrew Rist * 13*8414840eSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*8414840eSAndrew Rist * software distributed under the License is distributed on an 15*8414840eSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*8414840eSAndrew Rist * KIND, either express or implied. See the License for the 17*8414840eSAndrew Rist * specific language governing permissions and limitations 18*8414840eSAndrew Rist * under the License. 19*8414840eSAndrew Rist * 20*8414840eSAndrew Rist *************************************************************/ 21*8414840eSAndrew Rist 22*8414840eSAndrew Rist 23cdf0e10cSrcweir#ifndef SVX_HANGUL_HANJA_DLG_HRC 24cdf0e10cSrcweir#define SVX_HANGUL_HANJA_DLG_HRC 25cdf0e10cSrcweir 26cdf0e10cSrcweir#ifndef _SVT_CONTROLDIMS_HRC_ 27cdf0e10cSrcweir#include <svtools/controldims.hrc> 28cdf0e10cSrcweir#endif 29cdf0e10cSrcweir 30cdf0e10cSrcweir// PushButton 31cdf0e10cSrcweir#define PB_FIND 1 32cdf0e10cSrcweir 33cdf0e10cSrcweir// Control 34cdf0e10cSrcweir#define CTL_SUGGESTIONS 1 35cdf0e10cSrcweir 36cdf0e10cSrcweir// FixedText 37cdf0e10cSrcweir#define FT_FORMAT 1 38cdf0e10cSrcweir#define FT_RESIZE_ANCHOR 2 39cdf0e10cSrcweir#define FT_CONVERSION 3 40cdf0e10cSrcweir 41cdf0e10cSrcweir// RadioButton 42cdf0e10cSrcweir#define RB_SIMPLE_CONVERSION 1 43cdf0e10cSrcweir#define RB_HANJA_HANGUL_BRACKETED 2 44cdf0e10cSrcweir#define RB_HANGUL_HANJA_BRACKETED 3 45cdf0e10cSrcweir#define RB_HANGUL_HANJA_ABOVE 4 46cdf0e10cSrcweir#define RB_HANGUL_HANJA_BELOW 5 47cdf0e10cSrcweir#define RB_HANJA_HANGUL_ABOVE 6 48cdf0e10cSrcweir#define RB_HANJA_HANGUL_BELOW 7 49cdf0e10cSrcweir 50cdf0e10cSrcweir// CheckBox 51cdf0e10cSrcweir#define CB_REPLACE_BY_CHARACTER 1 52cdf0e10cSrcweir#define CB_HANGUL_ONLY 2 53cdf0e10cSrcweir#define CB_HANJA_ONLY 3 54cdf0e10cSrcweir 55cdf0e10cSrcweir// String 56cdf0e10cSrcweir#define STR_HANGUL 1 57cdf0e10cSrcweir#define STR_HANJA 2 58cdf0e10cSrcweir 59cdf0e10cSrcweir#define FT_WORD 10 60cdf0e10cSrcweir#define FT_AKTWORD 11 61cdf0e10cSrcweir#define FT_NEWWORD 12 62cdf0e10cSrcweir#define GB_AUDIT 13 63cdf0e10cSrcweir#define BTN_IGNORE 14 64cdf0e10cSrcweir#define BTN_IGNOREALL 15 65cdf0e10cSrcweir#define BTN_CHANGE 16 66cdf0e10cSrcweir#define BTN_CHANGEALL 17 67cdf0e10cSrcweir#define FT_STATUS 18 68cdf0e10cSrcweir#define BTN_SPL_CANCEL 19 69cdf0e10cSrcweir#define BTN_SPL_HELP 20 70cdf0e10cSrcweir#define ED_NEWWORD 21 71cdf0e10cSrcweir#define FT_SUGGESTION 22 72cdf0e10cSrcweir 73cdf0e10cSrcweir 74cdf0e10cSrcweir 75cdf0e10cSrcweir// Hangul / Hanja Options Dialog 76cdf0e10cSrcweir 77cdf0e10cSrcweir#define FT_USERDEFDICT 1 78cdf0e10cSrcweir#define FL_OPTIONS 2 79cdf0e10cSrcweir#define BTN_OPTIONS 10 80cdf0e10cSrcweir 81cdf0e10cSrcweir#define LB_DICTS 1 82cdf0e10cSrcweir 83cdf0e10cSrcweir#define CB_IGNOREPOST 1 84cdf0e10cSrcweir#define CB_SHOWRECENTLYFIRST 3 85cdf0e10cSrcweir#define CB_AUTOREPLACEUNIQUE 4 86cdf0e10cSrcweir 87cdf0e10cSrcweir#define PB_HHO_NEW 1 88cdf0e10cSrcweir#define PB_HHO_EDIT 2 89cdf0e10cSrcweir#define PB_HHO_DELETE 3 90cdf0e10cSrcweir#define PB_HHO_OK 4 91cdf0e10cSrcweir#define PB_HHO_CANCEL 5 92cdf0e10cSrcweir#define PB_HHO_HELP 6 93cdf0e10cSrcweir 94cdf0e10cSrcweir// metrics 95cdf0e10cSrcweir 96cdf0e10cSrcweir#define HHO_DLGWIDTH 287 97cdf0e10cSrcweir#define HHx_DLGHIGHT 175 98cdf0e10cSrcweir#define HHO_COL_1 RSC_SP_DLG_INNERBORDER_LEFT 99cdf0e10cSrcweir#define HHO_COL_1a (HHO_COL_1+3) 100cdf0e10cSrcweir#define HHO_COL_6 (HHO_DLGWIDTH-6) 101cdf0e10cSrcweir#define HHO_COL_5 (HHO_COL_6-50) 102cdf0e10cSrcweir#define HHO_COL_4 (HHO_COL_5-12) 103cdf0e10cSrcweir#define HHO_COL_3 (HHO_COL_4-50) 104cdf0e10cSrcweir#define HHO_COL_2 (HHO_COL_3-6) 105cdf0e10cSrcweir 106cdf0e10cSrcweir#define HHO_ROW_1 RSC_SP_DLG_INNERBORDER_TOP 107cdf0e10cSrcweir#define HHO_ROW_2 (HHO_ROW_1+8+2) 108cdf0e10cSrcweir#define HHO_ROW_3 (HHO_ROW_2+14) 109cdf0e10cSrcweir#define HHO_ROW_4 (HHO_ROW_3+2) 110cdf0e10cSrcweir#define HHO_ROW_5 (HHO_ROW_4+14) 111cdf0e10cSrcweir#define HHO_ROW_6 (HHO_ROW_5+2) 112cdf0e10cSrcweir#define HHO_ROW_7 (HHO_ROW_6+14) 113cdf0e10cSrcweir#define HHO_ROW_8 (HHO_ROW_7+4) 114cdf0e10cSrcweir#define HHO_ROW_9 (HHO_ROW_8+8+4) 115cdf0e10cSrcweir#define HHO_ROW_11 (HHO_ROW_9+8+4) 116cdf0e10cSrcweir#define HHO_ROW_12 (HHO_ROW_11+8+4) 117cdf0e10cSrcweir 118cdf0e10cSrcweir#define HHO_ROW_a1 HHO_ROW_1 119cdf0e10cSrcweir#define HHO_ROW_a2 (HHO_ROW_a1+14) 120cdf0e10cSrcweir#define HHO_ROW_a3 (HHO_ROW_a2+2) 121cdf0e10cSrcweir#define HHO_ROW_a4 (HHO_ROW_a3+14) 122cdf0e10cSrcweir#define HHO_ROW_a5 (HHO_ROW_a4+4) 123cdf0e10cSrcweir#define HHO_ROW_a6 (HHO_ROW_a5+14) 124cdf0e10cSrcweir 125cdf0e10cSrcweir 126cdf0e10cSrcweir// Hangul / Hanja New Dictonary Dialog 127cdf0e10cSrcweir#define FL_NEWDICT 1 128cdf0e10cSrcweir 129cdf0e10cSrcweir#define FT_DICTNAME 1 130cdf0e10cSrcweir 131cdf0e10cSrcweir#define ED_DICTNAME 1 132cdf0e10cSrcweir 133cdf0e10cSrcweir#define PB_NEWDICT_OK 1 134cdf0e10cSrcweir#define PB_NEWDICT_ESC 2 135cdf0e10cSrcweir#define PB_NEWDICT_HLP 3 136cdf0e10cSrcweir 137cdf0e10cSrcweir 138cdf0e10cSrcweir// Hangul Hanja Edit Custom Dictionary Dialog 139cdf0e10cSrcweir#define MAXNUM_SUGGESTIONS 50 140cdf0e10cSrcweir 141cdf0e10cSrcweir#define STR_EDITHINT 1 142cdf0e10cSrcweir 143cdf0e10cSrcweir#define FT_BOOK 1 144cdf0e10cSrcweir#define FT_ORIGINAL 2 145cdf0e10cSrcweir#define FT_SUGGESTIONS 3 146cdf0e10cSrcweir 147cdf0e10cSrcweir#define LB_BOOK 1 148cdf0e10cSrcweir#define LB_ORIGINAL 2 149cdf0e10cSrcweir 150cdf0e10cSrcweir#define PB_HHE_NEW 1 151cdf0e10cSrcweir#define PB_HHE_DELETE 2 152cdf0e10cSrcweir#define PB_HHE_HELP 3 153cdf0e10cSrcweir#define PB_HHE_CLOSE 4 154cdf0e10cSrcweir 155cdf0e10cSrcweir#define SB_SCROLL 1 156cdf0e10cSrcweir 157cdf0e10cSrcweir#define ED_1 1 158cdf0e10cSrcweir#define ED_2 2 159cdf0e10cSrcweir#define ED_3 3 160cdf0e10cSrcweir#define ED_4 4 161cdf0e10cSrcweir 162cdf0e10cSrcweir// metrics 163cdf0e10cSrcweir 164cdf0e10cSrcweir#define RSC_CD_VSCRLWIDTH 8 // vertical scroll bar width 165cdf0e10cSrcweir#define HHE_DLGWIDTH HHO_DLGWIDTH 166cdf0e10cSrcweir#define HHE_COL_1 RSC_SP_DLG_INNERBORDER_LEFT 167cdf0e10cSrcweir#define HHE_COL_6 (HHE_DLGWIDTH-RSC_SP_DLG_INNERBORDER_RIGHT) 168cdf0e10cSrcweir#define HHE_COL_5 (HHE_COL_6-RSC_CD_PUSHBUTTON_WIDTH) 169cdf0e10cSrcweir#define HHE_COL_4 (HHE_COL_5-6) 170cdf0e10cSrcweir#define HHE_COL_3_2 (HHE_COL_4-RSC_CD_VSCRLWIDTH) 171cdf0e10cSrcweir#define HHE_COL_3_1 (HHE_COL_3_2-RSC_SP_CTRL_GROUP_X) 172cdf0e10cSrcweir#define HHE_COL_3_0 (HHE_COL_3_2-RSC_CD_PUSHBUTTON_WIDTH) 173cdf0e10cSrcweir#define HHE_COL_2 (HHE_COL_1+50) 174cdf0e10cSrcweir#define HHE_COL_3 (HHE_COL_2+1) 175cdf0e10cSrcweir 176cdf0e10cSrcweir#define HHE_ROW_1 RSC_SP_DLG_INNERBORDER_TOP 177cdf0e10cSrcweir#define HHE_ROW_2 (HHE_ROW_1+2) 178cdf0e10cSrcweir#define HHE_ROW_3 (HHE_ROW_2+12) 179cdf0e10cSrcweir#define HHE_ROW_4 (HHE_ROW_3+12) 180cdf0e10cSrcweir#define HHE_ROW_5 (HHE_ROW_4+8+2) 181cdf0e10cSrcweir#define HHE_ROW_6 (HHE_ROW_5+12) 182cdf0e10cSrcweir#define HHE_ROW_7 (HHE_ROW_6+2) 183cdf0e10cSrcweir#define HHE_ROW_8 (HHE_ROW_7+2) 184cdf0e10cSrcweir#define HHE_ROW_9 (HHE_ROW_6+12) 185cdf0e10cSrcweir#define HHE_ROW_10 (HHE_ROW_8+RSC_SP_CTRL_GROUP_Y) 186cdf0e10cSrcweir#define HHE_ROW_11 (HHE_ROW_10+8+2) 187cdf0e10cSrcweir#define HHE_ROW_12 (HHE_ROW_11+4*12) 188cdf0e10cSrcweir#define HHE_ROW_14 (HHx_DLGHIGHT-RSC_SP_DLG_INNERBORDER_BOTTOM) 189cdf0e10cSrcweir#define HHE_ROW_13 (HHE_ROW_14-RSC_CD_PUSHBUTTON_HEIGHT) 190cdf0e10cSrcweir#define HHE_ROW_a1 (HHE_ROW_5) 191cdf0e10cSrcweir#define HHE_ROW_a3 (HHE_ROW_a1+RSC_CD_PUSHBUTTON_HEIGHT+2) 192cdf0e10cSrcweir 193cdf0e10cSrcweir#endif // SVX_HANGUL_HANJA_DLG_HRC 194