xref: /trunk/main/basctl/source/dlged/managelang.hrc (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir
28*cdf0e10cSrcweir#ifndef _BASCTL_MANAGELANG_HRC
29*cdf0e10cSrcweir#define _BASCTL_MANAGELANG_HRC
30*cdf0e10cSrcweir
31*cdf0e10cSrcweir// Include -----------------------------------------------------------------------
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir#include <svtools/controldims.hrc>
34*cdf0e10cSrcweir
35*cdf0e10cSrcweir// Dialog Control Id's -----------------------------------------------------------
36*cdf0e10cSrcweir
37*cdf0e10cSrcweir#define FT_LANGUAGE         1
38*cdf0e10cSrcweir#define LB_LANGUAGE         2
39*cdf0e10cSrcweir#define PB_ADD_LANG         3
40*cdf0e10cSrcweir#define PB_DEL_LANG         4
41*cdf0e10cSrcweir#define PB_MAKE_DEFAULT     5
42*cdf0e10cSrcweir#define FT_INFO             6
43*cdf0e10cSrcweir#define FL_BUTTONS          7
44*cdf0e10cSrcweir#define PB_HELP             8
45*cdf0e10cSrcweir#define PB_CLOSE            9
46*cdf0e10cSrcweir#define STR_DEF_LANG        10
47*cdf0e10cSrcweir#define STR_DELETE          11
48*cdf0e10cSrcweir#define STR_CREATE_LANG     12
49*cdf0e10cSrcweir
50*cdf0e10cSrcweir#define FT_DEF_LANGUAGE     1
51*cdf0e10cSrcweir#define LB_DEF_LANGUAGE     2
52*cdf0e10cSrcweir#define LB_ADD_LANGUAGE     3
53*cdf0e10cSrcweir#define FT_DEF_INFO         4
54*cdf0e10cSrcweir#define FL_DEF_BUTTONS      5
55*cdf0e10cSrcweir#define PB_DEF_OK           6
56*cdf0e10cSrcweir#define PB_DEF_CANCEL       7
57*cdf0e10cSrcweir#define PB_DEF_HELP         8
58*cdf0e10cSrcweir#define STR_ADDLANG_TITLE   9
59*cdf0e10cSrcweir#define STR_ADDLANG_LABEL   10
60*cdf0e10cSrcweir#define STR_ADDLANG_INFO    11
61*cdf0e10cSrcweir
62*cdf0e10cSrcweir// Metrics -----------------------------------------------------------------------
63*cdf0e10cSrcweir
64*cdf0e10cSrcweir#define MANAGE_DLG_WIDTH    240
65*cdf0e10cSrcweir#define MANAGE_DLG_HEIGHT   180
66*cdf0e10cSrcweir#define INFO_LINES_COUNT    3
67*cdf0e10cSrcweir
68*cdf0e10cSrcweir#define MANAGE_COL1         RSC_SP_DLG_INNERBORDER_LEFT
69*cdf0e10cSrcweir#define MANAGE_COL2         (MANAGE_DLG_WIDTH - RSC_SP_DLG_INNERBORDER_RIGHT - 2*RSC_CD_PUSHBUTTON_WIDTH - RSC_SP_CTRL_X)
70*cdf0e10cSrcweir#define MANAGE_COL3         (MANAGE_COL2 + RSC_CD_PUSHBUTTON_WIDTH + RSC_SP_CTRL_X)
71*cdf0e10cSrcweir
72*cdf0e10cSrcweir#define MANAGE_ROW1         RSC_SP_DLG_INNERBORDER_TOP
73*cdf0e10cSrcweir#define MANAGE_ROW2         (MANAGE_ROW1 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y)
74*cdf0e10cSrcweir#define MANAGE_ROW3         (MANAGE_ROW2 + RSC_CD_PUSHBUTTON_HEIGHT + RSC_SP_CTRL_GROUP_Y)
75*cdf0e10cSrcweir
76*cdf0e10cSrcweir#define MANAGE_ROW7         (MANAGE_DLG_HEIGHT - RSC_SP_DLG_INNERBORDER_BOTTOM - RSC_CD_PUSHBUTTON_HEIGHT)
77*cdf0e10cSrcweir#define MANAGE_ROW6         (MANAGE_ROW7 - RSC_SP_FLGR_SPACE_Y - RSC_CD_FIXEDLINE_HEIGHT)
78*cdf0e10cSrcweir#define MANAGE_ROW5         (MANAGE_ROW6 - RSC_SP_FLGR_SPACE_Y - INFO_LINES_COUNT*RSC_CD_FIXEDTEXT_HEIGHT)
79*cdf0e10cSrcweir#define MANAGE_ROW4         (MANAGE_ROW5 - RSC_SP_CTRL_GROUP_Y - RSC_CD_PUSHBUTTON_HEIGHT)
80*cdf0e10cSrcweir#define MANAGE_ROW4A        (MANAGE_ROW4 + RSC_CD_PUSHBUTTON_HEIGHT)
81*cdf0e10cSrcweir
82*cdf0e10cSrcweir#define MANAGE_LB_WIDTH     (MANAGE_COL3 - RSC_SP_CTRL_X - RSC_SP_DLG_INNERBORDER_LEFT)
83*cdf0e10cSrcweir#define MANAGE_LB_HEIGHT    (MANAGE_ROW4A - MANAGE_ROW2)
84*cdf0e10cSrcweir
85*cdf0e10cSrcweir#define SETDEF_DLG_WIDTH    180
86*cdf0e10cSrcweir#define SETDEF_DLG_HEIGHT   165
87*cdf0e10cSrcweir
88*cdf0e10cSrcweir#define SETDEF_COL1         RSC_SP_DLG_INNERBORDER_LEFT
89*cdf0e10cSrcweir#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)
90*cdf0e10cSrcweir#define SETDEF_COL3         (SETDEF_COL2 + RSC_CD_PUSHBUTTON_WIDTH + RSC_SP_CTRL_GROUP_X)
91*cdf0e10cSrcweir#define SETDEF_COL4         (SETDEF_COL3 + RSC_CD_PUSHBUTTON_WIDTH + RSC_SP_CTRL_X)
92*cdf0e10cSrcweir#define SETDEF_COL4A        (SETDEF_COL4 + RSC_CD_PUSHBUTTON_WIDTH)
93*cdf0e10cSrcweir
94*cdf0e10cSrcweir#define SETDEF_ROW1         RSC_SP_DLG_INNERBORDER_TOP
95*cdf0e10cSrcweir#define SETDEF_ROW2         (SETDEF_ROW1 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y)
96*cdf0e10cSrcweir
97*cdf0e10cSrcweir#define SETDEF_ROW5         (SETDEF_DLG_HEIGHT - RSC_SP_DLG_INNERBORDER_BOTTOM - RSC_CD_PUSHBUTTON_HEIGHT)
98*cdf0e10cSrcweir#define SETDEF_ROW4         (SETDEF_ROW5 - RSC_SP_FLGR_SPACE_Y - RSC_CD_FIXEDLINE_HEIGHT)
99*cdf0e10cSrcweir#define SETDEF_ROW3         (SETDEF_ROW4 - RSC_SP_FLGR_SPACE_Y - INFO_LINES_COUNT*RSC_CD_FIXEDTEXT_HEIGHT)
100*cdf0e10cSrcweir#define SETDEF_ROW3A        (SETDEF_ROW3 - RSC_SP_CTRL_GROUP_Y)
101*cdf0e10cSrcweir
102*cdf0e10cSrcweir#define SETDEF_LB_WIDTH     (SETDEF_COL4A - SETDEF_COL1)
103*cdf0e10cSrcweir#define SETDEF_LB_HEIGHT    (SETDEF_ROW3A - SETDEF_ROW2)
104*cdf0e10cSrcweir
105*cdf0e10cSrcweir#endif  // _BASCTL_MANAGELANG_HRC
106*cdf0e10cSrcweir
107