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_updateinstalldialog.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"
36 #define LOCAL_WIDTH (60 * RSC_BS_CHARWIDTH)
37 #define LOCAL_LIST_HEIGHT (7 * RSC_BS_CHARHEIGHT)
38 #define LOCAL_BUTTON_WIDTH 80
40 ModalDialog RID_DLG_UPDATEINSTALL {
41 HelpId = HID_DEPLOYMENT_GUI_UPDATEINSTALL;
43 (RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH +
44 RSC_SP_DLG_INNERBORDER_RIGHT),
45 (RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT +
46 RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT +
47 RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT +
48 RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT +
49 RSC_SP_FLGR_SPACE_Y + LOCAL_LIST_HEIGHT +
50 RSC_SP_FLGR_SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT +
51 RSC_SP_FLGR_SPACE_Y + RSC_CD_PUSHBUTTON_HEIGHT +
52 RSC_SP_DLG_INNERBORDER_BOTTOM));
53 Text[en-US] = "Download and Installation";
56 FixedText RID_DLG_UPDATE_INSTALL_DOWNLOADING {
58 RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP);
59 Size = MAP_APPFONT(LOCAL_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT);
60 Text[en-US] = "Downloading extensions...";
64 Window RID_DLG_UPDATE_INSTALL_STATUSBAR {
66 RSC_SP_DLG_INNERBORDER_LEFT,
67 (RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT +
70 Size = MAP_APPFONT(LOCAL_WIDTH, RSC_CD_CHECKBOX_HEIGHT);
74 FixedText RID_DLG_UPDATE_INSTALL_EXTENSION_NAME {
76 RSC_SP_DLG_INNERBORDER_LEFT,
77 RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT +
78 RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_DESC_Y);
79 Size = MAP_APPFONT(LOCAL_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT);
84 FixedText RID_DLG_UPDATE_INSTALL_RESULTS {
86 RSC_SP_DLG_INNERBORDER_LEFT,
87 RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT +
88 RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT +
89 RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT +
91 Size = MAP_APPFONT(LOCAL_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT);
92 Text[en-US] = "Result";
95 MultiLineEdit RID_DLG_UPDATE_INSTALL_INFO {
97 RSC_SP_DLG_INNERBORDER_LEFT,
98 RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT +
99 RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT +
100 RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT +
101 RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT +
104 Size = MAP_APPFONT(LOCAL_WIDTH, LOCAL_LIST_HEIGHT);
111 FixedLine RID_DLG_UPDATE_INSTALL_LINE {
113 RSC_SP_DLG_INNERBORDER_LEFT,
114 RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT +
115 RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT +
116 RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT +
117 RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT +
118 RSC_SP_CTRL_DESC_Y + LOCAL_LIST_HEIGHT +
119 RSC_SP_FLGR_SPACE_Y);
121 Size = MAP_APPFONT(LOCAL_WIDTH, RSC_CD_FIXEDLINE_HEIGHT);
124 OKButton RID_DLG_UPDATE_INSTALL_OK {
127 RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH - LOCAL_BUTTON_WIDTH -
128 RSC_SP_CTRL_GROUP_X - RSC_CD_PUSHBUTTON_WIDTH,
129 RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT +
130 RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT +
131 RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT +
132 RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT +
133 RSC_SP_CTRL_DESC_Y + LOCAL_LIST_HEIGHT +
134 RSC_SP_FLGR_SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT +
135 RSC_SP_FLGR_SPACE_Y);
138 Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT);
142 CancelButton RID_DLG_UPDATE_INSTALL_ABORT {
144 RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH - LOCAL_BUTTON_WIDTH,
145 RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT +
146 RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT +
147 RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT +
148 RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT +
149 RSC_SP_CTRL_DESC_Y + LOCAL_LIST_HEIGHT +
150 RSC_SP_FLGR_SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT +
151 RSC_SP_FLGR_SPACE_Y);
153 Size = MAP_APPFONT(LOCAL_BUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT);
154 Text[en-US] = "Cancel Update";
158 HelpButton RID_DLG_UPDATE_INSTALL_HELP {
160 RSC_SP_DLG_INNERBORDER_LEFT,
161 RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT +
162 RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT +
163 RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT +
164 RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT +
165 RSC_SP_CTRL_DESC_Y + LOCAL_LIST_HEIGHT +
166 RSC_SP_FLGR_SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT +
167 RSC_SP_FLGR_SPACE_Y);
168 Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT);
172 String RID_DLG_UPDATE_INSTALL_INSTALLING {
173 Text[en-US] = "Installing extensions...";
176 String RID_DLG_UPDATE_INSTALL_FINISHED {
177 Text[en-US] = "Installation finished";
180 String RID_DLG_UPDATE_INSTALL_NO_ERRORS {
181 Text[en-US] = "No errors.";
184 String RID_DLG_UPDATE_INSTALL_ERROR_DOWNLOAD {
185 Text[en-US] = "Error while downloading extension %NAME. ";
188 String RID_DLG_UPDATE_INSTALL_THIS_ERROR_OCCURRED {
189 Text[en-US] = "The error message is: ";
193 String RID_DLG_UPDATE_INSTALL_ERROR_INSTALLATION {
194 Text[en-US] = "Error while installing extension %NAME. ";
197 String RID_DLG_UPDATE_INSTALL_ERROR_LIC_DECLINED {
198 Text[en-US] = "The license agreement for extension %NAME was refused. ";
201 String RID_DLG_UPDATE_INSTALL_EXTENSION_NOINSTALL{
202 Text[en-US] = "The extension will not be installed.";