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 (60 * RSC_BS_CHARWIDTH) 27cdf0e10cSrcweir#define LOCAL_LIST_HEIGHT (7 * RSC_BS_CHARHEIGHT) 28cdf0e10cSrcweir#define LOCAL_BUTTON_WIDTH 80 29cdf0e10cSrcweir 30d1a41c16SmseidelModalDialog RID_DLG_UPDATEINSTALL 31d1a41c16Smseidel{ 32cdf0e10cSrcweir HelpId = HID_DEPLOYMENT_GUI_UPDATEINSTALL ; 33d1a41c16Smseidel Size = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH + RSC_SP_DLG_INNERBORDER_RIGHT, 34d1a41c16Smseidel RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT + 35d1a41c16Smseidel RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_FLGR_SPACE_Y + LOCAL_LIST_HEIGHT + RSC_SP_FLGR_SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_SPACE_Y + RSC_CD_PUSHBUTTON_HEIGHT + 36d1a41c16Smseidel RSC_SP_DLG_INNERBORDER_BOTTOM ) ; 37*bae7dcfdSmseidel Text [ en-US ] = "Download and Installation" ; 38cdf0e10cSrcweir Moveable = TRUE ; 39cdf0e10cSrcweir Closeable = TRUE ; 40d1a41c16Smseidel FixedText RID_DLG_UPDATE_INSTALL_DOWNLOADING 41d1a41c16Smseidel { 42d1a41c16Smseidel Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP ) ; 43cdf0e10cSrcweir Size = MAP_APPFONT ( LOCAL_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT ) ; 44*bae7dcfdSmseidel Text [ en-US ] = "Downloading extensions..." ; 45cdf0e10cSrcweir NoLabel = TRUE ; 46cdf0e10cSrcweir }; 47cdf0e10cSrcweir 48d1a41c16Smseidel Window RID_DLG_UPDATE_INSTALL_STATUSBAR 49d1a41c16Smseidel { 50d1a41c16Smseidel Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y ) ; 51cdf0e10cSrcweir Size = MAP_APPFONT ( LOCAL_WIDTH, RSC_CD_CHECKBOX_HEIGHT ) ; 52cdf0e10cSrcweir Border = TRUE ; 53cdf0e10cSrcweir }; 54cdf0e10cSrcweir 55d1a41c16Smseidel FixedText RID_DLG_UPDATE_INSTALL_EXTENSION_NAME 56d1a41c16Smseidel { 57d1a41c16Smseidel Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_DESC_Y ) ; 58cdf0e10cSrcweir Size = MAP_APPFONT ( LOCAL_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT ) ; 59*bae7dcfdSmseidel Text = "" ; 60cdf0e10cSrcweir NoLabel = TRUE ; 61cdf0e10cSrcweir }; 62cdf0e10cSrcweir 63cdf0e10cSrcweir FixedText RID_DLG_UPDATE_INSTALL_RESULTS { 64d1a41c16Smseidel Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT + 65d1a41c16Smseidel RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_Y ) ; 66cdf0e10cSrcweir Size = MAP_APPFONT ( LOCAL_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT ) ; 67*bae7dcfdSmseidel Text [ en-US ] = "Result" ; 68cdf0e10cSrcweir }; 69cdf0e10cSrcweir 70d1a41c16Smseidel MultiLineEdit RID_DLG_UPDATE_INSTALL_INFO 71d1a41c16Smseidel { 72*bae7dcfdSmseidel HelpID = "desktop:MultiLineEdit:RID_DLG_UPDATEINSTALL:RID_DLG_UPDATE_INSTALL_INFO" ; 73d1a41c16Smseidel Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT + 74d1a41c16Smseidel RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT + 75d1a41c16Smseidel RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y ) ; 76cdf0e10cSrcweir Size = MAP_APPFONT ( LOCAL_WIDTH, LOCAL_LIST_HEIGHT ) ; 77cdf0e10cSrcweir Border = TRUE ; 78cdf0e10cSrcweir ReadOnly = TRUE ; 79cdf0e10cSrcweir VScroll = TRUE ; 80cdf0e10cSrcweir TabStop = FALSE ; 81cdf0e10cSrcweir }; 82cdf0e10cSrcweir 83d1a41c16Smseidel FixedLine RID_DLG_UPDATE_INSTALL_LINE 84d1a41c16Smseidel { 85d1a41c16Smseidel Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT + 86d1a41c16Smseidel RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT + 87d1a41c16Smseidel RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y + LOCAL_LIST_HEIGHT + RSC_SP_FLGR_SPACE_Y ) ; 88cdf0e10cSrcweir Size = MAP_APPFONT ( LOCAL_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ; 89cdf0e10cSrcweir }; 90cdf0e10cSrcweir 91d1a41c16Smseidel OKButton RID_DLG_UPDATE_INSTALL_OK 92d1a41c16Smseidel { 93cdf0e10cSrcweir Disable = TRUE ; 94d1a41c16Smseidel Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH - LOCAL_BUTTON_WIDTH - RSC_SP_CTRL_GROUP_X - RSC_CD_PUSHBUTTON_WIDTH, 95d1a41c16Smseidel RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT + 96d1a41c16Smseidel RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y + LOCAL_LIST_HEIGHT + RSC_SP_FLGR_SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_SPACE_Y ) ; 97cdf0e10cSrcweir Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ; 98*bae7dcfdSmseidel Text [ en-US ] = "OK" ; 99cdf0e10cSrcweir }; 100cdf0e10cSrcweir 101d1a41c16Smseidel CancelButton RID_DLG_UPDATE_INSTALL_ABORT 102d1a41c16Smseidel { 103d1a41c16Smseidel Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH - LOCAL_BUTTON_WIDTH, 104d1a41c16Smseidel RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT + 105d1a41c16Smseidel RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y + LOCAL_LIST_HEIGHT + RSC_SP_FLGR_SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_SPACE_Y ) ; 106cdf0e10cSrcweir Size = MAP_APPFONT ( LOCAL_BUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ; 107*bae7dcfdSmseidel Text [ en-US ] = "Cancel Update" ; 108cdf0e10cSrcweir DefButton = TRUE ; 109cdf0e10cSrcweir }; 110cdf0e10cSrcweir 111d1a41c16Smseidel HelpButton RID_DLG_UPDATE_INSTALL_HELP 112d1a41c16Smseidel { 113d1a41c16Smseidel Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, 114d1a41c16Smseidel RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT + 115d1a41c16Smseidel RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y + LOCAL_LIST_HEIGHT + RSC_SP_FLGR_SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_SPACE_Y ) ; 116cdf0e10cSrcweir Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ; 117cdf0e10cSrcweir }; 118cdf0e10cSrcweir 119d1a41c16Smseidel String RID_DLG_UPDATE_INSTALL_INSTALLING 120d1a41c16Smseidel { 121*bae7dcfdSmseidel Text [ en-US ] = "Installing extensions..." ; 122cdf0e10cSrcweir }; 123cdf0e10cSrcweir 124d1a41c16Smseidel String RID_DLG_UPDATE_INSTALL_FINISHED 125d1a41c16Smseidel { 126*bae7dcfdSmseidel Text [ en-US ] = "Installation finished" ; 127cdf0e10cSrcweir }; 128cdf0e10cSrcweir 129d1a41c16Smseidel String RID_DLG_UPDATE_INSTALL_NO_ERRORS 130d1a41c16Smseidel { 131*bae7dcfdSmseidel Text [ en-US ] = "No errors." ; 132cdf0e10cSrcweir }; 133cdf0e10cSrcweir 134d1a41c16Smseidel String RID_DLG_UPDATE_INSTALL_ERROR_DOWNLOAD 135d1a41c16Smseidel { 136*bae7dcfdSmseidel Text [ en-US ] = "Error while downloading extension %NAME. " ; 137cdf0e10cSrcweir }; 138cdf0e10cSrcweir 139d1a41c16Smseidel String RID_DLG_UPDATE_INSTALL_THIS_ERROR_OCCURRED 140d1a41c16Smseidel { 141*bae7dcfdSmseidel Text [ en-US ] = "The error message is: " ; 142cdf0e10cSrcweir }; 143cdf0e10cSrcweir 144cdf0e10cSrcweir 145d1a41c16Smseidel String RID_DLG_UPDATE_INSTALL_ERROR_INSTALLATION 146d1a41c16Smseidel { 147*bae7dcfdSmseidel Text [ en-US ] = "Error while installing extension %NAME. " ; 148cdf0e10cSrcweir }; 149cdf0e10cSrcweir 150d1a41c16Smseidel String RID_DLG_UPDATE_INSTALL_ERROR_LIC_DECLINED 151d1a41c16Smseidel { 152*bae7dcfdSmseidel Text [ en-US ] = "The license agreement for extension %NAME was refused. " ; 153cdf0e10cSrcweir }; 154cdf0e10cSrcweir 155d1a41c16Smseidel String RID_DLG_UPDATE_INSTALL_EXTENSION_NOINSTALL 156d1a41c16Smseidel { 157cdf0e10cSrcweir Text [ en-US ] = "The extension will not be installed." ; 158cdf0e10cSrcweir }; 159cdf0e10cSrcweir 160cdf0e10cSrcweir}; 161cdf0e10cSrcweir 162d1a41c16Smseidel// ********************************************************************** EOF 163