1*022bd5b4SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*022bd5b4SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*022bd5b4SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*022bd5b4SAndrew Rist * distributed with this work for additional information
6*022bd5b4SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*022bd5b4SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*022bd5b4SAndrew Rist * "License"); you may not use this file except in compliance
9*022bd5b4SAndrew Rist * with the License.  You may obtain a copy of the License at
10*022bd5b4SAndrew Rist *
11*022bd5b4SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*022bd5b4SAndrew Rist *
13*022bd5b4SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*022bd5b4SAndrew Rist * software distributed under the License is distributed on an
15*022bd5b4SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*022bd5b4SAndrew Rist * KIND, either express or implied.  See the License for the
17*022bd5b4SAndrew Rist * specific language governing permissions and limitations
18*022bd5b4SAndrew Rist * under the License.
19*022bd5b4SAndrew Rist *
20*022bd5b4SAndrew Rist *************************************************************/
21*022bd5b4SAndrew Rist
22*022bd5b4SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "macros.inc"
25cdf0e10cSrcweir
26cdf0e10cSrcweir// MSOLE embedded object in SO7 file format
27cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7b342dc4_139a_4a46_8a93_Db0827ccee9c_
28cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
29cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
30cdf0e10cSrcweir    Subkey = "CLSID\{7B342DC4-139A-4a46-8A93-DB0827CCEE9C}";
31cdf0e10cSrcweir    REG_VALUE_LNG(SO60_SPREADSHEET)
32cdf0e10cSrcweirEnd
33cdf0e10cSrcweir
34cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7b342dc4_139a_4a46_8a93_Db0827ccee9c__Auxusertype_2
35cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
36cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
37cdf0e10cSrcweir    Subkey = "CLSID\{7B342DC4-139A-4a46-8A93-DB0827CCEE9C}\AuxUserType\2";
38cdf0e10cSrcweir    Value = "%PRODUCTNAME";
39cdf0e10cSrcweirEnd
40cdf0e10cSrcweir
41cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7b342dc4_139a_4a46_8a93_Db0827ccee9c__Auxusertype_3
42cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
43cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
44cdf0e10cSrcweir    Subkey = "CLSID\{7B342DC4-139A-4a46-8A93-DB0827CCEE9C}\AuxUserType\3";
45cdf0e10cSrcweir    REG_VALUE_LNG(SO60_SPREADSHEET)
46cdf0e10cSrcweirEnd
47cdf0e10cSrcweir
48cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7b342dc4_139a_4a46_8a93_Db0827ccee9c__Dataformats_Getset_0
49cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
50cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
51cdf0e10cSrcweir    Subkey = "CLSID\{7B342DC4-139A-4a46-8A93-DB0827CCEE9C}\DataFormats\GetSet\0";
52cdf0e10cSrcweir    Value = "Embed Source,1,8,1";
53cdf0e10cSrcweirEnd
54cdf0e10cSrcweir
55cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7b342dc4_139a_4a46_8a93_Db0827ccee9c__Dataformats_Getset_1
56cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
57cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
58cdf0e10cSrcweir    Subkey = "CLSID\{7B342DC4-139A-4a46-8A93-DB0827CCEE9C}\DataFormats\GetSet\1";
59cdf0e10cSrcweir    Value = "3,1,32,1";
60cdf0e10cSrcweirEnd
61cdf0e10cSrcweir
62cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7b342dc4_139a_4a46_8a93_Db0827ccee9c__Dataformats_Getset_2
63cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
64cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
65cdf0e10cSrcweir    Subkey = "CLSID\{7B342DC4-139A-4a46-8A93-DB0827CCEE9C}\DataFormats\GetSet\2";
66cdf0e10cSrcweir    Value = "2,1,16,1";
67cdf0e10cSrcweirEnd
68cdf0e10cSrcweir
69cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7b342dc4_139a_4a46_8a93_Db0827ccee9c__Defaulticon
70cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
71cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
72cdf0e10cSrcweir    Subkey = "CLSID\{7B342DC4-139A-4a46-8A93-DB0827CCEE9C}\DefaultIcon";
73cdf0e10cSrcweir    Value = "<progpath>\program\soffice.exe,0";
74cdf0e10cSrcweirEnd
75cdf0e10cSrcweir
76cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7b342dc4_139a_4a46_8a93_Db0827ccee9c__Inprochandler32
77cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
78cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
79cdf0e10cSrcweir    Subkey = "CLSID\{7B342DC4-139A-4a46-8A93-DB0827CCEE9C}\InprocHandler32";
80cdf0e10cSrcweir    Value = "<progpath>\program\inprocserv.dll";
81cdf0e10cSrcweir    Styles = ();
82cdf0e10cSrcweirEnd
83cdf0e10cSrcweir
84cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7b342dc4_139a_4a46_8a93_Db0827ccee9c__Insertable
85cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
86cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
87cdf0e10cSrcweir    Subkey = "CLSID\{7B342DC4-139A-4a46-8A93-DB0827CCEE9C}\Insertable";
88cdf0e10cSrcweirEnd
89cdf0e10cSrcweir
90cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7b342dc4_139a_4a46_8a93_Db0827ccee9c__Localserver32
91cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
92cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
93cdf0e10cSrcweir    Subkey = "CLSID\{7B342DC4-139A-4a46-8A93-DB0827CCEE9C}\LocalServer32";
94cdf0e10cSrcweir    Value = "<progpath>\program\soffice.exe -nodefault -nologo";
95cdf0e10cSrcweirEnd
96cdf0e10cSrcweir
97cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7b342dc4_139a_4a46_8a93_Db0827ccee9c__Miscstatus
98cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
99cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
100cdf0e10cSrcweir    Subkey = "CLSID\{7B342DC4-139A-4a46-8A93-DB0827CCEE9C}\MiscStatus";
101cdf0e10cSrcweir    Value = "16";
102cdf0e10cSrcweirEnd
103cdf0e10cSrcweir
104cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7b342dc4_139a_4a46_8a93_Db0827ccee9c__Progid
105cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
106cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
107cdf0e10cSrcweir    Subkey = "CLSID\{7B342DC4-139A-4a46-8A93-DB0827CCEE9C}\ProgID";
108cdf0e10cSrcweir    Value = "soffice.StarCalcDocument.6";
109cdf0e10cSrcweirEnd
110cdf0e10cSrcweir
111cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7b342dc4_139a_4a46_8a93_Db0827ccee9c__Programmable
112cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
113cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
114cdf0e10cSrcweir    Subkey = "CLSID\{7B342DC4-139A-4a46-8A93-DB0827CCEE9C}\Programmable";
115cdf0e10cSrcweirEnd
116cdf0e10cSrcweir
117cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7b342dc4_139a_4a46_8a93_Db0827ccee9c__Verb_0
118cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
119cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
120cdf0e10cSrcweir    Subkey = "CLSID\{7B342DC4-139A-4a46-8A93-DB0827CCEE9C}\verb\0";
121cdf0e10cSrcweir    Value = "&Edit,0,0";
122cdf0e10cSrcweirEnd
123cdf0e10cSrcweir
124cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7b342dc4_139a_4a46_8a93_Db0827ccee9c__Verb__1
125cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
126cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
127cdf0e10cSrcweir    Subkey = "CLSID\{7B342DC4-139A-4a46-8A93-DB0827CCEE9C}\verb\-1";
128cdf0e10cSrcweir    Value = "Show,0,0";
129cdf0e10cSrcweirEnd
130cdf0e10cSrcweir
131cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7b342dc4_139a_4a46_8a93_Db0827ccee9c__Verb__2
132cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
133cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
134cdf0e10cSrcweir    Subkey = "CLSID\{7B342DC4-139A-4a46-8A93-DB0827CCEE9C}\verb\-2";
135cdf0e10cSrcweir    Value = "Open,0,0";
136cdf0e10cSrcweirEnd
137cdf0e10cSrcweir
138cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7b342dc4_139a_4a46_8a93_Db0827ccee9c__Versionindependentprogid
139cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
140cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
141cdf0e10cSrcweir    Subkey = "CLSID\{7B342DC4-139A-4a46-8A93-DB0827CCEE9C}\VersionIndependentProgID";
142cdf0e10cSrcweir    Value = "soffice.StarCalcDocument.6";
143cdf0e10cSrcweirEnd
144cdf0e10cSrcweir
145cdf0e10cSrcweir// MSOLE embedded object in OASIS file format
146cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7fa8ae11_B3e3_4d88_Aabf_255526cd1ce8_
147cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
148cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
149cdf0e10cSrcweir    Subkey = "CLSID\{7FA8AE11-B3E3-4D88-AABF-255526CD1CE8}";
150cdf0e10cSrcweir    REG_VALUE_LNG(OO_CALC)
151cdf0e10cSrcweirEnd
152cdf0e10cSrcweir
153cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7fa8ae11_B3e3_4d88_Aabf_255526cd1ce8__Auxusertype_2
154cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
155cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
156cdf0e10cSrcweir    Subkey = "CLSID\{7FA8AE11-B3E3-4D88-AABF-255526CD1CE8}\AuxUserType\2";
157cdf0e10cSrcweir    Value = "%PRODUCTNAME";
158cdf0e10cSrcweirEnd
159cdf0e10cSrcweir
160cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7fa8ae11_B3e3_4d88_Aabf_255526cd1ce8__Auxusertype_3
161cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
162cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
163cdf0e10cSrcweir    Subkey = "CLSID\{7FA8AE11-B3E3-4D88-AABF-255526CD1CE8}\AuxUserType\3";
164cdf0e10cSrcweir    REG_VALUE_LNG(OO_CALC)
165cdf0e10cSrcweirEnd
166cdf0e10cSrcweir
167cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7fa8ae11_B3e3_4d88_Aabf_255526cd1ce8__Dataformats_Getset_0
168cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
169cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
170cdf0e10cSrcweir    Subkey = "CLSID\{7FA8AE11-B3E3-4D88-AABF-255526CD1CE8}\DataFormats\GetSet\0";
171cdf0e10cSrcweir    Value = "Embed Source,1,8,1";
172cdf0e10cSrcweirEnd
173cdf0e10cSrcweir
174cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7fa8ae11_B3e3_4d88_Aabf_255526cd1ce8__Dataformats_Getset_1
175cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
176cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
177cdf0e10cSrcweir    Subkey = "CLSID\{7FA8AE11-B3E3-4D88-AABF-255526CD1CE8}\DataFormats\GetSet\1";
178cdf0e10cSrcweir    Value = "3,1,32,1";
179cdf0e10cSrcweirEnd
180cdf0e10cSrcweir
181cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7fa8ae11_B3e3_4d88_Aabf_255526cd1ce8__Dataformats_Getset_2
182cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
183cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
184cdf0e10cSrcweir    Subkey = "CLSID\{7FA8AE11-B3E3-4D88-AABF-255526CD1CE8}\DataFormats\GetSet\2";
185cdf0e10cSrcweir    Value = "2,1,16,1";
186cdf0e10cSrcweirEnd
187cdf0e10cSrcweir
188cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7fa8ae11_B3e3_4d88_Aabf_255526cd1ce8__Defaulticon
189cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
190cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
191cdf0e10cSrcweir    Subkey = "CLSID\{7FA8AE11-B3E3-4D88-AABF-255526CD1CE8}\DefaultIcon";
192cdf0e10cSrcweir    Value = "<progpath>\program\soffice.exe,0";
193cdf0e10cSrcweirEnd
194cdf0e10cSrcweir
195cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7fa8ae11_B3e3_4d88_Aabf_255526cd1ce8__Inprochandler32
196cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
197cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
198cdf0e10cSrcweir    Subkey = "CLSID\{7FA8AE11-B3E3-4D88-AABF-255526CD1CE8}\InprocHandler32";
199cdf0e10cSrcweir    Value = "<progpath>\program\inprocserv.dll";
200cdf0e10cSrcweir    Styles = ();
201cdf0e10cSrcweirEnd
202cdf0e10cSrcweir
203cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7fa8ae11_B3e3_4d88_Aabf_255526cd1ce8__Insertable
204cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
205cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
206cdf0e10cSrcweir    Subkey = "CLSID\{7FA8AE11-B3E3-4D88-AABF-255526CD1CE8}\Insertable";
207cdf0e10cSrcweirEnd
208cdf0e10cSrcweir
209cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7fa8ae11_B3e3_4d88_Aabf_255526cd1ce8__Localserver32
210cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
211cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
212cdf0e10cSrcweir    Subkey = "CLSID\{7FA8AE11-B3E3-4D88-AABF-255526CD1CE8}\LocalServer32";
213cdf0e10cSrcweir    Value = "<progpath>\program\soffice.exe -nodefault -nologo";
214cdf0e10cSrcweirEnd
215cdf0e10cSrcweir
216cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7fa8ae11_B3e3_4d88_Aabf_255526cd1ce8__Miscstatus
217cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
218cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
219cdf0e10cSrcweir    Subkey = "CLSID\{7FA8AE11-B3E3-4D88-AABF-255526CD1CE8}\MiscStatus";
220cdf0e10cSrcweir    Value = "16";
221cdf0e10cSrcweirEnd
222cdf0e10cSrcweir
223cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7fa8ae11_B3e3_4d88_Aabf_255526cd1ce8__Progid
224cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
225cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
226cdf0e10cSrcweir    Subkey = "CLSID\{7FA8AE11-B3E3-4D88-AABF-255526CD1CE8}\ProgID";
227cdf0e10cSrcweir    Value = "opendocument.CalcDocument.1";
228cdf0e10cSrcweirEnd
229cdf0e10cSrcweir
230cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7fa8ae11_B3e3_4d88_Aabf_255526cd1ce8__Programmable
231cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
232cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
233cdf0e10cSrcweir    Subkey = "CLSID\{7FA8AE11-B3E3-4D88-AABF-255526CD1CE8}\Programmable";
234cdf0e10cSrcweirEnd
235cdf0e10cSrcweir
236cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7fa8ae11_B3e3_4d88_Aabf_255526cd1ce8__Verb_0
237cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
238cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
239cdf0e10cSrcweir    Subkey = "CLSID\{7FA8AE11-B3E3-4D88-AABF-255526CD1CE8}\verb\0";
240cdf0e10cSrcweir    Value = "&Edit,0,0";
241cdf0e10cSrcweirEnd
242cdf0e10cSrcweir
243cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7fa8ae11_B3e3_4d88_Aabf_255526cd1ce8__Verb__1
244cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
245cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
246cdf0e10cSrcweir    Subkey = "CLSID\{7FA8AE11-B3E3-4D88-AABF-255526CD1CE8}\verb\-1";
247cdf0e10cSrcweir    Value = "Show,0,0";
248cdf0e10cSrcweirEnd
249cdf0e10cSrcweir
250cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7fa8ae11_B3e3_4d88_Aabf_255526cd1ce8__Verb__2
251cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
252cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
253cdf0e10cSrcweir    Subkey = "CLSID\{7FA8AE11-B3E3-4D88-AABF-255526CD1CE8}\verb\-2";
254cdf0e10cSrcweir    Value = "Open,0,0";
255cdf0e10cSrcweirEnd
256cdf0e10cSrcweir
257cdf0e10cSrcweirRegistryItem gid_Regitem_Clsid__7fa8ae11_B3e3_4d88_Aabf_255526cd1ce8__Versionindependentprogid
258cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
259cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
260cdf0e10cSrcweir    Subkey = "CLSID\{7FA8AE11-B3E3-4D88-AABF-255526CD1CE8}\VersionIndependentProgID";
261cdf0e10cSrcweir    Value = "opendocument.CalcDocument.1";
262cdf0e10cSrcweirEnd
263cdf0e10cSrcweir
264cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalcdocument_6
265cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
266cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
267cdf0e10cSrcweir    Subkey = "soffice.StarCalcDocument.6";
268cdf0e10cSrcweir    REG_VALUE_LNG(SO60_SPREADSHEET)
269cdf0e10cSrcweirEnd
270cdf0e10cSrcweir
271cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Clsid
272cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
273cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
274cdf0e10cSrcweir    Subkey = "soffice.StarCalcDocument.6\CLSID";
275cdf0e10cSrcweir    Value = "{7B342DC4-139A-4a46-8A93-DB0827CCEE9C}";
276cdf0e10cSrcweirEnd
277cdf0e10cSrcweir
278cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Defaulticon
279cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
280cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
281cdf0e10cSrcweir    Subkey = "soffice.StarCalcDocument.6\DefaultIcon";
282cdf0e10cSrcweir    Value = "<progpath>\program\soffice.exe,29";
283cdf0e10cSrcweirEnd
284cdf0e10cSrcweir
285cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Insertable
286cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
287cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
288cdf0e10cSrcweir    Subkey = "soffice.StarCalcDocument.6\Insertable";
289cdf0e10cSrcweirEnd
290cdf0e10cSrcweir
291cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Protocol_Stdfileediting_Server
292cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
293cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
294cdf0e10cSrcweir    Subkey = "soffice.StarCalcDocument.6\protocol\StdFileEditing\server";
295cdf0e10cSrcweir    Value = "<progpath>\program\soffice.exe";
296cdf0e10cSrcweirEnd
297cdf0e10cSrcweir
298cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Protocol_Stdfileediting_Verb_0
299cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
300cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
301cdf0e10cSrcweir    Subkey = "soffice.StarCalcDocument.6\protocol\StdFileEditing\verb\0";
302cdf0e10cSrcweir    Value = "&Edit";
303cdf0e10cSrcweirEnd
304cdf0e10cSrcweir
305cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Protocol_Stdfileediting_Verb__1
306cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
307cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
308cdf0e10cSrcweir    Subkey = "soffice.StarCalcDocument.6\protocol\StdFileEditing\verb\-1";
309cdf0e10cSrcweir    Value = "&Show";
310cdf0e10cSrcweirEnd
311cdf0e10cSrcweir
312cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Protocol_Stdfileediting_Verb__2
313cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
314cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
315cdf0e10cSrcweir    Subkey = "soffice.StarCalcDocument.6\protocol\StdFileEditing\verb\-2";
316cdf0e10cSrcweir    Value = "&Open";
317cdf0e10cSrcweirEnd
318cdf0e10cSrcweir
319cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Shell
320cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
321cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
322cdf0e10cSrcweir    Subkey = "soffice.StarCalcDocument.6\shell";
323cdf0e10cSrcweir    Value = "open";
324cdf0e10cSrcweirEnd
325cdf0e10cSrcweir
326cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Shell_New
327cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
328cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
329cdf0e10cSrcweir    Subkey = "soffice.StarCalcDocument.6\shell\new";
330cdf0e10cSrcweir    REG_VALUE_LNG(NEW)
331cdf0e10cSrcweirEnd
332cdf0e10cSrcweir
333cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Shell_New_Command
334cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
335cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
336cdf0e10cSrcweir    Subkey = "soffice.StarCalcDocument.6\shell\new\command";
337cdf0e10cSrcweir    Value = "\"<progpath>\program\soffice.exe\" -n \"%1\"";
338cdf0e10cSrcweirEnd
339cdf0e10cSrcweir
340cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Shell_Open_Command
341cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
342cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
343cdf0e10cSrcweir    Subkey = "soffice.StarCalcDocument.6\shell\open\command";
344cdf0e10cSrcweir    Value = "\"<progpath>\program\scalc.exe\" -o \"%1\"";
345cdf0e10cSrcweirEnd
346cdf0e10cSrcweir
347cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Shell_Print_Command
348cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
349cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
350cdf0e10cSrcweir    Subkey = "soffice.StarCalcDocument.6\shell\print\command";
351cdf0e10cSrcweir    Value = "\"<progpath>\program\soffice.exe\" -p \"%1\"";
352cdf0e10cSrcweirEnd
353cdf0e10cSrcweir
354cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Shell_Printto_Command
355cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
356cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
357cdf0e10cSrcweir    Subkey = "soffice.StarCalcDocument.6\shell\printto\command";
358cdf0e10cSrcweir    Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\"";
359cdf0e10cSrcweirEnd
360cdf0e10cSrcweir
361cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalcdocument_Curver
362cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
363cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
364cdf0e10cSrcweir    Subkey = "soffice.StarCalcDocument\CurVer";
365cdf0e10cSrcweir    Value = "soffice.StarCalcDocument.6";
366cdf0e10cSrcweirEnd
367cdf0e10cSrcweir
368cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalctemplate_6
369cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
370cdf0e10cSrcweir    Subkey = "soffice.StarCalcTemplate.6";
371cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
372cdf0e10cSrcweir    REG_VALUE_LNG(SO60_CALC_TEMPLATE)
373cdf0e10cSrcweirEnd
374cdf0e10cSrcweir
375cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalctemplate_6_Defaulticon
376cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
377cdf0e10cSrcweir    Subkey = "soffice.StarCalcTemplate.6\DefaultIcon";
378cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
379cdf0e10cSrcweir    Value = "<progpath>\program\soffice.exe,30";
380cdf0e10cSrcweirEnd
381cdf0e10cSrcweir
382cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalctemplate_6_Shell
383cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
384cdf0e10cSrcweir    Subkey = "soffice.StarCalcTemplate.6\shell";
385cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
386cdf0e10cSrcweir    Value = "new";
387cdf0e10cSrcweirEnd
388cdf0e10cSrcweir
389cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalctemplate_6_Shell_New
390cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
391cdf0e10cSrcweir    Subkey = "soffice.StarCalcTemplate.6\shell\new";
392cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
393cdf0e10cSrcweir    REG_VALUE_LNG(NEW)
394cdf0e10cSrcweirEnd
395cdf0e10cSrcweir
396cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalctemplate_6_Shell_New_Command
397cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
398cdf0e10cSrcweir    Subkey = "soffice.StarCalcTemplate.6\shell\new\command";
399cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
400cdf0e10cSrcweir    Value = "\"<progpath>\program\soffice.exe\" -n \"%1\"";
401cdf0e10cSrcweirEnd
402cdf0e10cSrcweir
403cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalctemplate_6_Shell_Open_Command
404cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
405cdf0e10cSrcweir    Subkey = "soffice.StarCalcTemplate.6\shell\open\command";
406cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
407cdf0e10cSrcweir    Value = "\"<progpath>\program\scalc.exe\" -o \"%1\"";
408cdf0e10cSrcweirEnd
409cdf0e10cSrcweir
410cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalctemplate_6_Shell_Print_Command
411cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
412cdf0e10cSrcweir    Subkey = "soffice.StarCalcTemplate.6\shell\print\command";
413cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
414cdf0e10cSrcweir    Value = "\"<progpath>\program\soffice.exe\" -p \"%1\"";
415cdf0e10cSrcweirEnd
416cdf0e10cSrcweir
417cdf0e10cSrcweirRegistryItem gid_Regitem_Soffice_Starcalctemplate_6_Shell_Printto_Command
418cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
419cdf0e10cSrcweir    Subkey = "soffice.StarCalcTemplate.6\shell\printto\command";
420cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
421cdf0e10cSrcweir    Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\"";
422cdf0e10cSrcweirEnd
423cdf0e10cSrcweir
424cdf0e10cSrcweirRegistryItem gid_Regitem_Sxc_PersistentHandler
425cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
426cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
427cdf0e10cSrcweir    Subkey = ".sxc\PersistentHandler";
428cdf0e10cSrcweir    Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
429cdf0e10cSrcweirEnd
430cdf0e10cSrcweir
431cdf0e10cSrcweirRegistryItem gid_Regitem_Sxc_Shellex_00021500_0000_0000_C000_000000000046
432cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
433cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
434cdf0e10cSrcweir    Subkey = ".sxc\shellex\{00021500-0000-0000-C000-000000000046}";
435cdf0e10cSrcweir    Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
436cdf0e10cSrcweirEnd
437cdf0e10cSrcweir
438cdf0e10cSrcweirRegistryItem gid_Regitem_Sxc_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
439cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
440cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
441cdf0e10cSrcweir    Subkey = ".sxc\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
442cdf0e10cSrcweir    Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
443cdf0e10cSrcweirEnd
444cdf0e10cSrcweir
445cdf0e10cSrcweirRegistryItem gid_Regitem_StarCalcDocument_1_Shellex_PropertySheetHandlers_MyPropSheet1
446cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
447cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
448cdf0e10cSrcweir    Subkey = "soffice.StarCalcDocument.6\shellex\PropertySheetHandlers\MyPropSheet1";
449cdf0e10cSrcweir    Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
450cdf0e10cSrcweirEnd
451cdf0e10cSrcweir
452cdf0e10cSrcweirRegistryItem gid_Regitem_Stc_PersistentHandler
453cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
454cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
455cdf0e10cSrcweir    Subkey = ".stc\PersistentHandler";
456cdf0e10cSrcweir    Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
457cdf0e10cSrcweirEnd
458cdf0e10cSrcweir
459cdf0e10cSrcweirRegistryItem gid_Regitem_Stc_Shellex_00021500_0000_0000_C000_000000000046
460cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
461cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
462cdf0e10cSrcweir    Subkey = ".stc\shellex\{00021500-0000-0000-C000-000000000046}";
463cdf0e10cSrcweir    Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
464cdf0e10cSrcweirEnd
465cdf0e10cSrcweir
466cdf0e10cSrcweirRegistryItem gid_Regitem_Stc_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
467cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
468cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
469cdf0e10cSrcweir    Subkey = ".stc\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
470cdf0e10cSrcweir    Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
471cdf0e10cSrcweirEnd
472cdf0e10cSrcweir
473cdf0e10cSrcweirRegistryItem gid_Regitem_StarCalcTemplate_6_Shellex_PropertySheetHandlers_MyPropSheet1
474cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
475cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
476cdf0e10cSrcweir    Subkey = "soffice.StarCalcTemplate.6\shellex\PropertySheetHandlers\MyPropSheet1";
477cdf0e10cSrcweir    Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
478cdf0e10cSrcweirEnd
479cdf0e10cSrcweir
480cdf0e10cSrcweirRegistryItem gid_Regitem_Stc
481cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
482cdf0e10cSrcweir    Subkey = ".stc";
483cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
484cdf0e10cSrcweir    Value = "soffice.StarCalcTemplate.6";
485cdf0e10cSrcweirEnd
486cdf0e10cSrcweir
487cdf0e10cSrcweirRegistryItem gid_Regitem_Stc_Contenttype
488cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
489cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
490cdf0e10cSrcweir    Subkey = ".stc";
491cdf0e10cSrcweir    Name = "Content Type";
492cdf0e10cSrcweir    Value = "application/vnd.sun.xml.calc.template";
493cdf0e10cSrcweirEnd
494cdf0e10cSrcweir
495cdf0e10cSrcweirRegistryItem gid_Regitem_stc_FullDetails
496cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
497cdf0e10cSrcweir    ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
498cdf0e10cSrcweir    Subkey = "soffice.StarCalcTemplate.6";
499cdf0e10cSrcweir    Name = "FullDetails";
500cdf0e10cSrcweir    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";
501cdf0e10cSrcweirEnd
502cdf0e10cSrcweir
503cdf0e10cSrcweirRegistryItem gid_Regitem_Sxc_Contenttype
504cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
505cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
506cdf0e10cSrcweir    Subkey = ".sxc";
507cdf0e10cSrcweir    Name = "Content Type";
508cdf0e10cSrcweir    Value = "application/vnd.sun.xml.calc";
509cdf0e10cSrcweirEnd
510cdf0e10cSrcweir
511cdf0e10cSrcweirRegistryItem gid_Regitem_Sxc_Mime_Database
512cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
513cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
514cdf0e10cSrcweir    Subkey = "MIME\Database\Content Type\application/vnd.sun.xml.calc";
515cdf0e10cSrcweir    Name = "Extension";
516cdf0e10cSrcweir    Value = ".sxc";
517cdf0e10cSrcweirEnd
518cdf0e10cSrcweir
519cdf0e10cSrcweir
520cdf0e10cSrcweirRegistryItem gid_Regitem__Sxc
521cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
522cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
523cdf0e10cSrcweir    Subkey = ".sxc";
524cdf0e10cSrcweir    Value = "soffice.StarCalcDocument.6";
525cdf0e10cSrcweirEnd
526cdf0e10cSrcweir
527cdf0e10cSrcweirRegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_sxc
528cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
529cdf0e10cSrcweir    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
530cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
531cdf0e10cSrcweir    Name = ".sxc";
532cdf0e10cSrcweir    Value = "soffice.StarCalcDocument.6";
533cdf0e10cSrcweir    Styles = ();
534cdf0e10cSrcweirEnd
535cdf0e10cSrcweir
536cdf0e10cSrcweirRegistryItem gid_Regitem_sxc_FullDetails
537cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
538cdf0e10cSrcweir    ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
539cdf0e10cSrcweir    Subkey = "soffice.StarCalcDocument.6";
540cdf0e10cSrcweir    Name = "FullDetails";
541cdf0e10cSrcweir    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";
542cdf0e10cSrcweirEnd
543cdf0e10cSrcweir
544cdf0e10cSrcweir
545cdf0e10cSrcweir// new ods file extension
546cdf0e10cSrcweir
547cdf0e10cSrcweirRegistryItem gid_Regitem_Ods_PersistentHandler
548cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
549cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
550cdf0e10cSrcweir    Subkey = ".ods\PersistentHandler";
551cdf0e10cSrcweir    Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
552cdf0e10cSrcweirEnd
553cdf0e10cSrcweir
554cdf0e10cSrcweirRegistryItem gid_Regitem_Ods_Shellex_00021500_0000_0000_C000_000000000046
555cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
556cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
557cdf0e10cSrcweir    Subkey = ".ods\shellex\{00021500-0000-0000-C000-000000000046}";
558cdf0e10cSrcweir    Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
559cdf0e10cSrcweirEnd
560cdf0e10cSrcweir
561cdf0e10cSrcweirRegistryItem gid_Regitem_Ods_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
562cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
563cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
564cdf0e10cSrcweir    Subkey = ".ods\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
565cdf0e10cSrcweir    Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
566cdf0e10cSrcweirEnd
567cdf0e10cSrcweir
568cdf0e10cSrcweirRegistryItem gid_Regitem_CalcDocument_1_Shellex_PropertySheetHandlers_MyPropSheet1
569cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
570cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
571cdf0e10cSrcweir    Subkey = "opendocument.CalcDocument.1\shellex\PropertySheetHandlers\MyPropSheet1";
572cdf0e10cSrcweir    Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
573cdf0e10cSrcweirEnd
574cdf0e10cSrcweir
575cdf0e10cSrcweirRegistryItem gid_Regitem__Ods
576cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
577cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
578cdf0e10cSrcweir    Subkey = ".ods";
579cdf0e10cSrcweir    Value = "opendocument.CalcDocument.1";
580cdf0e10cSrcweirEnd
581cdf0e10cSrcweir
582cdf0e10cSrcweirRegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_ods
583cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
584cdf0e10cSrcweir    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
585cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
586cdf0e10cSrcweir    Name = ".ods";
587cdf0e10cSrcweir    Value = "opendocument.CalcDocument.1";
588cdf0e10cSrcweir    Styles = ();
589cdf0e10cSrcweirEnd
590cdf0e10cSrcweir
591cdf0e10cSrcweirRegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_MimeAssociations_ods
592cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
593cdf0e10cSrcweir    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\MimeAssociations";
594cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
595cdf0e10cSrcweir    Name = "application/vnd.oasis.opendocument.spreadsheet";
596cdf0e10cSrcweir    Value = "opendocument.CalcDocument.1";
597cdf0e10cSrcweir    Styles = ();
598cdf0e10cSrcweirEnd
599cdf0e10cSrcweir
600cdf0e10cSrcweirRegistryItem gid_Regitem_Ods_Contenttype
601cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
602cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
603cdf0e10cSrcweir    Subkey = ".ods";
604cdf0e10cSrcweir    Name = "Content Type";
605cdf0e10cSrcweir    Value = "application/vnd.oasis.opendocument.spreadsheet";
606cdf0e10cSrcweirEnd
607cdf0e10cSrcweir
608cdf0e10cSrcweirRegistryItem gid_Regitem_Ods_Mime_Database
609cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
610cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
611cdf0e10cSrcweir    Subkey = "MIME\Database\Content Type\application/vnd.oasis.opendocument.spreadsheet";
612cdf0e10cSrcweir    Name = "Extension";
613cdf0e10cSrcweir    Value = ".ods";
614cdf0e10cSrcweirEnd
615cdf0e10cSrcweir
616cdf0e10cSrcweirRegistryItem gid_Regitem_Ods_Openoffice_Calcdocument_1_Shellnew
617cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
618cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
619cdf0e10cSrcweir    Subkey = ".ods\opendocument.CalcDocument.1\ShellNew";
620cdf0e10cSrcweir    Name = "FileName";
621cdf0e10cSrcweir    Value = "soffice.ods";
622cdf0e10cSrcweirEnd
623cdf0e10cSrcweir
624cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calcdocument_Curver
625cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
626cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
627cdf0e10cSrcweir    Subkey = "opendocument.CalcDocument\CurVer";
628cdf0e10cSrcweir    Value = "opendocument.CalcDocument.1";
629cdf0e10cSrcweirEnd
630cdf0e10cSrcweir
631cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calcdocument_1
632cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
633cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
634cdf0e10cSrcweir    Subkey = "opendocument.CalcDocument.1";
635cdf0e10cSrcweir    REG_VALUE_LNG(OO_CALC)
636cdf0e10cSrcweirEnd
637cdf0e10cSrcweir
638cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calcdocument_1_Clsid
639cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
640cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
641cdf0e10cSrcweir    Subkey = "opendocument.CalcDocument.1\CLSID";
642cdf0e10cSrcweir    Value = "{7FA8AE11-B3E3-4D88-AABF-255526CD1CE8}";
643cdf0e10cSrcweirEnd
644cdf0e10cSrcweir
645cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calcdocument_1_Defaulticon
646cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
647cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
648cdf0e10cSrcweir    Subkey = "opendocument.CalcDocument.1\DefaultIcon";
649cdf0e10cSrcweir    Value = "<progpath>\program\soffice.exe,3";
650cdf0e10cSrcweirEnd
651cdf0e10cSrcweir
652cdf0e10cSrcweirRegistryItem gid_Regitem_ods_FullDetails
653cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
654cdf0e10cSrcweir    ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
655cdf0e10cSrcweir    Subkey = "opendocument.CalcDocument.1";
656cdf0e10cSrcweir    Name = "FullDetails";
657cdf0e10cSrcweir    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";
658cdf0e10cSrcweirEnd
659cdf0e10cSrcweir
660cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calcdocument_1_Insertable
661cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
662cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
663cdf0e10cSrcweir    Subkey = "opendocument.CalcDocument.1\Insertable";
664cdf0e10cSrcweirEnd
665cdf0e10cSrcweir
666cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calcdocument_1_Protocol_Stdfileediting_Server
667cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
668cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
669cdf0e10cSrcweir    Subkey = "opendocument.CalcDocument.1\protocol\StdFileEditing\server";
670cdf0e10cSrcweir    Value = "<progpath>\program\soffice.exe";
671cdf0e10cSrcweirEnd
672cdf0e10cSrcweir
673cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calcdocument_1_Protocol_Stdfileediting_Verb_0
674cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
675cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
676cdf0e10cSrcweir    Subkey = "opendocument.CalcDocument.1\protocol\StdFileEditing\verb\0";
677cdf0e10cSrcweir    Value = "&Edit";
678cdf0e10cSrcweirEnd
679cdf0e10cSrcweir
680cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calcdocument_1_Protocol_Stdfileediting_Verb__1
681cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
682cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
683cdf0e10cSrcweir    Subkey = "opendocument.CalcDocument.1\protocol\StdFileEditing\verb\-1";
684cdf0e10cSrcweir    Value = "&Show";
685cdf0e10cSrcweirEnd
686cdf0e10cSrcweir
687cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calcdocument_1_Protocol_Stdfileediting_Verb__2
688cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
689cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
690cdf0e10cSrcweir    Subkey = "opendocument.CalcDocument.1\protocol\StdFileEditing\verb\-2";
691cdf0e10cSrcweir    Value = "&Open";
692cdf0e10cSrcweirEnd
693cdf0e10cSrcweir
694cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calcdocument_1_Shell
695cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
696cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
697cdf0e10cSrcweir    Subkey = "opendocument.CalcDocument.1\shell";
698cdf0e10cSrcweir    Value = "open";
699cdf0e10cSrcweirEnd
700cdf0e10cSrcweir
701cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calcdocument_1_Shell_New
702cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
703cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
704cdf0e10cSrcweir    Subkey = "opendocument.CalcDocument.1\shell\new";
705cdf0e10cSrcweir    REG_VALUE_LNG(NEW)
706cdf0e10cSrcweirEnd
707cdf0e10cSrcweir
708cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calcdocument_1_Shell_New_Command
709cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
710cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
711cdf0e10cSrcweir    Subkey = "opendocument.CalcDocument.1\shell\new\command";
712cdf0e10cSrcweir    Value = "\"<progpath>\program\soffice.exe\" -n \"%1\"";
713cdf0e10cSrcweirEnd
714cdf0e10cSrcweir
715cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calcdocument_1_Shell_Open_Command
716cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
717cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
718cdf0e10cSrcweir    Subkey = "opendocument.CalcDocument.1\shell\open\command";
719cdf0e10cSrcweir    Value = "\"<progpath>\program\scalc.exe\" -o \"%1\"";
720cdf0e10cSrcweir    Styles = ();
721cdf0e10cSrcweirEnd
722cdf0e10cSrcweir
723cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calcdocument_1_Shell_Print_Command
724cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
725cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
726cdf0e10cSrcweir    Subkey = "opendocument.CalcDocument.1\shell\print\command";
727cdf0e10cSrcweir    Value = "\"<progpath>\program\soffice.exe\" -p \"%1\"";
728cdf0e10cSrcweirEnd
729cdf0e10cSrcweir
730cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calcdocument_1_Shell_Printto_Command
731cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
732cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
733cdf0e10cSrcweir    Subkey = "opendocument.CalcDocument.1\shell\printto\command";
734cdf0e10cSrcweir    Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\"";
735cdf0e10cSrcweirEnd
736cdf0e10cSrcweir
737cdf0e10cSrcweir// new ots file extension
738cdf0e10cSrcweir
739cdf0e10cSrcweirRegistryItem gid_Regitem_Ots_PersistentHandler
740cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
741cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
742cdf0e10cSrcweir    Subkey = ".ots\PersistentHandler";
743cdf0e10cSrcweir    Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
744cdf0e10cSrcweirEnd
745cdf0e10cSrcweir
746cdf0e10cSrcweirRegistryItem gid_Regitem_Ots_Shellex_00021500_0000_0000_C000_000000000046
747cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
748cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
749cdf0e10cSrcweir    Subkey = ".ots\shellex\{00021500-0000-0000-C000-000000000046}";
750cdf0e10cSrcweir    Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
751cdf0e10cSrcweirEnd
752cdf0e10cSrcweir
753cdf0e10cSrcweirRegistryItem gid_Regitem_Ots_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
754cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
755cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
756cdf0e10cSrcweir    Subkey = ".ots\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
757cdf0e10cSrcweir    Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
758cdf0e10cSrcweirEnd
759cdf0e10cSrcweir
760cdf0e10cSrcweirRegistryItem gid_Regitem_CalcTemplate_1_Shellex_PropertySheetHandlers_MyPropSheet1
761cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
762cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
763cdf0e10cSrcweir    Subkey = "opendocument.CalcTemplate.1\shellex\PropertySheetHandlers\MyPropSheet1";
764cdf0e10cSrcweir    Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
765cdf0e10cSrcweirEnd
766cdf0e10cSrcweir
767cdf0e10cSrcweirRegistryItem gid_Regitem_Ots
768cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
769cdf0e10cSrcweir    Subkey = ".ots";
770cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
771cdf0e10cSrcweir    Value = "opendocument.CalcTemplate.1";
772cdf0e10cSrcweirEnd
773cdf0e10cSrcweir
774cdf0e10cSrcweirRegistryItem gid_Regitem_Ots_Contenttype
775cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
776cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
777cdf0e10cSrcweir    Subkey = ".ots";
778cdf0e10cSrcweir    Name = "Content Type";
779cdf0e10cSrcweir    Value = "application/vnd.oasis.opendocument.spreadsheet-template";
780cdf0e10cSrcweirEnd
781cdf0e10cSrcweir
782cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calctemplate_1
783cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
784cdf0e10cSrcweir    Subkey = "opendocument.CalcTemplate.1";
785cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
786cdf0e10cSrcweir    REG_VALUE_LNG(OO_CALC_TEMPLATE)
787cdf0e10cSrcweirEnd
788cdf0e10cSrcweir
789cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calctemplate_1_Defaulticon
790cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
791cdf0e10cSrcweir    Subkey = "opendocument.CalcTemplate.1\DefaultIcon";
792cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
793cdf0e10cSrcweir    Value = "<progpath>\program\soffice.exe,4";
794cdf0e10cSrcweirEnd
795cdf0e10cSrcweir
796cdf0e10cSrcweirRegistryItem gid_Regitem_ots_FullDetails
797cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
798cdf0e10cSrcweir    ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
799cdf0e10cSrcweir    Subkey = "opendocument.CalcTemplate.1";
800cdf0e10cSrcweir    Name = "FullDetails";
801cdf0e10cSrcweir    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";
802cdf0e10cSrcweirEnd
803cdf0e10cSrcweir
804cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calctemplate_1_Shell
805cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
806cdf0e10cSrcweir    Subkey = "opendocument.CalcTemplate.1\shell";
807cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
808cdf0e10cSrcweir    Value = "new";
809cdf0e10cSrcweirEnd
810cdf0e10cSrcweir
811cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calctemplate_1_Shell_New
812cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
813cdf0e10cSrcweir    Subkey = "opendocument.CalcTemplate.1\shell\new";
814cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
815cdf0e10cSrcweir    REG_VALUE_LNG(NEW)
816cdf0e10cSrcweirEnd
817cdf0e10cSrcweir
818cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calctemplate_1_Shell_New_Command
819cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
820cdf0e10cSrcweir    Subkey = "opendocument.CalcTemplate.1\shell\new\command";
821cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
822cdf0e10cSrcweir    Value = "\"<progpath>\program\soffice.exe\" -n \"%1\"";
823cdf0e10cSrcweirEnd
824cdf0e10cSrcweir
825cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calctemplate_1_Shell_Open_Command
826cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
827cdf0e10cSrcweir    Subkey = "opendocument.CalcTemplate.1\shell\open\command";
828cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
829cdf0e10cSrcweir    Value = "\"<progpath>\program\scalc.exe\" -o \"%1\"";
830cdf0e10cSrcweirEnd
831cdf0e10cSrcweir
832cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calctemplate_1_Shell_Print_Command
833cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
834cdf0e10cSrcweir    Subkey = "opendocument.CalcTemplate.1\shell\print\command";
835cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
836cdf0e10cSrcweir    Value = "\"<progpath>\program\soffice.exe\" -p \"%1\"";
837cdf0e10cSrcweirEnd
838cdf0e10cSrcweir
839cdf0e10cSrcweirRegistryItem gid_Regitem_Openoffice_Calctemplate_1_Shell_Printto_Command
840cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
841cdf0e10cSrcweir    Subkey = "opendocument.CalcTemplate.1\shell\printto\command";
842cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
843cdf0e10cSrcweir    Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\"";
844cdf0e10cSrcweirEnd
845cdf0e10cSrcweir
846cdf0e10cSrcweir// "OpenWith" Windows Registry keys for extensions supported by Calc
847cdf0e10cSrcweir
848cdf0e10cSrcweir// .ODS
849cdf0e10cSrcweirRegistryItem gid_Regitem_OpenOffice_ODS_OpenWith_Calc
850cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
851cdf0e10cSrcweir    Subkey = ".ods\OpenWithProgIDs";
852cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
853cdf0e10cSrcweir    Name = "opendocument.CalcDocument.1";
854cdf0e10cSrcweir    Value = " ";
855cdf0e10cSrcweirEnd
856cdf0e10cSrcweir
857cdf0e10cSrcweir// .OTS
858cdf0e10cSrcweirRegistryItem gid_Regitem_OpenOffice_OTS_OpenWith_Calc
859cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
860cdf0e10cSrcweir    Subkey = ".ots\OpenWithProgIDs";
861cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
862cdf0e10cSrcweir    Name = "opendocument.CalcTemplate.1";
863cdf0e10cSrcweir    Value = " ";
864cdf0e10cSrcweirEnd
865cdf0e10cSrcweir
866cdf0e10cSrcweir// .SXC
867cdf0e10cSrcweirRegistryItem gid_Regitem_OpenOffice_SXC_OpenWith_Calc
868cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
869cdf0e10cSrcweir    Subkey = ".sxc\OpenWithProgIDs";
870cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
871cdf0e10cSrcweir    Name = "soffice.StarCalcDocument.6";
872cdf0e10cSrcweir    Value = " ";
873cdf0e10cSrcweirEnd
874cdf0e10cSrcweir
875cdf0e10cSrcweir// .STC
876cdf0e10cSrcweirRegistryItem gid_Regitem_OpenOffice_STC_OpenWith_Calc
877cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
878cdf0e10cSrcweir    Subkey = ".stc\OpenWithProgIDs";
879cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
880cdf0e10cSrcweir    Name = "soffice.StarCalcTemplate.6";
881cdf0e10cSrcweir    Value = " ";
882cdf0e10cSrcweirEnd
883cdf0e10cSrcweir
884cdf0e10cSrcweir// .DIF
885cdf0e10cSrcweirRegistryItem gid_Regitem_OpenOffice_DIF_OpenWith_Calc
886cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
887cdf0e10cSrcweir    Subkey = ".dif\OpenWithProgIDs";
888cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
889cdf0e10cSrcweir    Name = "soffice.StarCalcDocument.6";
890cdf0e10cSrcweir    Value = " ";
891cdf0e10cSrcweirEnd
892cdf0e10cSrcweir
893cdf0e10cSrcweir// .DBF
894cdf0e10cSrcweirRegistryItem gid_Regitem_OpenOffice_DBF_OpenWith_Calc
895cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
896cdf0e10cSrcweir    Subkey = ".dbf\OpenWithProgIDs";
897cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
898cdf0e10cSrcweir    Name = "soffice.StarCalcDocument.6";
899cdf0e10cSrcweir    Value = " ";
900cdf0e10cSrcweirEnd
901cdf0e10cSrcweir
902cdf0e10cSrcweir// .XLW
903cdf0e10cSrcweirRegistryItem gid_Regitem_OpenOffice_XLW_OpenWith_Calc
904cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
905cdf0e10cSrcweir    Subkey = ".xlw\OpenWithProgIDs";
906cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
907cdf0e10cSrcweir    Name = "soffice.StarCalcDocument.6";
908cdf0e10cSrcweir    Value = " ";
909cdf0e10cSrcweirEnd
910cdf0e10cSrcweir
911cdf0e10cSrcweir// .RTF
912cdf0e10cSrcweirRegistryItem gid_Regitem_OpenOffice_RTF_OpenWith_Calc
913cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
914cdf0e10cSrcweir    Subkey = ".rtf\OpenWithProgIDs";
915cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
916cdf0e10cSrcweir    Name = "soffice.StarCalcDocument.6";
917cdf0e10cSrcweir    Value = " ";
918cdf0e10cSrcweirEnd
919cdf0e10cSrcweir
920cdf0e10cSrcweir// .SLK
921cdf0e10cSrcweirRegistryItem gid_Regitem_OpenOffice_SLK_OpenWith_Calc
922cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
923cdf0e10cSrcweir    Subkey = ".slk\OpenWithProgIDs";
924cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
925cdf0e10cSrcweir    Name = "soffice.StarCalcDocument.6";
926cdf0e10cSrcweir    Value = " ";
927cdf0e10cSrcweirEnd
928cdf0e10cSrcweir
929cdf0e10cSrcweir// .CSV
930cdf0e10cSrcweirRegistryItem gid_Regitem_OpenOffice_CSV_OpenWith_Calc
931cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
932cdf0e10cSrcweir    Subkey = ".csv\OpenWithProgIDs";
933cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
934cdf0e10cSrcweir    Name = "soffice.StarCalcDocument.6";
935cdf0e10cSrcweir    Value = " ";
936cdf0e10cSrcweirEnd
937cdf0e10cSrcweir
938cdf0e10cSrcweir// .TXT
939cdf0e10cSrcweirRegistryItem gid_Regitem_OpenOffice_TXT_OpenWith_Calc
940cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
941cdf0e10cSrcweir    Subkey = ".txt\OpenWithProgIDs";
942cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
943cdf0e10cSrcweir    Name = "soffice.StarCalcDocument.6";
944cdf0e10cSrcweir    Value = " ";
945cdf0e10cSrcweirEnd
946cdf0e10cSrcweir
947cdf0e10cSrcweir// .HTM
948cdf0e10cSrcweirRegistryItem gid_Regitem_OpenOffice_HTM_OpenWith_Calc
949cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
950cdf0e10cSrcweir    Subkey = ".htm\OpenWithProgIDs";
951cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
952cdf0e10cSrcweir    Name = "soffice.StarCalcDocument.6";
953cdf0e10cSrcweir    Value = " ";
954cdf0e10cSrcweirEnd
955cdf0e10cSrcweir
956cdf0e10cSrcweir// .HTML
957cdf0e10cSrcweirRegistryItem gid_Regitem_OpenOffice_HTML_OpenWith_Calc
958cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
959cdf0e10cSrcweir    Subkey = ".html\OpenWithProgIDs";
960cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
961cdf0e10cSrcweir    Name = "soffice.StarCalcDocument.6";
962cdf0e10cSrcweir    Value = " ";
963cdf0e10cSrcweirEnd
964cdf0e10cSrcweir
965cdf0e10cSrcweir// .WK1
966cdf0e10cSrcweirRegistryItem gid_Regitem_OpenOffice_WK1_OpenWith_Calc
967cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
968cdf0e10cSrcweir    Subkey = ".wk1\OpenWithProgIDs";
969cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
970cdf0e10cSrcweir    Name = "soffice.StarCalcDocument.6";
971cdf0e10cSrcweir    Value = " ";
972cdf0e10cSrcweirEnd
973cdf0e10cSrcweir
974cdf0e10cSrcweir// .WKS
975cdf0e10cSrcweirRegistryItem gid_Regitem_OpenOffice_WKS_OpenWith_Calc
976cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
977cdf0e10cSrcweir    Subkey = ".wks\OpenWithProgIDs";
978cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
979cdf0e10cSrcweir    Name = "soffice.StarCalcDocument.6";
980cdf0e10cSrcweir    Value = " ";
981cdf0e10cSrcweirEnd
982cdf0e10cSrcweir
983cdf0e10cSrcweir// .123
984cdf0e10cSrcweirRegistryItem gid_Regitem_OpenOffice_123_OpenWith_Calc
985cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
986cdf0e10cSrcweir    Subkey = ".123\OpenWithProgIDs";
987cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
988cdf0e10cSrcweir    Name = "soffice.StarCalcDocument.6";
989cdf0e10cSrcweir    Value = " ";
990cdf0e10cSrcweirEnd
991cdf0e10cSrcweir
992cdf0e10cSrcweir// .XML
993cdf0e10cSrcweirRegistryItem gid_Regitem_OpenOffice_XML_OpenWith_Calc
994cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
995cdf0e10cSrcweir    Subkey = ".xml\OpenWithProgIDs";
996cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
997cdf0e10cSrcweir    Name = "soffice.StarCalcDocument.6";
998cdf0e10cSrcweir    Value = " ";
999cdf0e10cSrcweirEnd
1000cdf0e10cSrcweir
1001cdf0e10cSrcweir// "FileAssociations" entries
1002cdf0e10cSrcweir
1003cdf0e10cSrcweirRegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Stc
1004cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1005cdf0e10cSrcweir    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1006cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
1007cdf0e10cSrcweir    Name = ".stc";
1008cdf0e10cSrcweir    Value = "soffice.StarCalcTemplate.6";
1009cdf0e10cSrcweir    Styles = ();
1010cdf0e10cSrcweirEnd
1011cdf0e10cSrcweir
1012cdf0e10cSrcweirRegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Dif
1013cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1014cdf0e10cSrcweir    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1015cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
1016cdf0e10cSrcweir    Name = ".dif";
1017cdf0e10cSrcweir    Value = "soffice.StarCalcDocument.6";
1018cdf0e10cSrcweir    Styles = ();
1019cdf0e10cSrcweirEnd
1020cdf0e10cSrcweir
1021cdf0e10cSrcweirRegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Dbf
1022cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1023cdf0e10cSrcweir    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1024cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
1025cdf0e10cSrcweir    Name = ".dbf";
1026cdf0e10cSrcweir    Value = "soffice.StarCalcDocument.6";
1027cdf0e10cSrcweir    Styles = ();
1028cdf0e10cSrcweirEnd
1029cdf0e10cSrcweir
1030cdf0e10cSrcweirRegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Slk
1031cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1032cdf0e10cSrcweir    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1033cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
1034cdf0e10cSrcweir    Name = ".slk";
1035cdf0e10cSrcweir    Value = "soffice.StarCalcDocument.6";
1036cdf0e10cSrcweir    Styles = ();
1037cdf0e10cSrcweirEnd
1038cdf0e10cSrcweir
1039cdf0e10cSrcweirRegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Csv
1040cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1041cdf0e10cSrcweir    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1042cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
1043cdf0e10cSrcweir    Name = ".csv";
1044cdf0e10cSrcweir    Value = "soffice.StarCalcDocument.6";
1045cdf0e10cSrcweir    Styles = ();
1046cdf0e10cSrcweirEnd
1047cdf0e10cSrcweir
1048cdf0e10cSrcweirRegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Xlw
1049cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1050cdf0e10cSrcweir    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1051cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
1052cdf0e10cSrcweir    Name = ".xlw";
1053cdf0e10cSrcweir    Value = "soffice.StarCalcDocument.6";
1054cdf0e10cSrcweir    Styles = ();
1055cdf0e10cSrcweirEnd
1056cdf0e10cSrcweir
1057cdf0e10cSrcweirRegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Wk1
1058cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1059cdf0e10cSrcweir    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1060cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
1061cdf0e10cSrcweir    Name = ".wk1";
1062cdf0e10cSrcweir    Value = "soffice.StarCalcDocument.6";
1063cdf0e10cSrcweir    Styles = ();
1064cdf0e10cSrcweirEnd
1065cdf0e10cSrcweir
1066cdf0e10cSrcweirRegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Wks
1067cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1068cdf0e10cSrcweir    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1069cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
1070cdf0e10cSrcweir    Name = ".wks";
1071cdf0e10cSrcweir    Value = "soffice.StarCalcDocument.6";
1072cdf0e10cSrcweir    Styles = ();
1073cdf0e10cSrcweirEnd
1074cdf0e10cSrcweir
1075cdf0e10cSrcweirRegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_123
1076cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1077cdf0e10cSrcweir    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1078cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
1079cdf0e10cSrcweir    Name = ".123";
1080cdf0e10cSrcweir    Value = "soffice.StarCalcDocument.6";
1081cdf0e10cSrcweir    Styles = ();
1082cdf0e10cSrcweirEnd
1083cdf0e10cSrcweir
1084cdf0e10cSrcweir
1085cdf0e10cSrcweirRegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Scalc_Exe
1086cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1087cdf0e10cSrcweir    Subkey = "Software\Microsoft\Windows\CurrentVersion\App Paths\scalc.exe";
1088cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
1089cdf0e10cSrcweir    Value = "<progpath>\program\scalc.exe";
1090cdf0e10cSrcweirEnd
1091cdf0e10cSrcweir
1092cdf0e10cSrcweirRegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Scalc_Exepath
1093cdf0e10cSrcweir    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1094cdf0e10cSrcweir    Subkey = "Software\Microsoft\Windows\CurrentVersion\App Paths\scalc.exe";
1095cdf0e10cSrcweir    ModuleID = gid_Module_Prg_Calc_Bin;
1096cdf0e10cSrcweir    Name = "Path";
1097cdf0e10cSrcweir    Value = "<progpath>";
1098cdf0e10cSrcweirEnd
1099cdf0e10cSrcweir
1100cdf0e10cSrcweir// registering the property handler for the supported file types
1101cdf0e10cSrcweir
1102cdf0e10cSrcweirREGISTER_PROPERTY_HANDLER_FOR_EXTENSION( ods )
1103cdf0e10cSrcweirREGISTER_PROPERTY_HANDLER_FOR_EXTENSION( ots )
1104cdf0e10cSrcweirREGISTER_PROPERTY_HANDLER_FOR_EXTENSION( sxc )
1105cdf0e10cSrcweirREGISTER_PROPERTY_HANDLER_FOR_EXTENSION( stc )
1106cdf0e10cSrcweir
1107cdf0e10cSrcweir// registering the mso file types
1108cdf0e10cSrcweir
1109cdf0e10cSrcweirCONDITIONAL_REGISTER_DOC_EXTENSION( Xls,  gid_Module_Prg_Calc_MSO_Reg, xls,  XLS,  MS_EXCEL_WORKSHEET_OLD, 29, scalc.exe, open, Calc )
1110cdf0e10cSrcweirCONDITIONAL_REGISTER_DOC_EXTENSION( Xlsx, gid_Module_Prg_Calc_MSO_Reg, xlsx, XLSX, MS_EXCEL_WORKSHEET, 29, scalc.exe, open, Calc )
1111cdf0e10cSrcweirCONDITIONAL_REGISTER_DOC_EXTENSION( Xlsm, gid_Module_Prg_Calc_MSO_Reg, xlsm, XLSM, MS_EXCEL_WORKSHEET, 29, scalc.exe, open, Calc )
1112cdf0e10cSrcweirCONDITIONAL_REGISTER_DOC_EXTENSION( Xlsb, gid_Module_Prg_Calc_MSO_Reg, xlsb, XLSB, MS_EXCEL_WORKSHEET, 29, scalc.exe, open, Calc )
1113cdf0e10cSrcweirCONDITIONAL_REGISTER_DOCTEMPLATE_EXTENSION( Xlt,  gid_Module_Prg_Calc_MSO_Reg, xlt,  XLT,  MS_EXCEL_TEMPLATE_OLD, 30, scalc.exe, new, Calc )
1114cdf0e10cSrcweirCONDITIONAL_REGISTER_DOCTEMPLATE_EXTENSION( Xltx, gid_Module_Prg_Calc_MSO_Reg, xltx, XLTX, MS_EXCEL_TEMPLATE, 30, scalc.exe, new, Calc )
1115cdf0e10cSrcweirCONDITIONAL_REGISTER_DOCTEMPLATE_EXTENSION( Xltm, gid_Module_Prg_Calc_MSO_Reg, xltm, XLTM, MS_EXCEL_TEMPLATE, 30, scalc.exe, new, Calc )
1116cdf0e10cSrcweir
1117