Update ooo320-m1
[ooovba.git] / svx / source / cui / internationaloptions.hrc
blob84c8450274813627daaf14f44277e95282a4e8ec
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  * 
5  * Copyright 2008 by Sun Microsystems, Inc.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * $RCSfile: internationaloptions.hrc,v $
10  * $Revision: 1.4 $
11  *
12  * This file is part of OpenOffice.org.
13  *
14  * OpenOffice.org is free software: you can redistribute it and/or modify
15  * it under the terms of the GNU Lesser General Public License version 3
16  * only, as published by the Free Software Foundation.
17  *
18  * OpenOffice.org is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  * GNU Lesser General Public License version 3 for more details
22  * (a copy is included in the LICENSE file that accompanied this code).
23  *
24  * You should have received a copy of the GNU Lesser General Public License
25  * version 3 along with OpenOffice.org.  If not, see
26  * <http://www.openoffice.org/license.html>
27  * for a copy of the LGPLv3 License.
28  *
29  ************************************************************************/
31 #ifndef _OFFAPP_INTERNATIONALOPTIONS_HRC_
32 #define _OFFAPP_INTERNATIONALOPTIONS_HRC_
34 #include <svtools/controldims.hrc>
36 // general sizes
37 #define PAGE_SIZE_X                                     260
38 #define PAGE_SIZE_Y                                     185
40 // x-positions
41 #define COL_0                                           RSC_SP_TBPG_INNERBORDER_LEFT
42 #define COL_1                                           (COL_0 + RSC_SP_FLGR_SPACE_X)
43 #define COL_2                                           (COL_1 + RSC_SP_CHK_TEXTINDENT)
44 #define COL_LAST                                        (PAGE_SIZE_X - RSC_SP_TBPG_INNERBORDER_RIGHT)
46 // heights
47 #define HEIGHT_FL                                       RSC_CD_FIXEDLINE_HEIGHT
48 #define HEIGHT_RB                                       RSC_CD_RADIOBUTTON_HEIGHT
49 #define HEIGHT_CB                                       RSC_CD_CHECKBOX_HEIGHT
51 // vertical spacing
52 #define SPACE_FL_NEXTCTRL_Y                     RSC_SP_CTRL_DESC_Y
54 // y-positions
55 #define ROW_0                                           RSC_SP_TBPG_INNERBORDER_TOP
56 #define ROW_1                                           (ROW_0 + HEIGHT_FL + SPACE_FL_NEXTCTRL_Y)
57 #define ROW_2                                           (ROW_1 + HEIGHT_RB + RSC_SP_CTRL_GROUP_Y)
58 #define ROW_3                                           (ROW_2 + HEIGHT_RB + RSC_SP_FLGR_SPACE_Y)
59 #define ROW_4                                           (ROW_3 + HEIGHT_FL + SPACE_FL_NEXTCTRL_Y)
60 #define ROW_5                                           (ROW_4 + HEIGHT_CB + RSC_SP_CTRL_GROUP_Y)
62 // misc calculation makros
63 #define WIDTH2END( startcol )           (COL_LAST - startcol)
66 // resource IDs
67 #define FL_DEFTXTDIRECTION                      1
68 #define RB_TXTDIR_LEFT2RIGHT            2
69 #define RB_TXTDIR_RIGHT2LEFT            3
70 #define FL_SHEETVIEW                            4
71 #define CB_SHTVW_RIGHT2LEFT                     5
72 #define CB_SHTVW_CURRENTDOCONLY         6
74 #endif