blob: 7df69dab147ced425410347911c000f5bc5b160d (
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
|
/*************************************************************************
*
* 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.
*
************************************************************************/
#ifndef _SVX_OPTGDLG_HRC
#define _SVX_OPTGDLG_HRC
#include <svtools/controldims.hrc>
// defines for positions and sizes ---------------------------------------
#define WHOLE_WIDTH 248
#define EDIT_WIDTH 30
#define UNIT_WIDTH 40
#define COLSPACE RSC_SP_CTRL_DESC_X
#define COL0 6
#define COL1 (COL0+6)
#define COL2 (COL1+10)
#define COL3 (COL2+100)
#define COL4 (COL3+COLSPACE)
#define COL5 (COL4+EDIT_WIDTH)
#define COL6 (COL5+COLSPACE)
#define ROWSPACE RSC_SP_CTRL_DESC_Y
#define ROW0 3
#define ROW1 (ROW0+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
#define ROW2 (ROW1+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
#define ROW3 (ROW2+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
#define ROW4 (ROW3+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
#define ROW5 (ROW4+RSC_CD_PUSHBUTTON_HEIGHT+ROWSPACE)
#define ROW6 (ROW5+RSC_CD_DROPDOWN_HEIGHT+ROWSPACE)
#define ROW7 (ROW6+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
#define ROW8 (ROW7+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
#define ROW9 (ROW8+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
#define ROW10 (ROW9+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
#define ROW11 (ROW10+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
#define DIFF(v1,v2) (v2-v1)
#define OFFS_TEXTBOX_FIXEDTEXT(base) (base+(RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
//#define OFFS_PUSHBUTTON_FIXEDTEXT(base) (base+(RSC_CD_PUSHBUTTON_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
#define ROW_MF_SCALING (13)
#define ROW_FT_ICONSIZESTYLE (ROW_MF_SCALING+RSC_CD_DROPDOWN_HEIGHT+ROWSPACE)
#define ROW_LB_ICONSIZESTYLE (ROW_FT_ICONSIZESTYLE+RSC_CD_FIXEDTEXT_HEIGHT+ROWSPACE)
#define ROW_CB_SYSTEM_FONT (ROW_LB_ICONSIZESTYLE+RSC_CD_DROPDOWN_HEIGHT+ROWSPACE)
#define ROW_CB_FONTANTIALIASING (ROW_CB_SYSTEM_FONT+ (2 * RSC_CD_FIXEDLINE_HEIGHT) +ROWSPACE)
#define ROW_NF_AA_POINTLIMIT (ROW_CB_FONTANTIALIASING+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
#define ROW_FL_MENU (ROW_NF_AA_POINTLIMIT+RSC_CD_DROPDOWN_HEIGHT+RSC_SP_FLGR_SPACE_X)
#define ROW_FT_MENU_ICONS (ROW_FL_MENU + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
#define ROW_LB_MENU_ICONS (ROW_FT_MENU_ICONS + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
#define ROW_FL_FONTLISTS (ROW_LB_MENU_ICONS + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_FLGR_SPACE_X)
#define ROW_CB_FONT_SHOW (ROW_FL_FONTLISTS + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
#define ROW_CB_FONT_HISTORY (ROW_CB_FONT_SHOW + RSC_CD_CHECKBOX_HEIGHT + ROWSPACE)
// #i95644# start on top with rendering section
#define ROW_FL_RENDERING (3)
#define ROW_CB_USE_HARDACCELL (ROW_FL_RENDERING + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
#define ROW_CB_USE_ANTIALIASE (ROW_CB_USE_HARDACCELL + RSC_CD_CHECKBOX_HEIGHT + ROWSPACE)
// #i95644# set Menu to follow vertically (was (ROW_FL_MENU)) previously)
#define ROW_FL_MOUSE (ROW_CB_USE_ANTIALIASE + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_SPACE_X)
#define ROW_FT_MOUSEPOS (ROW_FL_MOUSE + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
#define ROW_LB_MOUSEPOS (ROW_FT_MOUSEPOS + RSC_CD_FIXEDTEXT_HEIGHT + ROWSPACE)
#define ROW_FT_MOUSEMIDDLE (ROW_LB_MOUSEPOS + RSC_CD_DROPDOWN_HEIGHT + ROWSPACE)
#define ROW_LB_MOUSEMIDDLE (ROW_FT_MOUSEMIDDLE + RSC_CD_FIXEDTEXT_HEIGHT + ROWSPACE)
// #i97672#
#define ROW_FL_SELECTION (ROW_LB_MOUSEMIDDLE + RSC_CD_DROPDOWN_HEIGHT + RSC_SP_FLGR_SPACE_X)
#define ROW_CB_SELECTION (ROW_FL_SELECTION + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
// tabpage general -------------------------------------------------------
#define FL_HELP 10
#define CB_TOOLTIP 11
#define CB_EXTHELP 12
#define CB_HELPAGENT 13
#define PB_HELPAGENT_RESET 14
#define FT_HELPFORMAT 15
#define LB_HELPFORMAT 16
//#define FL_FILEDLG 20
//#define CB_FILEDLG 21
//#define FL_DOCSTATUS 30
//#define CB_DOCSTATUS 31
#define FL_TWOFIGURE 40
#define FT_INTERPRET 41
#define NF_YEARVALUE 42
#define FT_TOYEAR 43
#define FL_PRINTDLG 44
#define CB_PRINTDLG 45
// tabpage view ----------------------------------------------------------
// #i95644# 10 .. 14 freed, may be reused
#define FL_USERINTERFACE 20
#define FT_WINDOWSIZE 21
#define MF_WINDOWSIZE 22
#define FL_MOUSE 30
#define LB_MOUSEPOS 31
#define FT_MOUSEPOS 32
#define FT_MOUSEMIDDLE 33
#define LB_MOUSEMIDDLE 34
#define FT_MENU_ICONS 40
#define LB_MENU_ICONS 41
#define FL_MENU 42
#define FL_FONTLISTS 43
#define LB_ICONSIZE 54
#define FT_ICONSIZESTYLE 55
#define LB_ICONSTYLE 56
#define CB_SYSTEM_FONT 57
#define STR_ICONSIZE 58
#define CB_FONT_SHOW 60
#define CB_FONT_HISTORY 62
#define CB_FONTANTIALIASING 63
#define NF_AA_POINTLIMIT 64
#define FT_POINTLIMIT_LABEL 65
#define FT_POINTLIMIT_UNIT 66
#define FL_RENDERING 67
#define CB_USE_HARDACCELL 68
#define CB_USE_ANTIALIASE 69
// #i97672#
#define FL_SELECTION 70
#define CB_SELECTION 71
#define MF_SELECTION 72
// tabpage languages -----------------------------------------------------
#define FL_UI_LANG 1
#define FT_UI_LANG 2
#define LB_UI_LANG 3
#define FL_LINGU_LANG 4
#define FT_WEST_LANG 5
#define LB_WEST_LANG 6
#define FT_ASIAN_LANG 7
#define LB_ASIAN_LANG 8
#define FT_COMPLEX_LANG 9
#define LB_COMPLEX_LANG 10
#define CB_CURRENT_DOC 11
#define FL_ENHANCED 12
#define CB_ASIANSUPPORT 13
#define CB_CTLSUPPORT 15
#define FT_LOCALESETTING 16
#define LB_LOCALESETTING 17
#define FT_CURRENCY 18
#define LB_CURRENCY 19
#define FI_WEST_LANG 20
#define FI_ASIAN_LANG 21
#define FI_COMPLEX_LANG 22
#define FI_ASIANSUPPORT 23
#define FI_CTLSUPPORT 24
#define FI_LOCALESETTING 25
#define FI_CURRENCY 26
#define FT_DECIMALSEPARATOR 27
#define CB_DECIMALSEPARATOR 28
#define FI_USERINTERFACE 29
#define FT_USERINTERFACE 30
#define LB_USERINTERFACE 31
#define STR_IB_LANGCHANGE_TITLE 32
#define FL_FILEDLG 53
#define FI_FILEDLG_RO 54
#define CB_FILEDLG 55
#define FT_GRAPHICCACHE_UNIT 56
#define FT_GRAPHICOBJECTCACHE_UNIT 57
#define FT_GRAPHICOBJECTTIME_UNIT 58
#define FT_HELPAGENT_TIME_UNIT 59
#define FL_DOCSTATUS 60
#define CB_DOCSTATUS 61
#endif // #ifndef _SVX_OPTGDLG_HRC
// ******************************************************************* EOF
|