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