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