1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27#define BT_OK 100 28#define BT_CANCEL 101 29#define BT_NXT 102 30#define BT_NXTSAME 103 31#define BT_PREV 104 32#define BT_PREVSAME 105 33#define BT_DEL 106 34#define BT_HELP 107 35#define LBL_INDEX 1 36#define DCB_INDEX 2 37#define LBL_ENTRY 3 38#define SL_ENTRY 4 39#define LBL_KEY 5 40#define DCB_KEY 6 41#define LBL_LEVEL 7 42#define SL_LEVEL 8 43#define FL_INDEX 10 44#define LBL_KEY2 11 45#define DCB_KEY2 12 46#define CB_APPLY_TO_ALL 13 47#define CB_MAIN_ENTRY 14 48#define FT_ENTRY 20 49#define ED_ENTRY 21 50#define PB_OK 22 51#define PB_CANCEL 23 52#define PB_HELP 24 53#define FL_ENTRIES 25 54#define PB_CREATEENTRY 26 55#define FL_ENTRY 27 56#define FT_TITLE 28 57#define FI_TITLE 29 58#define FT_AUTHOR 30 59#define FI_AUTHOR 31 60#define ST_CHANGE 32 61#define WIN_DLG 33 62#define BT_NEW 34 63#define FL_NAME 37 64#define FT_NAME 38 65#define ED_NAME 39 66#define LB_ENTRY 40 67#define RB_FROMCOMPONENT 41 68#define RB_FROMDOCCONTENT 42 69#define PB_EDITENTRY 43 70#define CB_CASESENSITIVE 44 71#define CB_WORDONLY 45 72#define FT_PHONETIC_1 46 73#define FT_PHONETIC_2 47 74#define FT_PHONETIC_3 48 75#define ED_PHONETIC_1 48 76#define ED_PHONETIC_2 49 77#define ED_PHONETIC_3 50 78 79//------------------------------------------------------ 80// defines for positions and sizes for IDX_DIALOG_WINDOW 81 82#define IDX_COL1 12 83#define IDX_COL2 56 84 85#define IDX_COL2_FULLEND 150 86#define IDX_NEWIMAGE_WIDTH 12 87#define IDX_NEWIMAGE_XPOS (IDX_COL2_FULLEND-1-IDX_NEWIMAGE_WIDTH) 88 89#define IDX_PHONETIC_EDIT_WIDTH 62 90#define IDX_PHONETIC_TEXT_WIDTH 62 91 92#define IDX_COL_PHONETIC_TEXT (IDX_COL2+IDX_PHONETIC_EDIT_WIDTH+8) 93#define IDX_COL_PHONETIC_EDIT (IDX_COL_PHONETIC_TEXT+IDX_PHONETIC_TEXT_WIDTH+1) 94 95#define IDX_COL_BUTTONS_NORMAL 162 96#define IDX_COL_BUTTONS_CJK (IDX_COL_PHONETIC_EDIT+IDX_PHONETIC_EDIT_WIDTH+14) 97 98#define IDX_WIN_WIDTH_NORMAL 218 99#define IDX_WIN_WIDTH_CJK (IDX_WIN_WIDTH_NORMAL+IDX_COL_BUTTONS_CJK-IDX_COL_BUTTONS_NORMAL) 100 101#define IDX_ROW_2_TEXT 31 102#define IDX_ROW_2_LIST (IDX_ROW_2_TEXT-2) 103#define IDX_ROW_3_TEXT 46 104#define IDX_ROW_3_LIST (IDX_ROW_3_TEXT-2) 105#define IDX_ROW_4_TEXT 62 106#define IDX_ROW_4_LIST (IDX_ROW_4_TEXT-2) 107 108//------------------------------------------------------ 109