1158fda6aSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3158fda6aSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4158fda6aSAndrew Rist * or more contributor license agreements. See the NOTICE file 5158fda6aSAndrew Rist * distributed with this work for additional information 6158fda6aSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7158fda6aSAndrew Rist * to you under the Apache License, Version 2.0 (the 8158fda6aSAndrew Rist * "License"); you may not use this file except in compliance 9158fda6aSAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 11158fda6aSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13158fda6aSAndrew Rist * Unless required by applicable law or agreed to in writing, 14158fda6aSAndrew Rist * software distributed under the License is distributed on an 15158fda6aSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16158fda6aSAndrew Rist * KIND, either express or implied. See the License for the 17158fda6aSAndrew Rist * specific language governing permissions and limitations 18158fda6aSAndrew Rist * under the License. 19cdf0e10cSrcweir * 20158fda6aSAndrew Rist *************************************************************/ 21158fda6aSAndrew Rist 22cdf0e10cSrcweir#include "svtools/controldims.hrc" 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include "dp_gui.hrc" 25cdf0e10cSrcweir 26cdf0e10cSrcweir#define LOCAL_WIDTH (50 * RSC_BS_CHARWIDTH) 27cdf0e10cSrcweir#define LOCAL_TEXT_HEIGHT (2 * RSC_CD_FIXEDTEXT_HEIGHT) 28cdf0e10cSrcweir#define LOCAL_LIST_HEIGHT (6 * RSC_BS_CHARHEIGHT) 29cdf0e10cSrcweir 30*6b417ef1SmseidelModalDialog RID_DLG_DEPENDENCIES 31*6b417ef1Smseidel{ 32cdf0e10cSrcweir HelpID = "desktop:ModalDialog:RID_DLG_DEPENDENCIES" ; 33*6b417ef1Smseidel Size = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH + RSC_SP_DLG_INNERBORDER_RIGHT, 34*6b417ef1Smseidel RSC_SP_DLG_INNERBORDER_TOP + LOCAL_TEXT_HEIGHT + RSC_SP_CTRL_DESC_Y + LOCAL_LIST_HEIGHT + RSC_SP_CTRL_Y + RSC_CD_PUSHBUTTON_HEIGHT + RSC_SP_DLG_INNERBORDER_BOTTOM ) ; 35cdf0e10cSrcweir Text [en-US] = "System dependencies check" ; 36cdf0e10cSrcweir Sizeable = TRUE ; 37cdf0e10cSrcweir Moveable = TRUE ; 38cdf0e10cSrcweir Closeable = TRUE ; 39*6b417ef1Smseidel FixedText RID_DLG_DEPENDENCIES_TEXT 40*6b417ef1Smseidel { 41*6b417ef1Smseidel Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP ) ; 42cdf0e10cSrcweir Size = MAP_APPFONT ( LOCAL_WIDTH, LOCAL_TEXT_HEIGHT ) ; 43cdf0e10cSrcweir Text [en-US] = "The extension cannot be installed as the following\nsystem dependencies are not fulfilled:"; 44cdf0e10cSrcweir NoLabel = TRUE ; 45cdf0e10cSrcweir }; 46*6b417ef1Smseidel ListBox RID_DLG_DEPENDENCIES_LIST 47*6b417ef1Smseidel { 48cdf0e10cSrcweir HelpID = "desktop:ListBox:RID_DLG_DEPENDENCIES:RID_DLG_DEPENDENCIES_LIST" ; 49*6b417ef1Smseidel Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP + LOCAL_TEXT_HEIGHT + RSC_SP_CTRL_DESC_Y ) ; 50cdf0e10cSrcweir Size = MAP_APPFONT ( LOCAL_WIDTH, LOCAL_LIST_HEIGHT ) ; 51cdf0e10cSrcweir }; 52*6b417ef1Smseidel OKButton RID_DLG_DEPENDENCIES_OK 53*6b417ef1Smseidel { 54*6b417ef1Smseidel Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH - RSC_CD_PUSHBUTTON_WIDTH / 2, 55*6b417ef1Smseidel RSC_SP_DLG_INNERBORDER_TOP + LOCAL_TEXT_HEIGHT + RSC_SP_CTRL_DESC_Y + LOCAL_LIST_HEIGHT + RSC_SP_CTRL_Y ) ; 56cdf0e10cSrcweir Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ; 57cdf0e10cSrcweir DefButton = TRUE ; 58cdf0e10cSrcweir }; 59cdf0e10cSrcweir}; 60*6b417ef1Smseidel 61*6b417ef1Smseidel// ********************************************************************** EOF 62