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