xref: /aoo41x/main/basctl/source/dlged/managelang.hrc (revision dc4626f2)
1*dc4626f2SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*dc4626f2SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*dc4626f2SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*dc4626f2SAndrew Rist * distributed with this work for additional information
6*dc4626f2SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*dc4626f2SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*dc4626f2SAndrew Rist * "License"); you may not use this file except in compliance
9*dc4626f2SAndrew Rist * with the License.  You may obtain a copy of the License at
10*dc4626f2SAndrew Rist *
11*dc4626f2SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*dc4626f2SAndrew Rist *
13*dc4626f2SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*dc4626f2SAndrew Rist * software distributed under the License is distributed on an
15*dc4626f2SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*dc4626f2SAndrew Rist * KIND, either express or implied.  See the License for the
17*dc4626f2SAndrew Rist * specific language governing permissions and limitations
18*dc4626f2SAndrew Rist * under the License.
19*dc4626f2SAndrew Rist *
20*dc4626f2SAndrew Rist *************************************************************/
21*dc4626f2SAndrew Rist
22*dc4626f2SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#ifndef _BASCTL_MANAGELANG_HRC
25cdf0e10cSrcweir#define _BASCTL_MANAGELANG_HRC
26cdf0e10cSrcweir
27cdf0e10cSrcweir// Include -----------------------------------------------------------------------
28cdf0e10cSrcweir
29cdf0e10cSrcweir#include <svtools/controldims.hrc>
30cdf0e10cSrcweir
31cdf0e10cSrcweir// Dialog Control Id's -----------------------------------------------------------
32cdf0e10cSrcweir
33cdf0e10cSrcweir#define FT_LANGUAGE			1
34cdf0e10cSrcweir#define LB_LANGUAGE			2
35cdf0e10cSrcweir#define PB_ADD_LANG			3
36cdf0e10cSrcweir#define PB_DEL_LANG			4
37cdf0e10cSrcweir#define PB_MAKE_DEFAULT		5
38cdf0e10cSrcweir#define FT_INFO				6
39cdf0e10cSrcweir#define FL_BUTTONS			7
40cdf0e10cSrcweir#define PB_HELP				8
41cdf0e10cSrcweir#define PB_CLOSE			9
42cdf0e10cSrcweir#define STR_DEF_LANG		10
43cdf0e10cSrcweir#define STR_DELETE			11
44cdf0e10cSrcweir#define STR_CREATE_LANG		12
45cdf0e10cSrcweir
46cdf0e10cSrcweir#define FT_DEF_LANGUAGE		1
47cdf0e10cSrcweir#define LB_DEF_LANGUAGE		2
48cdf0e10cSrcweir#define LB_ADD_LANGUAGE		3
49cdf0e10cSrcweir#define FT_DEF_INFO			4
50cdf0e10cSrcweir#define FL_DEF_BUTTONS		5
51cdf0e10cSrcweir#define PB_DEF_OK			6
52cdf0e10cSrcweir#define PB_DEF_CANCEL		7
53cdf0e10cSrcweir#define PB_DEF_HELP			8
54cdf0e10cSrcweir#define STR_ADDLANG_TITLE	9
55cdf0e10cSrcweir#define STR_ADDLANG_LABEL	10
56cdf0e10cSrcweir#define STR_ADDLANG_INFO	11
57cdf0e10cSrcweir
58cdf0e10cSrcweir// Metrics -----------------------------------------------------------------------
59cdf0e10cSrcweir
60cdf0e10cSrcweir#define MANAGE_DLG_WIDTH	240
61cdf0e10cSrcweir#define MANAGE_DLG_HEIGHT	180
62cdf0e10cSrcweir#define INFO_LINES_COUNT	3
63cdf0e10cSrcweir
64cdf0e10cSrcweir#define MANAGE_COL1			RSC_SP_DLG_INNERBORDER_LEFT
65cdf0e10cSrcweir#define MANAGE_COL2			(MANAGE_DLG_WIDTH - RSC_SP_DLG_INNERBORDER_RIGHT - 2*RSC_CD_PUSHBUTTON_WIDTH - RSC_SP_CTRL_X)
66cdf0e10cSrcweir#define MANAGE_COL3			(MANAGE_COL2 + RSC_CD_PUSHBUTTON_WIDTH + RSC_SP_CTRL_X)
67cdf0e10cSrcweir
68cdf0e10cSrcweir#define MANAGE_ROW1			RSC_SP_DLG_INNERBORDER_TOP
69cdf0e10cSrcweir#define MANAGE_ROW2			(MANAGE_ROW1 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y)
70cdf0e10cSrcweir#define MANAGE_ROW3			(MANAGE_ROW2 + RSC_CD_PUSHBUTTON_HEIGHT + RSC_SP_CTRL_GROUP_Y)
71cdf0e10cSrcweir
72cdf0e10cSrcweir#define MANAGE_ROW7			(MANAGE_DLG_HEIGHT - RSC_SP_DLG_INNERBORDER_BOTTOM - RSC_CD_PUSHBUTTON_HEIGHT)
73cdf0e10cSrcweir#define MANAGE_ROW6			(MANAGE_ROW7 - RSC_SP_FLGR_SPACE_Y - RSC_CD_FIXEDLINE_HEIGHT)
74cdf0e10cSrcweir#define MANAGE_ROW5			(MANAGE_ROW6 - RSC_SP_FLGR_SPACE_Y - INFO_LINES_COUNT*RSC_CD_FIXEDTEXT_HEIGHT)
75cdf0e10cSrcweir#define MANAGE_ROW4			(MANAGE_ROW5 - RSC_SP_CTRL_GROUP_Y - RSC_CD_PUSHBUTTON_HEIGHT)
76cdf0e10cSrcweir#define MANAGE_ROW4A 		(MANAGE_ROW4 + RSC_CD_PUSHBUTTON_HEIGHT)
77cdf0e10cSrcweir
78cdf0e10cSrcweir#define MANAGE_LB_WIDTH		(MANAGE_COL3 - RSC_SP_CTRL_X - RSC_SP_DLG_INNERBORDER_LEFT)
79cdf0e10cSrcweir#define MANAGE_LB_HEIGHT	(MANAGE_ROW4A - MANAGE_ROW2)
80cdf0e10cSrcweir
81cdf0e10cSrcweir#define SETDEF_DLG_WIDTH	180
82cdf0e10cSrcweir#define SETDEF_DLG_HEIGHT	165
83cdf0e10cSrcweir
84cdf0e10cSrcweir#define SETDEF_COL1			RSC_SP_DLG_INNERBORDER_LEFT
85cdf0e10cSrcweir#define SETDEF_COL2			(SETDEF_DLG_WIDTH - RSC_SP_DLG_INNERBORDER_RIGHT - 3*RSC_CD_PUSHBUTTON_WIDTH - RSC_SP_CTRL_GROUP_X - RSC_SP_CTRL_X)
86cdf0e10cSrcweir#define SETDEF_COL3			(SETDEF_COL2 + RSC_CD_PUSHBUTTON_WIDTH + RSC_SP_CTRL_GROUP_X)
87cdf0e10cSrcweir#define SETDEF_COL4			(SETDEF_COL3 + RSC_CD_PUSHBUTTON_WIDTH + RSC_SP_CTRL_X)
88cdf0e10cSrcweir#define SETDEF_COL4A		(SETDEF_COL4 + RSC_CD_PUSHBUTTON_WIDTH)
89cdf0e10cSrcweir
90cdf0e10cSrcweir#define SETDEF_ROW1			RSC_SP_DLG_INNERBORDER_TOP
91cdf0e10cSrcweir#define SETDEF_ROW2			(SETDEF_ROW1 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y)
92cdf0e10cSrcweir
93cdf0e10cSrcweir#define SETDEF_ROW5			(SETDEF_DLG_HEIGHT - RSC_SP_DLG_INNERBORDER_BOTTOM - RSC_CD_PUSHBUTTON_HEIGHT)
94cdf0e10cSrcweir#define SETDEF_ROW4			(SETDEF_ROW5 - RSC_SP_FLGR_SPACE_Y - RSC_CD_FIXEDLINE_HEIGHT)
95cdf0e10cSrcweir#define SETDEF_ROW3			(SETDEF_ROW4 - RSC_SP_FLGR_SPACE_Y - INFO_LINES_COUNT*RSC_CD_FIXEDTEXT_HEIGHT)
96cdf0e10cSrcweir#define SETDEF_ROW3A 		(SETDEF_ROW3 - RSC_SP_CTRL_GROUP_Y)
97cdf0e10cSrcweir
98cdf0e10cSrcweir#define SETDEF_LB_WIDTH		(SETDEF_COL4A - SETDEF_COL1)
99cdf0e10cSrcweir#define SETDEF_LB_HEIGHT	(SETDEF_ROW3A - SETDEF_ROW2)
100cdf0e10cSrcweir
101cdf0e10cSrcweir#endif	// _BASCTL_MANAGELANG_HRC
102cdf0e10cSrcweir
103