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__30a2652a_Ddf7_45e7_Aca6_3eab26fc8a4e_
32    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
33    ModuleID = gid_Module_Prg_Wrt_Bin;
34    Subkey = "CLSID\{30A2652A-DDF7-45e7-ACA6-3EAB26FC8A4E}";
35    REG_VALUE_LNG(SO60_TEXT)
36End
37
38RegistryItem gid_Regitem_Clsid__30a2652a_Ddf7_45e7_Aca6_3eab26fc8a4e__Auxusertype_2
39    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
40    ModuleID = gid_Module_Prg_Wrt_Bin;
41    Subkey = "CLSID\{30A2652A-DDF7-45e7-ACA6-3EAB26FC8A4E}\AuxUserType\2";
42    Value = "%PRODUCTNAME";
43End
44
45RegistryItem gid_Regitem_Clsid__30a2652a_Ddf7_45e7_Aca6_3eab26fc8a4e__Auxusertype_3
46    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
47    ModuleID = gid_Module_Prg_Wrt_Bin;
48    Subkey = "CLSID\{30A2652A-DDF7-45e7-ACA6-3EAB26FC8A4E}\AuxUserType\3";
49    REG_VALUE_LNG(SO60_TEXT)
50End
51
52RegistryItem gid_Regitem_Clsid__30a2652a_Ddf7_45e7_Aca6_3eab26fc8a4e__Dataformats_Getset_0
53    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
54    ModuleID = gid_Module_Prg_Wrt_Bin;
55    Subkey = "CLSID\{30A2652A-DDF7-45e7-ACA6-3EAB26FC8A4E}\DataFormats\GetSet\0";
56    Value = "Embed Source,1,8,1";
57End
58
59RegistryItem gid_Regitem_Clsid__30a2652a_Ddf7_45e7_Aca6_3eab26fc8a4e__Dataformats_Getset_1
60    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
61    ModuleID = gid_Module_Prg_Wrt_Bin;
62    Subkey = "CLSID\{30A2652A-DDF7-45e7-ACA6-3EAB26FC8A4E}\DataFormats\GetSet\1";
63    Value = "3,1,32,1";
64End
65
66RegistryItem gid_Regitem_Clsid__30a2652a_Ddf7_45e7_Aca6_3eab26fc8a4e__Dataformats_Getset_2
67    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
68    ModuleID = gid_Module_Prg_Wrt_Bin;
69    Subkey = "CLSID\{30A2652A-DDF7-45e7-ACA6-3EAB26FC8A4E}\DataFormats\GetSet\2";
70    Value = "2,1,16,1";
71End
72
73RegistryItem gid_Regitem_Clsid__30a2652a_Ddf7_45e7_Aca6_3eab26fc8a4e__Defaulticon
74    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
75    ModuleID = gid_Module_Prg_Wrt_Bin;
76    Subkey = "CLSID\{30A2652A-DDF7-45e7-ACA6-3EAB26FC8A4E}\DefaultIcon";
77    Value = "<progpath>\program\soffice.exe,0";
78End
79
80RegistryItem gid_Regitem_Clsid__30a2652a_Ddf7_45e7_Aca6_3eab26fc8a4e__Inprochandler32
81    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
82    ModuleID = gid_Module_Prg_Wrt_Bin;
83    Subkey = "CLSID\{30A2652A-DDF7-45e7-ACA6-3EAB26FC8A4E}\InprocHandler32";
84    Value = "<progpath>\program\inprocserv.dll";
85    Styles = ();
86End
87
88RegistryItem gid_Regitem_Clsid__30a2652a_Ddf7_45e7_Aca6_3eab26fc8a4e__Insertable
89    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
90    ModuleID = gid_Module_Prg_Wrt_Bin;
91    Subkey = "CLSID\{30A2652A-DDF7-45e7-ACA6-3EAB26FC8A4E}\Insertable";
92End
93
94RegistryItem gid_Regitem_Clsid__30a2652a_Ddf7_45e7_Aca6_3eab26fc8a4e__Localserver32
95    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
96    ModuleID = gid_Module_Prg_Wrt_Bin;
97    Subkey = "CLSID\{30A2652A-DDF7-45e7-ACA6-3EAB26FC8A4E}\LocalServer32";
98    Value = "<progpath>\program\soffice.exe -nodefault -nologo";
99End
100
101RegistryItem gid_Regitem_Clsid__30a2652a_Ddf7_45e7_Aca6_3eab26fc8a4e__Miscstatus
102    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
103    ModuleID = gid_Module_Prg_Wrt_Bin;
104    Subkey = "CLSID\{30A2652A-DDF7-45e7-ACA6-3EAB26FC8A4E}\MiscStatus";
105    Value = "16";
106End
107
108RegistryItem gid_Regitem_Clsid__30a2652a_Ddf7_45e7_Aca6_3eab26fc8a4e__Progid
109    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
110    ModuleID = gid_Module_Prg_Wrt_Bin;
111    Subkey = "CLSID\{30A2652A-DDF7-45e7-ACA6-3EAB26FC8A4E}\ProgID";
112    Value = "soffice.StarWriterDocument.6";
113End
114
115RegistryItem gid_Regitem_Clsid__30a2652a_Ddf7_45e7_Aca6_3eab26fc8a4e__Programmable
116    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
117    ModuleID = gid_Module_Prg_Wrt_Bin;
118    Subkey = "CLSID\{30A2652A-DDF7-45e7-ACA6-3EAB26FC8A4E}\Programmable";
119End
120
121RegistryItem gid_Regitem_Clsid__30a2652a_Ddf7_45e7_Aca6_3eab26fc8a4e__Verb_0
122    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
123    ModuleID = gid_Module_Prg_Wrt_Bin;
124    Subkey = "CLSID\{30A2652A-DDF7-45e7-ACA6-3EAB26FC8A4E}\verb\0";
125    Value = "&Edit,0,0";
126End
127
128RegistryItem gid_Regitem_Clsid__30a2652a_Ddf7_45e7_Aca6_3eab26fc8a4e__Verb__1
129    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
130    ModuleID = gid_Module_Prg_Wrt_Bin;
131    Subkey = "CLSID\{30A2652A-DDF7-45e7-ACA6-3EAB26FC8A4E}\verb\-1";
132    Value = "Show,0,0";
133End
134
135RegistryItem gid_Regitem_Clsid__30a2652a_Ddf7_45e7_Aca6_3eab26fc8a4e__Verb__2
136    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
137    ModuleID = gid_Module_Prg_Wrt_Bin;
138    Subkey = "CLSID\{30A2652A-DDF7-45e7-ACA6-3EAB26FC8A4E}\verb\-2";
139    Value = "Open,0,0";
140End
141
142RegistryItem gid_Regitem_Clsid__30a2652a_Ddf7_45e7_Aca6_3eab26fc8a4e__Versionindependentprogid
143    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
144    ModuleID = gid_Module_Prg_Wrt_Bin;
145    Subkey = "CLSID\{30A2652A-DDF7-45e7-ACA6-3EAB26FC8A4E}\VersionIndependentProgID";
146    Value = "soffice.StarWriterDocument.6";
147End
148
149// MSOLE embedded object in OASIS file format
150RegistryItem gid_Regitem_Clsid__F616b81f_7bb8_4f22_B8a5_47428d59f8ad_
151    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
152    ModuleID = gid_Module_Prg_Wrt_Bin;
153    Subkey = "CLSID\{F616B81F-7BB8-4F22-B8A5-47428D59F8AD}";
154    REG_VALUE_LNG(OO_WRITER)
155End
156
157RegistryItem gid_Regitem_Clsid__F616b81f_7bb8_4f22_B8a5_47428d59f8ad__Auxusertype_2
158    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
159    ModuleID = gid_Module_Prg_Wrt_Bin;
160    Subkey = "CLSID\{F616B81F-7BB8-4F22-B8A5-47428D59F8AD}\AuxUserType\2";
161    Value = "%PRODUCTNAME";
162End
163
164RegistryItem gid_Regitem_Clsid__F616b81f_7bb8_4f22_B8a5_47428d59f8ad__Auxusertype_3
165    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
166    ModuleID = gid_Module_Prg_Wrt_Bin;
167    Subkey = "CLSID\{F616B81F-7BB8-4F22-B8A5-47428D59F8AD}\AuxUserType\3";
168    REG_VALUE_LNG(OO_WRITER)
169End
170
171RegistryItem gid_Regitem_Clsid__F616b81f_7bb8_4f22_B8a5_47428d59f8ad__Dataformats_Getset_0
172    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
173    ModuleID = gid_Module_Prg_Wrt_Bin;
174    Subkey = "CLSID\{F616B81F-7BB8-4F22-B8A5-47428D59F8AD}\DataFormats\GetSet\0";
175    Value = "Embed Source,1,8,1";
176End
177
178RegistryItem gid_Regitem_Clsid__F616b81f_7bb8_4f22_B8a5_47428d59f8ad__Dataformats_Getset_1
179    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
180    ModuleID = gid_Module_Prg_Wrt_Bin;
181    Subkey = "CLSID\{F616B81F-7BB8-4F22-B8A5-47428D59F8AD}\DataFormats\GetSet\1";
182    Value = "3,1,32,1";
183End
184
185RegistryItem gid_Regitem_Clsid__F616b81f_7bb8_4f22_B8a5_47428d59f8ad__Dataformats_Getset_2
186    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
187    ModuleID = gid_Module_Prg_Wrt_Bin;
188    Subkey = "CLSID\{F616B81F-7BB8-4F22-B8A5-47428D59F8AD}\DataFormats\GetSet\2";
189    Value = "2,1,16,1";
190End
191
192RegistryItem gid_Regitem_Clsid__F616b81f_7bb8_4f22_B8a5_47428d59f8ad__Defaulticon
193    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
194    ModuleID = gid_Module_Prg_Wrt_Bin;
195    Subkey = "CLSID\{F616B81F-7BB8-4F22-B8A5-47428D59F8AD}\DefaultIcon";
196    Value = "<progpath>\program\soffice.exe,0";
197End
198
199RegistryItem gid_Regitem_Clsid__F616b81f_7bb8_4f22_B8a5_47428d59f8ad__Inprochandler32
200    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
201    ModuleID = gid_Module_Prg_Wrt_Bin;
202    Subkey = "CLSID\{F616B81F-7BB8-4F22-B8A5-47428D59F8AD}\InprocHandler32";
203    Value = "<progpath>\program\inprocserv.dll";
204    Styles = ();
205End
206
207RegistryItem gid_Regitem_Clsid__F616b81f_7bb8_4f22_B8a5_47428d59f8ad__Insertable
208    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
209    ModuleID = gid_Module_Prg_Wrt_Bin;
210    Subkey = "CLSID\{F616B81F-7BB8-4F22-B8A5-47428D59F8AD}\Insertable";
211End
212
213RegistryItem gid_Regitem_Clsid__F616b81f_7bb8_4f22_B8a5_47428d59f8ad__Localserver32
214    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
215    ModuleID = gid_Module_Prg_Wrt_Bin;
216    Subkey = "CLSID\{F616B81F-7BB8-4F22-B8A5-47428D59F8AD}\LocalServer32";
217    Value = "<progpath>\program\soffice.exe -nodefault -nologo";
218End
219
220RegistryItem gid_Regitem_Clsid__F616b81f_7bb8_4f22_B8a5_47428d59f8ad__Miscstatus
221    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
222    ModuleID = gid_Module_Prg_Wrt_Bin;
223    Subkey = "CLSID\{F616B81F-7BB8-4F22-B8A5-47428D59F8AD}\MiscStatus";
224    Value = "16";
225End
226
227RegistryItem gid_Regitem_Clsid__F616b81f_7bb8_4f22_B8a5_47428d59f8ad__Progid
228    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
229    ModuleID = gid_Module_Prg_Wrt_Bin;
230    Subkey = "CLSID\{F616B81F-7BB8-4F22-B8A5-47428D59F8AD}\ProgID";
231    Value = "opendocument.WriterDocument.1";
232End
233
234RegistryItem gid_Regitem_Clsid__F616b81f_7bb8_4f22_B8a5_47428d59f8ad__Programmable
235    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
236    ModuleID = gid_Module_Prg_Wrt_Bin;
237    Subkey = "CLSID\{F616B81F-7BB8-4F22-B8A5-47428D59F8AD}\Programmable";
238End
239
240RegistryItem gid_Regitem_Clsid__F616b81f_7bb8_4f22_B8a5_47428d59f8ad__Verb_0
241    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
242    ModuleID = gid_Module_Prg_Wrt_Bin;
243    Subkey = "CLSID\{F616B81F-7BB8-4F22-B8A5-47428D59F8AD}\verb\0";
244    Value = "&Edit,0,0";
245End
246
247RegistryItem gid_Regitem_Clsid__F616b81f_7bb8_4f22_B8a5_47428d59f8ad__Verb__1
248    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
249    ModuleID = gid_Module_Prg_Wrt_Bin;
250    Subkey = "CLSID\{F616B81F-7BB8-4F22-B8A5-47428D59F8AD}\verb\-1";
251    Value = "Show,0,0";
252End
253
254RegistryItem gid_Regitem_Clsid__F616b81f_7bb8_4f22_B8a5_47428d59f8ad__Verb__2
255    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
256    ModuleID = gid_Module_Prg_Wrt_Bin;
257    Subkey = "CLSID\{F616B81F-7BB8-4F22-B8A5-47428D59F8AD}\verb\-2";
258    Value = "Open,0,0";
259End
260
261RegistryItem gid_Regitem_Clsid__F616b81f_7bb8_4f22_B8a5_47428d59f8ad__Versionindependentprogid
262    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
263    ModuleID = gid_Module_Prg_Wrt_Bin;
264    Subkey = "CLSID\{F616B81F-7BB8-4F22-B8A5-47428D59F8AD}\VersionIndependentProgID";
265    Value = "opendocument.WriterDocument.1";
266End
267
268
269RegistryItem gid_Regitem_Soffice_Starwriterdocument_6
270    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
271    ModuleID = gid_Module_Prg_Wrt_Bin;
272    Subkey = "soffice.StarWriterDocument.6";
273    REG_VALUE_LNG(SO60_TEXT)
274End
275
276RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Clsid
277    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
278    ModuleID = gid_Module_Prg_Wrt_Bin;
279    Subkey = "soffice.StarWriterDocument.6\CLSID";
280    Value = "{30A2652A-DDF7-45e7-ACA6-3EAB26FC8A4E}";
281End
282
283RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Defaulticon
284    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
285    ModuleID = gid_Module_Prg_Wrt_Bin;
286    Subkey = "soffice.StarWriterDocument.6\DefaultIcon";
287    Value = "<progpath>\program\soffice.exe,27";
288End
289
290RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Insertable
291    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
292    ModuleID = gid_Module_Prg_Wrt_Bin;
293    Subkey = "soffice.StarWriterDocument.6\Insertable";
294End
295
296RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Protocol_Stdfileediting_Server
297    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
298    ModuleID = gid_Module_Prg_Wrt_Bin;
299    Subkey = "soffice.StarWriterDocument.6\protocol\StdFileEditing\server";
300    Value = "<progpath>\program\soffice.exe";
301End
302
303RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Protocol_Stdfileediting_Verb_0
304    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
305    ModuleID = gid_Module_Prg_Wrt_Bin;
306    Subkey = "soffice.StarWriterDocument.6\protocol\StdFileEditing\verb\0";
307    Value = "&Edit";
308End
309
310RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Protocol_Stdfileediting_Verb__1
311    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
312    ModuleID = gid_Module_Prg_Wrt_Bin;
313    Subkey = "soffice.StarWriterDocument.6\protocol\StdFileEditing\verb\-1";
314    Value = "&Show";
315End
316
317RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Protocol_Stdfileediting_Verb__2
318    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
319    ModuleID = gid_Module_Prg_Wrt_Bin;
320    Subkey = "soffice.StarWriterDocument.6\protocol\StdFileEditing\verb\-2";
321    Value = "&Open";
322End
323
324RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Shell
325    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
326    ModuleID = gid_Module_Prg_Wrt_Bin;
327    Subkey = "soffice.StarWriterDocument.6\shell";
328    Value = "open";
329End
330
331RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Shell_New
332    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
333    ModuleID = gid_Module_Prg_Wrt_Bin;
334    Subkey = "soffice.StarWriterDocument.6\shell\new";
335    REG_VALUE_LNG(NEW)
336End
337
338RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Shell_New_Command
339    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
340    ModuleID = gid_Module_Prg_Wrt_Bin;
341    Subkey = "soffice.StarWriterDocument.6\shell\new\command";
342    Value = "\"<progpath>\program\soffice.exe\" -n \"%1\"";
343End
344
345RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Shell_Open_Command
346    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
347    ModuleID = gid_Module_Prg_Wrt_Bin;
348    Subkey = "soffice.StarWriterDocument.6\shell\open\command";
349    Value = "\"<progpath>\program\swriter.exe\" -o \"%1\"";
350End
351
352RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Shell_Print_Command
353    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
354    ModuleID = gid_Module_Prg_Wrt_Bin;
355    Subkey = "soffice.StarWriterDocument.6\shell\print\command";
356    Value = "\"<progpath>\program\soffice.exe\" -p \"%1\"";
357End
358
359RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Shell_Printto_Command
360    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
361    ModuleID = gid_Module_Prg_Wrt_Bin;
362    Subkey = "soffice.StarWriterDocument.6\shell\printto\command";
363    Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\"";
364End
365
366RegistryItem gid_Regitem_Soffice_Starwriterdocument_Curver
367    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
368    ModuleID = gid_Module_Prg_Wrt_Bin;
369    Subkey = "soffice.StarWriterDocument\CurVer";
370    Value = "soffice.StarWriterDocument.6";
371End
372
373RegistryItem gid_Regitem_StarWriterGlobalDocument_6_Shellex_PropertySheetHandlers_MyPropSheet1
374    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
375    ModuleID = gid_Module_Prg_Wrt_Bin;
376    Subkey = "soffice.StarWriterGlobalDocument.6\shellex\PropertySheetHandlers\MyPropSheet1";
377    Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
378End
379
380RegistryItem gid_Regitem_Soffice_Starwriterglobaldocument_6
381    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
382    Subkey = "soffice.StarWriterGlobalDocument.6";
383    ModuleID = gid_Module_Prg_Wrt_Bin;
384    REG_VALUE_LNG(SO60_MASTERDOC)
385End
386
387RegistryItem gid_Regitem_Soffice_Starwriterglobaldocument_6_Defaulticon
388    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
389    Subkey = "soffice.StarWriterGlobalDocument.6\DefaultIcon";
390    ModuleID = gid_Module_Prg_Wrt_Bin;
391    Value = "<progpath>\program\soffice.exe,35";
392End
393
394RegistryItem gid_Regitem_Soffice_Starwriterglobaldocument_6_Shell
395    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
396    Subkey = "soffice.StarWriterGlobalDocument.6\shell";
397    ModuleID = gid_Module_Prg_Wrt_Bin;
398    Value = "open";
399End
400
401RegistryItem gid_Regitem_Soffice_Starwriterglobaldocument_6_Shell_New
402    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
403    Subkey = "soffice.StarWriterGlobalDocument.6\shell\new";
404    ModuleID = gid_Module_Prg_Wrt_Bin;
405    REG_VALUE_LNG(NEW)
406End
407
408RegistryItem gid_Regitem_Soffice_Starwriterglobaldocument_6_Shell_New_Command
409    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
410    Subkey = "soffice.StarWriterGlobalDocument.6\shell\new\command";
411    ModuleID = gid_Module_Prg_Wrt_Bin;
412    Value = "\"<progpath>\program\soffice.exe\" -n \"%1\"";
413End
414
415RegistryItem gid_Regitem_Soffice_Starwriterglobaldocument_6_Shell_Open_Command
416    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
417    Subkey = "soffice.StarWriterGlobalDocument.6\shell\open\command";
418    ModuleID = gid_Module_Prg_Wrt_Bin;
419    Value = "\"<progpath>\program\swriter.exe\" -o \"%1\"";
420End
421
422RegistryItem gid_Regitem_Soffice_Starwriterglobaldocument_6_Shell_Print_Command
423    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
424    Subkey = "soffice.StarWriterGlobalDocument.6\shell\print\command";
425    ModuleID = gid_Module_Prg_Wrt_Bin;
426    Value = "\"<progpath>\program\soffice.exe\" -p \"%1\"";
427End
428
429RegistryItem gid_Regitem_Soffice_Starwriterglobaldocument_6_Shell_Printto_Command
430    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
431    Subkey = "soffice.StarWriterGlobalDocument.6\shell\printto\command";
432    ModuleID = gid_Module_Prg_Wrt_Bin;
433    Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\"";
434End
435
436RegistryItem gid_Regitem_Soffice_Starwriterglobaldocument_Curver
437    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
438    Subkey = "soffice.StarWriterGlobalDocument\CurVer";
439    ModuleID = gid_Module_Prg_Wrt_Bin;
440    Value = "soffice.StarWriterGlobalDocument.6";
441End
442
443RegistryItem gid_Regitem_StarWriterTemplate_6_Shellex_PropertySheetHandlers_MyPropSheet1
444    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
445    ModuleID = gid_Module_Prg_Wrt_Bin;
446    Subkey = "soffice.StarWriterTemplate.6\shellex\PropertySheetHandlers\MyPropSheet1";
447    Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
448End
449
450RegistryItem gid_Regitem_Soffice_Starwritertemplate_6
451    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
452    Subkey = "soffice.StarWriterTemplate.6";
453    ModuleID = gid_Module_Prg_Wrt_Bin;
454    REG_VALUE_LNG(SO60_WRITER_TEMPLATE)
455End
456
457RegistryItem gid_Regitem_Soffice_Starwritertemplate_6_Defaulticon
458    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
459    Subkey = "soffice.StarWriterTemplate.6\DefaultIcon";
460    ModuleID = gid_Module_Prg_Wrt_Bin;
461    Value = "<progpath>\program\soffice.exe,28";
462End
463
464RegistryItem gid_Regitem_Soffice_Starwritertemplate_6_Shell
465    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
466    ModuleID = gid_Module_Prg_Wrt_Bin;
467    Subkey = "soffice.StarWriterTemplate.6\shell";
468    Value = "new";
469End
470
471RegistryItem gid_Regitem_Soffice_Starwritertemplate_6_Shell_New
472    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
473    ModuleID = gid_Module_Prg_Wrt_Bin;
474    Subkey = "soffice.StarWriterTemplate.6\shell\new";
475    REG_VALUE_LNG(NEW)
476End
477
478RegistryItem gid_Regitem_Soffice_Starwritertemplate_6_Shell_New_Command
479    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
480    ModuleID = gid_Module_Prg_Wrt_Bin;
481    Subkey = "soffice.StarWriterTemplate.6\shell\new\command";
482    Value = "\"<progpath>\program\soffice.exe\" -n \"%1\"";
483End
484
485RegistryItem gid_Regitem_Soffice_Starwritertemplate_6_Shell_Open_Command
486    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
487    Subkey = "soffice.StarWriterTemplate.6\shell\open\command";
488    ModuleID = gid_Module_Prg_Wrt_Bin;
489    Value = "\"<progpath>\program\swriter.exe\" -o \"%1\"";
490End
491
492RegistryItem gid_Regitem_Soffice_Starwritertemplate_6_Shell_Print_Command
493    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
494    Subkey = "soffice.StarWriterTemplate.6\shell\print\command";
495    ModuleID = gid_Module_Prg_Wrt_Bin;
496    Value = "\"<progpath>\program\soffice.exe\" -p \"%1\"";
497End
498
499RegistryItem gid_Regitem_Soffice_Starwritertemplate_6_Shell_Printto_Command
500    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
501    Subkey = "soffice.StarWriterTemplate.6\shell\printto\command";
502    ModuleID = gid_Module_Prg_Wrt_Bin;
503    Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\"";
504End
505
506RegistryItem gid_Regitem_Stw_PersistentHandler
507    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
508    ModuleID = gid_Module_Prg_Wrt_Bin;
509    Subkey = ".stw\PersistentHandler";
510    Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
511End
512
513RegistryItem gid_Regitem_Stw_Shellex_00021500_0000_0000_C000_000000000046
514    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
515    ModuleID = gid_Module_Prg_Wrt_Bin;
516    Subkey = ".stw\shellex\{00021500-0000-0000-C000-000000000046}";
517    Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
518End
519
520RegistryItem gid_Regitem_Stw_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
521    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
522    ModuleID = gid_Module_Prg_Wrt_Bin;
523    Subkey = ".stw\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
524    Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
525End
526
527RegistryItem gid_Regitem_Stw
528    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
529    Subkey = ".stw";
530    ModuleID = gid_Module_Prg_Wrt_Bin;
531    Value = "soffice.StarWriterTemplate.6";
532End
533
534RegistryItem gid_Regitem_Stw_Contenttype
535    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
536    ModuleID = gid_Module_Prg_Wrt_Bin;
537    Subkey = ".stw";
538    Name = "Content Type";
539    Value = "application/vnd.sun.xml.writer.template";
540End
541
542RegistryItem gid_Regitem_stw_FullDetails
543    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
544    ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
545    Subkey = "soffice.StarWriterTemplate.6";
546    Name = "FullDetails";
547    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";
548End
549
550RegistryItem gid_Regitem_Sxg_PersistentHandler
551    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
552    ModuleID = gid_Module_Prg_Wrt_Bin;
553    Subkey = ".sxg\PersistentHandler";
554    Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
555End
556
557RegistryItem gid_Regitem_Sxg_Shellex_00021500_0000_0000_C000_000000000046
558    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
559    ModuleID = gid_Module_Prg_Wrt_Bin;
560    Subkey = ".sxg\shellex\{00021500-0000-0000-C000-000000000046}";
561    Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
562End
563
564RegistryItem gid_Regitem_Sxg_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
565    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
566    ModuleID = gid_Module_Prg_Wrt_Bin;
567    Subkey = ".sxg\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
568    Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
569End
570
571RegistryItem gid_Regitem_Sxg
572    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
573    ModuleID = gid_Module_Prg_Wrt_Bin;
574    Subkey = ".sxg";
575    Value = "soffice.StarWriterGlobalDocument.6";
576End
577
578RegistryItem gid_Regitem_Sxg_Contenttype
579    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
580    ModuleID = gid_Module_Prg_Wrt_Bin;
581    Subkey = ".sxg";
582    Name = "Content Type";
583    Value = "application/vnd.sun.xml.writer.global";
584End
585
586RegistryItem gid_Regitem_Sxg_Mime_Database
587    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
588    ModuleID = gid_Module_Prg_Wrt_Bin;
589    Subkey = "MIME\Database\Content Type\application/vnd.sun.xml.writer.global";
590    Name = "Extension";
591    Value = ".sxg";
592End
593
594RegistryItem gid_Regitem_sxg_FullDetails
595    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
596    ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
597    Subkey = "soffice.StarWriterGlobalDocument.6";
598    Name = "FullDetails";
599    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";
600End
601
602RegistryItem gid_Regitem_Sxw_PersistentHandler
603    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
604    ModuleID = gid_Module_Prg_Wrt_Bin;
605    Subkey = ".sxw\PersistentHandler";
606    Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
607End
608
609RegistryItem gid_Regitem_Sxw_Shellex_00021500_0000_0000_C000_000000000046
610    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
611    ModuleID = gid_Module_Prg_Wrt_Bin;
612    Subkey = ".sxw\shellex\{00021500-0000-0000-C000-000000000046}";
613    Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
614End
615
616RegistryItem gid_Regitem_Sxw_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
617    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
618    ModuleID = gid_Module_Prg_Wrt_Bin;
619    Subkey = ".sxw\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
620    Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
621End
622
623RegistryItem gid_Regitem_Sxw_Contenttype
624    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
625    ModuleID = gid_Module_Prg_Wrt_Bin;
626    Subkey = ".sxw";
627    Name = "Content Type";
628    Value = "application/vnd.sun.xml.writer";
629End
630
631RegistryItem gid_Regitem_Sxw_Mime_Database
632    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
633    ModuleID = gid_Module_Prg_Wrt_Bin;
634    Subkey = "MIME\Database\Content Type\application/vnd.sun.xml.writer";
635    Name = "Extension";
636    Value = ".sxw";
637End
638
639RegistryItem gid_Regitem_StarWriterDocument_6_Shellex_PropertySheetHandlers_MyPropSheet1
640    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
641    ModuleID = gid_Module_Prg_Wrt_Bin;
642    Subkey = "soffice.StarWriterDocument.6\shellex\PropertySheetHandlers\MyPropSheet1";
643    Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
644End
645
646RegistryItem gid_Regitem__Sxw
647    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
648    ModuleID = gid_Module_Prg_Wrt_Bin;
649    Subkey = ".sxw";
650    Value = "soffice.StarWriterDocument.6";
651End
652
653RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_sxw
654    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
655    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
656    ModuleID = gid_Module_Prg_Wrt_Bin;
657    Name = ".sxw";
658    Value = "soffice.StarWriterDocument.6";
659    Styles = ();
660End
661
662RegistryItem gid_Regitem_sxw_FullDetails
663    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
664    ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
665    Subkey = "soffice.StarWriterDocument.6";
666    Name = "FullDetails";
667    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";
668End
669
670
671// new odt file extension
672
673RegistryItem gid_Regitem_Odt_PersistentHandler
674    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
675    ModuleID = gid_Module_Prg_Wrt_Bin;
676    Subkey = ".odt\PersistentHandler";
677    Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
678End
679
680RegistryItem gid_Regitem_Odt_Shellex_00021500_0000_0000_C000_000000000046
681    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
682    ModuleID = gid_Module_Prg_Wrt_Bin;
683    Subkey = ".odt\shellex\{00021500-0000-0000-C000-000000000046}";
684    Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
685End
686
687RegistryItem gid_Regitem_Odt_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
688    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
689    ModuleID = gid_Module_Prg_Wrt_Bin;
690    Subkey = ".odt\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
691    Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
692End
693
694RegistryItem gid_Regitem_WriterDocument_1_Shellex_PropertySheetHandlers_MyPropSheet1
695    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
696    ModuleID = gid_Module_Prg_Wrt_Bin;
697    Subkey = "opendocument.WriterDocument.1\shellex\PropertySheetHandlers\MyPropSheet1";
698    Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
699End
700
701RegistryItem gid_Regitem__Odt
702    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
703    ModuleID = gid_Module_Prg_Wrt_Bin;
704    Subkey = ".odt";
705    Value = "opendocument.WriterDocument.1";
706End
707
708RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_odt
709    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
710    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
711    ModuleID = gid_Module_Prg_Wrt_Bin;
712    Name = ".odt";
713    Value = "opendocument.WriterDocument.1";
714    Styles = ();
715End
716
717RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_MimeAssociations_odt
718    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
719    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\MimeAssociations";
720    ModuleID = gid_Module_Prg_Wrt_Bin;
721    Name = "application/vnd.oasis.opendocument.text";
722    Value = "opendocument.WriterDocument.1";
723    Styles = ();
724End
725
726RegistryItem gid_Regitem_Odt_Contenttype
727    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
728    ModuleID = gid_Module_Prg_Wrt_Bin;
729    Subkey = ".odt";
730    Name = "Content Type";
731    Value = "application/vnd.oasis.opendocument.text";
732End
733
734RegistryItem gid_Regitem_Odt_Mime_Database
735    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
736    ModuleID = gid_Module_Prg_Wrt_Bin;
737    Subkey = "MIME\Database\Content Type\application/vnd.oasis.opendocument.text";
738    Name = "Extension";
739    Value = ".odt";
740End
741
742RegistryItem gid_Regitem_Odt_Openoffice_Writerdocument_1_Shellnew
743    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
744    ModuleID = gid_Module_Prg_Wrt_Bin;
745    Subkey = ".odt\opendocument.WriterDocument.1\ShellNew";
746    Name = "FileName";
747    Value = "soffice.odt";
748End
749
750RegistryItem gid_Regitem_Openoffice_Writerdocument_Curver
751    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
752    ModuleID = gid_Module_Prg_Wrt_Bin;
753    Subkey = "opendocument.WriterDocument\CurVer";
754    Value = "opendocument.WriterDocument.1";
755End
756
757RegistryItem gid_Regitem_Openoffice_Writerdocument_1
758    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
759    ModuleID = gid_Module_Prg_Wrt_Bin;
760    Subkey = "opendocument.WriterDocument.1";
761    REG_VALUE_LNG(OO_WRITER)
762End
763
764RegistryItem gid_Regitem_Openoffice_Writerdocument_1_Clsid
765    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
766    ModuleID = gid_Module_Prg_Wrt_Bin;
767    Subkey = "opendocument.WriterDocument.1\CLSID";
768    Value = "{F616B81F-7BB8-4F22-B8A5-47428D59F8AD}";
769End
770
771RegistryItem gid_Regitem_Openoffice_Writerdocument_1_Defaulticon
772    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
773    ModuleID = gid_Module_Prg_Wrt_Bin;
774    Subkey = "opendocument.WriterDocument.1\DefaultIcon";
775    Value = "<progpath>\program\soffice.exe,1";
776End
777
778RegistryItem gid_Regitem_Openoffice_Writerdocument_1_Insertable
779    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
780    ModuleID = gid_Module_Prg_Wrt_Bin;
781    Subkey = "opendocument.WriterDocument.1\Insertable";
782End
783
784RegistryItem gid_Regitem_odt_FullDetails
785    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
786    ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
787    Subkey = "opendocument.WriterDocument.1";
788    Name = "FullDetails";
789    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";
790End
791
792RegistryItem gid_Regitem_Openoffice_Writerdocument_1_Protocol_Stdfileediting_Server
793    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
794    ModuleID = gid_Module_Prg_Wrt_Bin;
795    Subkey = "opendocument.WriterDocument.1\protocol\StdFileEditing\server";
796    Value = "<progpath>\program\soffice.exe";
797End
798
799RegistryItem gid_Regitem_Openoffice_Writerdocument_1_Protocol_Stdfileediting_Verb_0
800    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
801    ModuleID = gid_Module_Prg_Wrt_Bin;
802    Subkey = "opendocument.WriterDocument.1\protocol\StdFileEditing\verb\0";
803    Value = "&Edit";
804End
805
806RegistryItem gid_Regitem_Openoffice_Writerdocument_1_Protocol_Stdfileediting_Verb__1
807    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
808    ModuleID = gid_Module_Prg_Wrt_Bin;
809    Subkey = "opendocument.WriterDocument.1\protocol\StdFileEditing\verb\-1";
810    Value = "&Show";
811End
812
813RegistryItem gid_Regitem_Openoffice_Writerdocument_1_Protocol_Stdfileediting_Verb__2
814    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
815    ModuleID = gid_Module_Prg_Wrt_Bin;
816    Subkey = "opendocument.WriterDocument.1\protocol\StdFileEditing\verb\-2";
817    Value = "&Open";
818End
819
820RegistryItem gid_Regitem_Openoffice_Writerdocument_1_Shell
821    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
822    ModuleID = gid_Module_Prg_Wrt_Bin;
823    Subkey = "opendocument.WriterDocument.1\shell";
824    Value = "open";
825End
826
827RegistryItem gid_Regitem_Openoffice_Writerdocument_1_Shell_New
828    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
829    ModuleID = gid_Module_Prg_Wrt_Bin;
830    Subkey = "opendocument.WriterDocument.1\shell\new";
831    REG_VALUE_LNG(NEW)
832End
833
834RegistryItem gid_Regitem_Openoffice_Writerdocument_1_Shell_New_Command
835    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
836    ModuleID = gid_Module_Prg_Wrt_Bin;
837    Subkey = "opendocument.WriterDocument.1\shell\new\command";
838    Value = "\"<progpath>\program\soffice.exe\" -n \"%1\"";
839End
840
841RegistryItem gid_Regitem_Openoffice_Writerdocument_1_Shell_Open_Command
842    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
843    ModuleID = gid_Module_Prg_Wrt_Bin;
844    Subkey = "opendocument.WriterDocument.1\shell\open\command";
845    Value = "\"<progpath>\program\swriter.exe\" -o \"%1\"";
846    Styles = ();
847End
848
849RegistryItem gid_Regitem_Openoffice_Writerdocument_1_Shell_Print_Command
850    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
851    ModuleID = gid_Module_Prg_Wrt_Bin;
852    Subkey = "opendocument.WriterDocument.1\shell\print\command";
853    Value = "\"<progpath>\program\soffice.exe\" -p \"%1\"";
854End
855
856RegistryItem gid_Regitem_Openoffice_Writerdocument_1_Shell_Printto_Command
857    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
858    ModuleID = gid_Module_Prg_Wrt_Bin;
859    Subkey = "opendocument.WriterDocument.1\shell\printto\command";
860    Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\"";
861End
862
863// Writer Web Document
864RegistryItem gid_Regitem_Openoffice_Writerwebdocument_Curver
865    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
866    ModuleID = gid_Module_Prg_Wrt_Bin;
867    Subkey = "opendocument.WriterWebDocument\CurVer";
868    Value = "opendocument.WriterWebDocument.1";
869End
870
871RegistryItem gid_Regitem_Openoffice_Writerwebdocument_1
872    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
873    ModuleID = gid_Module_Prg_Wrt_Bin;
874    Subkey = "opendocument.WriterWebDocument.1";
875    REG_VALUE_LNG(OO_WRITER)
876End
877
878RegistryItem gid_Regitem_Openoffice_Writerwebdocument_1_Shell_Open_Command
879    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
880    ModuleID = gid_Module_Prg_Wrt_Bin;
881    Subkey = "opendocument.WriterWebDocument.1\shell\open\command";
882    Value = "\"<progpath>\program\sweb.exe\" -o \"%1\"";
883    Styles = ();
884End
885
886// new ott file extension
887
888RegistryItem gid_Regitem_Ott_PersistentHandler
889    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
890    ModuleID = gid_Module_Prg_Wrt_Bin;
891    Subkey = ".ott\PersistentHandler";
892    Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
893End
894
895RegistryItem gid_Regitem_Ott_Shellex_00021500_0000_0000_C000_000000000046
896    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
897    ModuleID = gid_Module_Prg_Wrt_Bin;
898    Subkey = ".ott\shellex\{00021500-0000-0000-C000-000000000046}";
899    Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
900End
901
902RegistryItem gid_Regitem_Ott_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
903    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
904    ModuleID = gid_Module_Prg_Wrt_Bin;
905    Subkey = ".ott\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
906    Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
907End
908
909RegistryItem gid_Regitem_WriterTemplate_1_Shellex_PropertySheetHandlers_MyPropSheet1
910    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
911    ModuleID = gid_Module_Prg_Wrt_Bin;
912    Subkey = "opendocument.WriterTemplate.1\shellex\PropertySheetHandlers\MyPropSheet1";
913    Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
914End
915
916RegistryItem gid_Regitem_Ott
917    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
918    Subkey = ".ott";
919    ModuleID = gid_Module_Prg_Wrt_Bin;
920    Value = "opendocument.WriterTemplate.1";
921End
922
923RegistryItem gid_Regitem_Ott_Contenttype
924    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
925    ModuleID = gid_Module_Prg_Wrt_Bin;
926    Subkey = ".ott";
927    Name = "Content Type";
928    Value = "application/vnd.oasis.opendocument.text-template";
929End
930
931RegistryItem gid_Regitem_Soffice_Starwritertemplate_1
932    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
933    Subkey = "opendocument.WriterTemplate.1";
934    ModuleID = gid_Module_Prg_Wrt_Bin;
935    REG_VALUE_LNG(OO_WRITER_TEMPLATE)
936End
937
938RegistryItem gid_Regitem_Openoffice_Writertemplate_1_Defaulticon
939    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
940    Subkey = "opendocument.WriterTemplate.1\DefaultIcon";
941    ModuleID = gid_Module_Prg_Wrt_Bin;
942    Value = "<progpath>\program\soffice.exe,2";
943End
944
945RegistryItem gid_Regitem_ott_FullDetails
946    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
947    ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
948    Subkey = "opendocument.WriterTemplate.1";
949    Name = "FullDetails";
950    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";
951End
952
953RegistryItem gid_Regitem_Openoffice_Writertemplate_1_Shell
954    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
955    ModuleID = gid_Module_Prg_Wrt_Bin;
956    Subkey = "opendocument.WriterTemplate.1\shell";
957    Value = "new";
958End
959
960RegistryItem gid_Regitem_Openoffice_Writertemplate_1_Shell_New
961    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
962    ModuleID = gid_Module_Prg_Wrt_Bin;
963    Subkey = "opendocument.WriterTemplate.1\shell\new";
964    REG_VALUE_LNG(NEW)
965End
966
967RegistryItem gid_Regitem_Openoffice_Writertemplate_1_Shell_New_Command
968    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
969    ModuleID = gid_Module_Prg_Wrt_Bin;
970    Subkey = "opendocument.WriterTemplate.1\shell\new\command";
971    Value = "\"<progpath>\program\soffice.exe\" -n \"%1\"";
972End
973
974RegistryItem gid_Regitem_Openoffice_Writertemplate_1_Shell_Open_Command
975    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
976    Subkey = "opendocument.WriterTemplate.1\shell\open\command";
977    ModuleID = gid_Module_Prg_Wrt_Bin;
978    Value = "\"<progpath>\program\swriter.exe\" -o \"%1\"";
979End
980
981RegistryItem gid_Regitem_Openoffice_Writertemplate_1_Shell_Print_Command
982    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
983    Subkey = "opendocument.WriterTemplate.1\shell\print\command";
984    ModuleID = gid_Module_Prg_Wrt_Bin;
985    Value = "\"<progpath>\program\soffice.exe\" -p \"%1\"";
986End
987
988RegistryItem gid_Regitem_Openoffice_Writertemplate_1_Shell_Printto_Command
989    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
990    Subkey = "opendocument.WriterTemplate.1\shell\printto\command";
991    ModuleID = gid_Module_Prg_Wrt_Bin;
992    Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\"";
993End
994
995// new odm file extension
996
997RegistryItem gid_Regitem_Odm_PersistentHandler
998    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
999    ModuleID = gid_Module_Prg_Wrt_Bin;
1000    Subkey = ".odm\PersistentHandler";
1001    Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
1002End
1003
1004RegistryItem gid_Regitem_Odm_Shellex_00021500_0000_0000_C000_000000000046
1005    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1006    ModuleID = gid_Module_Prg_Wrt_Bin;
1007    Subkey = ".odm\shellex\{00021500-0000-0000-C000-000000000046}";
1008    Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
1009End
1010
1011RegistryItem gid_Regitem_Odm_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
1012    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1013    ModuleID = gid_Module_Prg_Wrt_Bin;
1014    Subkey = ".odm\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
1015    Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
1016End
1017
1018RegistryItem gid_Regitem_WriterGlobalDocument_1_Shellex_PropertySheetHandlers_MyPropSheet1
1019    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1020    ModuleID = gid_Module_Prg_Wrt_Bin;
1021    Subkey = "opendocument.WriterGlobalDocument.1\shellex\PropertySheetHandlers\MyPropSheet1";
1022    Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
1023End
1024
1025RegistryItem gid_Regitem_Odm
1026    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1027    ModuleID = gid_Module_Prg_Wrt_Bin;
1028    Subkey = ".odm";
1029    Value = "opendocument.WriterGlobalDocument.1";
1030End
1031
1032RegistryItem gid_Regitem_Odm_Contenttype
1033    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1034    ModuleID = gid_Module_Prg_Wrt_Bin;
1035    Subkey = ".odm";
1036    Name = "Content Type";
1037    Value = "application/vnd.oasis.opendocument.text-master";
1038End
1039
1040RegistryItem gid_Regitem_Odm_Mime_Database
1041    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1042    ModuleID = gid_Module_Prg_Wrt_Bin;
1043    Subkey = "MIME\Database\Content Type\application/vnd.oasis.opendocument.text-master";
1044    Name = "Extension";
1045    Value = ".odm";
1046End
1047
1048RegistryItem gid_Regitem_Openoffice_Writerglobaldocument_Curver
1049    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1050    Subkey = "opendocument.WriterGlobalDocument\CurVer";
1051    ModuleID = gid_Module_Prg_Wrt_Bin;
1052    Value = "opendocument.WriterGlobalDocument.1";
1053End
1054
1055RegistryItem gid_Regitem_Openoffice_Writerglobaldocument_1
1056    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1057    Subkey = "opendocument.WriterGlobalDocument.1";
1058    ModuleID = gid_Module_Prg_Wrt_Bin;
1059    REG_VALUE_LNG(OO_MASTERDOC)
1060End
1061
1062RegistryItem gid_Regitem_Openoffice_Writerglobaldocument_1_Defaulticon
1063    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1064    Subkey = "opendocument.WriterGlobalDocument.1\DefaultIcon";
1065    ModuleID = gid_Module_Prg_Wrt_Bin;
1066    Value = "<progpath>\program\soffice.exe,10";
1067End
1068
1069RegistryItem gid_Regitem_odm_FullDetails
1070    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1071    ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
1072    Subkey = "opendocument.WriterGlobalDocument.1";
1073    Name = "FullDetails";
1074    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";
1075End
1076
1077RegistryItem gid_Regitem_Openoffice_Writerglobaldocument_1_Shell
1078    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1079    Subkey = "opendocument.WriterGlobalDocument.1\shell";
1080    ModuleID = gid_Module_Prg_Wrt_Bin;
1081    Value = "open";
1082End
1083
1084RegistryItem gid_Regitem_Openoffice_Writerglobaldocument_1_Shell_New
1085    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1086    Subkey = "opendocument.WriterGlobalDocument.1\shell\new";
1087    ModuleID = gid_Module_Prg_Wrt_Bin;
1088    REG_VALUE_LNG(NEW)
1089End
1090
1091RegistryItem gid_Regitem_Openoffice_Writerglobaldocument_1_Shell_New_Command
1092    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1093    Subkey = "opendocument.WriterGlobalDocument.1\shell\new\command";
1094    ModuleID = gid_Module_Prg_Wrt_Bin;
1095    Value = "\"<progpath>\program\soffice.exe\" -n \"%1\"";
1096End
1097
1098RegistryItem gid_Regitem_Openoffice_Writerglobaldocument_1_Shell_Open_Command
1099    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1100    Subkey = "opendocument.WriterGlobalDocument.1\shell\open\command";
1101    ModuleID = gid_Module_Prg_Wrt_Bin;
1102    Value = "\"<progpath>\program\swriter.exe\" -o \"%1\"";
1103End
1104
1105RegistryItem gid_Regitem_Openoffice_Writerglobaldocument_1_Shell_Print_Command
1106    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1107    Subkey = "opendocument.WriterGlobalDocument.1\shell\print\command";
1108    ModuleID = gid_Module_Prg_Wrt_Bin;
1109    Value = "\"<progpath>\program\soffice.exe\" -p \"%1\"";
1110End
1111
1112RegistryItem gid_Regitem_Openoffice_Writerglobaldocument_1_Shell_Printto_Command
1113    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1114    Subkey = "opendocument.WriterGlobalDocument.1\shell\printto\command";
1115    ModuleID = gid_Module_Prg_Wrt_Bin;
1116    Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\"";
1117End
1118
1119// new oth file extension
1120
1121RegistryItem gid_Regitem_Oth_PersistentHandler
1122    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1123    ModuleID = gid_Module_Prg_Wrt_Bin;
1124    Subkey = ".oth\PersistentHandler";
1125    Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
1126End
1127
1128RegistryItem gid_Regitem_Oth_Shellex_00021500_0000_0000_C000_000000000046
1129    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1130    ModuleID = gid_Module_Prg_Wrt_Bin;
1131    Subkey = ".oth\shellex\{00021500-0000-0000-C000-000000000046}";
1132    Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
1133End
1134
1135RegistryItem gid_Regitem_Oth_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
1136    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1137    ModuleID = gid_Module_Prg_Wrt_Bin;
1138    Subkey = ".oth\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
1139    Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
1140End
1141
1142RegistryItem gid_Regitem_WriterWebTemplate_Shellex_PropertySheetHandlers_MyPropSheet1
1143    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1144    ModuleID = gid_Module_Prg_Wrt_Bin;
1145    Subkey = "opendocument.WriterWebTemplate.1\shellex\PropertySheetHandlers\MyPropSheet1";
1146    Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
1147End
1148
1149RegistryItem gid_Regitem_Oth
1150    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1151    ModuleID = gid_Module_Prg_Wrt_Bin;
1152    Subkey = ".oth";
1153    Value = "opendocument.WriterWebTemplate.1";
1154End
1155
1156RegistryItem gid_Regitem_Oth_Contenttype
1157    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1158    ModuleID = gid_Module_Prg_Wrt_Bin;
1159    Subkey = ".oth";
1160    Name = "Content Type";
1161    Value = "application/vnd.oasis.opendocument.text-web";
1162End
1163
1164RegistryItem gid_Regitem_Oth_Mime_Database
1165    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1166    ModuleID = gid_Module_Prg_Wrt_Bin;
1167    Subkey = "MIME\Database\Content Type\application/vnd.oasis.opendocument.text-web";
1168    Name = "Extension";
1169    Value = ".oth";
1170End
1171
1172RegistryItem gid_Regitem_Openoffice_WriterWebTemplate_Curver
1173    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1174    Subkey = "opendocument.WriterWebTemplate\CurVer";
1175    ModuleID = gid_Module_Prg_Wrt_Bin;
1176    Value = "opendocument.WriterWebTemplate.1";
1177End
1178
1179RegistryItem gid_Regitem_Openoffice_WriterWebTemplate_1
1180    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1181    Subkey = "opendocument.WriterWebTemplate.1";
1182    ModuleID = gid_Module_Prg_Wrt_Bin;
1183    REG_VALUE_LNG(OO_WEBDOC)
1184End
1185
1186RegistryItem gid_Regitem_Openoffice_WriterWebTemplate_1_Defaulticon
1187    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1188    Subkey = "opendocument.WriterWebTemplate.1\DefaultIcon";
1189    ModuleID = gid_Module_Prg_Wrt_Bin;
1190    Value = "<progpath>\program\soffice.exe,11";
1191End
1192
1193RegistryItem gid_Regitem_Openoffice_WriterWebTemplate_1_Shell
1194    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1195    Subkey = "opendocument.WriterWebTemplate.1\shell";
1196    ModuleID = gid_Module_Prg_Wrt_Bin;
1197    Value = "open";
1198End
1199
1200RegistryItem gid_Regitem_Openoffice_WriterWebTemplate_1_Shell_New
1201    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1202    Subkey = "opendocument.WriterWebTemplate.1\shell\new";
1203    ModuleID = gid_Module_Prg_Wrt_Bin;
1204    REG_VALUE_LNG(NEW)
1205End
1206
1207RegistryItem gid_Regitem_Openoffice_WriterWebTemplate_1_Shell_New_Command
1208    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1209    Subkey = "opendocument.WriterWebTemplate.1\shell\new\command";
1210    ModuleID = gid_Module_Prg_Wrt_Bin;
1211    Value = "\"<progpath>\program\soffice.exe\" -n \"%1\"";
1212End
1213
1214RegistryItem gid_Regitem_Openoffice_WriterWebTemplate_1_Shell_Open_Command
1215    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1216    Subkey = "opendocument.WriterWebTemplate.1\shell\open\command";
1217    ModuleID = gid_Module_Prg_Wrt_Bin;
1218    Value = "\"<progpath>\program\swriter.exe\" -o \"%1\"";
1219End
1220
1221RegistryItem gid_Regitem_Openoffice_WriterWebTemplate_1_Shell_Print_Command
1222    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1223    Subkey = "opendocument.WriterWebTemplate.1\shell\print\command";
1224    ModuleID = gid_Module_Prg_Wrt_Bin;
1225    Value = "\"<progpath>\program\soffice.exe\" -p \"%1\"";
1226End
1227
1228RegistryItem gid_Regitem_Openoffice_WriterWebTemplate_1_Shell_Printto_Command
1229    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1230    Subkey = "opendocument.WriterWebTemplate.1\shell\printto\command";
1231    ModuleID = gid_Module_Prg_Wrt_Bin;
1232    Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\"";
1233End
1234
1235RegistryItem gid_Regitem_oth_FullDetails
1236    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1237    ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
1238    Subkey = "opendocument.WriterWebTemplate.1";
1239    Name = "FullDetails";
1240    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";
1241End
1242
1243// "OpenWith" Windows Registry keys for extensions supported by Writer
1244
1245// .ODT
1246RegistryItem gid_Regitem_OpenOffice_ODT_OpenWith_Writer
1247    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1248    Subkey = ".odt\OpenWithProgIDs";
1249    ModuleID = gid_Module_Prg_Wrt_Bin;
1250    Name = "opendocument.WriterDocument.1";
1251    Value = " ";
1252End
1253
1254// .OTT
1255RegistryItem gid_Regitem_OpenOffice_OTT_OpenWith_Writer
1256    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1257    Subkey = ".ott\OpenWithProgIDs";
1258    ModuleID = gid_Module_Prg_Wrt_Bin;
1259    Name = "opendocument.WriterTemplate.1";
1260    Value = " ";
1261End
1262
1263// .OTH
1264RegistryItem gid_Regitem_OpenOffice_OTH_OpenWith_Writer
1265    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1266    Subkey = ".oth\OpenWithProgIDs";
1267    ModuleID = gid_Module_Prg_Wrt_Bin;
1268    Name = "opendocument.WriterWebTemplate.1";
1269    Value = " ";
1270End
1271
1272// .ODM
1273RegistryItem gid_Regitem_OpenOffice_ODM_OpenWith_Writer
1274    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1275    Subkey = ".odm\OpenWithProgIDs";
1276    ModuleID = gid_Module_Prg_Wrt_Bin;
1277    Name = "opendocument.WriterGlobalDocument.1";
1278    Value = " ";
1279End
1280
1281// .SXW
1282RegistryItem gid_Regitem_OpenOffice_SXW_OpenWith_Writer
1283    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1284    Subkey = ".sxw\OpenWithProgIDs";
1285    ModuleID = gid_Module_Prg_Wrt_Bin;
1286    Name = "soffice.StarWriterDocument.6";
1287    Value = " ";
1288End
1289
1290// .STW
1291RegistryItem gid_Regitem_OpenOffice_STW_OpenWith_Writer
1292    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1293    Subkey = ".stw\OpenWithProgIDs";
1294    ModuleID = gid_Module_Prg_Wrt_Bin;
1295    Name = "soffice.StarWriterTemplate.6";
1296    Value = " ";
1297End
1298
1299// .TXT
1300RegistryItem gid_Regitem_OpenOffice_TXT_OpenWith_Writer
1301    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1302    Subkey = ".txt\OpenWithProgIDs";
1303    ModuleID = gid_Module_Prg_Wrt_Bin;
1304    Name = "soffice.StarWriterDocument.6";
1305    Value = " ";
1306End
1307
1308// .HTM
1309RegistryItem gid_Regitem_OpenOffice_HTM_OpenWith_Writer
1310    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1311    Subkey = ".htm\OpenWithProgIDs";
1312    ModuleID = gid_Module_Prg_Wrt_Bin;
1313    Name = "soffice.StarWriterDocument.6";
1314    Value = " ";
1315End
1316
1317// .HTML
1318RegistryItem gid_Regitem_OpenOffice_HTML_OpenWith_Writer
1319    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1320    Subkey = ".html\OpenWithProgIDs";
1321    ModuleID = gid_Module_Prg_Wrt_Bin;
1322    Name = "soffice.StarWriterDocument.6";
1323    Value = " ";
1324End
1325
1326// .XML
1327RegistryItem gid_Regitem_OpenOffice_XML_OpenWith_Writer
1328    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1329    Subkey = ".xml\OpenWithProgIDs";
1330    ModuleID = gid_Module_Prg_Wrt_Bin;
1331    Name = "soffice.StarWriterDocument.6";
1332    Value = " ";
1333End
1334
1335// .WPD
1336RegistryItem gid_Regitem_OpenOffice_WPD_OpenWith_Writer
1337    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1338    Subkey = ".wpd\OpenWithProgIDs";
1339    ModuleID = gid_Module_Prg_Wrt_Bin;
1340    Name = "soffice.StarWriterDocument.6";
1341    Value = " ";
1342End
1343
1344// .HWP
1345RegistryItem gid_Regitem_OpenOffice_HWP_OpenWith_Writer
1346    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1347    Subkey = ".hwp\OpenWithProgIDs";
1348    ModuleID = gid_Module_Prg_Wrt_Bin;
1349    Name = "soffice.StarWriterDocument.6";
1350    Value = " ";
1351End
1352
1353// .SXG
1354RegistryItem gid_Regitem_OpenOffice_SXG_OpenWith_Writer
1355    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
1356    Subkey = ".sxg\OpenWithProgIDs";
1357    ModuleID = gid_Module_Prg_Wrt_Bin;
1358    Name = "soffice.StarWriterGlobalDocument.6";
1359    Value = " ";
1360End
1361
1362
1363RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Ott
1364    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1365    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1366    ModuleID = gid_Module_Prg_Wrt_Bin;
1367    Name = ".ott";
1368    Value = "opendocument.WriterTemplate.1";
1369    Styles = ();
1370End
1371
1372RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Stw
1373    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1374    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1375    ModuleID = gid_Module_Prg_Wrt_Bin;
1376    Name = ".stw";
1377    Value = "soffice.StarWriterTemplate.6";
1378    Styles = ();
1379End
1380
1381RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Txt
1382    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1383    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1384    ModuleID = gid_Module_Prg_Wrt_Bin;
1385    Name = ".txt";
1386    Value = "soffice.StarWriterDocument.6";
1387    Styles = ();
1388End
1389
1390RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Htm
1391    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1392    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1393    ModuleID = gid_Module_Prg_Wrt_Bin;
1394    Name = ".htm";
1395    Value = "soffice.StarWriterDocument.6";
1396    Styles = ();
1397End
1398
1399RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Html
1400    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1401    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1402    ModuleID = gid_Module_Prg_Wrt_Bin;
1403    Name = ".html";
1404    Value = "soffice.StarWriterDocument.6";
1405    Styles = ();
1406End
1407
1408RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Xml
1409    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1410    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1411    ModuleID = gid_Module_Prg_Wrt_Bin;
1412    Name = ".xml";
1413    Value = "soffice.StarWriterDocument.6";
1414    Styles = ();
1415End
1416
1417RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Wpd
1418    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1419    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1420    ModuleID = gid_Module_Prg_Wrt_Bin;
1421    Name = ".wpd";
1422    Value = "soffice.StarWriterDocument.6";
1423    Styles = ();
1424End
1425
1426RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Hwp
1427    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1428    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1429    ModuleID = gid_Module_Prg_Wrt_Bin;
1430    Name = ".hwp";
1431    Value = "soffice.StarWriterDocument.6";
1432    Styles = ();
1433End
1434
1435RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Sxg
1436    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1437    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1438    ModuleID = gid_Module_Prg_Wrt_Bin;
1439    Name = ".sxg";
1440    Name = "soffice.StarWriterGlobalDocument.6";
1441    Styles = ();
1442End
1443
1444RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Oth
1445    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1446    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1447    ModuleID = gid_Module_Prg_Wrt_Bin;
1448    Name = ".oth";
1449    Value = "opendocument.WriterWebTemplate.1";
1450    Styles = ();
1451End
1452
1453RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Odm
1454    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1455    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
1456    ModuleID = gid_Module_Prg_Wrt_Bin;
1457    Name = ".odm";
1458    Value = "opendocument.WriterGlobalDocument.1";
1459    Styles = ();
1460End
1461
1462RegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Swriter_Exe
1463    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1464    Subkey = "Software\Microsoft\Windows\CurrentVersion\App Paths\swriter.exe";
1465    ModuleID = gid_Module_Prg_Wrt_Bin;
1466    Value = "<progpath>\program\swriter.exe";
1467End
1468
1469RegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Swriter_Exepath
1470    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
1471    Subkey = "Software\Microsoft\Windows\CurrentVersion\App Paths\swriter.exe";
1472    ModuleID = gid_Module_Prg_Wrt_Bin;
1473    Name = "Path";
1474    Value = "<progpath>";
1475End
1476
1477
1478// registering the property handler for the supported file types
1479
1480REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( odt )
1481REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( ott )
1482REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( oth )
1483REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( odm )
1484REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( sxw )
1485REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( stw )
1486REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( sxg )
1487
1488// registering the mso file types
1489// CONDITIONAL_REGISTER_DOC_EXTENSION(name,modid,                 key,  cond, disp_name,        icon_id, app, default, dox_type)
1490
1491CONDITIONAL_REGISTER_DOC_EXTENSION( Doc,  gid_Module_Prg_Wrt_MSO_Reg, doc,  DOC,  MS_WORD_DOCUMENT_OLD, 27, swriter.exe, open, Writer )
1492CONDITIONAL_REGISTER_DOC_EXTENSION( Docx, gid_Module_Prg_Wrt_MSO_Reg, docx, DOCX, MS_WORD_DOCUMENT, 27, swriter.exe, open, Writer )
1493CONDITIONAL_REGISTER_DOC_EXTENSION( Docm, gid_Module_Prg_Wrt_MSO_Reg, docm, DOCM, MS_WORD_DOCUMENT, 27, swriter.exe, open, Writer )
1494CONDITIONAL_REGISTER_DOCTEMPLATE_EXTENSION( Dot,  gid_Module_Prg_Wrt_MSO_Reg, dot,  DOT,  MS_WORD_TEMPLATE_OLD, 28, swriter.exe, new, Writer )
1495CONDITIONAL_REGISTER_DOCTEMPLATE_EXTENSION( Dotx, gid_Module_Prg_Wrt_MSO_Reg, dotx, DOTX, MS_WORD_TEMPLATE, 28, swriter.exe, new, Writer )
1496CONDITIONAL_REGISTER_DOCTEMPLATE_EXTENSION( Dotm, gid_Module_Prg_Wrt_MSO_Reg, dotm, DOTM, MS_WORD_TEMPLATE, 28, swriter.exe, new, Writer )
1497CONDITIONAL_REGISTER_DOC_EXTENSION( Rtf,  gid_Module_Prg_Wrt_MSO_Reg, rtf,  RTF,  MS_RTF_DOCUMENT, 27, swriter.exe, open, Writer )
1498
1499