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