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