1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License") ; you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22#include "svtools/controldims.hrc" 23 24#include "dp_gui.hrc" 25 26#define LOCAL_WIDTH (60 * RSC_BS_CHARWIDTH) 27#define LOCAL_LIST_HEIGHT (7 * RSC_BS_CHARHEIGHT) 28#define LOCAL_BUTTON_WIDTH 80 29 30ModalDialog RID_DLG_UPDATEINSTALL 31{ 32 HelpId = HID_DEPLOYMENT_GUI_UPDATEINSTALL ; 33 Size = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH + RSC_SP_DLG_INNERBORDER_RIGHT, 34 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 + 35 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 + 36 RSC_SP_DLG_INNERBORDER_BOTTOM ) ; 37 Text [ en-US ] = "Download and Installation" ; 38 Moveable = TRUE ; 39 Closeable = TRUE ; 40 FixedText RID_DLG_UPDATE_INSTALL_DOWNLOADING 41 { 42 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP ) ; 43 Size = MAP_APPFONT ( LOCAL_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT ) ; 44 Text [ en-US ] = "Downloading extensions..." ; 45 NoLabel = TRUE ; 46 }; 47 48 Window RID_DLG_UPDATE_INSTALL_STATUSBAR 49 { 50 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y ) ; 51 Size = MAP_APPFONT ( LOCAL_WIDTH, RSC_CD_CHECKBOX_HEIGHT ) ; 52 Border = TRUE ; 53 }; 54 55 FixedText RID_DLG_UPDATE_INSTALL_EXTENSION_NAME 56 { 57 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 ) ; 58 Size = MAP_APPFONT ( LOCAL_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT ) ; 59 Text = "" ; 60 NoLabel = TRUE ; 61 }; 62 63 FixedText RID_DLG_UPDATE_INSTALL_RESULTS { 64 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT + 65 RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_Y ) ; 66 Size = MAP_APPFONT ( LOCAL_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT ) ; 67 Text [ en-US ] = "Result" ; 68 }; 69 70 MultiLineEdit RID_DLG_UPDATE_INSTALL_INFO 71 { 72 HelpID = "desktop:MultiLineEdit:RID_DLG_UPDATEINSTALL:RID_DLG_UPDATE_INSTALL_INFO" ; 73 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT + 74 RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT + 75 RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y ) ; 76 Size = MAP_APPFONT ( LOCAL_WIDTH, LOCAL_LIST_HEIGHT ) ; 77 Border = TRUE ; 78 ReadOnly = TRUE ; 79 VScroll = TRUE ; 80 TabStop = FALSE ; 81 }; 82 83 FixedLine RID_DLG_UPDATE_INSTALL_LINE 84 { 85 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT + 86 RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT + 87 RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y + LOCAL_LIST_HEIGHT + RSC_SP_FLGR_SPACE_Y ) ; 88 Size = MAP_APPFONT ( LOCAL_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ; 89 }; 90 91 OKButton RID_DLG_UPDATE_INSTALL_OK 92 { 93 Disable = TRUE ; 94 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH - LOCAL_BUTTON_WIDTH - RSC_SP_CTRL_GROUP_X - RSC_CD_PUSHBUTTON_WIDTH, 95 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 + 96 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 ) ; 97 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ; 98 Text [ en-US ] = "OK" ; 99 }; 100 101 CancelButton RID_DLG_UPDATE_INSTALL_ABORT 102 { 103 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH - LOCAL_BUTTON_WIDTH, 104 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 + 105 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 ) ; 106 Size = MAP_APPFONT ( LOCAL_BUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ; 107 Text [ en-US ] = "Cancel Update" ; 108 DefButton = TRUE ; 109 }; 110 111 HelpButton RID_DLG_UPDATE_INSTALL_HELP 112 { 113 Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, 114 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 + 115 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 ) ; 116 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ; 117 }; 118 119 String RID_DLG_UPDATE_INSTALL_INSTALLING 120 { 121 Text [ en-US ] = "Installing extensions..." ; 122 }; 123 124 String RID_DLG_UPDATE_INSTALL_FINISHED 125 { 126 Text [ en-US ] = "Installation finished" ; 127 }; 128 129 String RID_DLG_UPDATE_INSTALL_NO_ERRORS 130 { 131 Text [ en-US ] = "No errors." ; 132 }; 133 134 String RID_DLG_UPDATE_INSTALL_ERROR_DOWNLOAD 135 { 136 Text [ en-US ] = "Error while downloading extension %NAME. " ; 137 }; 138 139 String RID_DLG_UPDATE_INSTALL_THIS_ERROR_OCCURRED 140 { 141 Text [ en-US ] = "The error message is: " ; 142 }; 143 144 145 String RID_DLG_UPDATE_INSTALL_ERROR_INSTALLATION 146 { 147 Text [ en-US ] = "Error while installing extension %NAME. " ; 148 }; 149 150 String RID_DLG_UPDATE_INSTALL_ERROR_LIC_DECLINED 151 { 152 Text [ en-US ] = "The license agreement for extension %NAME was refused. " ; 153 }; 154 155 String RID_DLG_UPDATE_INSTALL_EXTENSION_NOINSTALL 156 { 157 Text [ en-US ] = "The extension will not be installed." ; 158 }; 159 160}; 161 162// ********************************************************************** EOF 163