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