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 302d7380a4SmseidelModalDialog RID_DLG_UPDATEINSTALL 312d7380a4Smseidel{ 32cdf0e10cSrcweir HelpId = HID_DEPLOYMENT_GUI_UPDATEINSTALL ; 332d7380a4Smseidel Size = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH + RSC_SP_DLG_INNERBORDER_RIGHT, 342d7380a4Smseidel 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 + 352d7380a4Smseidel 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 + 362d7380a4Smseidel RSC_SP_DLG_INNERBORDER_BOTTOM ) ; 37*fb10c8faSmseidel Text [ en-US ] = "Download and Installation" ; 38cdf0e10cSrcweir Moveable = TRUE ; 39cdf0e10cSrcweir Closeable = TRUE ; 402d7380a4Smseidel FixedText RID_DLG_UPDATE_INSTALL_DOWNLOADING 412d7380a4Smseidel { 422d7380a4Smseidel Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP ) ; 43cdf0e10cSrcweir Size = MAP_APPFONT ( LOCAL_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT ) ; 44*fb10c8faSmseidel Text [ en-US ] = "Downloading extensions..." ; 45cdf0e10cSrcweir NoLabel = TRUE ; 46cdf0e10cSrcweir }; 47cdf0e10cSrcweir 482d7380a4Smseidel Window RID_DLG_UPDATE_INSTALL_STATUSBAR 492d7380a4Smseidel { 502d7380a4Smseidel 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 552d7380a4Smseidel FixedText RID_DLG_UPDATE_INSTALL_EXTENSION_NAME 562d7380a4Smseidel { 572d7380a4Smseidel 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*fb10c8faSmseidel Text = "" ; 60cdf0e10cSrcweir NoLabel = TRUE ; 61cdf0e10cSrcweir }; 62cdf0e10cSrcweir 63cdf0e10cSrcweir FixedText RID_DLG_UPDATE_INSTALL_RESULTS { 642d7380a4Smseidel Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT + 652d7380a4Smseidel 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*fb10c8faSmseidel Text [ en-US ] = "Result" ; 68cdf0e10cSrcweir }; 69cdf0e10cSrcweir 702d7380a4Smseidel MultiLineEdit RID_DLG_UPDATE_INSTALL_INFO 712d7380a4Smseidel { 72*fb10c8faSmseidel HelpID = "desktop:MultiLineEdit:RID_DLG_UPDATEINSTALL:RID_DLG_UPDATE_INSTALL_INFO" ; 732d7380a4Smseidel Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT + 742d7380a4Smseidel RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT + 752d7380a4Smseidel 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 832d7380a4Smseidel FixedLine RID_DLG_UPDATE_INSTALL_LINE 842d7380a4Smseidel { 852d7380a4Smseidel Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT + 862d7380a4Smseidel RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT + 872d7380a4Smseidel 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 912d7380a4Smseidel OKButton RID_DLG_UPDATE_INSTALL_OK 922d7380a4Smseidel { 93cdf0e10cSrcweir Disable = TRUE ; 942d7380a4Smseidel Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH - LOCAL_BUTTON_WIDTH - RSC_SP_CTRL_GROUP_X - RSC_CD_PUSHBUTTON_WIDTH, 952d7380a4Smseidel 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 + 962d7380a4Smseidel 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*fb10c8faSmseidel Text [ en-US ] = "OK" ; 99cdf0e10cSrcweir }; 100cdf0e10cSrcweir 1012d7380a4Smseidel CancelButton RID_DLG_UPDATE_INSTALL_ABORT 1022d7380a4Smseidel { 1032d7380a4Smseidel Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH - LOCAL_BUTTON_WIDTH, 1042d7380a4Smseidel 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 + 1052d7380a4Smseidel 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*fb10c8faSmseidel Text [ en-US ] = "Cancel Update" ; 108cdf0e10cSrcweir DefButton = TRUE ; 109cdf0e10cSrcweir }; 110cdf0e10cSrcweir 1112d7380a4Smseidel HelpButton RID_DLG_UPDATE_INSTALL_HELP 1122d7380a4Smseidel { 1132d7380a4Smseidel Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, 1142d7380a4Smseidel 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 + 1152d7380a4Smseidel 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 1192d7380a4Smseidel String RID_DLG_UPDATE_INSTALL_INSTALLING 1202d7380a4Smseidel { 121*fb10c8faSmseidel Text [ en-US ] = "Installing extensions..." ; 122cdf0e10cSrcweir }; 123cdf0e10cSrcweir 1242d7380a4Smseidel String RID_DLG_UPDATE_INSTALL_FINISHED 1252d7380a4Smseidel { 126*fb10c8faSmseidel Text [ en-US ] = "Installation finished" ; 127cdf0e10cSrcweir }; 128cdf0e10cSrcweir 1292d7380a4Smseidel String RID_DLG_UPDATE_INSTALL_NO_ERRORS 1302d7380a4Smseidel { 131*fb10c8faSmseidel Text [ en-US ] = "No errors." ; 132cdf0e10cSrcweir }; 133cdf0e10cSrcweir 1342d7380a4Smseidel String RID_DLG_UPDATE_INSTALL_ERROR_DOWNLOAD 1352d7380a4Smseidel { 136*fb10c8faSmseidel Text [ en-US ] = "Error while downloading extension %NAME. " ; 137cdf0e10cSrcweir }; 138cdf0e10cSrcweir 1392d7380a4Smseidel String RID_DLG_UPDATE_INSTALL_THIS_ERROR_OCCURRED 1402d7380a4Smseidel { 141*fb10c8faSmseidel Text [ en-US ] = "The error message is: " ; 142cdf0e10cSrcweir }; 143cdf0e10cSrcweir 144cdf0e10cSrcweir 1452d7380a4Smseidel String RID_DLG_UPDATE_INSTALL_ERROR_INSTALLATION 1462d7380a4Smseidel { 147*fb10c8faSmseidel Text [ en-US ] = "Error while installing extension %NAME. " ; 148cdf0e10cSrcweir }; 149cdf0e10cSrcweir 1502d7380a4Smseidel String RID_DLG_UPDATE_INSTALL_ERROR_LIC_DECLINED 1512d7380a4Smseidel { 152*fb10c8faSmseidel Text [ en-US ] = "The license agreement for extension %NAME was refused. " ; 153cdf0e10cSrcweir }; 154cdf0e10cSrcweir 1552d7380a4Smseidel String RID_DLG_UPDATE_INSTALL_EXTENSION_NOINSTALL 1562d7380a4Smseidel { 157cdf0e10cSrcweir Text [ en-US ] = "The extension will not be installed." ; 158cdf0e10cSrcweir }; 159cdf0e10cSrcweir 160cdf0e10cSrcweir}; 161cdf0e10cSrcweir 1622d7380a4Smseidel// ********************************************************************** EOF 163