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
24#ifndef _OFFAPP_INTERNATIONALOPTIONS_HRC_
25#define _OFFAPP_INTERNATIONALOPTIONS_HRC_
26
27#include <svtools/controldims.hrc>
28
29// general sizes
30#define PAGE_SIZE_X					260
31#define PAGE_SIZE_Y					185
32
33// x-positions
34#define	COL_0						RSC_SP_TBPG_INNERBORDER_LEFT
35#define	COL_1						(COL_0 + RSC_SP_FLGR_SPACE_X)
36#define	COL_2						(COL_1 + RSC_SP_CHK_TEXTINDENT)
37#define COL_LAST					(PAGE_SIZE_X - RSC_SP_TBPG_INNERBORDER_RIGHT)
38
39// heights
40#define HEIGHT_FL					RSC_CD_FIXEDLINE_HEIGHT
41#define	HEIGHT_RB					RSC_CD_RADIOBUTTON_HEIGHT
42#define	HEIGHT_CB					RSC_CD_CHECKBOX_HEIGHT
43
44// vertical spacing
45#define	SPACE_FL_NEXTCTRL_Y			RSC_SP_CTRL_DESC_Y
46
47// y-positions
48#define	ROW_0						RSC_SP_TBPG_INNERBORDER_TOP
49#define	ROW_1						(ROW_0 + HEIGHT_FL + SPACE_FL_NEXTCTRL_Y)
50#define	ROW_2						(ROW_1 + HEIGHT_RB + RSC_SP_CTRL_GROUP_Y)
51#define	ROW_3						(ROW_2 + HEIGHT_RB + RSC_SP_FLGR_SPACE_Y)
52#define	ROW_4						(ROW_3 + HEIGHT_FL + SPACE_FL_NEXTCTRL_Y)
53#define	ROW_5						(ROW_4 + HEIGHT_CB + RSC_SP_CTRL_GROUP_Y)
54
55// misc calculation makros
56#define WIDTH2END( startcol )		(COL_LAST - startcol)
57
58
59// resource IDs
60#define FL_DEFTXTDIRECTION			1
61#define	RB_TXTDIR_LEFT2RIGHT		2
62#define	RB_TXTDIR_RIGHT2LEFT		3
63#define	FL_SHEETVIEW				4
64#define	CB_SHTVW_RIGHT2LEFT			5
65#define	CB_SHTVW_CURRENTDOCONLY		6
66
67#endif
68
69