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#include "macros.inc"
28
29// MSOLE embedded object in SO7 file format
30RegistryItem gid_Regitem_Clsid__D0484de6_Aaee_468a_991f_8d4b0737b57a_
31    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
32    ModuleID = gid_Module_Prg_Math_Bin;
33    Subkey = "CLSID\{D0484DE6-AAEE-468a-991F-8D4B0737B57A}";
34    REG_VALUE_LNG(SO60_FORMULA)
35End
36
37RegistryItem gid_Regitem_Clsid__D0484de6_Aaee_468a_991f_8d4b0737b57a__Auxusertype_2
38    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
39    ModuleID = gid_Module_Prg_Math_Bin;
40    Subkey = "CLSID\{D0484DE6-AAEE-468a-991F-8D4B0737B57A}\AuxUserType\2";
41    Value = "%PRODUCTNAME";
42End
43
44RegistryItem gid_Regitem_Clsid__D0484de6_Aaee_468a_991f_8d4b0737b57a__Auxusertype_3
45    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
46    ModuleID = gid_Module_Prg_Math_Bin;
47    Subkey = "CLSID\{D0484DE6-AAEE-468a-991F-8D4B0737B57A}\AuxUserType\3";
48    REG_VALUE_LNG(SO60_FORMULA)
49End
50
51RegistryItem gid_Regitem_Clsid__D0484de6_Aaee_468a_991f_8d4b0737b57a__Dataformats_Getset_0
52    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
53    ModuleID = gid_Module_Prg_Math_Bin;
54    Subkey = "CLSID\{D0484DE6-AAEE-468a-991F-8D4B0737B57A}\DataFormats\GetSet\0";
55    Value = "Embed Source,1,8,1";
56End
57
58RegistryItem gid_Regitem_Clsid__D0484de6_Aaee_468a_991f_8d4b0737b57a__Dataformats_Getset_1
59    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
60    ModuleID = gid_Module_Prg_Math_Bin;
61    Subkey = "CLSID\{D0484DE6-AAEE-468a-991F-8D4B0737B57A}\DataFormats\GetSet\1";
62    Value = "3,1,32,1";
63End
64
65RegistryItem gid_Regitem_Clsid__D0484de6_Aaee_468a_991f_8d4b0737b57a__Dataformats_Getset_2
66    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
67    ModuleID = gid_Module_Prg_Math_Bin;
68    Subkey = "CLSID\{D0484DE6-AAEE-468a-991F-8D4B0737B57A}\DataFormats\GetSet\2";
69    Value = "2,1,16,1";
70End
71
72RegistryItem gid_Regitem_Clsid__D0484de6_Aaee_468a_991f_8d4b0737b57a__Defaulticon
73    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
74    ModuleID = gid_Module_Prg_Math_Bin;
75    Subkey = "CLSID\{D0484DE6-AAEE-468a-991F-8D4B0737B57A}\DefaultIcon";
76    Value = "<progpath>\program\soffice.exe,0";
77End
78
79RegistryItem gid_Regitem_Clsid__D0484de6_Aaee_468a_991f_8d4b0737b57a__Inprochandler32
80    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
81    ModuleID = gid_Module_Prg_Math_Bin;
82    Subkey = "CLSID\{D0484DE6-AAEE-468a-991F-8D4B0737B57A}\InprocHandler32";
83    Value = "<progpath>\program\inprocserv.dll";
84    Styles = ();
85End
86
87RegistryItem gid_Regitem_Clsid__D0484de6_Aaee_468a_991f_8d4b0737b57a__Insertable
88    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
89    ModuleID = gid_Module_Prg_Math_Bin;
90    Subkey = "CLSID\{D0484DE6-AAEE-468a-991F-8D4B0737B57A}\Insertable";
91End
92
93RegistryItem gid_Regitem_Clsid__D0484de6_Aaee_468a_991f_8d4b0737b57a__Localserver32
94    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
95    ModuleID = gid_Module_Prg_Math_Bin;
96    Subkey = "CLSID\{D0484DE6-AAEE-468a-991F-8D4B0737B57A}\LocalServer32";
97    Value = "<progpath>\program\soffice.exe -nodefault -nologo";
98End
99
100RegistryItem gid_Regitem_Clsid__D0484de6_Aaee_468a_991f_8d4b0737b57a__Miscstatus
101    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
102    ModuleID = gid_Module_Prg_Math_Bin;
103    Subkey = "CLSID\{D0484DE6-AAEE-468a-991F-8D4B0737B57A}\MiscStatus";
104    Value = "16";
105End
106
107RegistryItem gid_Regitem_Clsid__D0484de6_Aaee_468a_991f_8d4b0737b57a__Progid
108    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
109    ModuleID = gid_Module_Prg_Math_Bin;
110    Subkey = "CLSID\{D0484DE6-AAEE-468a-991F-8D4B0737B57A}\ProgID";
111    Value = "soffice.StarMathDocument.6";
112End
113
114RegistryItem gid_Regitem_Clsid__D0484de6_Aaee_468a_991f_8d4b0737b57a__Programmable
115    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
116    ModuleID = gid_Module_Prg_Math_Bin;
117    Subkey = "CLSID\{D0484DE6-AAEE-468a-991F-8D4B0737B57A}\Programmable";
118End
119
120RegistryItem gid_Regitem_Clsid__D0484de6_Aaee_468a_991f_8d4b0737b57a__Verb_0
121    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
122    ModuleID = gid_Module_Prg_Math_Bin;
123    Subkey = "CLSID\{D0484DE6-AAEE-468a-991F-8D4B0737B57A}\verb\0";
124    Value = "&Edit,0,0";
125End
126
127RegistryItem gid_Regitem_Clsid__D0484de6_Aaee_468a_991f_8d4b0737b57a__Verb__1
128    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
129    ModuleID = gid_Module_Prg_Math_Bin;
130    Subkey = "CLSID\{D0484DE6-AAEE-468a-991F-8D4B0737B57A}\verb\-1";
131    Value = "Show,0,0";
132End
133
134RegistryItem gid_Regitem_Clsid__D0484de6_Aaee_468a_991f_8d4b0737b57a__Verb__2
135    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
136    ModuleID = gid_Module_Prg_Math_Bin;
137    Subkey = "CLSID\{D0484DE6-AAEE-468a-991F-8D4B0737B57A}\verb\-2";
138    Value = "Open,0,0";
139End
140
141RegistryItem gid_Regitem_Clsid__D0484de6_Aaee_468a_991f_8d4b0737b57a__Versionindependentprogid
142    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
143    ModuleID = gid_Module_Prg_Math_Bin;
144    Subkey = "CLSID\{D0484DE6-AAEE-468a-991F-8D4B0737B57A}\VersionIndependentProgID";
145    Value = "soffice.StarMathDocument.6";
146End
147
148// MSOLE embedded object in SO7 file format
149RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c_
150    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
151    ModuleID = gid_Module_Prg_Math_Bin;
152    Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}";
153    REG_VALUE_LNG(OO_FORMULA)
154End
155
156RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Auxusertype_2
157    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
158    ModuleID = gid_Module_Prg_Math_Bin;
159    Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\AuxUserType\2";
160    Value = "%PRODUCTNAME";
161End
162
163RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Auxusertype_3
164    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
165    ModuleID = gid_Module_Prg_Math_Bin;
166    Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\AuxUserType\3";
167    REG_VALUE_LNG(OO_FORMULA)
168End
169
170RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Dataformats_Getset_0
171    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
172    ModuleID = gid_Module_Prg_Math_Bin;
173    Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\DataFormats\GetSet\0";
174    Value = "Embed Source,1,8,1";
175End
176
177RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Dataformats_Getset_1
178    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
179    ModuleID = gid_Module_Prg_Math_Bin;
180    Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\DataFormats\GetSet\1";
181    Value = "3,1,32,1";
182End
183
184RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Dataformats_Getset_2
185    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
186    ModuleID = gid_Module_Prg_Math_Bin;
187    Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\DataFormats\GetSet\2";
188    Value = "2,1,16,1";
189End
190
191RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Defaulticon
192    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
193    ModuleID = gid_Module_Prg_Math_Bin;
194    Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\DefaultIcon";
195    Value = "<progpath>\program\soffice.exe,0";
196End
197
198RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Inprochandler32
199    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
200    ModuleID = gid_Module_Prg_Math_Bin;
201    Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\InprocHandler32";
202    Value = "<progpath>\program\inprocserv.dll";
203    Styles = ();
204End
205
206RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Insertable
207    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
208    ModuleID = gid_Module_Prg_Math_Bin;
209    Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\Insertable";
210End
211
212RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Localserver32
213    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
214    ModuleID = gid_Module_Prg_Math_Bin;
215    Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\LocalServer32";
216    Value = "<progpath>\program\soffice.exe -nodefault -nologo";
217End
218
219RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Miscstatus
220    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
221    ModuleID = gid_Module_Prg_Math_Bin;
222    Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\MiscStatus";
223    Value = "16";
224End
225
226RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Progid
227    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
228    ModuleID = gid_Module_Prg_Math_Bin;
229    Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\ProgID";
230    Value = "opendocument.MathDocument.1";
231End
232
233RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Programmable
234    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
235    ModuleID = gid_Module_Prg_Math_Bin;
236    Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\Programmable";
237End
238
239RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Verb_0
240    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
241    ModuleID = gid_Module_Prg_Math_Bin;
242    Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\verb\0";
243    Value = "&Edit,0,0";
244End
245
246RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Verb__1
247    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
248    ModuleID = gid_Module_Prg_Math_Bin;
249    Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\verb\-1";
250    Value = "Show,0,0";
251End
252
253RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Verb__2
254    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
255    ModuleID = gid_Module_Prg_Math_Bin;
256    Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\verb\-2";
257    Value = "Open,0,0";
258End
259
260RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Versionindependentprogid
261    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
262    ModuleID = gid_Module_Prg_Math_Bin;
263    Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\VersionIndependentProgID";
264    Value = "opendocument.MathDocument.1";
265End
266
267
268
269RegistryItem gid_Regitem_Soffice_Starmathdocument_6
270    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
271    ModuleID = gid_Module_Prg_Math_Bin;
272    Subkey = "soffice.StarMathDocument.6";
273    REG_VALUE_LNG(SO60_FORMULA)
274End
275
276RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Clsid
277    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
278    ModuleID = gid_Module_Prg_Math_Bin;
279    Subkey = "soffice.StarMathDocument.6\CLSID";
280    Value = "{D0484DE6-AAEE-468a-991F-8D4B0737B57A}";
281End
282
283RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Defaulticon
284    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
285    ModuleID = gid_Module_Prg_Math_Bin;
286    Subkey = "soffice.StarMathDocument.6\DefaultIcon";
287    Value = "<progpath>\program\soffice.exe,38";
288End
289
290RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Insertable
291    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
292    ModuleID = gid_Module_Prg_Math_Bin;
293    Subkey = "soffice.StarMathDocument.6\Insertable";
294End
295
296RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Protocol_Stdfileediting_Server
297    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
298    ModuleID = gid_Module_Prg_Math_Bin;
299    Subkey = "soffice.StarMathDocument.6\protocol\StdFileEditing\server";
300    Value = "<progpath>\program\soffice.exe";
301End
302
303RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Protocol_Stdfileediting_Verb_0
304    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
305    ModuleID = gid_Module_Prg_Math_Bin;
306    Subkey = "soffice.StarMathDocument.6\protocol\StdFileEditing\verb\0";
307    Value = "&Edit";
308End
309
310RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Protocol_Stdfileediting_Verb__1
311    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
312    ModuleID = gid_Module_Prg_Math_Bin;
313    Subkey = "soffice.StarMathDocument.6\protocol\StdFileEditing\verb\-1";
314    Value = "&Show";
315End
316
317RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Protocol_Stdfileediting_Verb__2
318    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
319    ModuleID = gid_Module_Prg_Math_Bin;
320    Subkey = "soffice.StarMathDocument.6\protocol\StdFileEditing\verb\-2";
321    Value = "&Open";
322End
323
324RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Shell
325    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
326    ModuleID = gid_Module_Prg_Math_Bin;
327    Subkey = "soffice.StarMathDocument.6\shell";
328    Value = "open";
329End
330
331RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Shell_New
332    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
333    ModuleID = gid_Module_Prg_Math_Bin;
334    Subkey = "soffice.StarMathDocument.6\shell\new";
335    REG_VALUE_LNG(NEW)
336End
337
338RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Shell_New_Command
339    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
340    ModuleID = gid_Module_Prg_Math_Bin;
341    Subkey = "soffice.StarMathDocument.6\shell\new\command";
342    Value = "\"<progpath>\program\soffice.exe\" -n \"%1\"";
343End
344
345RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Shell_Open_Command
346    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
347    ModuleID = gid_Module_Prg_Math_Bin;
348    Subkey = "soffice.StarMathDocument.6\shell\open\command";
349    Value = "\"<progpath>\program\smath.exe\" -o \"%1\"";
350End
351
352RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Shell_Print_Command
353    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
354    ModuleID = gid_Module_Prg_Math_Bin;
355    Subkey = "soffice.StarMathDocument.6\shell\print\command";
356    Value = "\"<progpath>\program\soffice.exe\" -p \"%1\"";
357End
358
359RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Shell_Printto_Command
360    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
361    ModuleID = gid_Module_Prg_Math_Bin;
362    Subkey = "soffice.StarMathDocument.6\shell\printto\command";
363    Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\"";
364End
365
366RegistryItem gid_Regitem_Soffice_Starmathdocument_Curver
367    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
368    Subkey = "soffice.StarMathDocument\CurVer";
369    ModuleID = gid_Module_Prg_Math_Bin;
370    Value = "soffice.StarMathDocument.6";
371End
372
373RegistryItem gid_Regitem_Sxm_PersistentHandler
374    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
375    ModuleID = gid_Module_Prg_Math_Bin;
376    Subkey = ".sxm\PersistentHandler";
377    Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
378End
379
380RegistryItem gid_Regitem_Sxm_Shellex_00021500_0000_0000_C000_000000000046
381    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
382    ModuleID = gid_Module_Prg_Math_Bin;
383    Subkey = ".sxm\shellex\{00021500-0000-0000-C000-000000000046}";
384    Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
385End
386
387RegistryItem gid_Regitem_Sxm_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
388    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
389    ModuleID = gid_Module_Prg_Math_Bin;
390    Subkey = ".sxm\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
391    Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
392End
393
394RegistryItem gid_Regitem_StarMathDocument_6_Shellex_PropertySheetHandlers_MyPropSheet1
395    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
396    ModuleID = gid_Module_Prg_Math_Bin;
397    Subkey = "soffice.StarMathDocument.6\shellex\PropertySheetHandlers\MyPropSheet1";
398    Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
399End
400
401RegistryItem gid_Regitem_Sxm_Contenttype
402    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
403    ModuleID = gid_Module_Prg_Math_Bin;
404    Subkey = ".sxm";
405    Name = "Content Type";
406    Value = "application/vnd.sun.xml.math";
407End
408
409RegistryItem gid_Regitem_Sxm_Mime_Database
410    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
411    ModuleID = gid_Module_Prg_Math_Bin;
412    Subkey = "MIME\Database\Content Type\application/vnd.sun.xml.math";
413    Name = "Extension";
414    Value = ".sxm";
415End
416
417RegistryItem gid_Regitem__Mml
418    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
419    ModuleID = gid_Module_Prg_Math_Bin;
420    Subkey = ".sxm";
421    Value = "soffice.StarMathDocument.6";
422End
423
424RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_sxm
425    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
426    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
427    ModuleID = gid_Module_Prg_Math_Bin;
428    Name = ".sxm";
429    Value = "soffice.StarMathDocument.6";
430    Styles = ();
431End
432
433RegistryItem gid_Regitem_sxm_FullDetails
434    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
435    ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
436    Subkey = "soffice.StarMathDocument.6";
437    Name = "FullDetails";
438    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";
439End
440
441// new odf file extension
442
443RegistryItem gid_Regitem_Odf_PersistentHandler
444    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
445    ModuleID = gid_Module_Prg_Math_Bin;
446    Subkey = ".odf\PersistentHandler";
447    Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
448End
449
450RegistryItem gid_Regitem_Odf_Shellex_00021500_0000_0000_C000_000000000046
451    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
452    ModuleID = gid_Module_Prg_Math_Bin;
453    Subkey = ".odf\shellex\{00021500-0000-0000-C000-000000000046}";
454    Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
455End
456
457RegistryItem gid_Regitem_Odf_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
458    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
459    ModuleID = gid_Module_Prg_Math_Bin;
460    Subkey = ".odf\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
461    Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
462End
463
464RegistryItem gid_Regitem_MathDocument_1_Shellex_PropertySheetHandlers_MyPropSheet1
465    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
466    ModuleID = gid_Module_Prg_Math_Bin;
467    Subkey = "opendocument.MathDocument.1\shellex\PropertySheetHandlers\MyPropSheet1";
468    Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
469End
470
471RegistryItem gid_Regitem_Odf_Contenttype
472    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
473    ModuleID = gid_Module_Prg_Math_Bin;
474    Subkey = ".odf";
475    Name = "Content Type";
476    Value = "application/vnd.oasis.opendocument.formula";
477End
478
479RegistryItem gid_Regitem_Odf_Mime_Database
480    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
481    ModuleID = gid_Module_Prg_Math_Bin;
482    Subkey = "MIME\Database\Content Type\application/vnd.oasis.opendocument.formula";
483    Name = "Extension";
484    Value = ".odf";
485End
486
487RegistryItem gid_Regitem__Odf
488    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
489    ModuleID = gid_Module_Prg_Math_Bin;
490    Subkey = ".odf";
491    Value = "opendocument.MathDocument.1";
492End
493
494RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_odf
495    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
496    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
497    ModuleID = gid_Module_Prg_Math_Bin;
498    Name = ".odf";
499    Value = "opendocument.MathDocument.1";
500    Styles = ();
501End
502
503RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_MimeAssociations_odf
504    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
505    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\MimeAssociations";
506    ModuleID = gid_Module_Prg_Math_Bin;
507    Name = "application/vnd.oasis.opendocument.formula";
508    Value = "opendocument.MathDocument.1";
509    Styles = ();
510End
511
512RegistryItem gid_Regitem_Openoffice_Mathdocument_Curver
513    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
514    Subkey = "opendocument.MathDocument\CurVer";
515    ModuleID = gid_Module_Prg_Math_Bin;
516    Value = "opendocument.MathDocument.1";
517End
518
519RegistryItem gid_Regitem_Openoffice_Mathdocument_1
520    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
521    ModuleID = gid_Module_Prg_Math_Bin;
522    Subkey = "opendocument.MathDocument.1";
523    REG_VALUE_LNG(OO_FORMULA)
524End
525
526RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Clsid
527    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
528    ModuleID = gid_Module_Prg_Math_Bin;
529    Subkey = "opendocument.MathDocument.1\CLSID";
530    Value = "{D2D59CD1-0A6A-4D36-AE20-47817077D57C}";
531End
532
533RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Defaulticon
534    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
535    ModuleID = gid_Module_Prg_Math_Bin;
536    Subkey = "opendocument.MathDocument.1\DefaultIcon";
537    Value = "<progpath>\program\soffice.exe,14";
538End
539
540RegistryItem gid_Regitem_odf_FullDetails
541    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
542    ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
543    Subkey = "opendocument.MathDocument.1";
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
548RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Insertable
549    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
550    ModuleID = gid_Module_Prg_Math_Bin;
551    Subkey = "opendocument.MathDocument.1\Insertable";
552End
553
554RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Protocol_Stdfileediting_Server
555    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
556    ModuleID = gid_Module_Prg_Math_Bin;
557    Subkey = "opendocument.MathDocument.1\protocol\StdFileEditing\server";
558    Value = "<progpath>\program\soffice.exe";
559End
560
561RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Protocol_Stdfileediting_Verb_0
562    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
563    ModuleID = gid_Module_Prg_Math_Bin;
564    Subkey = "opendocument.MathDocument.1\protocol\StdFileEditing\verb\0";
565    Value = "&Edit";
566End
567
568RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Protocol_Stdfileediting_Verb__1
569    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
570    ModuleID = gid_Module_Prg_Math_Bin;
571    Subkey = "opendocument.MathDocument.1\protocol\StdFileEditing\verb\-1";
572    Value = "&Show";
573End
574
575RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Protocol_Stdfileediting_Verb__2
576    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
577    ModuleID = gid_Module_Prg_Math_Bin;
578    Subkey = "opendocument.MathDocument.1\protocol\StdFileEditing\verb\-2";
579    Value = "&Open";
580End
581
582RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell
583    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
584    ModuleID = gid_Module_Prg_Math_Bin;
585    Subkey = "opendocument.MathDocument.1\shell";
586    Value = "open";
587End
588
589RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell_New
590    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
591    ModuleID = gid_Module_Prg_Math_Bin;
592    Subkey = "opendocument.MathDocument.1\shell\new";
593    REG_VALUE_LNG(NEW)
594End
595
596RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell_New_Command
597    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
598    ModuleID = gid_Module_Prg_Math_Bin;
599    Subkey = "opendocument.MathDocument.1\shell\new\command";
600    Value = "\"<progpath>\program\soffice.exe\" -n \"%1\"";
601End
602
603RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell_Open_Command
604    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
605    ModuleID = gid_Module_Prg_Math_Bin;
606    Subkey = "opendocument.MathDocument.1\shell\open\command";
607    Value = "\"<progpath>\program\smath.exe\" -o \"%1\"";
608    Styles = ();
609End
610
611RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell_Print_Command
612    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
613    ModuleID = gid_Module_Prg_Math_Bin;
614    Subkey = "opendocument.MathDocument.1\shell\print\command";
615    Value = "\"<progpath>\program\soffice.exe\" -p \"%1\"";
616End
617
618RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell_Printto_Command
619    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
620    ModuleID = gid_Module_Prg_Math_Bin;
621    Subkey = "opendocument.MathDocument.1\shell\printto\command";
622    Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\"";
623End
624
625// "OpenWith" Windows Registry keys for extensions supported by Math
626
627// .ODF
628RegistryItem gid_Regitem_OpenOffice_ODF_OpenWith_Math
629    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
630    Subkey = ".odf\OpenWithProgIDs";
631    ModuleID = gid_Module_Prg_Math_Bin;
632    Name = "opendocument.MathDocument.1";
633    Value = " ";
634End
635
636// .SXM
637RegistryItem gid_Regitem_OpenOffice_SXM_OpenWith_Math
638    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
639    Subkey = ".sxm\OpenWithProgIDs";
640    ModuleID = gid_Module_Prg_Math_Bin;
641    Name = "soffice.StarMathDocument.6";
642    Value = " ";
643End
644
645// .MML
646RegistryItem gid_Regitem_OpenOffice_MML_OpenWith_Math
647    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
648    Subkey = ".mml\OpenWithProgIDs";
649    ModuleID = gid_Module_Prg_Math_Bin;
650    Name = "soffice.StarMathDocument.6";
651    Value = " ";
652End
653
654RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Mml
655    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
656    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
657    ModuleID = gid_Module_Prg_Math_Bin;
658    Name = ".mml";
659    Value = "soffice.StarMathDocument.6";
660    Styles = ();
661End
662
663RegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Smath_Exe
664    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
665    Subkey = "Software\Microsoft\Windows\CurrentVersion\App Paths\smath.exe";
666    ModuleID = gid_Module_Prg_Math_Bin;
667    Value = "<progpath>\program\smath.exe";
668End
669
670RegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Smath_Exepath
671    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
672    Subkey = "Software\Microsoft\Windows\CurrentVersion\App Paths\smath.exe";
673    ModuleID = gid_Module_Prg_Math_Bin;
674    Name = "Path";
675    Value = "<progpath>";
676End
677
678// registering the property handler for the supported file types
679
680REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( odf )
681REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( sxm )
682