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_OPTACCESSIBILITY_HRC
24#define _SVX_OPTACCESSIBILITY_HRC
25
26#include <svtools/controldims.hrc>
27
28// defines for positions and sizes
29
30#define GB_WIDTH				248
31#define CB_WIDTH				240
32#define EDIT_WIDTH				25
33
34#define COL0					6
35#define COL1					(COL0+6)
36#define COL2					(COL1+10)
37#define COL3					(COL1+(CB_WIDTH * 2/3))
38#define COL4					(COL3+EDIT_WIDTH+RSC_SP_CTRL_DESC_X)
39
40#define UNIT_WIDTH              (COL1+CB_WIDTH-COL4)
41
42#define ROWSPACE				RSC_SP_CTRL_DESC_Y
43#define	LINESPACE				1
44#define GROUPSPACE				RSC_SP_CTRL_DESC_Y + 2
45#define ROWA_0					3
46#define ROWA_1					( ROWA_0 + RSC_CD_FIXEDLINE_HEIGHT		+ ROWSPACE )
47#define ROWA_2					( ROWA_1 + RSC_CD_CHECKBOX_HEIGHT		+ ROWSPACE )
48#define ROWA_3                  ( ROWA_2 + RSC_CD_CHECKBOX_HEIGHT		+ ROWSPACE )
49#define ROWA_4                  ( ROWA_3 + RSC_CD_CHECKBOX_HEIGHT		+ ROWSPACE )
50#define ROWA_5                  ( ROWA_4 + RSC_CD_CHECKBOX_HEIGHT		+ ROWSPACE )
51
52#define ROWB_0					( ROWA_5 + RSC_CD_TEXTBOX_HEIGHT		+ ROWSPACE + GROUPSPACE )
53#define ROWB_1					( ROWB_0 + RSC_CD_FIXEDLINE_HEIGHT		+ ROWSPACE )
54#define ROWB_2                  ( ROWB_1 + RSC_CD_CHECKBOX_HEIGHT		+ ROWSPACE )
55#define ROWB_3                  ( ROWB_2 + RSC_CD_CHECKBOX_HEIGHT		+ ROWSPACE )
56
57#define WHOLE_HEIGHT			185
58#define LASTTEXT_HEIGHT         (WHOLE_HEIGHT-ROWB_8)
59#define OFFS_TEXTBOX_FIXEDTEXT(base)	(base+(RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
60#define DIFF(v1,v2)				(v2-v1)
61#define SUM(v1,v2)				(v2+v1)
62
63//
64
65#define FL_MISCELLANEOUS	 	1
66#define CB_PAGE_PREVIEWS        2
67#define FL_HC_OPTIONS			3
68#define CB_TIPHELP              4
69#define NF_TIPHELP              5
70#define FT_TIPHELP              6
71#define CB_ANIMATED_GRAPHICS    7
72#define CB_ANIMATED_TEXTS       8
73#define CB_AUTOMATIC_FONT_COLOR 9
74#define CB_SYSTEM_FONT          10
75#define CB_ACCESSIBILITY_TOOL   11
76#define CB_TEXTSELECTION        12
77#define CB_AUTO_DETECT_HC		13
78
79#endif
80
81