1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: dp_gui_dependencydialog.src,v $
12 * This file is part of OpenOffice.org.
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.
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).
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.
29 ************************************************************************/
31 #include "svtools/controldims.hrc"
35 #define LOCAL_WIDTH (50 * RSC_BS_CHARWIDTH)
36 #define LOCAL_TEXT_HEIGHT (2 * RSC_CD_FIXEDTEXT_HEIGHT)
37 #define LOCAL_LIST_HEIGHT (6 * RSC_BS_CHARHEIGHT)
39 ModalDialog RID_DLG_DEPENDENCIES {
41 (RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH +
42 RSC_SP_DLG_INNERBORDER_RIGHT),
43 (RSC_SP_DLG_INNERBORDER_TOP + LOCAL_TEXT_HEIGHT + RSC_SP_CTRL_DESC_Y +
44 LOCAL_LIST_HEIGHT + RSC_SP_CTRL_Y + RSC_CD_PUSHBUTTON_HEIGHT +
45 RSC_SP_DLG_INNERBORDER_BOTTOM));
46 Text[en-US] = "System dependencies check";
50 FixedText RID_DLG_DEPENDENCIES_TEXT {
52 RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP);
53 Size = MAP_APPFONT(LOCAL_WIDTH, LOCAL_TEXT_HEIGHT);
54 Text[en-US] = "The extension cannot be installed as the following\nsystem dependencies are not fulfilled:";
57 ListBox RID_DLG_DEPENDENCIES_LIST {
59 RSC_SP_DLG_INNERBORDER_LEFT,
60 (RSC_SP_DLG_INNERBORDER_TOP + LOCAL_TEXT_HEIGHT +
62 Size = MAP_APPFONT(LOCAL_WIDTH, LOCAL_LIST_HEIGHT);
64 OKButton RID_DLG_DEPENDENCIES_OK {
66 (RSC_SP_DLG_INNERBORDER_LEFT +
67 (LOCAL_WIDTH - RSC_CD_PUSHBUTTON_WIDTH) / 2),
68 (RSC_SP_DLG_INNERBORDER_TOP + LOCAL_TEXT_HEIGHT +
69 RSC_SP_CTRL_DESC_Y + LOCAL_LIST_HEIGHT + RSC_SP_CTRL_Y));
70 Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT);