1*8414840eSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*8414840eSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*8414840eSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*8414840eSAndrew Rist * distributed with this work for additional information
6*8414840eSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*8414840eSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*8414840eSAndrew Rist * "License"); you may not use this file except in compliance
9*8414840eSAndrew Rist * with the License.  You may obtain a copy of the License at
10*8414840eSAndrew Rist *
11*8414840eSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*8414840eSAndrew Rist *
13*8414840eSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*8414840eSAndrew Rist * software distributed under the License is distributed on an
15*8414840eSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*8414840eSAndrew Rist * KIND, either express or implied.  See the License for the
17*8414840eSAndrew Rist * specific language governing permissions and limitations
18*8414840eSAndrew Rist * under the License.
19*8414840eSAndrew Rist *
20*8414840eSAndrew Rist *************************************************************/
21*8414840eSAndrew Rist
22*8414840eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#ifndef _OFFAPP_INTERNATIONALOPTIONS_HRC_
25cdf0e10cSrcweir#define _OFFAPP_INTERNATIONALOPTIONS_HRC_
26cdf0e10cSrcweir
27cdf0e10cSrcweir#include <svtools/controldims.hrc>
28cdf0e10cSrcweir
29cdf0e10cSrcweir// general sizes
30cdf0e10cSrcweir#define PAGE_SIZE_X					260
31cdf0e10cSrcweir#define PAGE_SIZE_Y					185
32cdf0e10cSrcweir
33cdf0e10cSrcweir// x-positions
34cdf0e10cSrcweir#define	COL_0						RSC_SP_TBPG_INNERBORDER_LEFT
35cdf0e10cSrcweir#define	COL_1						(COL_0 + RSC_SP_FLGR_SPACE_X)
36cdf0e10cSrcweir#define	COL_2						(COL_1 + RSC_SP_CHK_TEXTINDENT)
37cdf0e10cSrcweir#define COL_LAST					(PAGE_SIZE_X - RSC_SP_TBPG_INNERBORDER_RIGHT)
38cdf0e10cSrcweir
39cdf0e10cSrcweir// heights
40cdf0e10cSrcweir#define HEIGHT_FL					RSC_CD_FIXEDLINE_HEIGHT
41cdf0e10cSrcweir#define	HEIGHT_RB					RSC_CD_RADIOBUTTON_HEIGHT
42cdf0e10cSrcweir#define	HEIGHT_CB					RSC_CD_CHECKBOX_HEIGHT
43cdf0e10cSrcweir
44cdf0e10cSrcweir// vertical spacing
45cdf0e10cSrcweir#define	SPACE_FL_NEXTCTRL_Y			RSC_SP_CTRL_DESC_Y
46cdf0e10cSrcweir
47cdf0e10cSrcweir// y-positions
48cdf0e10cSrcweir#define	ROW_0						RSC_SP_TBPG_INNERBORDER_TOP
49cdf0e10cSrcweir#define	ROW_1						(ROW_0 + HEIGHT_FL + SPACE_FL_NEXTCTRL_Y)
50cdf0e10cSrcweir#define	ROW_2						(ROW_1 + HEIGHT_RB + RSC_SP_CTRL_GROUP_Y)
51cdf0e10cSrcweir#define	ROW_3						(ROW_2 + HEIGHT_RB + RSC_SP_FLGR_SPACE_Y)
52cdf0e10cSrcweir#define	ROW_4						(ROW_3 + HEIGHT_FL + SPACE_FL_NEXTCTRL_Y)
53cdf0e10cSrcweir#define	ROW_5						(ROW_4 + HEIGHT_CB + RSC_SP_CTRL_GROUP_Y)
54cdf0e10cSrcweir
55cdf0e10cSrcweir// misc calculation makros
56cdf0e10cSrcweir#define WIDTH2END( startcol )		(COL_LAST - startcol)
57cdf0e10cSrcweir
58cdf0e10cSrcweir
59cdf0e10cSrcweir// resource IDs
60cdf0e10cSrcweir#define FL_DEFTXTDIRECTION			1
61cdf0e10cSrcweir#define	RB_TXTDIR_LEFT2RIGHT		2
62cdf0e10cSrcweir#define	RB_TXTDIR_RIGHT2LEFT		3
63cdf0e10cSrcweir#define	FL_SHEETVIEW				4
64cdf0e10cSrcweir#define	CB_SHTVW_RIGHT2LEFT			5
65cdf0e10cSrcweir#define	CB_SHTVW_CURRENTDOCONLY		6
66cdf0e10cSrcweir
67cdf0e10cSrcweir#endif
68cdf0e10cSrcweir
69