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#define BT_OK 100 24#define BT_CANCEL 101 25#define BT_NXT 102 26#define BT_NXTSAME 103 27#define BT_PREV 104 28#define BT_PREVSAME 105 29#define BT_DEL 106 30#define BT_HELP 107 31#define LBL_INDEX 1 32#define DCB_INDEX 2 33#define LBL_ENTRY 3 34#define SL_ENTRY 4 35#define LBL_KEY 5 36#define DCB_KEY 6 37#define LBL_LEVEL 7 38#define SL_LEVEL 8 39#define FL_INDEX 10 40#define LBL_KEY2 11 41#define DCB_KEY2 12 42#define CB_APPLY_TO_ALL 13 43#define CB_MAIN_ENTRY 14 44#define FT_ENTRY 20 45#define ED_ENTRY 21 46#define PB_OK 22 47#define PB_CANCEL 23 48#define PB_HELP 24 49#define FL_ENTRIES 25 50#define PB_CREATEENTRY 26 51#define FL_ENTRY 27 52#define FT_TITLE 28 53#define FI_TITLE 29 54#define FT_AUTHOR 30 55#define FI_AUTHOR 31 56#define ST_CHANGE 32 57#define WIN_DLG 33 58#define BT_NEW 34 59#define FL_NAME 37 60#define FT_NAME 38 61#define ED_NAME 39 62#define LB_ENTRY 40 63#define RB_FROMCOMPONENT 41 64#define RB_FROMDOCCONTENT 42 65#define PB_EDITENTRY 43 66#define CB_CASESENSITIVE 44 67#define CB_WORDONLY 45 68#define FT_PHONETIC_1 46 69#define FT_PHONETIC_2 47 70#define FT_PHONETIC_3 48 71#define ED_PHONETIC_1 48 72#define ED_PHONETIC_2 49 73#define ED_PHONETIC_3 50 74 75//------------------------------------------------------ 76// defines for positions and sizes for IDX_DIALOG_WINDOW 77 78#define IDX_COL1 12 79#define IDX_COL2 56 80 81#define IDX_COL2_FULLEND 150 82#define IDX_NEWIMAGE_WIDTH 12 83#define IDX_NEWIMAGE_XPOS (IDX_COL2_FULLEND-1-IDX_NEWIMAGE_WIDTH) 84 85#define IDX_PHONETIC_EDIT_WIDTH 62 86#define IDX_PHONETIC_TEXT_WIDTH 62 87 88#define IDX_COL_PHONETIC_TEXT (IDX_COL2+IDX_PHONETIC_EDIT_WIDTH+8) 89#define IDX_COL_PHONETIC_EDIT (IDX_COL_PHONETIC_TEXT+IDX_PHONETIC_TEXT_WIDTH+1) 90 91#define IDX_COL_BUTTONS_NORMAL 162 92#define IDX_COL_BUTTONS_CJK (IDX_COL_PHONETIC_EDIT+IDX_PHONETIC_EDIT_WIDTH+14) 93 94#define IDX_WIN_WIDTH_NORMAL 218 95#define IDX_WIN_WIDTH_CJK (IDX_WIN_WIDTH_NORMAL+IDX_COL_BUTTONS_CJK-IDX_COL_BUTTONS_NORMAL) 96 97#define IDX_ROW_2_TEXT 31 98#define IDX_ROW_2_LIST (IDX_ROW_2_TEXT-2) 99#define IDX_ROW_3_TEXT 46 100#define IDX_ROW_3_LIST (IDX_ROW_3_TEXT-2) 101#define IDX_ROW_4_TEXT 62 102#define IDX_ROW_4_LIST (IDX_ROW_4_TEXT-2) 103 104//------------------------------------------------------ 105