2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 #ifndef _SVX_OPTACCESSIBILITY_HRC
19 #define _SVX_OPTACCESSIBILITY_HRC
21 #include <svtools/controldims.hrc>
23 // defines for positions and sizes
31 #define COL2 (COL1+10)
32 #define COL3 (COL1+(CB_WIDTH * 2/3))
33 #define COL4 (COL3+EDIT_WIDTH+RSC_SP_CTRL_DESC_X)
35 #define UNIT_WIDTH (COL1+CB_WIDTH-COL4)
37 #define ROWSPACE RSC_SP_CTRL_DESC_Y
39 #define GROUPSPACE RSC_SP_CTRL_DESC_Y + 2
41 #define ROWA_1 ( ROWA_0 + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE )
42 #define ROWA_2 ( ROWA_1 + RSC_CD_CHECKBOX_HEIGHT + ROWSPACE )
43 #define ROWA_3 ( ROWA_2 + RSC_CD_CHECKBOX_HEIGHT + ROWSPACE )
44 #define ROWA_4 ( ROWA_3 + RSC_CD_CHECKBOX_HEIGHT + ROWSPACE )
45 #define ROWA_5 ( ROWA_4 + RSC_CD_CHECKBOX_HEIGHT + ROWSPACE )
47 #define ROWB_0 ( ROWA_5 + RSC_CD_TEXTBOX_HEIGHT + ROWSPACE + GROUPSPACE )
48 #define ROWB_1 ( ROWB_0 + RSC_CD_FIXEDLINE_HEIGHT + ROWSPACE )
49 #define ROWB_2 ( ROWB_1 + RSC_CD_CHECKBOX_HEIGHT + ROWSPACE )
50 #define ROWB_3 ( ROWB_2 + RSC_CD_CHECKBOX_HEIGHT + ROWSPACE )
52 #define OFFS_TEXTBOX_FIXEDTEXT(base) (base+(RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
53 #define DIFF(v1,v2) (v2-v1)
54 #define SUM(v1,v2) (v2+v1)
56 #define FL_MISCELLANEOUS 1
57 #define CB_PAGE_PREVIEWS 2
58 #define FL_HC_OPTIONS 3
62 #define CB_ANIMATED_GRAPHICS 7
63 #define CB_ANIMATED_TEXTS 8
64 #define CB_AUTOMATIC_FONT_COLOR 9
65 #define CB_SYSTEM_FONT 10
66 #define CB_ACCESSIBILITY_TOOL 11
67 #define CB_TEXTSELECTION 12
68 #define CB_AUTO_DETECT_HC 13