xref: /aoo41x/main/cui/source/options/optgdlg.hrc (revision cdf0e10c)
1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir#ifndef _SVX_OPTGDLG_HRC
28*cdf0e10cSrcweir#define _SVX_OPTGDLG_HRC
29*cdf0e10cSrcweir#include <svtools/controldims.hrc>
30*cdf0e10cSrcweir
31*cdf0e10cSrcweir// defines for positions and sizes ---------------------------------------
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir#define WHOLE_WIDTH				248
34*cdf0e10cSrcweir#define EDIT_WIDTH				30
35*cdf0e10cSrcweir#define UNIT_WIDTH				40
36*cdf0e10cSrcweir
37*cdf0e10cSrcweir#define COLSPACE				RSC_SP_CTRL_DESC_X
38*cdf0e10cSrcweir#define COL0					6
39*cdf0e10cSrcweir#define COL1					(COL0+6)
40*cdf0e10cSrcweir#define COL2					(COL1+10)
41*cdf0e10cSrcweir#define COL3					(COL2+100)
42*cdf0e10cSrcweir#define COL4					(COL3+COLSPACE)
43*cdf0e10cSrcweir#define COL5					(COL4+EDIT_WIDTH)
44*cdf0e10cSrcweir#define COL6					(COL5+COLSPACE)
45*cdf0e10cSrcweir
46*cdf0e10cSrcweir#define ROWSPACE				RSC_SP_CTRL_DESC_Y
47*cdf0e10cSrcweir#define ROW0					3
48*cdf0e10cSrcweir#define ROW1					(ROW0+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
49*cdf0e10cSrcweir#define ROW2					(ROW1+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
50*cdf0e10cSrcweir#define ROW3					(ROW2+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
51*cdf0e10cSrcweir#define ROW4					(ROW3+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
52*cdf0e10cSrcweir#define ROW5                    (ROW4+RSC_CD_PUSHBUTTON_HEIGHT+ROWSPACE)
53*cdf0e10cSrcweir#define ROW6                    (ROW5+RSC_CD_DROPDOWN_HEIGHT+ROWSPACE)
54*cdf0e10cSrcweir#define ROW7					(ROW6+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
55*cdf0e10cSrcweir#define ROW8					(ROW7+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
56*cdf0e10cSrcweir#define ROW9					(ROW8+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
57*cdf0e10cSrcweir#define ROW10					(ROW9+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
58*cdf0e10cSrcweir#define ROW11					(ROW10+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
59*cdf0e10cSrcweir
60*cdf0e10cSrcweir#define DIFF(v1,v2)						(v2-v1)
61*cdf0e10cSrcweir#define OFFS_TEXTBOX_FIXEDTEXT(base)	(base+(RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
62*cdf0e10cSrcweir//#define OFFS_PUSHBUTTON_FIXEDTEXT(base)	(base+(RSC_CD_PUSHBUTTON_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
63*cdf0e10cSrcweir
64*cdf0e10cSrcweir#define ROW_MF_SCALING          (13)
65*cdf0e10cSrcweir#define ROW_FT_ICONSIZESTYLE    (ROW_MF_SCALING+RSC_CD_DROPDOWN_HEIGHT+ROWSPACE)
66*cdf0e10cSrcweir#define ROW_LB_ICONSIZESTYLE    (ROW_FT_ICONSIZESTYLE+RSC_CD_FIXEDTEXT_HEIGHT+ROWSPACE)
67*cdf0e10cSrcweir#define ROW_CB_SYSTEM_FONT      (ROW_LB_ICONSIZESTYLE+RSC_CD_DROPDOWN_HEIGHT+ROWSPACE)
68*cdf0e10cSrcweir#define ROW_CB_FONTANTIALIASING (ROW_CB_SYSTEM_FONT+ (2 * RSC_CD_FIXEDLINE_HEIGHT) +ROWSPACE)
69*cdf0e10cSrcweir#define ROW_NF_AA_POINTLIMIT	(ROW_CB_FONTANTIALIASING+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
70*cdf0e10cSrcweir
71*cdf0e10cSrcweir#define ROW_FL_MENU             (ROW_NF_AA_POINTLIMIT+RSC_CD_DROPDOWN_HEIGHT+RSC_SP_FLGR_SPACE_X)
72*cdf0e10cSrcweir#define ROW_FT_MENU_ICONS       (ROW_FL_MENU + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
73*cdf0e10cSrcweir#define ROW_LB_MENU_ICONS       (ROW_FT_MENU_ICONS + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
74*cdf0e10cSrcweir
75*cdf0e10cSrcweir#define ROW_FL_FONTLISTS        (ROW_LB_MENU_ICONS + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_FLGR_SPACE_X)
76*cdf0e10cSrcweir#define ROW_CB_FONT_SHOW        (ROW_FL_FONTLISTS + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
77*cdf0e10cSrcweir#define ROW_CB_FONT_HISTORY     (ROW_CB_FONT_SHOW + RSC_CD_CHECKBOX_HEIGHT + ROWSPACE)
78*cdf0e10cSrcweir
79*cdf0e10cSrcweir// #i95644# start on top with rendering section
80*cdf0e10cSrcweir#define ROW_FL_RENDERING        (3)
81*cdf0e10cSrcweir#define ROW_CB_USE_HARDACCELL   (ROW_FL_RENDERING + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
82*cdf0e10cSrcweir#define ROW_CB_USE_ANTIALIASE   (ROW_CB_USE_HARDACCELL + RSC_CD_CHECKBOX_HEIGHT + ROWSPACE)
83*cdf0e10cSrcweir
84*cdf0e10cSrcweir// #i95644# set Menu to follow vertically (was (ROW_FL_MENU)) previously)
85*cdf0e10cSrcweir#define ROW_FL_MOUSE            (ROW_CB_USE_ANTIALIASE + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_SPACE_X)
86*cdf0e10cSrcweir#define ROW_FT_MOUSEPOS         (ROW_FL_MOUSE + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
87*cdf0e10cSrcweir#define ROW_LB_MOUSEPOS         (ROW_FT_MOUSEPOS + RSC_CD_FIXEDTEXT_HEIGHT + ROWSPACE)
88*cdf0e10cSrcweir#define ROW_FT_MOUSEMIDDLE      (ROW_LB_MOUSEPOS + RSC_CD_DROPDOWN_HEIGHT + ROWSPACE)
89*cdf0e10cSrcweir#define ROW_LB_MOUSEMIDDLE      (ROW_FT_MOUSEMIDDLE + RSC_CD_FIXEDTEXT_HEIGHT + ROWSPACE)
90*cdf0e10cSrcweir
91*cdf0e10cSrcweir// #i97672#
92*cdf0e10cSrcweir#define ROW_FL_SELECTION		(ROW_LB_MOUSEMIDDLE + RSC_CD_DROPDOWN_HEIGHT + RSC_SP_FLGR_SPACE_X)
93*cdf0e10cSrcweir#define ROW_CB_SELECTION        (ROW_FL_SELECTION + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE)
94*cdf0e10cSrcweir
95*cdf0e10cSrcweir// tabpage general -------------------------------------------------------
96*cdf0e10cSrcweir
97*cdf0e10cSrcweir#define FL_HELP						10
98*cdf0e10cSrcweir#define CB_TOOLTIP					11
99*cdf0e10cSrcweir#define CB_EXTHELP					12
100*cdf0e10cSrcweir#define CB_HELPAGENT				13
101*cdf0e10cSrcweir#define PB_HELPAGENT_RESET			14
102*cdf0e10cSrcweir#define FT_HELPFORMAT				15
103*cdf0e10cSrcweir#define LB_HELPFORMAT				16
104*cdf0e10cSrcweir
105*cdf0e10cSrcweir//#define FL_FILEDLG                 20
106*cdf0e10cSrcweir//#define CB_FILEDLG                 21
107*cdf0e10cSrcweir
108*cdf0e10cSrcweir//#define FL_DOCSTATUS               30
109*cdf0e10cSrcweir//#define CB_DOCSTATUS               31
110*cdf0e10cSrcweir
111*cdf0e10cSrcweir#define FL_TWOFIGURE				40
112*cdf0e10cSrcweir#define FT_INTERPRET				41
113*cdf0e10cSrcweir#define NF_YEARVALUE				42
114*cdf0e10cSrcweir#define FT_TOYEAR					43
115*cdf0e10cSrcweir#define FL_PRINTDLG                 44
116*cdf0e10cSrcweir#define CB_PRINTDLG                 45
117*cdf0e10cSrcweir
118*cdf0e10cSrcweir// tabpage view ----------------------------------------------------------
119*cdf0e10cSrcweir// #i95644# 10 .. 14 freed, may be reused
120*cdf0e10cSrcweir
121*cdf0e10cSrcweir#define FL_USERINTERFACE			20
122*cdf0e10cSrcweir#define FT_WINDOWSIZE				21
123*cdf0e10cSrcweir#define MF_WINDOWSIZE				22
124*cdf0e10cSrcweir
125*cdf0e10cSrcweir#define FL_MOUSE					30
126*cdf0e10cSrcweir#define LB_MOUSEPOS					31
127*cdf0e10cSrcweir#define FT_MOUSEPOS					32
128*cdf0e10cSrcweir#define FT_MOUSEMIDDLE				33
129*cdf0e10cSrcweir#define LB_MOUSEMIDDLE				34
130*cdf0e10cSrcweir
131*cdf0e10cSrcweir#define FT_MENU_ICONS				40
132*cdf0e10cSrcweir#define LB_MENU_ICONS				41
133*cdf0e10cSrcweir#define FL_MENU						42
134*cdf0e10cSrcweir#define FL_FONTLISTS				43
135*cdf0e10cSrcweir
136*cdf0e10cSrcweir#define LB_ICONSIZE					54
137*cdf0e10cSrcweir#define FT_ICONSIZESTYLE			55
138*cdf0e10cSrcweir#define LB_ICONSTYLE				56
139*cdf0e10cSrcweir#define CB_SYSTEM_FONT				57
140*cdf0e10cSrcweir#define STR_ICONSIZE		        58
141*cdf0e10cSrcweir
142*cdf0e10cSrcweir#define CB_FONT_SHOW				60
143*cdf0e10cSrcweir#define CB_FONT_HISTORY				62
144*cdf0e10cSrcweir
145*cdf0e10cSrcweir#define CB_FONTANTIALIASING			63
146*cdf0e10cSrcweir#define NF_AA_POINTLIMIT			64
147*cdf0e10cSrcweir#define FT_POINTLIMIT_LABEL			65
148*cdf0e10cSrcweir#define FT_POINTLIMIT_UNIT			66
149*cdf0e10cSrcweir
150*cdf0e10cSrcweir#define FL_RENDERING                67
151*cdf0e10cSrcweir#define CB_USE_HARDACCELL           68
152*cdf0e10cSrcweir#define CB_USE_ANTIALIASE			69
153*cdf0e10cSrcweir
154*cdf0e10cSrcweir// #i97672#
155*cdf0e10cSrcweir#define FL_SELECTION				70
156*cdf0e10cSrcweir#define CB_SELECTION				71
157*cdf0e10cSrcweir#define MF_SELECTION				72
158*cdf0e10cSrcweir
159*cdf0e10cSrcweir// tabpage languages -----------------------------------------------------
160*cdf0e10cSrcweir
161*cdf0e10cSrcweir#define FL_UI_LANG		   		1
162*cdf0e10cSrcweir#define FT_UI_LANG              2
163*cdf0e10cSrcweir#define LB_UI_LANG              3
164*cdf0e10cSrcweir#define FL_LINGU_LANG		    4
165*cdf0e10cSrcweir#define FT_WEST_LANG		    5
166*cdf0e10cSrcweir#define LB_WEST_LANG		    6
167*cdf0e10cSrcweir#define FT_ASIAN_LANG		    7
168*cdf0e10cSrcweir#define LB_ASIAN_LANG		    8
169*cdf0e10cSrcweir#define FT_COMPLEX_LANG         9
170*cdf0e10cSrcweir#define LB_COMPLEX_LANG         10
171*cdf0e10cSrcweir#define CB_CURRENT_DOC	        11
172*cdf0e10cSrcweir#define FL_ENHANCED             12
173*cdf0e10cSrcweir#define CB_ASIANSUPPORT         13
174*cdf0e10cSrcweir#define CB_CTLSUPPORT         	15
175*cdf0e10cSrcweir#define FT_LOCALESETTING        16
176*cdf0e10cSrcweir#define LB_LOCALESETTING        17
177*cdf0e10cSrcweir#define FT_CURRENCY             18
178*cdf0e10cSrcweir#define LB_CURRENCY             19
179*cdf0e10cSrcweir#define FI_WEST_LANG            20
180*cdf0e10cSrcweir#define FI_ASIAN_LANG           21
181*cdf0e10cSrcweir#define FI_COMPLEX_LANG         22
182*cdf0e10cSrcweir#define FI_ASIANSUPPORT         23
183*cdf0e10cSrcweir#define FI_CTLSUPPORT           24
184*cdf0e10cSrcweir#define FI_LOCALESETTING        25
185*cdf0e10cSrcweir#define FI_CURRENCY             26
186*cdf0e10cSrcweir#define FT_DECIMALSEPARATOR     27
187*cdf0e10cSrcweir#define CB_DECIMALSEPARATOR     28
188*cdf0e10cSrcweir#define FI_USERINTERFACE        29
189*cdf0e10cSrcweir#define FT_USERINTERFACE        30
190*cdf0e10cSrcweir#define LB_USERINTERFACE        31
191*cdf0e10cSrcweir#define STR_IB_LANGCHANGE_TITLE 32
192*cdf0e10cSrcweir
193*cdf0e10cSrcweir#define FL_FILEDLG                  53
194*cdf0e10cSrcweir#define FI_FILEDLG_RO               54
195*cdf0e10cSrcweir#define CB_FILEDLG                  55
196*cdf0e10cSrcweir#define FT_GRAPHICCACHE_UNIT        56
197*cdf0e10cSrcweir#define FT_GRAPHICOBJECTCACHE_UNIT  57
198*cdf0e10cSrcweir#define FT_GRAPHICOBJECTTIME_UNIT   58
199*cdf0e10cSrcweir#define FT_HELPAGENT_TIME_UNIT      59
200*cdf0e10cSrcweir#define FL_DOCSTATUS                60
201*cdf0e10cSrcweir#define CB_DOCSTATUS                61
202*cdf0e10cSrcweir#endif // #ifndef _SVX_OPTGDLG_HRC
203*cdf0e10cSrcweir
204*cdf0e10cSrcweir// ******************************************************************* EOF
205*cdf0e10cSrcweir
206