diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
commit | ed5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch) | |
tree | 7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /scp2/source/base | |
parent | Initial commit. (diff) | |
download | libreoffice-upstream.tar.xz libreoffice-upstream.zip |
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'scp2/source/base')
-rw-r--r-- | scp2/source/base/file_base.scp | 34 | ||||
-rw-r--r-- | scp2/source/base/firebird.scp | 34 | ||||
-rw-r--r-- | scp2/source/base/folderitem_base.scp | 40 | ||||
-rw-r--r-- | scp2/source/base/folderitem_base.ulf | 21 | ||||
-rw-r--r-- | scp2/source/base/module_base.scp | 63 | ||||
-rw-r--r-- | scp2/source/base/module_base.ulf | 38 | ||||
-rw-r--r-- | scp2/source/base/postgresqlsdbc.scp | 43 | ||||
-rw-r--r-- | scp2/source/base/postgresqlsdbc.ulf | 16 | ||||
-rw-r--r-- | scp2/source/base/registryitem_base.scp | 173 | ||||
-rw-r--r-- | scp2/source/base/registryitem_base.ulf | 20 |
10 files changed, 482 insertions, 0 deletions
diff --git a/scp2/source/base/file_base.scp b/scp2/source/base/file_base.scp new file mode 100644 index 000000000..e2a8d364b --- /dev/null +++ b/scp2/source/base/file_base.scp @@ -0,0 +1,34 @@ +/* + * 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 . + */ + +#include "macros.inc" + +#if defined WITH_HELPPACKS +File gid_File_Help_Sdatabase_Zip + Dir = FILELIST_DIR; + FILELIST_TXT_FILE_BODY_HELPPACK; + EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG(sdatabase); +End +#endif + +File gid_File_Share_Registry_Base_Xcd + TXT_FILE_BODY; + Styles = (PACKED); + Dir = gid_Brand_Dir_Share_Registry; + Name = "base.xcd"; +End diff --git a/scp2/source/base/firebird.scp b/scp2/source/base/firebird.scp new file mode 100644 index 000000000..61cfff9cc --- /dev/null +++ b/scp2/source/base/firebird.scp @@ -0,0 +1,34 @@ +/* + * 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 . + */ + +#include "macros.inc" + +#include "AutoInstall/firebirdsdbc" + +#if defined( ENABLE_FIREBIRD_SDBC ) && !defined( SYSTEM_FIREBIRD ) + +Module gid_Module_Optional_Firebird + Name = "Firebird"; + Description = "Firebird embedded database"; + PackageInfo = "packinfo_office.txt"; + ParentID = gid_Module_Root_Brand; + Files = (auto_firebirdsdbc_ALL); + Styles = (HIDDEN_ROOT); +End + +#endif diff --git a/scp2/source/base/folderitem_base.scp b/scp2/source/base/folderitem_base.scp new file mode 100644 index 000000000..75e1d5d05 --- /dev/null +++ b/scp2/source/base/folderitem_base.scp @@ -0,0 +1,40 @@ +/* + * 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 . + */ + +#include "macros.inc" + +#ifndef ENABLE_SILENT_MSI +FolderItem gid_Folderitem_Sbase + Name = "%PRODUCTNAME Base"; + ModuleID = gid_Module_Prg_Base_Bin; + FolderID = gid_Folder_Staroffice51; + FileID = auto_base_brand_exe_sbase; + IconFile = auto_base_brand_exe_sbase; + IconID = 0; + WkDir = gid_Brand_Dir_Program; + Parameter = ""; + Styles = (NON_ADVERTISED); + ALL_LANG(Tooltip, STR_FI_TOOLTIP_BASE); +End + +FolderItemProperty gid_Fip_Sbase_AppID + ShortcutID = gid_Folderitem_Sbase; + Key = "System.AppUserModel.ID"; + Value = "TheDocumentFoundation.LibreOffice.Base"; +End +#endif diff --git a/scp2/source/base/folderitem_base.ulf b/scp2/source/base/folderitem_base.ulf new file mode 100644 index 000000000..ed7ad50c8 --- /dev/null +++ b/scp2/source/base/folderitem_base.ulf @@ -0,0 +1,21 @@ +/* + * 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 . + */ + +[STR_FI_TOOLTIP_BASE] +en-US = "Manage databases, create queries and reports to track and manage your information by using Base." + diff --git a/scp2/source/base/module_base.scp b/scp2/source/base/module_base.scp new file mode 100644 index 000000000..783c8a49a --- /dev/null +++ b/scp2/source/base/module_base.scp @@ -0,0 +1,63 @@ +/* + * 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 . + */ + +#include "macros.inc" + +#include "AutoInstall/base" +#include "AutoInstall/base_brand" + +Module gid_Module_Prg_Base + MOD_NAME_DESC(MODULE_PRG_BASE); + ParentID = gid_Module_Prg; + Sortkey = "500"; + Styles =(APPLICATIONMODULE); +End + +Module gid_Module_Prg_Base_Bin + PackageInfo = "packinfo_office.txt"; + MOD_NAME_DESC ( MODULE_PRG_BASE_BIN ); + ParentID = gid_Module_Prg_Base; + Sortkey = "100"; + Default = YES; + Styles = (HIDDEN_ROOT); + Files = (auto_base_ALL, + gid_File_Share_Registry_Base_Xcd + ); +End + +Module gid_Module_Brand_Prg_Base + PackageInfo = "packinfo_brand.txt"; + Name = "gid_Module_Brand_Prg_Base"; + Description = "gid_Module_Brand_Prg_Base"; + ParentID = gid_Module_Prg_Base; + Sortkey = "100"; + InstallOrder = "1040"; + Default = YES; + Styles = (HIDDEN_ROOT); + Files = (auto_base_brand_ALL); +End + +Module gid_Module_Langpack_Base_Template + ParentID = gid_Module_Prg_Base_Bin; + Name = "gid_Module_Langpack_Base_Template"; + Description = "gid_Module_Langpack_Base_Template"; + Styles = (TEMPLATEMODULE); + Files = (); +End + +#include "alllangmodules_base.inc" diff --git a/scp2/source/base/module_base.ulf b/scp2/source/base/module_base.ulf new file mode 100644 index 000000000..3b7bd81b8 --- /dev/null +++ b/scp2/source/base/module_base.ulf @@ -0,0 +1,38 @@ +/* + * 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 . + */ + +[STR_NAME_MODULE_PRG_BASE] +en-US = "%PRODUCTNAME Base" + +[STR_DESC_MODULE_PRG_BASE] +en-US = "Create and edit databases by using %PRODUCTNAME Base." + +[STR_NAME_MODULE_PRG_BASE_BIN] +en-US = "Program Module" + +[STR_DESC_MODULE_PRG_BASE_BIN] +en-US = "The application %PRODUCTNAME Base" + +[STR_NAME_MODULE_PRG_BASE_HELP] +en-US = "%PRODUCTNAME Base Help" + +[STR_DESC_MODULE_PRG_BASE_HELP] +en-US = "Help about %PRODUCTNAME Base" + + + diff --git a/scp2/source/base/postgresqlsdbc.scp b/scp2/source/base/postgresqlsdbc.scp new file mode 100644 index 000000000..94e693677 --- /dev/null +++ b/scp2/source/base/postgresqlsdbc.scp @@ -0,0 +1,43 @@ +/* -*- 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 "macros.inc" + +#include "AutoInstall/postgresqlsdbc" + +#if defined WITH_POSTGRESQL_SDBC + +Module gid_Module_Optional_PostgresqlSdbc + PackageInfo = "packinfo_office.txt"; + MOD_NAME_DESC(MODULE_OPTIONAL_POSTGRESQLSDBC); + ParentID = gid_Module_Prg_Base_Bin; + Files = (auto_postgresqlsdbc_ALL, + gid_File_PostgresqlSdbc_Rdb, + gid_File_PostgresqlSdbc_Xcd); + Default = YES; + Styles = (); +End + +File gid_File_PostgresqlSdbc_Rdb + TXT_FILE_BODY; + Dir = gid_Brand_Dir_Program_Services; + Name = "postgresql-sdbc.rdb"; + Styles = (PACKED); +End + +File gid_File_PostgresqlSdbc_Xcd + TXT_FILE_BODY; + Dir = gid_Brand_Dir_Share_Registry; + Name = "postgresql.xcd"; + Styles = (PACKED); +End + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/scp2/source/base/postgresqlsdbc.ulf b/scp2/source/base/postgresqlsdbc.ulf new file mode 100644 index 000000000..0d0d27f5f --- /dev/null +++ b/scp2/source/base/postgresqlsdbc.ulf @@ -0,0 +1,16 @@ +/* -*- 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/. + */ + +[STR_NAME_MODULE_OPTIONAL_EXTENSIONS_POSTGRESQLSDBC] +en-US = "PostgreSQL Connector" + +[STR_DESC_MODULE_OPTIONAL_EXTENSIONS_POSTGRESQLSDBC] +en-US = "PostgreSQL Connector" + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/scp2/source/base/registryitem_base.scp b/scp2/source/base/registryitem_base.scp new file mode 100644 index 000000000..ee7932ccd --- /dev/null +++ b/scp2/source/base/registryitem_base.scp @@ -0,0 +1,173 @@ +/* + * 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 . + */ + +#include "macros.inc" + +// new odb file extension + +RegistryItem gid_Regitem_Odb + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + Subkey = ".odb"; + ModuleID = gid_Module_Prg_Base_Bin; + Value = "LibreOffice.DatabaseDocument.1"; +End + +RegistryItem gid_Regitem_Odb_PersistentHandler + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Base_Bin; + Subkey = ".odb\PersistentHandler"; + Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}"; +End + +RegistryItem gid_Regitem_Odb_Shellex_00021500_0000_0000_C000_000000000046 + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Base_Bin; + Subkey = ".odb\shellex\{00021500-0000-0000-C000-000000000046}"; + Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}"; +End + +RegistryItem gid_Regitem_DatabaseDocument_1_Shellex_PropertySheetHandlers_MyPropSheet1 + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Base_Bin; + Subkey = "LibreOffice.DatabaseDocument.1\shellex\PropertySheetHandlers\MyPropSheet1"; + Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}"; +End + +RegistryItem gid_Regitem_Odb_Contenttype + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Base_Bin; + Subkey = ".odb"; + Name = "Content Type"; + Value = "application/vnd.sun.xml.base"; +End + +RegistryItem gid_Regitem_Odb_Mime_Database + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Base_Bin; + Subkey = "MIME\Database\Content Type\application/vnd.sun.xml.base"; + Name = "Extension"; + Value = ".odb"; +End + +RegistryItem gid_Regitem_Openoffice_Databasedocument_1 + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + Subkey = "LibreOffice.DatabaseDocument.1"; + ModuleID = gid_Module_Prg_Base_Bin; + REG_VALUE_LNG(OO_DATABASE) +End + +RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Defaulticon + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + Subkey = "LibreOffice.DatabaseDocument.1\DefaultIcon"; + ModuleID = gid_Module_Prg_Base_Bin; + Value = "<progpath>\program\soffice.bin,11"; +End + +RegistryItem gid_Regitem_Openoffice_Databasedocument_1_AppUserModelID + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Base_Bin; + Subkey = "LibreOffice.DatabaseDocument.1"; + Name = "AppUserModelID"; + Value = "TheDocumentFoundation.LibreOffice.Base"; +End + +RegistryItem gid_Regitem_Openoffice_Databasedocument_1_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Base_Bin; + Subkey = "LibreOffice.DatabaseDocument.1"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(OO_DATABASE) +End + +#ifdef _MSC_VER +RegistryItem gid_Regitem_odb_FullDetails + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Optional_Winexplorerext; + Subkey = "LibreOffice.DatabaseDocument.1"; + Name = "FullDetails"; + Value = "prop:System.PropGroup.Description;System.Title;System.Author;System.Subject;System.Keywords;System.Comment;System.PropGroup.FileSystem;System.ItemNameDisplay;System.ItemType;System.ItemFolderPathDisplay;System.Size;System.DateCreated;System.DateModified;System.FileAttributes;System.ComputerName"; +End +#endif + +RegistryItem gid_Regitem_odb_KindMap + ParentID = PREDEFINED_HKEY_LOCAL_MACHINE; + ModuleID = gid_Module_Prg_Base_Bin; + Subkey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\KindMap"; + Name = ".odb"; + Value = "document"; +End + +RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + Subkey = "LibreOffice.DatabaseDocument.1\shell"; + ModuleID = gid_Module_Prg_Base_Bin; + Value = "open"; +End + +// RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell_Open_Command +// ParentID = PREDEFINED_HKEY_CLASSES_ROOT; +// Subkey = "LibreOffice.DatabaseDocument.1\shell\open\command"; +// ModuleID = gid_Module_Prg_Base_Bin; +// Value = "\"<progpath>\program\soffice.exe\" -o \"%1\""; +// End + +RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell_Open_Command + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + Subkey = "LibreOffice.DatabaseDocument.1\shell\open\command"; + ModuleID = gid_Module_Prg_Base_Bin; + Value = "\"<progpath>\program\sbase.exe\" -o \"%1\""; + Styles = (); +End + +// "OpenWith" Windows Registry keys for .odb + +RegistryItem gid_Regitem_OpenOffice_ODB_OpenWith_Database + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + Subkey = ".odb\OpenWithProgIDs"; + ModuleID = gid_Module_Prg_Base_Bin; + Name = "LibreOffice.DatabaseDocument.1"; + Value = " "; +End + +RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Odb + ParentID = PREDEFINED_HKEY_LOCAL_MACHINE; + Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations"; + ModuleID = gid_Module_Prg_Base_Bin; + Name = ".odb"; + Value = "LibreOffice.DatabaseDocument.1"; + Styles = (); +End + +RegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Sbase_Exe + ParentID = PREDEFINED_HKEY_LOCAL_MACHINE; + Subkey = "Software\Microsoft\Windows\CurrentVersion\App Paths\sbase.exe"; + ModuleID = gid_Module_Prg_Base_Bin; + Value = "<progpath>\program\sbase.exe"; +End + +RegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Sbase_Exepath + ParentID = PREDEFINED_HKEY_LOCAL_MACHINE; + Subkey = "Software\Microsoft\Windows\CurrentVersion\App Paths\sbase.exe"; + ModuleID = gid_Module_Prg_Base_Bin; + Name = "Path"; + Value = "<progpath>"; +End + +// registering the property handler for the supported file types + +REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( odb ) diff --git a/scp2/source/base/registryitem_base.ulf b/scp2/source/base/registryitem_base.ulf new file mode 100644 index 000000000..454eb2d75 --- /dev/null +++ b/scp2/source/base/registryitem_base.ulf @@ -0,0 +1,20 @@ +/* + * 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 . + */ + +[STR_REG_VAL_OO_DATABASE] +en-US = "OpenDocument Database" |