1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#if ! defined INCLUDED_DP_GUI_HRC
29#define INCLUDED_DP_GUI_HRC
30
31#include "deployment.hrc"
32#include "helpid.hrc"
33
34// Package Manager Dialog:
35#define RID_DLG_EXTENSION_MANAGER              RID_DEPLOYMENT_GUI_START
36#define RID_DLG_UPDATE_REQUIRED               (RID_DEPLOYMENT_GUI_START + 11)
37
38#define RID_EM_BTN_CLOSE                       10
39#define RID_EM_BTN_HELP                        11
40#define RID_EM_BTN_ADD                         12
41#define RID_EM_BTN_CHECK_UPDATES               13
42#define RID_EM_BTN_OPTIONS                     14
43#define RID_EM_BTN_CANCEL                      15
44#define RID_EM_FT_GET_EXTENSIONS               20
45#define RID_EM_FT_PROGRESS                     21
46#define RID_EM_FT_MSG                          22
47
48// local RIDs:
49#define PB_LICENSE_DOWN							50
50#define ML_LICENSE								51
51#define BTN_LICENSE_DECLINE						53
52#define FT_LICENSE_HEADER						54
53#define FT_LICENSE_BODY_1						55
54#define FT_LICENSE_BODY_1_TXT					56
55#define FT_LICENSE_BODY_2						57
56#define FT_LICENSE_BODY_2_TXT					58
57#define FL_LICENSE								69
58#define FI_LICENSE_ARROW1						60
59#define FI_LICENSE_ARROW2						61
60#define IMG_LICENCE_ARROW_HC					62
61#define BTN_LICENSE_ACCEPT						63
62
63// local RIDs for "Download and Install" dialog
64
65#define RID_DLG_UPDATE_INSTALL_ABORT 2
66#define RID_DLG_UPDATE_INSTALL_OK 3
67#define RID_DLG_UPDATE_INSTALL_DOWNLOADING 4
68#define RID_DLG_UPDATE_INSTALL_INSTALLING 5
69#define RID_DLG_UPDATE_INSTALL_FINISHED 6
70#define RID_DLG_UPDATE_INSTALL_LINE 7
71#define RID_DLG_UPDATE_INSTALL_HELP 8
72#define RID_DLG_UPDATE_INSTALL_STATUSBAR 9
73#define RID_DLG_UPDATE_INSTALL_EXTENSION_NAME 10
74#define RID_DLG_UPDATE_INSTALL_RESULTS 11
75#define RID_DLG_UPDATE_INSTALL_INFO 12
76#define RID_DLG_UPDATE_INSTALL_NO_ERRORS 13
77#define RID_DLG_UPDATE_INSTALL_THIS_ERROR_OCCURRED 14
78#define RID_DLG_UPDATE_INSTALL_ERROR_DOWNLOAD 15
79#define RID_DLG_UPDATE_INSTALL_ERROR_INSTALLATION 16
80#define RID_DLG_UPDATE_INSTALL_ERROR_LIC_DECLINED 17
81#define RID_DLG_UPDATE_INSTALL_EXTENSION_NOINSTALL 18
82
83#define RID_DLG_DEPENDENCIES (RID_DEPLOYMENT_GUI_START + 1)
84#define RID_DLG_DEPENDENCIES_TEXT 1
85#define RID_DLG_DEPENDENCIES_LIST 2
86#define RID_DLG_DEPENDENCIES_OK 3
87
88#define RID_QUERYBOX_INSTALL_FOR_ALL                              (RID_DEPLOYMENT_GUI_START + 2)
89#define RID_WARNINGBOX_VERSION_LESS                               (RID_DEPLOYMENT_GUI_START + 3)
90#define RID_STR_WARNINGBOX_VERSION_LESS_DIFFERENT_NAMES           (RID_DEPLOYMENT_GUI_START + 4)
91#define RID_WARNINGBOX_VERSION_EQUAL                              (RID_DEPLOYMENT_GUI_START + 5)
92#define RID_STR_WARNINGBOX_VERSION_EQUAL_DIFFERENT_NAMES          (RID_DEPLOYMENT_GUI_START + 6)
93#define RID_WARNINGBOX_VERSION_GREATER                            (RID_DEPLOYMENT_GUI_START + 7)
94#define RID_STR_WARNINGBOX_VERSION_GREATER_DIFFERENT_NAMES        (RID_DEPLOYMENT_GUI_START + 8)
95#define RID_WARNINGBOX_INSTALL_EXTENSION                          (RID_DEPLOYMENT_GUI_START + 9)
96
97#define RID_DLG_UPDATE (RID_DEPLOYMENT_GUI_START + 10)
98
99#define RID_DLG_UPDATE_CHECKING 1
100#define RID_DLG_UPDATE_THROBBER 2
101#define RID_DLG_UPDATE_UPDATE 3
102#define RID_DLG_UPDATE_UPDATES 4
103#define RID_DLG_UPDATE_ALL 5
104#define RID_DLG_UPDATE_DESCRIPTION 6
105#define RID_DLG_UPDATE_DESCRIPTIONS 7
106#define RID_DLG_UPDATE_LINE 8
107#define RID_DLG_UPDATE_HELP 9
108#define RID_DLG_UPDATE_OK 10
109#define RID_DLG_UPDATE_CLOSE 11
110#define RID_DLG_UPDATE_NORMALALERT 12
111#define RID_DLG_UPDATE_HIGHCONTRASTALERT 13
112#define RID_DLG_UPDATE_ERROR 14
113#define RID_DLG_UPDATE_NONE 15
114#define RID_DLG_UPDATE_NOINSTALLABLE 16
115#define RID_DLG_UPDATE_FAILURE 17
116#define RID_DLG_UPDATE_UNKNOWNERROR 18
117#define RID_DLG_UPDATE_NODESCRIPTION 19
118#define RID_DLG_UPDATE_NOINSTALL 20
119#define RID_DLG_UPDATE_NODEPENDENCY         21
120#define RID_DLG_UPDATE_NODEPENDENCY_CUR_VER 22
121#define RID_DLG_UPDATE_NOPERMISSION         23
122#define RID_DLG_UPDATE_NOPERMISSION_VISTA   24
123#define RID_DLG_UPDATE_BROWSERBASED         25
124#define RID_DLG_UPDATE_PUBLISHER_LABEL      26
125#define RID_DLG_UPDATE_PUBLISHER_LINK       27
126#define RID_DLG_UPDATE_RELEASENOTES_LABEL   28
127#define RID_DLG_UPDATE_RELEASENOTES_LINK    29
128#define RID_DLG_UPDATE_NOUPDATE             30
129#define RID_DLG_UPDATE_VERSION              31
130#define RID_DLG_UPDATE_IGNORE               32
131#define RID_DLG_UPDATE_ENABLE               33
132#define RID_DLG_UPDATE_IGNORE_ALL           34
133#define RID_DLG_UPDATE_IGNORED_UPDATE       35
134
135
136
137#define RID_DLG_UPDATEINSTALL                  (RID_DEPLOYMENT_GUI_START + 20)
138#define RID_INFOBOX_UPDATE_SHARED_EXTENSION    (RID_DEPLOYMENT_GUI_START + 21)
139
140#define RID_IMG_WARNING                        (RID_DEPLOYMENT_GUI_START+56)
141#define RID_IMG_WARNING_HC                     (RID_DEPLOYMENT_GUI_START+57)
142#define RID_IMG_LOCKED                         (RID_DEPLOYMENT_GUI_START+58)
143#define RID_IMG_LOCKED_HC                      (RID_DEPLOYMENT_GUI_START+59)
144#define RID_IMG_EXTENSION                      (RID_DEPLOYMENT_GUI_START+60)
145#define RID_IMG_EXTENSION_HC                   (RID_DEPLOYMENT_GUI_START+61)
146#define RID_IMG_SHARED                         (RID_DEPLOYMENT_GUI_START+62)
147#define RID_IMG_SHARED_HC                      (RID_DEPLOYMENT_GUI_START+63)
148
149#define RID_STR_ADD_PACKAGES                   (RID_DEPLOYMENT_GUI_START+70)
150
151#define RID_CTX_ITEM_REMOVE                    (RID_DEPLOYMENT_GUI_START+80)
152#define RID_CTX_ITEM_ENABLE                    (RID_DEPLOYMENT_GUI_START+81)
153#define RID_CTX_ITEM_DISABLE                   (RID_DEPLOYMENT_GUI_START+82)
154#define RID_CTX_ITEM_CHECK_UPDATE              (RID_DEPLOYMENT_GUI_START+83)
155#define RID_CTX_ITEM_OPTIONS                   (RID_DEPLOYMENT_GUI_START+84)
156
157#define RID_STR_ADDING_PACKAGES                (RID_DEPLOYMENT_GUI_START+85)
158#define RID_STR_REMOVING_PACKAGES              (RID_DEPLOYMENT_GUI_START+86)
159#define RID_STR_ENABLING_PACKAGES              (RID_DEPLOYMENT_GUI_START+87)
160#define RID_STR_DISABLING_PACKAGES             (RID_DEPLOYMENT_GUI_START+88)
161#define RID_STR_ACCEPT_LICENSE                 (RID_DEPLOYMENT_GUI_START+89)
162
163#define RID_STR_INSTALL_FOR_ALL                (RID_DEPLOYMENT_GUI_START+90)
164#define RID_STR_INSTALL_FOR_ME                 (RID_DEPLOYMENT_GUI_START+91)
165#define RID_STR_ERROR_UNKNOWN_STATUS           (RID_DEPLOYMENT_GUI_START+92)
166#define RID_STR_CLOSE_BTN                      (RID_DEPLOYMENT_GUI_START+93)
167#define RID_STR_EXIT_BTN                       (RID_DEPLOYMENT_GUI_START+94)
168#define RID_STR_NO_ADMIN_PRIVILEGE             (RID_DEPLOYMENT_GUI_START+95)
169#define RID_STR_ERROR_MISSING_DEPENDENCIES     (RID_DEPLOYMENT_GUI_START+96)
170#define RID_STR_ERROR_MISSING_LICENSE          (RID_DEPLOYMENT_GUI_START+97)
171#define RID_STR_SHOW_LICENSE_CMD               (RID_DEPLOYMENT_GUI_START+98)
172
173#define WARNINGBOX_CONCURRENTINSTANCE          (RID_DEPLOYMENT_GUI_START+100)
174
175#define RID_STR_UNSUPPORTED_PLATFORM            (RID_DEPLOYMENT_GUI_START+101)
176#define RID_WARNINGBOX_UPDATE_SHARED_EXTENSION  (RID_DEPLOYMENT_GUI_START+102)
177#define RID_WARNINGBOX_REMOVE_EXTENSION         (RID_DEPLOYMENT_GUI_START+103)
178#define RID_WARNINGBOX_REMOVE_SHARED_EXTENSION  (RID_DEPLOYMENT_GUI_START+104)
179#define RID_WARNINGBOX_ENABLE_SHARED_EXTENSION  (RID_DEPLOYMENT_GUI_START+105)
180#define RID_WARNINGBOX_DISABLE_SHARED_EXTENSION (RID_DEPLOYMENT_GUI_START+106)
181#define RID_DLG_SHOW_LICENSE					(RID_DEPLOYMENT_GUI_START+107)
182
183#define RID_DLG_LICENSE							RID_DEPLOYMENT_LICENSE_START
184
185
186
187#endif
188