xref: /aoo41x/main/cui/source/options/optgdlg.hrc (revision 8414840e)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef _SVX_OPTGDLG_HRC
24#define _SVX_OPTGDLG_HRC
25#include <svtools/controldims.hrc>
26
27// defines for positions and sizes ---------------------------------------
28
29#define WHOLE_WIDTH				248
30#define EDIT_WIDTH				30
31#define UNIT_WIDTH				40
32
33#define COLSPACE				RSC_SP_CTRL_DESC_X
34#define COL0					6
35#define COL1					(COL0+6)
36#define COL2					(COL1+10)
37#define COL3					(COL2+100)
38#define COL4					(COL3+COLSPACE)
39#define COL5					(COL4+EDIT_WIDTH)
40#define COL6					(COL5+COLSPACE)
41
42#define ROWSPACE				RSC_SP_CTRL_DESC_Y
43#define ROW0					3
44#define ROW1					(ROW0+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
45#define ROW2					(ROW1+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
46#define ROW3					(ROW2+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
47#define ROW4					(ROW3+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
48#define ROW5                    (ROW4+RSC_CD_PUSHBUTTON_HEIGHT+ROWSPACE)
49#define ROW6                    (ROW5+RSC_CD_DROPDOWN_HEIGHT+ROWSPACE)
50#define ROW7					(ROW6+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
51#define ROW8					(ROW7+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
52#define ROW9					(ROW8+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
53#define ROW10					(ROW9+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
54#define ROW11					(ROW10+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
55
56#define DIFF(v1,v2)						(v2-v1)
57#define OFFS_TEXTBOX_FIXEDTEXT(base)	(base+(RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
58//#define OFFS_PUSHBUTTON_FIXEDTEXT(base)	(base+(RSC_CD_PUSHBUTTON_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
59
60#define ROW_MF_SCALING          (13)
61#define ROW_FT_ICONSIZESTYLE    (ROW_MF_SCALING+RSC_CD_DROPDOWN_HEIGHT+ROWSPACE)
62#define ROW_LB_ICONSIZESTYLE    (ROW_FT_ICONSIZESTYLE+RSC_CD_FIXEDTEXT_HEIGHT+ROWSPACE)
63#define ROW_CB_SYSTEM_FONT      (ROW_LB_ICONSIZESTYLE+RSC_CD_DROPDOWN_HEIGHT+ROWSPACE)
64#define ROW_CB_FONTANTIALIASING (ROW_CB_SYSTEM_FONT+ (2 * RSC_CD_FIXEDLINE_HEIGHT) +ROWSPACE)
65#define ROW_NF_AA_POINTLIMIT	(ROW_CB_FONTANTIALIASING+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
66
67#define ROW_FL_MENU             (ROW_NF_AA_POINTLIMIT+RSC_CD_DROPDOWN_HEIGHT+RSC_SP_FLGR_SPACE_X)
68#define ROW_FT_MENU_ICONS       (ROW_FL_MENU + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
69#define ROW_LB_MENU_ICONS       (ROW_FT_MENU_ICONS + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
70
71#define ROW_FL_FONTLISTS        (ROW_LB_MENU_ICONS + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_FLGR_SPACE_X)
72#define ROW_CB_FONT_SHOW        (ROW_FL_FONTLISTS + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
73#define ROW_CB_FONT_HISTORY     (ROW_CB_FONT_SHOW + RSC_CD_CHECKBOX_HEIGHT + ROWSPACE)
74
75// #i95644# start on top with rendering section
76#define ROW_FL_RENDERING        (3)
77#define ROW_CB_USE_HARDACCELL   (ROW_FL_RENDERING + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
78#define ROW_CB_USE_ANTIALIASE   (ROW_CB_USE_HARDACCELL + RSC_CD_CHECKBOX_HEIGHT + ROWSPACE)
79
80// #i95644# set Menu to follow vertically (was (ROW_FL_MENU)) previously)
81#define ROW_FL_MOUSE            (ROW_CB_USE_ANTIALIASE + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_SPACE_X)
82#define ROW_FT_MOUSEPOS         (ROW_FL_MOUSE + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
83#define ROW_LB_MOUSEPOS         (ROW_FT_MOUSEPOS + RSC_CD_FIXEDTEXT_HEIGHT + ROWSPACE)
84#define ROW_FT_MOUSEMIDDLE      (ROW_LB_MOUSEPOS + RSC_CD_DROPDOWN_HEIGHT + ROWSPACE)
85#define ROW_LB_MOUSEMIDDLE      (ROW_FT_MOUSEMIDDLE + RSC_CD_FIXEDTEXT_HEIGHT + ROWSPACE)
86
87// #i97672#
88#define ROW_FL_SELECTION		(ROW_LB_MOUSEMIDDLE + RSC_CD_DROPDOWN_HEIGHT + RSC_SP_FLGR_SPACE_X)
89#define ROW_CB_SELECTION        (ROW_FL_SELECTION + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
90
91// tabpage general -------------------------------------------------------
92
93#define FL_HELP						10
94#define CB_TOOLTIP					11
95#define CB_EXTHELP					12
96#define CB_HELPAGENT				13
97#define PB_HELPAGENT_RESET			14
98#define FT_HELPFORMAT				15
99#define LB_HELPFORMAT				16
100
101//#define FL_FILEDLG                 20
102//#define CB_FILEDLG                 21
103
104//#define FL_DOCSTATUS               30
105//#define CB_DOCSTATUS               31
106
107#define FL_TWOFIGURE				40
108#define FT_INTERPRET				41
109#define NF_YEARVALUE				42
110#define FT_TOYEAR					43
111#define FL_PRINTDLG                 44
112#define CB_PRINTDLG                 45
113
114// tabpage view ----------------------------------------------------------
115// #i95644# 10 .. 14 freed, may be reused
116
117#define FL_USERINTERFACE			20
118#define FT_WINDOWSIZE				21
119#define MF_WINDOWSIZE				22
120
121#define FL_MOUSE					30
122#define LB_MOUSEPOS					31
123#define FT_MOUSEPOS					32
124#define FT_MOUSEMIDDLE				33
125#define LB_MOUSEMIDDLE				34
126
127#define FT_MENU_ICONS				40
128#define LB_MENU_ICONS				41
129#define FL_MENU						42
130#define FL_FONTLISTS				43
131
132#define LB_ICONSIZE					54
133#define FT_ICONSIZESTYLE			55
134#define LB_ICONSTYLE				56
135#define CB_SYSTEM_FONT				57
136#define STR_ICONSIZE		        58
137
138#define CB_FONT_SHOW				60
139#define CB_FONT_HISTORY				62
140
141#define CB_FONTANTIALIASING			63
142#define NF_AA_POINTLIMIT			64
143#define FT_POINTLIMIT_LABEL			65
144#define FT_POINTLIMIT_UNIT			66
145
146#define FL_RENDERING                67
147#define CB_USE_HARDACCELL           68
148#define CB_USE_ANTIALIASE			69
149
150// #i97672#
151#define FL_SELECTION				70
152#define CB_SELECTION				71
153#define MF_SELECTION				72
154
155// tabpage languages -----------------------------------------------------
156
157#define FL_UI_LANG		   		1
158#define FT_UI_LANG              2
159#define LB_UI_LANG              3
160#define FL_LINGU_LANG		    4
161#define FT_WEST_LANG		    5
162#define LB_WEST_LANG		    6
163#define FT_ASIAN_LANG		    7
164#define LB_ASIAN_LANG		    8
165#define FT_COMPLEX_LANG         9
166#define LB_COMPLEX_LANG         10
167#define CB_CURRENT_DOC	        11
168#define FL_ENHANCED             12
169#define CB_ASIANSUPPORT         13
170#define CB_CTLSUPPORT         	15
171#define FT_LOCALESETTING        16
172#define LB_LOCALESETTING        17
173#define FT_CURRENCY             18
174#define LB_CURRENCY             19
175#define FI_WEST_LANG            20
176#define FI_ASIAN_LANG           21
177#define FI_COMPLEX_LANG         22
178#define FI_ASIANSUPPORT         23
179#define FI_CTLSUPPORT           24
180#define FI_LOCALESETTING        25
181#define FI_CURRENCY             26
182#define FT_DECIMALSEPARATOR     27
183#define CB_DECIMALSEPARATOR     28
184#define FI_USERINTERFACE        29
185#define FT_USERINTERFACE        30
186#define LB_USERINTERFACE        31
187#define STR_IB_LANGCHANGE_TITLE 32
188
189#define FL_FILEDLG                  53
190#define FI_FILEDLG_RO               54
191#define CB_FILEDLG                  55
192#define FT_GRAPHICCACHE_UNIT        56
193#define FT_GRAPHICOBJECTCACHE_UNIT  57
194#define FT_GRAPHICOBJECTTIME_UNIT   58
195#define FT_HELPAGENT_TIME_UNIT      59
196#define FL_DOCSTATUS                60
197#define CB_DOCSTATUS                61
198#endif // #ifndef _SVX_OPTGDLG_HRC
199
200// ******************************************************************* EOF
201
202