summaryrefslogtreecommitdiff
path: root/cui/source/options/optgdlg.hrc
blob: 2d2ff4c40b9e5cd90a0ea3195e08df88008592a1 (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
/*
 * 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 .
 */
#ifndef _SVX_OPTGDLG_HRC
#define _SVX_OPTGDLG_HRC
#include <svtools/controldims.hrc>

// defines for positions and sizes ---------------------------------------

#define ENABLE_HELP_FORMATTING 0

#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)
#if ENABLE_HELP_FORMATTING
#define ROW2                    (ROW1 +RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
#else
#define ROW2                    (ROW1)
#endif
#define ROW3                    (ROW2 +RSC_CD_DROPDOWN_HEIGHT+ROWSPACE)
#define ROW4                    (ROW3 +RSC_CD_PUSHBUTTON_HEIGHT+ROWSPACE)
#define ROW5                    (ROW4 +RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
#define ROW6                    (ROW5 +RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
#define ROW7                    (ROW6 +RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
#define ROW8                    (ROW7 +RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
#define ROW9                    (ROW8 +RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
#define ROW10                   (ROW9 +RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
#define ROW11                   (ROW10+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
#define ROW12                   (ROW11+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
#define ROW13                   (ROW12+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
#define ROW14                   (ROW13+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE+6)
#define ROW15                   (ROW14+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)

#define DIFF(v1,v2)                     (v2-v1)
#define OFFS_TEXTBOX_FIXEDTEXT(base)    (base+(RSC_CD_TEXTBOX_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 CB_EXPERIMENTAL             18
#define CB_MACRORECORDER            20

#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 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 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 FL_DOCSTATUS                60
#define CB_DOCSTATUS                61
#define CB_ODMADLG                  62
#define CB_SAVE_ALWAYS              74
#endif // #ifndef _SVX_OPTGDLG_HRC

// ******************************************************************* EOF