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