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