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 .
21 // new odb file extension
23 RegistryItem gid_Regitem_Odb
24 ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
26 ModuleID = gid_Module_Prg_Base_Bin;
27 Value = "LibreOffice.DatabaseDocument.1";
30 RegistryItem gid_Regitem_Odb_PersistentHandler
31 ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
32 ModuleID = gid_Module_Prg_Base_Bin;
33 Subkey = ".odb\PersistentHandler";
34 Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
37 RegistryItem gid_Regitem_Odb_Shellex_00021500_0000_0000_C000_000000000046
38 ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
39 ModuleID = gid_Module_Prg_Base_Bin;
40 Subkey = ".odb\shellex\{00021500-0000-0000-C000-000000000046}";
41 Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
44 RegistryItem gid_Regitem_DatabaseDocument_1_Shellex_PropertySheetHandlers_MyPropSheet1
45 ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
46 ModuleID = gid_Module_Prg_Base_Bin;
47 Subkey = "LibreOffice.DatabaseDocument.1\shellex\PropertySheetHandlers\MyPropSheet1";
48 Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
51 RegistryItem gid_Regitem_Odb_Contenttype
52 ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
53 ModuleID = gid_Module_Prg_Base_Bin;
55 Name = "Content Type";
56 Value = "application/vnd.sun.xml.base";
59 RegistryItem gid_Regitem_Odb_Mime_Database
60 ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
61 ModuleID = gid_Module_Prg_Base_Bin;
62 Subkey = "MIME\Database\Content Type\application/vnd.sun.xml.base";
67 RegistryItem gid_Regitem_Openoffice_Databasedocument_1
68 ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
69 Subkey = "LibreOffice.DatabaseDocument.1";
70 ModuleID = gid_Module_Prg_Base_Bin;
71 REG_VALUE_LNG(OO_DATABASE)
74 RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Defaulticon
75 ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
76 Subkey = "LibreOffice.DatabaseDocument.1\DefaultIcon";
77 ModuleID = gid_Module_Prg_Base_Bin;
78 Value = "<progpath>\program\soffice.bin,11";
81 RegistryItem gid_Regitem_Openoffice_Databasedocument_1_AppUserModelID
82 ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
83 ModuleID = gid_Module_Prg_Base_Bin;
84 Subkey = "LibreOffice.DatabaseDocument.1";
85 Name = "AppUserModelID";
86 Value = "TheDocumentFoundation.LibreOffice.Base";
89 RegistryItem gid_Regitem_Openoffice_Databasedocument_1_FriendlyTypeName
90 ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
91 ModuleID = gid_Module_Prg_Base_Bin;
92 Subkey = "LibreOffice.DatabaseDocument.1";
93 Name = "FriendlyTypeName";
94 REG_VALUE_LNG(OO_DATABASE)
98 RegistryItem gid_Regitem_odb_FullDetails
99 ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
100 ModuleID = gid_Module_Optional_Winexplorerext;
101 Subkey = "LibreOffice.DatabaseDocument.1";
102 Name = "FullDetails";
103 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";
107 RegistryItem gid_Regitem_odb_KindMap
108 ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
109 ModuleID = gid_Module_Prg_Base_Bin;
110 Subkey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\KindMap";
115 RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell
116 ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
117 Subkey = "LibreOffice.DatabaseDocument.1\shell";
118 ModuleID = gid_Module_Prg_Base_Bin;
122 // RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell_Open_Command
123 // ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
124 // Subkey = "LibreOffice.DatabaseDocument.1\shell\open\command";
125 // ModuleID = gid_Module_Prg_Base_Bin;
126 // Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
129 RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell_Open_Command
130 ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
131 Subkey = "LibreOffice.DatabaseDocument.1\shell\open\command";
132 ModuleID = gid_Module_Prg_Base_Bin;
133 Value = "\"<progpath>\program\sbase.exe\" -o \"%1\"";
137 // "OpenWith" Windows Registry keys for .odb
139 RegistryItem gid_Regitem_OpenOffice_ODB_OpenWith_Database
140 ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
141 Subkey = ".odb\OpenWithProgIDs";
142 ModuleID = gid_Module_Prg_Base_Bin;
143 Name = "LibreOffice.DatabaseDocument.1";
147 RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Odb
148 ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
149 Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
150 ModuleID = gid_Module_Prg_Base_Bin;
152 Value = "LibreOffice.DatabaseDocument.1";
156 RegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Sbase_Exe
157 ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
158 Subkey = "Software\Microsoft\Windows\CurrentVersion\App Paths\sbase.exe";
159 ModuleID = gid_Module_Prg_Base_Bin;
160 Value = "<progpath>\program\sbase.exe";
163 RegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Sbase_Exepath
164 ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
165 Subkey = "Software\Microsoft\Windows\CurrentVersion\App Paths\sbase.exe";
166 ModuleID = gid_Module_Prg_Base_Bin;
168 Value = "<progpath>";
171 // registering the property handler for the supported file types
173 REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( odb )