blob: cd00d01fc0c2db09fa7554f0f1133fc7d0fa80b7 (
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
|
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#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)
//------------------------------------------------------
|