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_OPTCTL_HRC
19 #define _SVX_OPTCTL_HRC
21 #include <svtools/controldims.hrc>
23 #define FL_SEQUENCECHECKING 10
24 #define CB_SEQUENCECHECKING 11
25 #define CB_RESTRICTED 12
26 #define CB_TYPE_REPLACE 13
28 #define FL_CURSORCONTROL 20
29 #define FT_MOVEMENT 21
30 #define RB_MOVEMENT_LOGICAL 22
31 #define RB_MOVEMENT_VISUAL 23
34 #define FT_NUMERALS 31
35 #define LB_NUMERALS 32
37 #define EXTRA_SPACE_Y 16
38 #define ROW_0 (RSC_SP_TBPG_INNERBORDER_TOP)
39 #define ROW_1 (ROW_0+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_SPACE_Y)
40 #define ROW_2 (ROW_1+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_FLGR_SPACE_Y)
41 #define ROW_3 (ROW_2+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_CTRL_Y+EXTRA_SPACE_Y)
42 #define ROW_4 (ROW_3+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_SPACE_Y)
43 #define ROW_5 (ROW_4+(RSC_CD_RADIOBUTTON_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
44 #define ROW_6 (ROW_5+RSC_CD_RADIOBUTTON_HEIGHT+RSC_SP_CTRL_Y+EXTRA_SPACE_Y)
45 #define ROW_7 (ROW_6+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_SPACE_Y)
46 #define ROW_8 (ROW_7+(RSC_CD_DROPDOWN_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
48 #endif // #ifndef _SVX_OPTCTL_HRC