summaryrefslogtreecommitdiffstats
path: root/uui/inc
diff options
context:
space:
mode:
Diffstat (limited to 'uui/inc')
-rw-r--r--uui/inc/ids.hrc174
-rw-r--r--uui/inc/ids.hxx90
-rw-r--r--uui/inc/pch/precompiled_uui.cxx12
-rw-r--r--uui/inc/pch/precompiled_uui.hxx76
-rw-r--r--uui/inc/strings.hrc87
5 files changed, 439 insertions, 0 deletions
diff --git a/uui/inc/ids.hrc b/uui/inc/ids.hrc
new file mode 100644
index 000000000..4821c5559
--- /dev/null
+++ b/uui/inc/ids.hrc
@@ -0,0 +1,174 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#pragma once
+
+#include <unotools/resmgr.hxx>
+#include <vcl/errcode.hxx>
+
+#include <utility>
+
+#include "ids.hxx"
+
+#define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String))
+
+const std::pair<TranslateId, ErrCode> RID_UUI_ERRHDL[] =
+{
+ { NC_("RID_UUI_ERRHDL", "The operation executed on $(ARG1) was aborted."),
+ ERRCODE_UUI_IO_ABORT },
+ { NC_("RID_UUI_ERRHDL", "Access to $(ARG1) was denied."),
+ ERRCODE_UUI_IO_ACCESSDENIED },
+ { NC_("RID_UUI_ERRHDL", "$(ARG1) already exists."),
+ ERRCODE_UUI_IO_ALREADYEXISTS },
+ { NC_("RID_UUI_ERRHDL", "Target already exists."),
+ ERRCODE_UUI_IO_TARGETALREADYEXISTS },
+ { NC_("RID_UUI_ERRHDL", "You are about to save/export a password protected BASIC library containing module(s) \n$(ARG1)\nwhich are too large to store in binary format. If you wish users that don't have access to the library password to be able to run macros in those module(s) you must split those modules into a number of smaller modules. Do you wish to continue to save/export this library?"),
+ ERRCODE_UUI_IO_MODULESIZEEXCEEDED },
+ { NC_("RID_UUI_ERRHDL", "Beware!\n\nYou are about to load a very unusual sort of file ($(ARG2)) from the URL:\n\n$(ARG1)\n\nAre you certain that this file is a legacy document created many years ago?"),
+ ERRCODE_UUI_IO_EXOTICFILEFORMAT },
+ { NC_("RID_UUI_ERRHDL", "The data from $(ARG1) has an incorrect checksum."),
+ ERRCODE_UUI_IO_BADCRC },
+ { NC_("RID_UUI_ERRHDL", "The object $(ARG1) cannot be created in directory $(ARG2)."),
+ ERRCODE_UUI_IO_CANTCREATE },
+ { NC_("RID_UUI_ERRHDL", "Data of $(ARG1) could not be read."),
+ ERRCODE_UUI_IO_CANTREAD },
+ { NC_("RID_UUI_ERRHDL", "The seek operation on $(ARG1) could not be performed."),
+ ERRCODE_UUI_IO_CANTSEEK },
+ { NC_("RID_UUI_ERRHDL", "The tell operation on $(ARG1) could not be performed."),
+ ERRCODE_UUI_IO_CANTTELL },
+ { NC_("RID_UUI_ERRHDL", "Data for $(ARG1) could not be written."),
+ ERRCODE_UUI_IO_CANTWRITE },
+ { NC_("RID_UUI_ERRHDL", "Action impossible: $(ARG1) is the current directory."),
+ ERRCODE_UUI_IO_CURRENTDIR },
+ { NC_("RID_UUI_ERRHDL", "$(ARG1) is not ready."),
+ ERRCODE_UUI_IO_NOTREADY },
+ { NC_("RID_UUI_ERRHDL", "Action impossible: $(ARG1) and $(ARG2) are different devices (drives)."),
+ ERRCODE_UUI_IO_NOTSAMEDEVICE },
+ { NC_("RID_UUI_ERRHDL", "General input/output error while accessing $(ARG1)."),
+ ERRCODE_UUI_IO_GENERAL },
+ { NC_("RID_UUI_ERRHDL", "An attempt was made to access $(ARG1) in an invalid way."),
+ ERRCODE_UUI_IO_INVALIDACCESS },
+ { NC_("RID_UUI_ERRHDL", "$(ARG1) contains invalid characters."),
+ ERRCODE_UUI_IO_INVALIDCHAR },
+ { NC_("RID_UUI_ERRHDL", "The device (drive) $(ARG1) is invalid."),
+ ERRCODE_UUI_IO_INVALIDDEVICE },
+ { NC_("RID_UUI_ERRHDL", "The data from $(ARG1) has an invalid length."),
+ ERRCODE_UUI_IO_INVALIDLENGTH },
+ { NC_("RID_UUI_ERRHDL", "The operation on $(ARG1) was started with an invalid parameter."),
+ ERRCODE_UUI_IO_INVALIDPARAMETER },
+ { NC_("RID_UUI_ERRHDL", "The operation cannot be performed because $(ARG1) contains wildcards."),
+ ERRCODE_UUI_IO_ISWILDCARD },
+ { NC_("RID_UUI_ERRHDL", "Error during shared access to $(ARG1)."),
+ ERRCODE_UUI_IO_LOCKVIOLATION },
+ { NC_("RID_UUI_ERRHDL", "$(ARG1) contains misplaced characters."),
+ ERRCODE_UUI_IO_MISPLACEDCHAR },
+ { NC_("RID_UUI_ERRHDL", "The name $(ARG1) contains too many characters."),
+ ERRCODE_UUI_IO_NAMETOOLONG },
+ { NC_("RID_UUI_ERRHDL", "$(ARG1) does not exist."),
+ ERRCODE_UUI_IO_NOTEXISTS },
+ { NC_("RID_UUI_ERRHDL", "The path $(ARG1) does not exist."),
+ ERRCODE_UUI_IO_NOTEXISTSPATH },
+ { NC_("RID_UUI_ERRHDL", "The operation on $(ARG1) is not supported on this operating system."),
+ ERRCODE_UUI_IO_NOTSUPPORTED },
+ { NC_("RID_UUI_ERRHDL", "$(ARG1) is not a directory."),
+ ERRCODE_UUI_IO_NOTADIRECTORY },
+ { NC_("RID_UUI_ERRHDL", "$(ARG1) is not a file."),
+ ERRCODE_UUI_IO_NOTAFILE },
+ { NC_("RID_UUI_ERRHDL", "There is no space left on device $(ARG1)."),
+ ERRCODE_UUI_IO_OUTOFSPACE },
+ { NC_("RID_UUI_ERRHDL", "The operation on $(ARG1) cannot be performed because too many files are already open."),
+ ERRCODE_UUI_IO_TOOMANYOPENFILES },
+ { NC_("RID_UUI_ERRHDL", "The operation on $(ARG1) cannot be performed because there is no more memory available."),
+ ERRCODE_UUI_IO_OUTOFMEMORY },
+ { NC_("RID_UUI_ERRHDL", "The operation on $(ARG1) cannot continue because more data is pending."),
+ ERRCODE_UUI_IO_PENDING },
+ { NC_("RID_UUI_ERRHDL", "$(ARG1) cannot be copied into itself."),
+ ERRCODE_UUI_IO_RECURSIVE },
+ { NC_("RID_UUI_ERRHDL", "Unknown input/output error while accessing $(ARG1)."),
+ ERRCODE_UUI_IO_UNKNOWN },
+ { NC_("RID_UUI_ERRHDL", "$(ARG1) is write protected."),
+ ERRCODE_UUI_IO_WRITEPROTECTED },
+ { NC_("RID_UUI_ERRHDL", "$(ARG1) is not in the correct format."),
+ ERRCODE_UUI_IO_WRONGFORMAT },
+ { NC_("RID_UUI_ERRHDL", "The version of $(ARG1) is not correct."),
+ ERRCODE_UUI_IO_WRONGVERSION },
+ { NC_("RID_UUI_ERRHDL", "Drive $(ARG1) does not exist."),
+ ERRCODE_UUI_IO_NOTEXISTS_VOLUME },
+ { NC_("RID_UUI_ERRHDL", "Folder $(ARG1) does not exist."),
+ ERRCODE_UUI_IO_NOTEXISTS_FOLDER },
+ { NC_("RID_UUI_ERRHDL", "The installed Java version is not supported."),
+ ERRCODE_UUI_WRONGJAVA },
+ { NC_("RID_UUI_ERRHDL", "The installed Java version $(ARG1) is not supported."),
+ ERRCODE_UUI_WRONGJAVA_VERSION },
+ { NC_("RID_UUI_ERRHDL", "The installed Java version is not supported, at least version $(ARG1) is required."),
+ ERRCODE_UUI_WRONGJAVA_MIN },
+ { NC_("RID_UUI_ERRHDL", "The installed Java version $(ARG1) is not supported, at least version $(ARG2) is required."),
+ ERRCODE_UUI_WRONGJAVA_VERSION_MIN },
+ { NC_("RID_UUI_ERRHDL", "The data associated with the partnership is corrupted."),
+ ERRCODE_UUI_BADPARTNERSHIP },
+ { NC_("RID_UUI_ERRHDL", "The data associated with the partnership $(ARG1) is corrupted."),
+ ERRCODE_UUI_BADPARTNERSHIP_NAME },
+ { NC_("RID_UUI_ERRHDL", "Volume $(ARG1) is not ready."),
+ ERRCODE_UUI_IO_NOTREADY_VOLUME },
+ { NC_("RID_UUI_ERRHDL", "$(ARG1) is not ready; please insert a storage medium."),
+ ERRCODE_UUI_IO_NOTREADY_REMOVABLE },
+ { NC_("RID_UUI_ERRHDL", "Volume $(ARG1) is not ready; please insert a storage medium."),
+ ERRCODE_UUI_IO_NOTREADY_VOLUME_REMOVABLE },
+ { NC_("RID_UUI_ERRHDL", "Please insert disk $(ARG1)."),
+ ERRCODE_UUI_WRONGMEDIUM },
+ { NC_("RID_UUI_ERRHDL", "The object cannot be created in directory $(ARG1)."),
+ ERRCODE_UUI_IO_CANTCREATE_NONAME },
+ { NC_("RID_UUI_ERRHDL", "%PRODUCTNAME cannot keep files from being overwritten when this transmission protocol is used. Do you want to continue anyway?"),
+ ERRCODE_UUI_IO_UNSUPPORTEDOVERWRITE },
+ { NC_("RID_UUI_ERRHDL", "The file '$(ARG1)' is corrupt and therefore cannot be opened. %PRODUCTNAME can try to repair the file.\n\nThe corruption could be the result of document manipulation or of structural document damage due to data transmission.\n\nWe recommend that you do not trust the content of the repaired document.\nExecution of macros is disabled for this document.\n\nShould %PRODUCTNAME repair the file?\n"),
+ ERRCODE_UUI_IO_BROKENPACKAGE },
+ { NC_("RID_UUI_ERRHDL", "The file '$(ARG1)' could not be repaired and therefore cannot be opened."),
+ ERRCODE_UUI_IO_BROKENPACKAGE_CANTREPAIR },
+ { NC_("RID_UUI_ERRHDL", "Configuration data in '$(ARG1)' is corrupted. Without this data some functions may not operate correctly.\nDo you want to continue startup of %PRODUCTNAME without the corrupted configuration data?"),
+ ERRCODE_UUI_CONFIGURATION_BROKENDATA_NOREMOVE },
+ { NC_("RID_UUI_ERRHDL", "The personal configuration file '$(ARG1)' is corrupted and must be deleted to continue. Some of your personal settings may be lost.\nDo you want to continue startup of %PRODUCTNAME without the corrupted configuration data?"),
+ ERRCODE_UUI_CONFIGURATION_BROKENDATA_WITHREMOVE },
+ { NC_("RID_UUI_ERRHDL", "The configuration data source '$(ARG1)' is unavailable. Without this data some functions may not operate correctly."),
+ ERRCODE_UUI_CONFIGURATION_BACKENDMISSING },
+ { NC_("RID_UUI_ERRHDL", "The configuration data source '$(ARG1)' is unavailable. Without this data some functions may not operate correctly.\nDo you want to continue startup of %PRODUCTNAME without the missing configuration data?"),
+ ERRCODE_UUI_CONFIGURATION_BACKENDMISSING_WITHRECOVER },
+ { NC_("RID_UUI_ERRHDL", "The form contains invalid data. Do you still want to continue?"),
+ ERRCODE_UUI_INVALID_XFORMS_SUBMISSION_DATA },
+ { NC_("RID_UUI_ERRHDL", "The file $(ARG1) is locked by another user. Currently, another write access to this file cannot be granted."),
+ ERRCODE_UUI_LOCKING_LOCKED },
+ { NC_("RID_UUI_ERRHDL", "The file $(ARG1) is locked by yourself. Currently, another write access to this file cannot be granted."),
+ ERRCODE_UUI_LOCKING_LOCKED_SELF },
+ { NC_("RID_UUI_ERRHDL", "The file $(ARG1) is currently not locked by yourself."),
+ ERRCODE_UUI_LOCKING_NOT_LOCKED },
+ { NC_("RID_UUI_ERRHDL", "The previously obtained lock for file $(ARG1) has expired.\nThis can happen due to problems on the server managing the file lock. It cannot be guaranteed that write operations on this file will not overwrite changes done by other users!"),
+ ERRCODE_UUI_LOCKING_LOCK_EXPIRED },
+ { NC_("RID_UUI_ERRHDL", "Component cannot be loaded, possibly broken or incomplete installation.\nFull error message:\n\n $(ARG1)."),
+ ERRCODE_UUI_CANNOT_ACTIVATE_FACTORY },
+ { {}, ERRCODE_NONE }
+};
+
+#define STR_UUI_UNKNOWNAUTH_UNTRUSTED NC_("STR_UUI_UNKNOWNAUTH_UNTRUSTED", "Unable to verify the identity of $(ARG1) site.\n\nBefore accepting this certificate, you should examine this site's certificate carefully. Are you willing to accept this certificate for the purpose of identifying the Web site $(ARG1)?")
+#define STR_UUI_SSLWARN_EXPIRED NC_("STR_UUI_SSLWARN_EXPIRED", "$(ARG1) is a site that uses a security certificate to encrypt data during transmission, but its certificate expired on $(ARG2).\n\nYou should check to make sure that your computer's time is correct.")
+#define STR_UUI_SSLWARN_EXPIRED_TITLE NC_("STR_UUI_SSLWARN_EXPIRED_TITLE", "Security Warning: Server Certificate Invalid")
+#define STR_UUI_SSLWARN_DOMAINMISMATCH NC_("STR_UUI_SSLWARN_DOMAINMISMATCH", "You have attempted to establish a connection with $(ARG1). However, the security certificate presented belongs to $(ARG2). It is possible, though unlikely, that someone may be trying to intercept your communication with this web site.\n\nIf you suspect the certificate shown does not belong to $(ARG1), please cancel the connection and notify the site administrator.\n\nWould you like to continue anyway?")
+#define STR_UUI_SSLWARN_DOMAINMISMATCH_TITLE NC_("STR_UUI_SSLWARN_DOMAINMISMATCH_TITLE", "Security Warning: Server Certificate Expired")
+#define STR_UUI_SSLWARN_INVALID NC_("STR_UUI_SSLWARN_INVALID", "The certificate could not be validated. You should examine this site's certificate carefully.\n\nIf you suspect the certificate shown, please cancel the connection and notify the site administrator.")
+#define STR_UUI_SSLWARN_INVALID_TITLE NC_("STR_UUI_SSLWARN_INVALID_TITLE", "Security Warning: Domain Name Mismatch")
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/uui/inc/ids.hxx b/uui/inc/ids.hxx
new file mode 100644
index 000000000..32ba356a4
--- /dev/null
+++ b/uui/inc/ids.hxx
@@ -0,0 +1,90 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#pragma once
+
+#include <vcl/errcode.hxx>
+
+#define ERRCODE_UUI_IO_ABORT ErrCode(ErrCodeArea::Uui, 0)
+#define ERRCODE_UUI_IO_ACCESSDENIED ErrCode(ErrCodeArea::Uui, 1)
+#define ERRCODE_UUI_IO_ALREADYEXISTS ErrCode(ErrCodeArea::Uui, 2)
+#define ERRCODE_UUI_IO_BADCRC ErrCode(ErrCodeArea::Uui, 3)
+#define ERRCODE_UUI_IO_CANTCREATE ErrCode(ErrCodeArea::Uui, 4)
+#define ERRCODE_UUI_IO_CANTREAD ErrCode(ErrCodeArea::Uui, 5)
+#define ERRCODE_UUI_IO_CANTSEEK ErrCode(ErrCodeArea::Uui, 6)
+#define ERRCODE_UUI_IO_CANTTELL ErrCode(ErrCodeArea::Uui, 7)
+#define ERRCODE_UUI_IO_CANTWRITE ErrCode(ErrCodeArea::Uui, 8)
+#define ERRCODE_UUI_IO_CURRENTDIR ErrCode(ErrCodeArea::Uui, 9)
+#define ERRCODE_UUI_IO_NOTREADY ErrCode(ErrCodeArea::Uui, 10)
+#define ERRCODE_UUI_IO_NOTSAMEDEVICE ErrCode(ErrCodeArea::Uui, 11)
+#define ERRCODE_UUI_IO_GENERAL ErrCode(ErrCodeArea::Uui, 12)
+#define ERRCODE_UUI_IO_INVALIDACCESS ErrCode(ErrCodeArea::Uui, 13)
+#define ERRCODE_UUI_IO_INVALIDCHAR ErrCode(ErrCodeArea::Uui, 14)
+#define ERRCODE_UUI_IO_INVALIDDEVICE ErrCode(ErrCodeArea::Uui, 15)
+#define ERRCODE_UUI_IO_INVALIDLENGTH ErrCode(ErrCodeArea::Uui, 16)
+#define ERRCODE_UUI_IO_INVALIDPARAMETER ErrCode(ErrCodeArea::Uui, 17)
+#define ERRCODE_UUI_IO_ISWILDCARD ErrCode(ErrCodeArea::Uui, 18)
+#define ERRCODE_UUI_IO_LOCKVIOLATION ErrCode(ErrCodeArea::Uui, 19)
+#define ERRCODE_UUI_IO_MISPLACEDCHAR ErrCode(ErrCodeArea::Uui, 20)
+#define ERRCODE_UUI_IO_NAMETOOLONG ErrCode(ErrCodeArea::Uui, 21)
+#define ERRCODE_UUI_IO_NOTEXISTS ErrCode(ErrCodeArea::Uui, 22)
+#define ERRCODE_UUI_IO_NOTEXISTSPATH ErrCode(ErrCodeArea::Uui, 23)
+#define ERRCODE_UUI_IO_NOTSUPPORTED ErrCode(ErrCodeArea::Uui, 24)
+#define ERRCODE_UUI_IO_NOTADIRECTORY ErrCode(ErrCodeArea::Uui, 25)
+#define ERRCODE_UUI_IO_NOTAFILE ErrCode(ErrCodeArea::Uui, 26)
+#define ERRCODE_UUI_IO_OUTOFSPACE ErrCode(ErrCodeArea::Uui, 27)
+#define ERRCODE_UUI_IO_TOOMANYOPENFILES ErrCode(ErrCodeArea::Uui, 28)
+#define ERRCODE_UUI_IO_OUTOFMEMORY ErrCode(ErrCodeArea::Uui, 29)
+#define ERRCODE_UUI_IO_PENDING ErrCode(ErrCodeArea::Uui, 30)
+#define ERRCODE_UUI_IO_RECURSIVE ErrCode(ErrCodeArea::Uui, 31)
+#define ERRCODE_UUI_IO_UNKNOWN ErrCode(ErrCodeArea::Uui, 32)
+#define ERRCODE_UUI_IO_WRITEPROTECTED ErrCode(ErrCodeArea::Uui, 33)
+#define ERRCODE_UUI_IO_WRONGFORMAT ErrCode(ErrCodeArea::Uui, 34)
+#define ERRCODE_UUI_IO_WRONGVERSION ErrCode(ErrCodeArea::Uui, 35)
+#define ERRCODE_UUI_IO_NOTEXISTS_VOLUME ErrCode(ErrCodeArea::Uui, 36)
+#define ERRCODE_UUI_IO_NOTEXISTS_FOLDER ErrCode(ErrCodeArea::Uui, 37)
+#define ERRCODE_UUI_WRONGJAVA ErrCode(ErrCodeArea::Uui, 38)
+#define ERRCODE_UUI_WRONGJAVA_VERSION ErrCode(ErrCodeArea::Uui, 39)
+#define ERRCODE_UUI_WRONGJAVA_MIN ErrCode(ErrCodeArea::Uui, 40)
+#define ERRCODE_UUI_WRONGJAVA_VERSION_MIN ErrCode(ErrCodeArea::Uui, 41)
+#define ERRCODE_UUI_BADPARTNERSHIP ErrCode(ErrCodeArea::Uui, 42)
+#define ERRCODE_UUI_BADPARTNERSHIP_NAME ErrCode(ErrCodeArea::Uui, 43)
+#define ERRCODE_UUI_IO_NOTREADY_VOLUME ErrCode(ErrCodeArea::Uui, 44)
+#define ERRCODE_UUI_IO_NOTREADY_REMOVABLE ErrCode(ErrCodeArea::Uui, 45)
+#define ERRCODE_UUI_IO_NOTREADY_VOLUME_REMOVABLE ErrCode(ErrCodeArea::Uui, 46)
+#define ERRCODE_UUI_WRONGMEDIUM ErrCode(ErrCodeArea::Uui, 47)
+#define ERRCODE_UUI_IO_CANTCREATE_NONAME ErrCode(ErrCodeArea::Uui, 48)
+#define ERRCODE_UUI_IO_TARGETALREADYEXISTS ErrCode(ErrCodeArea::Uui, 49)
+#define ERRCODE_UUI_IO_UNSUPPORTEDOVERWRITE ErrCode(ErrCodeArea::Uui, 50)
+#define ERRCODE_UUI_IO_BROKENPACKAGE ErrCode(ErrCodeArea::Uui, 51)
+#define ERRCODE_UUI_IO_BROKENPACKAGE_CANTREPAIR ErrCode(ErrCodeArea::Uui, 52)
+#define ERRCODE_UUI_CONFIGURATION_BROKENDATA_NOREMOVE ErrCode(ErrCodeArea::Uui, 53)
+#define ERRCODE_UUI_CONFIGURATION_BROKENDATA_WITHREMOVE ErrCode(ErrCodeArea::Uui, 54)
+#define ERRCODE_UUI_CONFIGURATION_BACKENDMISSING ErrCode(ErrCodeArea::Uui, 55)
+#define ERRCODE_UUI_CONFIGURATION_BACKENDMISSING_WITHRECOVER ErrCode(ErrCodeArea::Uui, 56)
+#define ERRCODE_UUI_INVALID_XFORMS_SUBMISSION_DATA ErrCode(ErrCodeArea::Uui, 57)
+#define ERRCODE_UUI_IO_MODULESIZEEXCEEDED ErrCode(ErrCodeArea::Uui, 58)
+#define ERRCODE_UUI_LOCKING_LOCKED ErrCode(ErrCodeArea::Uui, 59)
+#define ERRCODE_UUI_LOCKING_LOCKED_SELF ErrCode(ErrCodeArea::Uui, 60)
+#define ERRCODE_UUI_LOCKING_NOT_LOCKED ErrCode(ErrCodeArea::Uui, 61)
+#define ERRCODE_UUI_LOCKING_LOCK_EXPIRED ErrCode(ErrCodeArea::Uui, 62)
+#define ERRCODE_UUI_CANNOT_ACTIVATE_FACTORY ErrCode(ErrCodeArea::Uui, 63)
+#define ERRCODE_UUI_IO_EXOTICFILEFORMAT ErrCode(ErrCodeArea::Uui, 64)
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/uui/inc/pch/precompiled_uui.cxx b/uui/inc/pch/precompiled_uui.cxx
new file mode 100644
index 000000000..a316b9d6f
--- /dev/null
+++ b/uui/inc/pch/precompiled_uui.cxx
@@ -0,0 +1,12 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "precompiled_uui.hxx"
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/uui/inc/pch/precompiled_uui.hxx b/uui/inc/pch/precompiled_uui.hxx
new file mode 100644
index 000000000..b280e846a
--- /dev/null
+++ b/uui/inc/pch/precompiled_uui.hxx
@@ -0,0 +1,76 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+/*
+ This file has been autogenerated by update_pch.sh. It is possible to edit it
+ manually (such as when an include file has been moved/renamed/removed). All such
+ manual changes will be rewritten by the next run of update_pch.sh (which presumably
+ also fixes all possible problems, so it's usually better to use it).
+
+ Generated on 2021-04-11 19:48:51 using:
+ ./bin/update_pch uui uui --cutoff=4 --exclude:system --exclude:module --exclude:local
+
+ If after updating build fails, use the following command to locate conflicting headers:
+ ./bin/update_pch_bisect ./uui/inc/pch/precompiled_uui.hxx "make uui.build" --find-conflicts
+*/
+
+#include <sal/config.h>
+#if PCH_LEVEL >= 1
+#include <cassert>
+#include <cstddef>
+#include <memory>
+#include <ostream>
+#include <vector>
+#endif // PCH_LEVEL >= 1
+#if PCH_LEVEL >= 2
+#include <osl/conditn.hxx>
+#include <osl/diagnose.h>
+#include <osl/file.hxx>
+#include <osl/interlck.h>
+#include <rtl/alloc.h>
+#include <rtl/digest.h>
+#include <rtl/instance.hxx>
+#include <rtl/strbuf.hxx>
+#include <rtl/textenc.h>
+#include <rtl/unload.h>
+#include <rtl/ustrbuf.hxx>
+#include <rtl/ustring.h>
+#include <rtl/ustring.hxx>
+#include <sal/detail/log.h>
+#include <sal/saldllapi.h>
+#include <sal/types.h>
+#include <vcl/stdtext.hxx>
+#include <vcl/svapp.hxx>
+#include <vcl/weld.hxx>
+#endif // PCH_LEVEL >= 2
+#if PCH_LEVEL >= 3
+#include <com/sun/star/task/XInteractionAbort.hpp>
+#include <com/sun/star/task/XInteractionApprove.hpp>
+#include <com/sun/star/task/XInteractionRequest.hpp>
+#include <com/sun/star/uno/Any.hxx>
+#include <com/sun/star/uno/Reference.h>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/RuntimeException.hpp>
+#include <com/sun/star/uno/Sequence.h>
+#include <com/sun/star/uno/Sequence.hxx>
+#include <com/sun/star/uno/XInterface.hpp>
+#include <com/sun/star/uno/genfunc.hxx>
+#include <comphelper/comphelperdllapi.h>
+#include <cppu/cppudllapi.h>
+#include <cppu/unotype.hxx>
+#include <cppuhelper/cppuhelperdllapi.h>
+#include <o3tl/typed_flags_set.hxx>
+#include <typelib/typedescription.h>
+#include <uno/data.h>
+#include <unotools/resmgr.hxx>
+#endif // PCH_LEVEL >= 3
+#if PCH_LEVEL >= 4
+#endif // PCH_LEVEL >= 4
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/uui/inc/strings.hrc b/uui/inc/strings.hrc
new file mode 100644
index 000000000..e5af3465b
--- /dev/null
+++ b/uui/inc/strings.hrc
@@ -0,0 +1,87 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#pragma once
+
+#define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String))
+
+#define STR_ENTER_PASSWORD_TO_OPEN NC_("STR_ENTER_PASSWORD_TO_OPEN", "Enter password to open file: \n")
+#define STR_ENTER_PASSWORD_TO_MODIFY NC_("STR_ENTER_PASSWORD_TO_MODIFY", "Enter password to modify file: \n")
+#define STR_ENTER_SIMPLE_PASSWORD NC_("STR_ENTER_SIMPLE_PASSWORD", "Enter password: ")
+#define STR_CONFIRM_SIMPLE_PASSWORD NC_("STR_CONFIRM_SIMPLE_PASSWORD", "Confirm password: ")
+#define STR_TITLE_CREATE_PASSWORD NC_("STR_TITLE_CREATE_PASSWORD", "Set Password")
+#define STR_TITLE_ENTER_PASSWORD NC_("STR_TITLE_ENTER_PASSWORD", "Enter Password")
+#define STR_PASSWORD_MISMATCH NC_("STR_PASSWORD_MISMATCH", "The confirmation password did not match the password. Set the password again by entering the same password in both boxes.")
+
+#define STR_ALREADYOPEN_TITLE NC_("STR_ALREADYOPEN_TITLE", "Document in Use")
+#define STR_ALREADYOPEN_MSG NC_("STR_ALREADYOPEN_MSG", "Document file '$(ARG1)' is locked for editing by yourself on a different system since $(ARG2)\n\nOpen document read-only, or ignore own file locking and open the document for editing.\nSelect Notify to open read-only and get notified when the document becomes editable.")
+#define STR_ALREADYOPEN_READONLY_BTN NC_("STR_ALREADYOPEN_READONLY_BTN", "Open ~Read-Only")
+#define STR_ALREADYOPEN_READONLY_NOTIFY_BTN NC_("STR_ALREADYOPEN_READONLY_NOTIFY_BTN", "~Notify")
+#define STR_ALREADYOPEN_OPEN_BTN NC_("STR_ALREADYOPEN_OPEN_BTN", "~Open")
+#define STR_ALREADYOPEN_SAVE_MSG NC_("STR_ALREADYOPEN_SAVE_MSG", "Document file '$(ARG1)' is locked for editing by yourself on a different system since $(ARG2)\n\nClose document on other system and retry saving or ignore own file locking and save current document.")
+#define STR_ALREADYOPEN_RETRY_SAVE_BTN NC_("STR_ALREADYOPEN_RETRY_SAVE_BTN", "~Retry Saving")
+#define STR_ALREADYOPEN_SAVE_BTN NC_("STR_ALREADYOPEN_SAVE_BTN", "~Save")
+
+#define RID_KEEP_PASSWORD NC_("RID_KEEP_PASSWORD", "~Remember password until end of session")
+#define RID_SAVE_PASSWORD NC_("RID_SAVE_PASSWORD", "~Remember password")
+#define STR_WARNING_INCOMPLETE_ENCRYPTION_TITLE NC_("STR_WARNING_INCOMPLETE_ENCRYPTION_TITLE", "Non-Encrypted Streams")
+
+#define STR_LOCKFAILED_TITLE NC_("STR_LOCKFAILED_TITLE", "Document Could Not Be Locked")
+#define STR_LOCKFAILED_MSG NC_("STR_LOCKFAILED_MSG", "The lock file could not be created for exclusive access by %PRODUCTNAME, due to missing permission to create a lock file on that file location or lack of free disk space.\n\nSelect Notify to open read-only and get notified when the document becomes editable.")
+#define STR_LOCKFAILED_OPENREADONLY_BTN NC_("STR_LOCKFAILED_OPENREADONLY_BTN", "Open ~Read-Only")
+#define STR_LOCKFAILED_OPENREADONLY_NOTIFY_BTN NC_("STR_LOCKFAILED_OPENREADONLY_NOTIFY_BTN", "~Notify")
+
+#define STR_OPENLOCKED_TITLE NC_("STR_OPENLOCKED_TITLE", "Document in Use")
+#define STR_OPENLOCKED_MSG NC_("STR_OPENLOCKED_MSG", "Document file '$(ARG1)' is locked for editing by:\n\n$(ARG2)\n\nOpen document read-only or open a copy of the document for editing.\nSelect Notify to open read-only and get notified when the document becomes editable.$(ARG3)")
+#define STR_OPENLOCKED_ALLOWIGNORE_MSG NC_("STR_OPENLOCKED_ALLOWIGNORE_MSG", "\nYou may also ignore the file locking and open the document for editing.")
+#define STR_OPENLOCKED_OPENREADONLY_BTN NC_("STR_OPENLOCKED_OPENREADONLY_BTN", "Open ~Read-Only")
+#define STR_OPENLOCKED_OPENREADONLY_NOTIFY_BTN NC_("STR_OPENLOCKED_OPENREADONLY_NOTIFY_BTN", "~Notify")
+#define STR_OPENLOCKED_OPENCOPY_BTN NC_("STR_OPENLOCKED_OPENCOPY_BTN", "Open ~Copy")
+#define STR_UNKNOWNUSER NC_("STR_UNKNOWNUSER", "Unknown User")
+
+#define STR_FILECHANGED_TITLE NC_("STR_FILECHANGED_TITLE", "Document Has Been Changed by Others")
+#define STR_FILECHANGED_MSG NC_("STR_FILECHANGED_MSG", "The file has been changed since it was opened for editing in %PRODUCTNAME. Saving your version of the document will overwrite changes made by others.\n\nDo you want to save anyway?")
+#define STR_FILECHANGED_SAVEANYWAY_BTN NC_("STR_FILECHANGED_SAVEANYWAY_BTN", "~Save Anyway")
+
+#define STR_TRYLATER_TITLE NC_("STR_TRYLATER_TITLE", "Document in Use")
+#define STR_TRYLATER_MSG NC_("STR_TRYLATER_MSG", "Document file '$(ARG1)' is locked for editing by:\n\n$(ARG2)\n\nTry again later to save document or save a copy of that document.")
+#define STR_OVERWRITE_IGNORELOCK_MSG NC_("STR_OVERWRITE_IGNORELOCK_MSG", "Document file '$(ARG1)' is locked for editing by:\n\n$(ARG2)\n\nYou may try to ignore the file locking and overwrite the existing document.")
+#define STR_TRYLATER_RETRYSAVING_BTN NC_("STR_TRYLATER_RETRYSAVING_BTN", "~Retry Saving")
+#define STR_TRYLATER_SAVEAS_BTN NC_("STR_TRYLATER_SAVEAS_BTN", "~Save As...")
+
+#define STR_RENAME_OR_REPLACE NC_("STR_RENAME_OR_REPLACE", "A file with the name \"%NAME\" already exists in the location \"%FOLDER\".\nChoose Replace to overwrite the existing file or provide a new name.")
+#define STR_NAME_CLASH_RENAME_ONLY NC_("STR_NAME_CLASH_RENAME_ONLY", "A file with the name \"%NAME\" already exists in the location \"%FOLDER\".\nPlease enter a new name.")
+#define STR_SAME_NAME_USED NC_("STR_SAME_NAME_USED", "Please provide a different file name!")
+
+#define STR_ERROR_PASSWORD_TO_OPEN_WRONG NC_("STR_ERROR_PASSWORD_TO_OPEN_WRONG", "The password is incorrect. The file cannot be opened.")
+#define STR_ERROR_PASSWORD_TO_MODIFY_WRONG NC_("STR_ERROR_PASSWORD_TO_MODIFY_WRONG", "The password is incorrect. The file cannot be modified.")
+#define STR_ERROR_MASTERPASSWORD_WRONG NC_("STR_ERROR_MASTERPASSWORD_WRONG", "The master password is incorrect.")
+#define STR_ERROR_SIMPLE_PASSWORD_WRONG NC_("STR_ERROR_SIMPLE_PASSWORD_WRONG", "The password is incorrect.")
+#define STR_ERROR_PASSWORDS_NOT_IDENTICAL NC_("STR_ERROR_PASSWORDS_NOT_IDENTICAL", "The password confirmation does not match.")
+
+#define STR_LOCKCORRUPT_TITLE NC_("STR_LOCKCORRUPT_TITLE", "Lock file is corrupted")
+#define STR_LOCKCORRUPT_MSG NC_("STR_LOCKCORRUPT_MSG", "The lock file is corrupted and probably empty. Opening the document read-only and closing it again removes the corrupted lock file.\n\nSelect Notify to open read-only and get notified when the document becomes editable.")
+#define STR_LOCKCORRUPT_OPENREADONLY_BTN NC_("STR_LOCKCORRUPT_OPENREADONLY_BTN", "Open ~Read-Only")
+#define STR_LOCKCORRUPT_OPENREADONLY_NOTIFY_BTN NC_("STR_LOCKCORRUPT_OPENREADONLY_NOTIFY_BTN", "~Notify")
+
+#define STR_RELOADEDITABLE_TITLE NC_("STR_RELOADEDITABLE_TITLE", "Document is now editable")
+#define STR_RELOADEDITABLE_MSG NC_("STR_RELOADEDITABLE_MSG", "Document file '$(ARG1)' is now editable \n\nReload this document for editing?")
+#define STR_RELOADEDITABLE_BTN NC_("STR_RELOADEDITABLE_BTN", "~Reload")
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */