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 ComponentCondition = "VersionNT >= 601";
85 Subkey = "LibreOffice.DatabaseDocument.1";
86 Name = "AppUserModelID";
87 Value = "TheDocumentFoundation.LibreOffice.Base";
90 RegistryItem gid_Regitem_Openoffice_Databasedocument_1_FriendlyTypeName
91 ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
92 ModuleID = gid_Module_Prg_Base_Bin;
93 Subkey = "LibreOffice.DatabaseDocument.1";
94 Name = "FriendlyTypeName";
95 REG_VALUE_LNG(OO_DATABASE)
99 RegistryItem gid_Regitem_odb_FullDetails
100 ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
101 ModuleID = gid_Module_Optional_Winexplorerext;
102 Subkey = "LibreOffice.DatabaseDocument.1";
103 Name = "FullDetails";
104 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";
108 RegistryItem gid_Regitem_odb_KindMap
109 ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
110 ModuleID = gid_Module_Prg_Base_Bin;
111 ComponentCondition = "VersionNT >= 600";
112 Subkey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\KindMap";
117 RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell
118 ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
119 Subkey = "LibreOffice.DatabaseDocument.1\shell";
120 ModuleID = gid_Module_Prg_Base_Bin;
124 // RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell_Open_Command
125 // ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
126 // Subkey = "LibreOffice.DatabaseDocument.1\shell\open\command";
127 // ModuleID = gid_Module_Prg_Base_Bin;
128 // Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
131 RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell_Open_Command
132 ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
133 Subkey = "LibreOffice.DatabaseDocument.1\shell\open\command";
134 ModuleID = gid_Module_Prg_Base_Bin;
135 Value = "\"<progpath>\program\sbase.exe\" -o \"%1\"";
139 // "OpenWith" Windows Registry keys for .odb
141 RegistryItem gid_Regitem_OpenOffice_ODB_OpenWith_Database
142 ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
143 Subkey = ".odb\OpenWithProgIDs";
144 ModuleID = gid_Module_Prg_Base_Bin;
145 Name = "LibreOffice.DatabaseDocument.1";
149 RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Odb
150 ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
151 Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
152 ModuleID = gid_Module_Prg_Base_Bin;
154 Value = "LibreOffice.DatabaseDocument.1";
158 RegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Sbase_Exe
159 ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
160 Subkey = "Software\Microsoft\Windows\CurrentVersion\App Paths\sbase.exe";
161 ModuleID = gid_Module_Prg_Base_Bin;
162 Value = "<progpath>\program\sbase.exe";
165 RegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Sbase_Exepath
166 ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
167 Subkey = "Software\Microsoft\Windows\CurrentVersion\App Paths\sbase.exe";
168 ModuleID = gid_Module_Prg_Base_Bin;
170 Value = "<progpath>";
173 // registering the property handler for the supported file types
175 REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( odb )