update dev300-m58
[ooovba.git] / scp2 / source / base / registryitem_base.scp
blob616084e9b967e6476bd3f572274cdbf50ce6342b
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  * 
5  * Copyright 2008 by Sun Microsystems, Inc.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * $RCSfile: registryitem_base.scp,v $
10  * $Revision: 1.9 $
11  *
12  * This file is part of OpenOffice.org.
13  *
14  * OpenOffice.org is free software: you can redistribute it and/or modify
15  * it under the terms of the GNU Lesser General Public License version 3
16  * only, as published by the Free Software Foundation.
17  *
18  * OpenOffice.org is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  * GNU Lesser General Public License version 3 for more details
22  * (a copy is included in the LICENSE file that accompanied this code).
23  *
24  * You should have received a copy of the GNU Lesser General Public License
25  * version 3 along with OpenOffice.org.  If not, see
26  * <http://www.openoffice.org/license.html>
27  * for a copy of the LGPLv3 License.
28  *
29  ************************************************************************/
31 #include "macros.inc"
33 // new odb file extension
35 RegistryItem gid_Regitem_Odb
36     ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
37     Subkey = ".odb";
38     ModuleID = gid_Module_Prg_Base_Bin;
39     Value = "opendocument.DatabaseDocument.1";
40 End
42 RegistryItem gid_Regitem_Odb_PersistentHandler
43     ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
44     ModuleID = gid_Module_Prg_Base_Bin;
45     Subkey = ".odb\PersistentHandler";
46     Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
47 End
49 RegistryItem gid_Regitem_Odb_Shellex_00021500_0000_0000_C000_000000000046
50     ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
51     ModuleID = gid_Module_Prg_Base_Bin;
52     Subkey = ".odb\shellex\{00021500-0000-0000-C000-000000000046}";
53     Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
54 End
56 RegistryItem gid_Regitem_Odb_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
57     ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
58     ModuleID = gid_Module_Prg_Base_Bin;
59     Subkey = ".odb\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
60     Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
61 End
63 RegistryItem gid_Regitem_DatabaseDocument_1_Shellex_PropertySheetHandlers_MyPropSheet1
64     ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
65     ModuleID = gid_Module_Prg_Base_Bin;
66     Subkey = "opendocument.DatabaseDocument.1\shellex\PropertySheetHandlers\MyPropSheet1";
67     Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
68 End
70 RegistryItem gid_Regitem_Odb_Contenttype
71     ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
72     ModuleID = gid_Module_Prg_Base_Bin;
73     Subkey = ".odb";
74     Name = "Content Type";
75     Value = "application/vnd.sun.xml.base";
76 End
78 RegistryItem gid_Regitem_Odb_Mime_Database
79         ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
80         ModuleID = gid_Module_Prg_Base_Bin;
81         Subkey = "MIME\Database\Content Type\application/vnd.sun.xml.base";
82         Name = "Extension";
83         Value = ".odb";
84 End
86 RegistryItem gid_Regitem_Openoffice_Databasedocument_1
87     ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
88     Subkey = "opendocument.DatabaseDocument.1";
89     ModuleID = gid_Module_Prg_Base_Bin;
90     REG_VALUE_LNG(OO_DATABASE)
91 End
93 RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Defaulticon
94     ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
95     Subkey = "opendocument.DatabaseDocument.1\DefaultIcon";
96     ModuleID = gid_Module_Prg_Base_Bin;
97     Value = "<progpath>\program\soffice.exe,13";
98 End
100 RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell
101     ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
102     Subkey = "opendocument.DatabaseDocument.1\shell";
103     ModuleID = gid_Module_Prg_Base_Bin;
104     Value = "open";
107 // RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell_Open_Command
108 //     ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
109 //     Subkey = "opendocument.DatabaseDocument.1\shell\open\command";
110 //     ModuleID = gid_Module_Prg_Base_Bin;
111 //     Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
112 // End
114 RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell_Open_Command
115     ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
116     Subkey = "opendocument.DatabaseDocument.1\shell\open\command";
117     ModuleID = gid_Module_Prg_Base_Bin;
118     Value = "\"<progpath>\program\sbase.exe\" -o \"%1\"";
119     Styles = ();
122 // "OpenWith" Windows Registry keys for .odb
124 RegistryItem gid_Regitem_OpenOffice_ODB_OpenWith_Database
125     ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
126     Subkey = ".odb\OpenWithProgIDs";
127     ModuleID = gid_Module_Prg_Base_Bin;
128     Name = "opendocument.DatabaseDocument.1";
129     Value = " ";
132 RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Odb
133     ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
134     Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
135     ModuleID = gid_Module_Prg_Base_Bin;
136     Name = ".odb";
137     Value = "opendocument.DatabaseDocument.1";
138     Styles = ();
141 RegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Sbase_Exe
142     ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
143     Subkey = "Software\Microsoft\Windows\CurrentVersion\App Paths\sbase.exe";
144     ModuleID = gid_Module_Prg_Base_Bin;
145     Value = "<progpath>\program\sbase.exe";
148 RegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Sbase_Exepath
149     ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
150     Subkey = "Software\Microsoft\Windows\CurrentVersion\App Paths\sbase.exe";
151     ModuleID = gid_Module_Prg_Base_Bin;
152     Name = "Path";
153     Value = "<progpath>";