2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 #include "svl/solar.hrc"
23 #include "tools/errcode.hxx"
25 #define RID_KEEP_PASSWORD (RID_UUI_START + 0)
26 #define RID_SAVE_PASSWORD (RID_UUI_START + 1)
27 #define DLG_UUI_LOGIN (RID_UUI_START + 2)
28 #define DLG_FILTER_SELECT (RID_UUI_START + 10)
29 // RID_UUI_START + 11 moved to ERRCODE_UUI_WRONGMEDIUM
30 #define DLG_UUI_MASTERPASSWORD (RID_UUI_START + 12)
31 #define DLG_SIMPLE_NAME_CLASH (RID_UUI_START + 13)
32 #define STR_ERROR_PASSWORDS_NOT_IDENTICAL (RID_UUI_START + 13)
33 #define STR_ERROR_MASTERPASSWORD_WRONG (RID_UUI_START + 14)
34 // RID_UUI_START + 15, 16, 17 are misused by syncaccess/source/ui/resids.hrc
36 #define RID_UUI_ERRHDL (RID_UUI_START + 20)
37 #define DLG_UUI_MASTERPASSWORD_CRT (RID_UUI_START + 21)
38 #define DLG_UUI_PASSWORD (RID_UUI_START + 22)
39 #define STR_ERROR_SIMPLE_PASSWORD_WRONG (RID_UUI_START + 23)
40 #define STR_ERROR_PASSWORD_TO_OPEN_WRONG (RID_UUI_START + 24)
41 #define STR_ERROR_PASSWORD_TO_MODIFY_WRONG (RID_UUI_START + 25)
42 #define DLG_UUI_UNKNOWNAUTH (RID_UUI_START + 26)
43 #define DLG_UUI_SSLWARN (RID_UUI_START + 28)
44 #define RID_XMLSECDLG_MACROWARN (RID_UUI_START + 30)
45 #define STR_UNKNOWNUSER (RID_UUI_START + 31)
46 #define STR_OPENLOCKED_TITLE (RID_UUI_START + 32)
47 #define STR_OPENLOCKED_MSG (RID_UUI_START + 33)
48 #define STR_OPENLOCKED_OPENREADONLY_BTN (RID_UUI_START + 34)
49 #define STR_OPENLOCKED_OPENCOPY_BTN (RID_UUI_START + 35)
50 #define STR_FILECHANGED_TITLE (RID_UUI_START + 36)
51 #define STR_FILECHANGED_MSG (RID_UUI_START + 37)
52 #define STR_FILECHANGED_SAVEANYWAY_BTN (RID_UUI_START + 38)
53 #define STR_ALREADYOPEN_TITLE (RID_UUI_START + 39)
54 #define STR_ALREADYOPEN_MSG (RID_UUI_START + 40)
55 #define STR_ALREADYOPEN_READONLY_BTN (RID_UUI_START + 41)
56 #define STR_ALREADYOPEN_OPEN_BTN (RID_UUI_START + 42)
57 #define STR_LOCKFAILED_TITLE (RID_UUI_START + 43)
58 #define STR_LOCKFAILED_MSG (RID_UUI_START + 44)
59 #define STR_LOCKFAILED_DONTSHOWAGAIN (RID_UUI_START + 45)
60 #define STR_TRYLATER_TITLE (RID_UUI_START + 46)
61 #define STR_TRYLATER_MSG (RID_UUI_START + 47)
62 #define STR_TRYLATER_RETRYSAVING_BTN (RID_UUI_START + 48)
63 #define STR_TRYLATER_SAVEAS_BTN (RID_UUI_START + 49)
64 #define STR_ALREADYOPEN_SAVE_MSG (RID_UUI_START + 50)
65 #define STR_ALREADYOPEN_RETRY_SAVE_BTN (RID_UUI_START + 51)
66 #define STR_ALREADYOPEN_SAVE_BTN (RID_UUI_START + 52)
67 #define RID_DLG_NEWER_VERSION_WARNING (RID_UUI_START + 53)
68 #define STR_WARNING_INCOMPLETE_ENCRYPTION_TITLE (RID_UUI_START + 54)
69 #define STR_WARNING_BROKENSIGNATURE_TITLE (RID_UUI_START + 55)
70 #define STR_ENTER_PASSWORD_TO_OPEN (RID_UUI_START + 56)
71 #define STR_ENTER_PASSWORD_TO_MODIFY (RID_UUI_START + 57)
72 #define STR_RENAME_OR_REPLACE (RID_UUI_START + 58)
73 #define STR_NAME_CLASH_RENAME_ONLY (RID_UUI_START + 59)
74 #define STR_SAME_NAME_USED (RID_UUI_START + 60)
75 #define STR_ENTER_SIMPLE_PASSWORD (RID_UUI_START + 61)
76 #define STR_CONFIRM_SIMPLE_PASSWORD (RID_UUI_START + 62)
78 #define ERRCODE_UUI_IO_ABORT (ERRCODE_AREA_UUI + 0)
79 #define ERRCODE_UUI_IO_ACCESSDENIED (ERRCODE_AREA_UUI + 1)
80 #define ERRCODE_UUI_IO_ALREADYEXISTS (ERRCODE_AREA_UUI + 2)
81 #define ERRCODE_UUI_IO_BADCRC (ERRCODE_AREA_UUI + 3)
82 #define ERRCODE_UUI_IO_CANTCREATE (ERRCODE_AREA_UUI + 4)
83 #define ERRCODE_UUI_IO_CANTREAD (ERRCODE_AREA_UUI + 5)
84 #define ERRCODE_UUI_IO_CANTSEEK (ERRCODE_AREA_UUI + 6)
85 #define ERRCODE_UUI_IO_CANTTELL (ERRCODE_AREA_UUI + 7)
86 #define ERRCODE_UUI_IO_CANTWRITE (ERRCODE_AREA_UUI + 8)
87 #define ERRCODE_UUI_IO_CURRENTDIR (ERRCODE_AREA_UUI + 9)
88 #define ERRCODE_UUI_IO_NOTREADY (ERRCODE_AREA_UUI + 10)
89 #define ERRCODE_UUI_IO_NOTSAMEDEVICE (ERRCODE_AREA_UUI + 11)
90 #define ERRCODE_UUI_IO_GENERAL (ERRCODE_AREA_UUI + 12)
91 #define ERRCODE_UUI_IO_INVALIDACCESS (ERRCODE_AREA_UUI + 13)
92 #define ERRCODE_UUI_IO_INVALIDCHAR (ERRCODE_AREA_UUI + 14)
93 #define ERRCODE_UUI_IO_INVALIDDEVICE (ERRCODE_AREA_UUI + 15)
94 #define ERRCODE_UUI_IO_INVALIDLENGTH (ERRCODE_AREA_UUI + 16)
95 #define ERRCODE_UUI_IO_INVALIDPARAMETER (ERRCODE_AREA_UUI + 17)
96 #define ERRCODE_UUI_IO_ISWILDCARD (ERRCODE_AREA_UUI + 18)
97 #define ERRCODE_UUI_IO_LOCKVIOLATION (ERRCODE_AREA_UUI + 19)
98 #define ERRCODE_UUI_IO_MISPLACEDCHAR (ERRCODE_AREA_UUI + 20)
99 #define ERRCODE_UUI_IO_NAMETOOLONG (ERRCODE_AREA_UUI + 21)
100 #define ERRCODE_UUI_IO_NOTEXISTS (ERRCODE_AREA_UUI + 22)
101 #define ERRCODE_UUI_IO_NOTEXISTSPATH (ERRCODE_AREA_UUI + 23)
102 #define ERRCODE_UUI_IO_NOTSUPPORTED (ERRCODE_AREA_UUI + 24)
103 #define ERRCODE_UUI_IO_NOTADIRECTORY (ERRCODE_AREA_UUI + 25)
104 #define ERRCODE_UUI_IO_NOTAFILE (ERRCODE_AREA_UUI + 26)
105 #define ERRCODE_UUI_IO_OUTOFSPACE (ERRCODE_AREA_UUI + 27)
106 #define ERRCODE_UUI_IO_TOOMANYOPENFILES (ERRCODE_AREA_UUI + 28)
107 #define ERRCODE_UUI_IO_OUTOFMEMORY (ERRCODE_AREA_UUI + 29)
108 #define ERRCODE_UUI_IO_PENDING (ERRCODE_AREA_UUI + 30)
109 #define ERRCODE_UUI_IO_RECURSIVE (ERRCODE_AREA_UUI + 31)
110 #define ERRCODE_UUI_IO_UNKNOWN (ERRCODE_AREA_UUI + 32)
111 #define ERRCODE_UUI_IO_WRITEPROTECTED (ERRCODE_AREA_UUI + 33)
112 #define ERRCODE_UUI_IO_WRONGFORMAT (ERRCODE_AREA_UUI + 34)
113 #define ERRCODE_UUI_IO_WRONGVERSION (ERRCODE_AREA_UUI + 35)
114 #define ERRCODE_UUI_IO_NOTEXISTS_VOLUME (ERRCODE_AREA_UUI + 36)
115 #define ERRCODE_UUI_IO_NOTEXISTS_FOLDER (ERRCODE_AREA_UUI + 37)
116 #define ERRCODE_UUI_WRONGJAVA (ERRCODE_AREA_UUI + 38)
117 #define ERRCODE_UUI_WRONGJAVA_VERSION (ERRCODE_AREA_UUI + 39)
118 #define ERRCODE_UUI_WRONGJAVA_MIN (ERRCODE_AREA_UUI + 40)
119 #define ERRCODE_UUI_WRONGJAVA_VERSION_MIN (ERRCODE_AREA_UUI + 41)
120 #define ERRCODE_UUI_BADPARTNERSHIP (ERRCODE_AREA_UUI + 42)
121 #define ERRCODE_UUI_BADPARTNERSHIP_NAME (ERRCODE_AREA_UUI + 43)
122 #define ERRCODE_UUI_IO_NOTREADY_VOLUME (ERRCODE_AREA_UUI + 44)
123 #define ERRCODE_UUI_IO_NOTREADY_REMOVABLE (ERRCODE_AREA_UUI + 45)
124 #define ERRCODE_UUI_IO_NOTREADY_VOLUME_REMOVABLE (ERRCODE_AREA_UUI + 46)
125 #define ERRCODE_UUI_WRONGMEDIUM (ERRCODE_AREA_UUI + 47)
126 #define ERRCODE_UUI_IO_CANTCREATE_NONAME (ERRCODE_AREA_UUI + 48)
127 #define ERRCODE_UUI_IO_TARGETALREADYEXISTS (ERRCODE_AREA_UUI + 49)
128 #define ERRCODE_UUI_IO_UNSUPPORTEDOVERWRITE (ERRCODE_AREA_UUI + 50)
129 #define ERRCODE_UUI_IO_BROKENPACKAGE (ERRCODE_AREA_UUI + 51)
130 #define ERRCODE_UUI_IO_BROKENPACKAGE_CANTREPAIR (ERRCODE_AREA_UUI + 52)
131 #define ERRCODE_UUI_CONFIGURATION_BROKENDATA_NOREMOVE (ERRCODE_AREA_UUI + 53)
132 #define ERRCODE_UUI_CONFIGURATION_BROKENDATA_WITHREMOVE (ERRCODE_AREA_UUI + 54)
133 #define ERRCODE_UUI_CONFIGURATION_BACKENDMISSING (ERRCODE_AREA_UUI + 55)
134 #define ERRCODE_UUI_CONFIGURATION_BACKENDMISSING_WITHRECOVER (ERRCODE_AREA_UUI + 56)
135 #define ERRCODE_UUI_INVALID_XFORMS_SUBMISSION_DATA (ERRCODE_AREA_UUI + 57)
136 #define ERRCODE_UUI_IO_MODULESIZEEXCEEDED (ERRCODE_AREA_UUI + 58)
137 #define ERRCODE_UUI_LOCKING_LOCKED (ERRCODE_AREA_UUI + 59)
138 #define ERRCODE_UUI_LOCKING_LOCKED_SELF (ERRCODE_AREA_UUI + 60)
139 #define ERRCODE_UUI_LOCKING_NOT_LOCKED (ERRCODE_AREA_UUI + 61)
140 #define ERRCODE_UUI_LOCKING_LOCK_EXPIRED (ERRCODE_AREA_UUI + 62)
141 #define ERRCODE_UUI_CANNOT_ACTIVATE_FACTORY (ERRCODE_AREA_UUI + 63)
143 #define ERRCODE_AREA_UUI_UNKNOWNAUTH 25000
144 #define SSLWARN_TYPE_DOMAINMISMATCH 10
145 #define SSLWARN_TYPE_EXPIRED 20
146 #define SSLWARN_TYPE_INVALID 30
148 #define ERRCODE_UUI_UNKNOWNAUTH_UNTRUSTED (ERRCODE_AREA_UUI_UNKNOWNAUTH + 1)
150 #define ERRCODE_UUI_SSLWARN_EXPIRED_1 (ERRCODE_AREA_UUI_UNKNOWNAUTH + SSLWARN_TYPE_EXPIRED + 1)
151 #define TITLE_UUI_SSLWARN_EXPIRED (ERRCODE_AREA_UUI_UNKNOWNAUTH + SSLWARN_TYPE_EXPIRED + 3)
153 #define ERRCODE_UUI_SSLWARN_DOMAINMISMATCH_1 (ERRCODE_AREA_UUI_UNKNOWNAUTH + SSLWARN_TYPE_DOMAINMISMATCH + 1)
154 #define TITLE_UUI_SSLWARN_DOMAINMISMATCH (ERRCODE_AREA_UUI_UNKNOWNAUTH + SSLWARN_TYPE_DOMAINMISMATCH + 3)
156 #define ERRCODE_UUI_SSLWARN_INVALID_1 (ERRCODE_AREA_UUI_UNKNOWNAUTH + SSLWARN_TYPE_INVALID + 1)
157 #define TITLE_UUI_SSLWARN_INVALID (ERRCODE_AREA_UUI_UNKNOWNAUTH + SSLWARN_TYPE_INVALID + 3)
159 #define HID_DLG_LOGIN "UUI_HID_DLG_LOGIN"
160 #define HID_DLG_MASTERPASSWORD_UUI "UUI_HID_DLG_MASTERPASSWORD_UUI"
161 #define HID_DLG_MASTERPASSWORD_CRT "UUI_HID_DLG_MASTERPASSWORD_CRT"
162 #define HID_DLG_FILTER_SELECT "UUI_HID_DLG_FILTER_SELECT"
163 #define HID_DLG_PASSWORD_UUI "UUI_HID_DLG_PASSWORD_UUI"
164 #define HID_DLG_UNKNOWNAUTH_UUI "UUI_HID_DLG_UNKNOWNAUTH_UUI"
165 #define HID_DLG_SSLWARN_UUI "UUI_HID_DLG_SSLWARN_UUI"
166 #define HID_XMLSECDLG_MACROWARN "UUI_HID_XMLSECDLG_MACROWARN"
167 #define HID_DLG_NEWERVERSIONWARNING "UUI_HID_DLG_NEWERVERSIONWARNING"
169 #define HID_LOGIN_DLG_PATH "UUI_HID_LOGIN_DLG_PATH"
170 #define HID_LOGIN_DLG_BROWSE "UUI_HID_LOGIN_DLG_BROWSE"
171 #define HID_LOGIN_DLG_USER_NAME "UUI_HID_LOGIN_DLG_USER_NAME"
172 #define HID_LOGIN_DLG_PASSWORD "UUI_HID_LOGIN_DLG_PASSWORD"
173 #define HID_LOGIN_DLG_ACCOUNT "UUI_HID_LOGIN_DLG_ACCOUNT"
174 #define HID_LOGIN_DLG_REMEMBER_PASSWORD "UUI_HID_LOGIN_DLG_REMEMBER_PASSWORD"
175 #define HID_LOGIN_DLG_USE_SYSTEM_CREDENTIALS "UUI_HID_LOGIN_DLG_USE_SYSTEM_CREDENTIALS"
176 #define HID_DLG_SIMPLE_NAME_CLASH "UUI_HID_DLG_SIMPLE_NAME_CLASH"
178 // HID_UUI_END (aka HID_CHAOS_NEW_DATABASE) is reserved in
179 // sfx2/util/hidother.src
181 #endif // UUI_IDS_HRC