1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
|
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#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 = "opendocument.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_Odb_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Base_Bin;
Subkey = ".odb\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
End
RegistryItem gid_Regitem_DatabaseDocument_1_Shellex_PropertySheetHandlers_MyPropSheet1
ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Base_Bin;
Subkey = "opendocument.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 = "opendocument.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 = "opendocument.DatabaseDocument.1\DefaultIcon";
ModuleID = gid_Module_Prg_Base_Bin;
Value = "<progpath>\program\soffice.bin,11";
End
#ifdef _MSC_VER
RegistryItem gid_Regitem_odb_FullDetails
ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
Subkey = "opendocument.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_Openoffice_Databasedocument_1_Shell
ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "opendocument.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 = "opendocument.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 = "opendocument.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 = "opendocument.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 = "opendocument.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 )
|