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