1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
23 #include <svl/solar.hrc>
24 #include <tools/errcode.hxx>
26 #define RID_KEEP_PASSWORD (RID_UUI_START + 0)
27 #define RID_SAVE_PASSWORD (RID_UUI_START + 1)
28 #define STR_ERROR_PASSWORDS_NOT_IDENTICAL (RID_UUI_START + 13)
29 #define STR_ERROR_MASTERPASSWORD_WRONG (RID_UUI_START + 14)
30 // RID_UUI_START + 15, 16, 17 are misused by syncaccess/source/ui/resids.hrc
32 #define RID_UUI_ERRHDL (RID_UUI_START + 20)
33 #define STR_ERROR_SIMPLE_PASSWORD_WRONG (RID_UUI_START + 23)
34 #define STR_ERROR_PASSWORD_TO_OPEN_WRONG (RID_UUI_START + 24)
35 #define STR_ERROR_PASSWORD_TO_MODIFY_WRONG (RID_UUI_START + 25)
36 #define STR_UNKNOWNUSER (RID_UUI_START + 31)
37 #define STR_OPENLOCKED_TITLE (RID_UUI_START + 32)
38 #define STR_OPENLOCKED_MSG (RID_UUI_START + 33)
39 #define STR_OPENLOCKED_OPENREADONLY_BTN (RID_UUI_START + 34)
40 #define STR_OPENLOCKED_OPENCOPY_BTN (RID_UUI_START + 35)
41 #define STR_FILECHANGED_TITLE (RID_UUI_START + 36)
42 #define STR_FILECHANGED_MSG (RID_UUI_START + 37)
43 #define STR_FILECHANGED_SAVEANYWAY_BTN (RID_UUI_START + 38)
44 #define STR_ALREADYOPEN_TITLE (RID_UUI_START + 39)
45 #define STR_ALREADYOPEN_MSG (RID_UUI_START + 40)
46 #define STR_ALREADYOPEN_READONLY_BTN (RID_UUI_START + 41)
47 #define STR_ALREADYOPEN_OPEN_BTN (RID_UUI_START + 42)
48 #define STR_LOCKFAILED_TITLE (RID_UUI_START + 43)
49 #define STR_LOCKFAILED_MSG (RID_UUI_START + 44)
50 #define STR_LOCKFAILED_DONTSHOWAGAIN (RID_UUI_START + 45)
51 #define STR_TRYLATER_TITLE (RID_UUI_START + 46)
52 #define STR_TRYLATER_MSG (RID_UUI_START + 47)
53 #define STR_TRYLATER_RETRYSAVING_BTN (RID_UUI_START + 48)
54 #define STR_TRYLATER_SAVEAS_BTN (RID_UUI_START + 49)
55 #define STR_ALREADYOPEN_SAVE_MSG (RID_UUI_START + 50)
56 #define STR_ALREADYOPEN_RETRY_SAVE_BTN (RID_UUI_START + 51)
57 #define STR_ALREADYOPEN_SAVE_BTN (RID_UUI_START + 52)
59 #define STR_WARNING_INCOMPLETE_ENCRYPTION_TITLE (RID_UUI_START + 54)
60 #define STR_WARNING_BROKENSIGNATURE_TITLE (RID_UUI_START + 55)
61 #define STR_ENTER_PASSWORD_TO_OPEN (RID_UUI_START + 56)
62 #define STR_ENTER_PASSWORD_TO_MODIFY (RID_UUI_START + 57)
63 #define STR_RENAME_OR_REPLACE (RID_UUI_START + 58)
64 #define STR_NAME_CLASH_RENAME_ONLY (RID_UUI_START + 59)
65 #define STR_SAME_NAME_USED (RID_UUI_START + 60)
66 #define STR_ENTER_SIMPLE_PASSWORD (RID_UUI_START + 61)
67 #define STR_CONFIRM_SIMPLE_PASSWORD (RID_UUI_START + 62)
68 #define STR_TITLE_CREATE_PASSWORD (RID_UUI_START + 63)
69 #define STR_TITLE_ENTER_PASSWORD (RID_UUI_START + 64)
70 #define STR_PASSWORD_MISMATCH (RID_UUI_START + 65)
72 #define ERRCODE_UUI_IO_ABORT (ERRCODE_AREA_UUI + 0)
73 #define ERRCODE_UUI_IO_ACCESSDENIED (ERRCODE_AREA_UUI + 1)
74 #define ERRCODE_UUI_IO_ALREADYEXISTS (ERRCODE_AREA_UUI + 2)
75 #define ERRCODE_UUI_IO_BADCRC (ERRCODE_AREA_UUI + 3)
76 #define ERRCODE_UUI_IO_CANTCREATE (ERRCODE_AREA_UUI + 4)
77 #define ERRCODE_UUI_IO_CANTREAD (ERRCODE_AREA_UUI + 5)
78 #define ERRCODE_UUI_IO_CANTSEEK (ERRCODE_AREA_UUI + 6)
79 #define ERRCODE_UUI_IO_CANTTELL (ERRCODE_AREA_UUI + 7)
80 #define ERRCODE_UUI_IO_CANTWRITE (ERRCODE_AREA_UUI + 8)
81 #define ERRCODE_UUI_IO_CURRENTDIR (ERRCODE_AREA_UUI + 9)
82 #define ERRCODE_UUI_IO_NOTREADY (ERRCODE_AREA_UUI + 10)
83 #define ERRCODE_UUI_IO_NOTSAMEDEVICE (ERRCODE_AREA_UUI + 11)
84 #define ERRCODE_UUI_IO_GENERAL (ERRCODE_AREA_UUI + 12)
85 #define ERRCODE_UUI_IO_INVALIDACCESS (ERRCODE_AREA_UUI + 13)
86 #define ERRCODE_UUI_IO_INVALIDCHAR (ERRCODE_AREA_UUI + 14)
87 #define ERRCODE_UUI_IO_INVALIDDEVICE (ERRCODE_AREA_UUI + 15)
88 #define ERRCODE_UUI_IO_INVALIDLENGTH (ERRCODE_AREA_UUI + 16)
89 #define ERRCODE_UUI_IO_INVALIDPARAMETER (ERRCODE_AREA_UUI + 17)
90 #define ERRCODE_UUI_IO_ISWILDCARD (ERRCODE_AREA_UUI + 18)
91 #define ERRCODE_UUI_IO_LOCKVIOLATION (ERRCODE_AREA_UUI + 19)
92 #define ERRCODE_UUI_IO_MISPLACEDCHAR (ERRCODE_AREA_UUI + 20)
93 #define ERRCODE_UUI_IO_NAMETOOLONG (ERRCODE_AREA_UUI + 21)
94 #define ERRCODE_UUI_IO_NOTEXISTS (ERRCODE_AREA_UUI + 22)
95 #define ERRCODE_UUI_IO_NOTEXISTSPATH (ERRCODE_AREA_UUI + 23)
96 #define ERRCODE_UUI_IO_NOTSUPPORTED (ERRCODE_AREA_UUI + 24)
97 #define ERRCODE_UUI_IO_NOTADIRECTORY (ERRCODE_AREA_UUI + 25)
98 #define ERRCODE_UUI_IO_NOTAFILE (ERRCODE_AREA_UUI + 26)
99 #define ERRCODE_UUI_IO_OUTOFSPACE (ERRCODE_AREA_UUI + 27)
100 #define ERRCODE_UUI_IO_TOOMANYOPENFILES (ERRCODE_AREA_UUI + 28)
101 #define ERRCODE_UUI_IO_OUTOFMEMORY (ERRCODE_AREA_UUI + 29)
102 #define ERRCODE_UUI_IO_PENDING (ERRCODE_AREA_UUI + 30)
103 #define ERRCODE_UUI_IO_RECURSIVE (ERRCODE_AREA_UUI + 31)
104 #define ERRCODE_UUI_IO_UNKNOWN (ERRCODE_AREA_UUI + 32)
105 #define ERRCODE_UUI_IO_WRITEPROTECTED (ERRCODE_AREA_UUI + 33)
106 #define ERRCODE_UUI_IO_WRONGFORMAT (ERRCODE_AREA_UUI + 34)
107 #define ERRCODE_UUI_IO_WRONGVERSION (ERRCODE_AREA_UUI + 35)
108 #define ERRCODE_UUI_IO_NOTEXISTS_VOLUME (ERRCODE_AREA_UUI + 36)
109 #define ERRCODE_UUI_IO_NOTEXISTS_FOLDER (ERRCODE_AREA_UUI + 37)
110 #define ERRCODE_UUI_WRONGJAVA (ERRCODE_AREA_UUI + 38)
111 #define ERRCODE_UUI_WRONGJAVA_VERSION (ERRCODE_AREA_UUI + 39)
112 #define ERRCODE_UUI_WRONGJAVA_MIN (ERRCODE_AREA_UUI + 40)
113 #define ERRCODE_UUI_WRONGJAVA_VERSION_MIN (ERRCODE_AREA_UUI + 41)
114 #define ERRCODE_UUI_BADPARTNERSHIP (ERRCODE_AREA_UUI + 42)
115 #define ERRCODE_UUI_BADPARTNERSHIP_NAME (ERRCODE_AREA_UUI + 43)
116 #define ERRCODE_UUI_IO_NOTREADY_VOLUME (ERRCODE_AREA_UUI + 44)
117 #define ERRCODE_UUI_IO_NOTREADY_REMOVABLE (ERRCODE_AREA_UUI + 45)
118 #define ERRCODE_UUI_IO_NOTREADY_VOLUME_REMOVABLE (ERRCODE_AREA_UUI + 46)
119 #define ERRCODE_UUI_WRONGMEDIUM (ERRCODE_AREA_UUI + 47)
120 #define ERRCODE_UUI_IO_CANTCREATE_NONAME (ERRCODE_AREA_UUI + 48)
121 #define ERRCODE_UUI_IO_TARGETALREADYEXISTS (ERRCODE_AREA_UUI + 49)
122 #define ERRCODE_UUI_IO_UNSUPPORTEDOVERWRITE (ERRCODE_AREA_UUI + 50)
123 #define ERRCODE_UUI_IO_BROKENPACKAGE (ERRCODE_AREA_UUI + 51)
124 #define ERRCODE_UUI_IO_BROKENPACKAGE_CANTREPAIR (ERRCODE_AREA_UUI + 52)
125 #define ERRCODE_UUI_CONFIGURATION_BROKENDATA_NOREMOVE (ERRCODE_AREA_UUI + 53)
126 #define ERRCODE_UUI_CONFIGURATION_BROKENDATA_WITHREMOVE (ERRCODE_AREA_UUI + 54)
127 #define ERRCODE_UUI_CONFIGURATION_BACKENDMISSING (ERRCODE_AREA_UUI + 55)
128 #define ERRCODE_UUI_CONFIGURATION_BACKENDMISSING_WITHRECOVER (ERRCODE_AREA_UUI + 56)
129 #define ERRCODE_UUI_INVALID_XFORMS_SUBMISSION_DATA (ERRCODE_AREA_UUI + 57)
130 #define ERRCODE_UUI_IO_MODULESIZEEXCEEDED (ERRCODE_AREA_UUI + 58)
131 #define ERRCODE_UUI_LOCKING_LOCKED (ERRCODE_AREA_UUI + 59)
132 #define ERRCODE_UUI_LOCKING_LOCKED_SELF (ERRCODE_AREA_UUI + 60)
133 #define ERRCODE_UUI_LOCKING_NOT_LOCKED (ERRCODE_AREA_UUI + 61)
134 #define ERRCODE_UUI_LOCKING_LOCK_EXPIRED (ERRCODE_AREA_UUI + 62)
135 #define ERRCODE_UUI_CANNOT_ACTIVATE_FACTORY (ERRCODE_AREA_UUI + 63)
136 #define ERRCODE_UUI_IO_WARN_CANTSAVE_MACROS (ERRCODE_WARNING_MASK | ( ERRCODE_AREA_UUI + 64))
137 #define ERRCODE_AREA_UUI_UNKNOWNAUTH 25000
138 #define SSLWARN_TYPE_DOMAINMISMATCH 10
139 #define SSLWARN_TYPE_EXPIRED 20
140 #define SSLWARN_TYPE_INVALID 30
142 #define ERRCODE_UUI_UNKNOWNAUTH_UNTRUSTED (ERRCODE_AREA_UUI_UNKNOWNAUTH + 1)
144 #define ERRCODE_UUI_SSLWARN_EXPIRED_1 (ERRCODE_AREA_UUI_UNKNOWNAUTH + SSLWARN_TYPE_EXPIRED + 1)
145 #define TITLE_UUI_SSLWARN_EXPIRED (ERRCODE_AREA_UUI_UNKNOWNAUTH + SSLWARN_TYPE_EXPIRED + 3)
147 #define ERRCODE_UUI_SSLWARN_DOMAINMISMATCH_1 (ERRCODE_AREA_UUI_UNKNOWNAUTH + SSLWARN_TYPE_DOMAINMISMATCH + 1)
148 #define TITLE_UUI_SSLWARN_DOMAINMISMATCH (ERRCODE_AREA_UUI_UNKNOWNAUTH + SSLWARN_TYPE_DOMAINMISMATCH + 3)
150 #define ERRCODE_UUI_SSLWARN_INVALID_1 (ERRCODE_AREA_UUI_UNKNOWNAUTH + SSLWARN_TYPE_INVALID + 1)
151 #define TITLE_UUI_SSLWARN_INVALID (ERRCODE_AREA_UUI_UNKNOWNAUTH + SSLWARN_TYPE_INVALID + 3)
153 #endif // UUI_IDS_HRC
155 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */