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