1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
32 #include "svl/solar.hrc"
35 #include "tools/errcode.hxx"
38 #define RID_KEEP_PASSWORD (RID_UUI_START + 0)
39 #define RID_SAVE_PASSWORD (RID_UUI_START + 1)
40 #define DLG_UUI_LOGIN (RID_UUI_START + 2)
41 #define DLG_COOKIES (RID_UUI_START + 3)
42 #define STR_COOKIES_RECV_START (RID_UUI_START + 4)
43 #define STR_COOKIES_RECV_COOKIES (RID_UUI_START + 5)
44 #define STR_COOKIES_RECV_TITLE (RID_UUI_START + 6)
45 #define STR_COOKIES_SEND_START (RID_UUI_START + 7)
46 #define STR_COOKIES_SEND_COOKIES (RID_UUI_START + 8)
47 #define STR_COOKIES_SEND_TITLE (RID_UUI_START + 9)
48 #define DLG_FILTER_SELECT (RID_UUI_START + 10)
49 // RID_UUI_START + 11 moved to ERRCODE_UUI_WRONGMEDIUM
50 #define DLG_UUI_MASTERPASSWORD (RID_UUI_START + 12)
51 #define DLG_SIMPLE_NAME_CLASH (RID_UUI_START + 13)
52 #define STR_ERROR_PASSWORDS_NOT_IDENTICAL (RID_UUI_START + 13)
53 #define STR_ERROR_MASTERPASSWORD_WRONG (RID_UUI_START + 14)
54 // RID_UUI_START + 15, 16, 17 are misused by syncaccess/source/ui/resids.hrc
56 #define RID_UUI_ERRHDL (RID_UUI_START + 20)
57 #define DLG_UUI_MASTERPASSWORD_CRT (RID_UUI_START + 21)
58 #define DLG_UUI_PASSWORD (RID_UUI_START + 22)
59 #define STR_ERROR_SIMPLE_PASSWORD_WRONG (RID_UUI_START + 23)
60 #define STR_ERROR_PASSWORD_TO_OPEN_WRONG (RID_UUI_START + 24)
61 #define STR_ERROR_PASSWORD_TO_MODIFY_WRONG (RID_UUI_START + 25)
62 #define DLG_UUI_UNKNOWNAUTH (RID_UUI_START + 26)
63 #define DLG_UUI_UNKNOWNAUTH_CRT (RID_UUI_START + 27)
64 #define DLG_UUI_SSLWARN (RID_UUI_START + 28)
65 #define DLG_UUI_SSLWARN_CRT (RID_UUI_START + 29)
66 #define RID_XMLSECDLG_MACROWARN (RID_UUI_START + 30)
67 #define STR_UNKNOWNUSER (RID_UUI_START + 31)
68 #define STR_OPENLOCKED_TITLE (RID_UUI_START + 32)
69 #define STR_OPENLOCKED_MSG (RID_UUI_START + 33)
70 #define STR_OPENLOCKED_OPENREADONLY_BTN (RID_UUI_START + 34)
71 #define STR_OPENLOCKED_OPENCOPY_BTN (RID_UUI_START + 35)
72 #define STR_FILECHANGED_TITLE (RID_UUI_START + 36)
73 #define STR_FILECHANGED_MSG (RID_UUI_START + 37)
74 #define STR_FILECHANGED_SAVEANYWAY_BTN (RID_UUI_START + 38)
75 #define STR_ALREADYOPEN_TITLE (RID_UUI_START + 39)
76 #define STR_ALREADYOPEN_MSG (RID_UUI_START + 40)
77 #define STR_ALREADYOPEN_READONLY_BTN (RID_UUI_START + 41)
78 #define STR_ALREADYOPEN_OPEN_BTN (RID_UUI_START + 42)
79 #define STR_LOCKFAILED_TITLE (RID_UUI_START + 43)
80 #define STR_LOCKFAILED_MSG (RID_UUI_START + 44)
81 #define STR_LOCKFAILED_DONTSHOWAGAIN (RID_UUI_START + 45)
82 #define STR_TRYLATER_TITLE (RID_UUI_START + 46)
83 #define STR_TRYLATER_MSG (RID_UUI_START + 47)
84 #define STR_TRYLATER_RETRYSAVING_BTN (RID_UUI_START + 48)
85 #define STR_TRYLATER_SAVEAS_BTN (RID_UUI_START + 49)
86 #define STR_ALREADYOPEN_SAVE_MSG (RID_UUI_START + 50)
87 #define STR_ALREADYOPEN_RETRY_SAVE_BTN (RID_UUI_START + 51)
88 #define STR_ALREADYOPEN_SAVE_BTN (RID_UUI_START + 52)
89 #define RID_DLG_NEWER_VERSION_WARNING (RID_UUI_START + 53)
90 #define STR_WARNING_INCOMPLETE_ENCRYPTION_TITLE (RID_UUI_START + 54)
91 #define STR_WARNING_BROKENSIGNATURE_TITLE (RID_UUI_START + 55)
92 #define STR_ENTER_PASSWORD_TO_OPEN (RID_UUI_START + 56)
93 #define STR_ENTER_PASSWORD_TO_MODIFY (RID_UUI_START + 57)
94 #define STR_RENAME_OR_REPLACE (RID_UUI_START + 58)
95 #define STR_NAME_CLASH_RENAME_ONLY (RID_UUI_START + 59)
96 #define STR_SAME_NAME_USED (RID_UUI_START + 60)
97 #define STR_ENTER_SIMPLE_PASSWORD (RID_UUI_START + 61)
98 #define STR_CONFIRM_SIMPLE_PASSWORD (RID_UUI_START + 62)
100 #define ERRCODE_UUI_IO_ABORT (ERRCODE_AREA_UUI + 0)
101 #define ERRCODE_UUI_IO_ACCESSDENIED (ERRCODE_AREA_UUI + 1)
102 #define ERRCODE_UUI_IO_ALREADYEXISTS (ERRCODE_AREA_UUI + 2)
103 #define ERRCODE_UUI_IO_BADCRC (ERRCODE_AREA_UUI + 3)
104 #define ERRCODE_UUI_IO_CANTCREATE (ERRCODE_AREA_UUI + 4)
105 #define ERRCODE_UUI_IO_CANTREAD (ERRCODE_AREA_UUI + 5)
106 #define ERRCODE_UUI_IO_CANTSEEK (ERRCODE_AREA_UUI + 6)
107 #define ERRCODE_UUI_IO_CANTTELL (ERRCODE_AREA_UUI + 7)
108 #define ERRCODE_UUI_IO_CANTWRITE (ERRCODE_AREA_UUI + 8)
109 #define ERRCODE_UUI_IO_CURRENTDIR (ERRCODE_AREA_UUI + 9)
110 #define ERRCODE_UUI_IO_NOTREADY (ERRCODE_AREA_UUI + 10)
111 #define ERRCODE_UUI_IO_NOTSAMEDEVICE (ERRCODE_AREA_UUI + 11)
112 #define ERRCODE_UUI_IO_GENERAL (ERRCODE_AREA_UUI + 12)
113 #define ERRCODE_UUI_IO_INVALIDACCESS (ERRCODE_AREA_UUI + 13)
114 #define ERRCODE_UUI_IO_INVALIDCHAR (ERRCODE_AREA_UUI + 14)
115 #define ERRCODE_UUI_IO_INVALIDDEVICE (ERRCODE_AREA_UUI + 15)
116 #define ERRCODE_UUI_IO_INVALIDLENGTH (ERRCODE_AREA_UUI + 16)
117 #define ERRCODE_UUI_IO_INVALIDPARAMETER (ERRCODE_AREA_UUI + 17)
118 #define ERRCODE_UUI_IO_ISWILDCARD (ERRCODE_AREA_UUI + 18)
119 #define ERRCODE_UUI_IO_LOCKVIOLATION (ERRCODE_AREA_UUI + 19)
120 #define ERRCODE_UUI_IO_MISPLACEDCHAR (ERRCODE_AREA_UUI + 20)
121 #define ERRCODE_UUI_IO_NAMETOOLONG (ERRCODE_AREA_UUI + 21)
122 #define ERRCODE_UUI_IO_NOTEXISTS (ERRCODE_AREA_UUI + 22)
123 #define ERRCODE_UUI_IO_NOTEXISTSPATH (ERRCODE_AREA_UUI + 23)
124 #define ERRCODE_UUI_IO_NOTSUPPORTED (ERRCODE_AREA_UUI + 24)
125 #define ERRCODE_UUI_IO_NOTADIRECTORY (ERRCODE_AREA_UUI + 25)
126 #define ERRCODE_UUI_IO_NOTAFILE (ERRCODE_AREA_UUI + 26)
127 #define ERRCODE_UUI_IO_OUTOFSPACE (ERRCODE_AREA_UUI + 27)
128 #define ERRCODE_UUI_IO_TOOMANYOPENFILES (ERRCODE_AREA_UUI + 28)
129 #define ERRCODE_UUI_IO_OUTOFMEMORY (ERRCODE_AREA_UUI + 29)
130 #define ERRCODE_UUI_IO_PENDING (ERRCODE_AREA_UUI + 30)
131 #define ERRCODE_UUI_IO_RECURSIVE (ERRCODE_AREA_UUI + 31)
132 #define ERRCODE_UUI_IO_UNKNOWN (ERRCODE_AREA_UUI + 32)
133 #define ERRCODE_UUI_IO_WRITEPROTECTED (ERRCODE_AREA_UUI + 33)
134 #define ERRCODE_UUI_IO_WRONGFORMAT (ERRCODE_AREA_UUI + 34)
135 #define ERRCODE_UUI_IO_WRONGVERSION (ERRCODE_AREA_UUI + 35)
136 #define ERRCODE_UUI_IO_NOTEXISTS_VOLUME (ERRCODE_AREA_UUI + 36)
137 #define ERRCODE_UUI_IO_NOTEXISTS_FOLDER (ERRCODE_AREA_UUI + 37)
138 #define ERRCODE_UUI_WRONGJAVA (ERRCODE_AREA_UUI + 38)
139 #define ERRCODE_UUI_WRONGJAVA_VERSION (ERRCODE_AREA_UUI + 39)
140 #define ERRCODE_UUI_WRONGJAVA_MIN (ERRCODE_AREA_UUI + 40)
141 #define ERRCODE_UUI_WRONGJAVA_VERSION_MIN (ERRCODE_AREA_UUI + 41)
142 #define ERRCODE_UUI_BADPARTNERSHIP (ERRCODE_AREA_UUI + 42)
143 #define ERRCODE_UUI_BADPARTNERSHIP_NAME (ERRCODE_AREA_UUI + 43)
144 #define ERRCODE_UUI_IO_NOTREADY_VOLUME (ERRCODE_AREA_UUI + 44)
145 #define ERRCODE_UUI_IO_NOTREADY_REMOVABLE (ERRCODE_AREA_UUI + 45)
146 #define ERRCODE_UUI_IO_NOTREADY_VOLUME_REMOVABLE (ERRCODE_AREA_UUI + 46)
147 #define ERRCODE_UUI_WRONGMEDIUM (ERRCODE_AREA_UUI + 47)
148 #define ERRCODE_UUI_IO_CANTCREATE_NONAME (ERRCODE_AREA_UUI + 48)
149 #define ERRCODE_UUI_IO_TARGETALREADYEXISTS (ERRCODE_AREA_UUI + 49)
150 #define ERRCODE_UUI_IO_UNSUPPORTEDOVERWRITE (ERRCODE_AREA_UUI + 50)
151 #define ERRCODE_UUI_IO_BROKENPACKAGE (ERRCODE_AREA_UUI + 51)
152 #define ERRCODE_UUI_IO_BROKENPACKAGE_CANTREPAIR (ERRCODE_AREA_UUI + 52)
153 #define ERRCODE_UUI_CONFIGURATION_BROKENDATA_NOREMOVE (ERRCODE_AREA_UUI + 53)
154 #define ERRCODE_UUI_CONFIGURATION_BROKENDATA_WITHREMOVE (ERRCODE_AREA_UUI + 54)
155 #define ERRCODE_UUI_CONFIGURATION_BACKENDMISSING (ERRCODE_AREA_UUI + 55)
156 #define ERRCODE_UUI_CONFIGURATION_BACKENDMISSING_WITHRECOVER (ERRCODE_AREA_UUI + 56)
157 #define ERRCODE_UUI_INVALID_XFORMS_SUBMISSION_DATA (ERRCODE_AREA_UUI + 57)
158 #define ERRCODE_UUI_IO_MODULESIZEEXCEEDED (ERRCODE_AREA_UUI + 58)
159 #define ERRCODE_UUI_LOCKING_LOCKED (ERRCODE_AREA_UUI + 59)
160 #define ERRCODE_UUI_LOCKING_LOCKED_SELF (ERRCODE_AREA_UUI + 60)
161 #define ERRCODE_UUI_LOCKING_NOT_LOCKED (ERRCODE_AREA_UUI + 61)
162 #define ERRCODE_UUI_LOCKING_LOCK_EXPIRED (ERRCODE_AREA_UUI + 62)
163 #define ERRCODE_UUI_CANNOT_ACTIVATE_FACTORY (ERRCODE_AREA_UUI + 63)
165 #define ERRCODE_AREA_UUI_UNKNOWNAUTH 25000
166 #define SSLWARN_TYPE_DOMAINMISMATCH 10
167 #define SSLWARN_TYPE_EXPIRED 20
168 #define SSLWARN_TYPE_INVALID 30
170 #define ERRCODE_UUI_UNKNOWNAUTH_UNTRUSTED (ERRCODE_AREA_UUI_UNKNOWNAUTH + 1)
172 #define ERRCODE_UUI_SSLWARN_EXPIRED_1 (ERRCODE_AREA_UUI_UNKNOWNAUTH + SSLWARN_TYPE_EXPIRED + 1)
173 #define TITLE_UUI_SSLWARN_EXPIRED (ERRCODE_AREA_UUI_UNKNOWNAUTH + SSLWARN_TYPE_EXPIRED + 3)
175 #define ERRCODE_UUI_SSLWARN_DOMAINMISMATCH_1 (ERRCODE_AREA_UUI_UNKNOWNAUTH + SSLWARN_TYPE_DOMAINMISMATCH + 1)
176 #define TITLE_UUI_SSLWARN_DOMAINMISMATCH (ERRCODE_AREA_UUI_UNKNOWNAUTH + SSLWARN_TYPE_DOMAINMISMATCH + 3)
178 #define ERRCODE_UUI_SSLWARN_INVALID_1 (ERRCODE_AREA_UUI_UNKNOWNAUTH + SSLWARN_TYPE_INVALID + 1)
179 #define TITLE_UUI_SSLWARN_INVALID (ERRCODE_AREA_UUI_UNKNOWNAUTH + SSLWARN_TYPE_INVALID + 3)
181 #define HID_DLG_LOGIN "UUI_HID_DLG_LOGIN"
182 #define HID_DLG_COOKIES "UUI_HID_DLG_COOKIES"
183 #define HID_DLG_MASTERPASSWORD_UUI "UUI_HID_DLG_MASTERPASSWORD_UUI"
184 #define HID_DLG_MASTERPASSWORD_CRT "UUI_HID_DLG_MASTERPASSWORD_CRT"
185 #define HID_DLG_FILTER_SELECT "UUI_HID_DLG_FILTER_SELECT"
186 #define HID_DLG_PASSWORD_UUI "UUI_HID_DLG_PASSWORD_UUI"
187 #define HID_DLG_PASSWORD_CRT "UUI_HID_DLG_PASSWORD_CRT"
188 #define HID_DLG_UNKNOWNAUTH_UUI "UUI_HID_DLG_UNKNOWNAUTH_UUI"
189 #define HID_DLG_SSLWARN_UUI "UUI_HID_DLG_SSLWARN_UUI"
190 #define HID_XMLSECDLG_MACROWARN "UUI_HID_XMLSECDLG_MACROWARN"
191 #define HID_DLG_NEWERVERSIONWARNING "UUI_HID_DLG_NEWERVERSIONWARNING"
193 #define HID_LOGIN_DLG_PATH "UUI_HID_LOGIN_DLG_PATH"
194 #define HID_LOGIN_DLG_BROWSE "UUI_HID_LOGIN_DLG_BROWSE"
195 #define HID_LOGIN_DLG_USER_NAME "UUI_HID_LOGIN_DLG_USER_NAME"
196 #define HID_LOGIN_DLG_PASSWORD "UUI_HID_LOGIN_DLG_PASSWORD"
197 #define HID_LOGIN_DLG_ACCOUNT "UUI_HID_LOGIN_DLG_ACCOUNT"
198 #define HID_LOGIN_DLG_REMEMBER_PASSWORD "UUI_HID_LOGIN_DLG_REMEMBER_PASSWORD"
199 #define HID_LOGIN_DLG_USE_SYSTEM_CREDENTIALS "UUI_HID_LOGIN_DLG_USE_SYSTEM_CREDENTIALS"
200 #define HID_DLG_SIMPLE_NAME_CLASH "UUI_HID_DLG_SIMPLE_NAME_CLASH"
202 // HID_UUI_END (aka HID_CHAOS_NEW_DATABASE) is reserved in
203 // sfx2/util/hidother.src
205 #endif // UUI_IDS_HRC