Update ooo320-m1
[ooovba.git] / basctl / source / dlged / managelang.hrc
blob7bfca9ff4cbb2a8dae200a1220b29f435967686c
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: managelang.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 _BASCTL_MANAGELANG_HRC
32 #define _BASCTL_MANAGELANG_HRC
34 // Include -----------------------------------------------------------------------
36 #include <svtools/controldims.hrc>
38 // Dialog Control Id's -----------------------------------------------------------
40 #define FT_LANGUAGE                     1
41 #define LB_LANGUAGE                     2
42 #define PB_ADD_LANG                     3
43 #define PB_DEL_LANG                     4
44 #define PB_MAKE_DEFAULT         5
45 #define FT_INFO                         6
46 #define FL_BUTTONS                      7
47 #define PB_HELP                         8
48 #define PB_CLOSE                        9
49 #define STR_DEF_LANG            10
50 #define STR_DELETE                      11
51 #define STR_CREATE_LANG         12
53 #define FT_DEF_LANGUAGE         1
54 #define LB_DEF_LANGUAGE         2
55 #define LB_ADD_LANGUAGE         3
56 #define FT_DEF_INFO                     4
57 #define FL_DEF_BUTTONS          5
58 #define PB_DEF_OK                       6
59 #define PB_DEF_CANCEL           7
60 #define PB_DEF_HELP                     8
61 #define STR_ADDLANG_TITLE       9
62 #define STR_ADDLANG_LABEL       10
63 #define STR_ADDLANG_INFO        11
65 // Metrics -----------------------------------------------------------------------
67 #define MANAGE_DLG_WIDTH        240
68 #define MANAGE_DLG_HEIGHT       180
69 #define INFO_LINES_COUNT        3
71 #define MANAGE_COL1                     RSC_SP_DLG_INNERBORDER_LEFT
72 #define MANAGE_COL2                     (MANAGE_DLG_WIDTH - RSC_SP_DLG_INNERBORDER_RIGHT - 2*RSC_CD_PUSHBUTTON_WIDTH - RSC_SP_CTRL_X)
73 #define MANAGE_COL3                     (MANAGE_COL2 + RSC_CD_PUSHBUTTON_WIDTH + RSC_SP_CTRL_X)
75 #define MANAGE_ROW1                     RSC_SP_DLG_INNERBORDER_TOP
76 #define MANAGE_ROW2                     (MANAGE_ROW1 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y)
77 #define MANAGE_ROW3                     (MANAGE_ROW2 + RSC_CD_PUSHBUTTON_HEIGHT + RSC_SP_CTRL_GROUP_Y)
79 #define MANAGE_ROW7                     (MANAGE_DLG_HEIGHT - RSC_SP_DLG_INNERBORDER_BOTTOM - RSC_CD_PUSHBUTTON_HEIGHT)
80 #define MANAGE_ROW6                     (MANAGE_ROW7 - RSC_SP_FLGR_SPACE_Y - RSC_CD_FIXEDLINE_HEIGHT)
81 #define MANAGE_ROW5                     (MANAGE_ROW6 - RSC_SP_FLGR_SPACE_Y - INFO_LINES_COUNT*RSC_CD_FIXEDTEXT_HEIGHT)
82 #define MANAGE_ROW4                     (MANAGE_ROW5 - RSC_SP_CTRL_GROUP_Y - RSC_CD_PUSHBUTTON_HEIGHT)
83 #define MANAGE_ROW4A            (MANAGE_ROW4 + RSC_CD_PUSHBUTTON_HEIGHT)
85 #define MANAGE_LB_WIDTH         (MANAGE_COL3 - RSC_SP_CTRL_X - RSC_SP_DLG_INNERBORDER_LEFT)
86 #define MANAGE_LB_HEIGHT        (MANAGE_ROW4A - MANAGE_ROW2)
88 #define SETDEF_DLG_WIDTH        180
89 #define SETDEF_DLG_HEIGHT       165
91 #define SETDEF_COL1                     RSC_SP_DLG_INNERBORDER_LEFT
92 #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)
93 #define SETDEF_COL3                     (SETDEF_COL2 + RSC_CD_PUSHBUTTON_WIDTH + RSC_SP_CTRL_GROUP_X)
94 #define SETDEF_COL4                     (SETDEF_COL3 + RSC_CD_PUSHBUTTON_WIDTH + RSC_SP_CTRL_X)
95 #define SETDEF_COL4A            (SETDEF_COL4 + RSC_CD_PUSHBUTTON_WIDTH)
97 #define SETDEF_ROW1                     RSC_SP_DLG_INNERBORDER_TOP
98 #define SETDEF_ROW2                     (SETDEF_ROW1 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y)
100 #define SETDEF_ROW5                     (SETDEF_DLG_HEIGHT - RSC_SP_DLG_INNERBORDER_BOTTOM - RSC_CD_PUSHBUTTON_HEIGHT)
101 #define SETDEF_ROW4                     (SETDEF_ROW5 - RSC_SP_FLGR_SPACE_Y - RSC_CD_FIXEDLINE_HEIGHT)
102 #define SETDEF_ROW3                     (SETDEF_ROW4 - RSC_SP_FLGR_SPACE_Y - INFO_LINES_COUNT*RSC_CD_FIXEDTEXT_HEIGHT)
103 #define SETDEF_ROW3A            (SETDEF_ROW3 - RSC_SP_CTRL_GROUP_Y)
105 #define SETDEF_LB_WIDTH         (SETDEF_COL4A - SETDEF_COL1)
106 #define SETDEF_LB_HEIGHT        (SETDEF_ROW3A - SETDEF_ROW2)
108 #endif  // _BASCTL_MANAGELANG_HRC