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__41662fc2_0d57_4aff_Ab27_Ad2e12e7c273_
32    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
33    ModuleID = gid_Module_Prg_Draw_Bin;
34    Subkey = "CLSID\{41662FC2-0D57-4aff-AB27-AD2E12E7C273}";
35    REG_VALUE_LNG(SO60_DRAWING)
36End
37
38RegistryItem gid_Regitem_Clsid__41662fc2_0d57_4aff_Ab27_Ad2e12e7c273__Auxusertype_2
39    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
40    ModuleID = gid_Module_Prg_Draw_Bin;
41    Subkey = "CLSID\{41662FC2-0D57-4aff-AB27-AD2E12E7C273}\AuxUserType\2";
42    Value = "%PRODUCTNAME";
43End
44
45RegistryItem gid_Regitem_Clsid__41662fc2_0d57_4aff_Ab27_Ad2e12e7c273__Auxusertype_3
46    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
47    ModuleID = gid_Module_Prg_Draw_Bin;
48    Subkey = "CLSID\{41662FC2-0D57-4aff-AB27-AD2E12E7C273}\AuxUserType\3";
49    REG_VALUE_LNG(SO60_DRAWING)
50End
51
52RegistryItem gid_Regitem_Clsid__41662fc2_0d57_4aff_Ab27_Ad2e12e7c273__Dataformats_Getset_0
53    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
54    ModuleID = gid_Module_Prg_Draw_Bin;
55    Subkey = "CLSID\{41662FC2-0D57-4aff-AB27-AD2E12E7C273}\DataFormats\GetSet\0";
56    Value = "Embed Source,1,8,1";
57End
58
59RegistryItem gid_Regitem_Clsid__41662fc2_0d57_4aff_Ab27_Ad2e12e7c273__Dataformats_Getset_1
60    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
61    ModuleID = gid_Module_Prg_Draw_Bin;
62    Subkey = "CLSID\{41662FC2-0D57-4aff-AB27-AD2E12E7C273}\DataFormats\GetSet\1";
63    Value = "3,1,32,1";
64End
65
66RegistryItem gid_Regitem_Clsid__41662fc2_0d57_4aff_Ab27_Ad2e12e7c273__Dataformats_Getset_2
67    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
68    ModuleID = gid_Module_Prg_Draw_Bin;
69    Subkey = "CLSID\{41662FC2-0D57-4aff-AB27-AD2E12E7C273}\DataFormats\GetSet\2";
70    Value = "2,1,16,1";
71End
72
73RegistryItem gid_Regitem_Clsid__41662fc2_0d57_4aff_Ab27_Ad2e12e7c273__Defaulticon
74    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
75    ModuleID = gid_Module_Prg_Draw_Bin;
76    Subkey = "CLSID\{41662FC2-0D57-4aff-AB27-AD2E12E7C273}\DefaultIcon";
77    Value = "<progpath>\program\soffice.exe,0";
78End
79
80RegistryItem gid_Regitem_Clsid__41662fc2_0d57_4aff_Ab27_Ad2e12e7c273__Inprochandler32
81    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
82    ModuleID = gid_Module_Prg_Draw_Bin;
83    Subkey = "CLSID\{41662FC2-0D57-4aff-AB27-AD2E12E7C273}\InprocHandler32";
84    Value = "<progpath>\program\inprocserv.dll";
85    Styles = ();
86End
87
88RegistryItem gid_Regitem_Clsid__41662fc2_0d57_4aff_Ab27_Ad2e12e7c273__Insertable
89    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
90    ModuleID = gid_Module_Prg_Draw_Bin;
91    Subkey = "CLSID\{41662FC2-0D57-4aff-AB27-AD2E12E7C273}\Insertable";
92End
93
94RegistryItem gid_Regitem_Clsid__41662fc2_0d57_4aff_Ab27_Ad2e12e7c273__Localserver32
95    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
96    ModuleID = gid_Module_Prg_Draw_Bin;
97    Subkey = "CLSID\{41662FC2-0D57-4aff-AB27-AD2E12E7C273}\LocalServer32";
98    Value = "<progpath>\program\soffice.exe -nodefault -nologo";
99End
100
101RegistryItem gid_Regitem_Clsid__41662fc2_0d57_4aff_Ab27_Ad2e12e7c273__Miscstatus
102    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
103    ModuleID = gid_Module_Prg_Draw_Bin;
104    Subkey = "CLSID\{41662FC2-0D57-4aff-AB27-AD2E12E7C273}\MiscStatus";
105    Value = "16";
106End
107
108RegistryItem gid_Regitem_Clsid__41662fc2_0d57_4aff_Ab27_Ad2e12e7c273__Progid
109    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
110    ModuleID = gid_Module_Prg_Draw_Bin;
111    Subkey = "CLSID\{41662FC2-0D57-4aff-AB27-AD2E12E7C273}\ProgID";
112    Value = "soffice.StarDrawDocument.6";
113End
114
115RegistryItem gid_Regitem_Clsid__41662fc2_0d57_4aff_Ab27_Ad2e12e7c273__Programmable
116    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
117    ModuleID = gid_Module_Prg_Draw_Bin;
118    Subkey = "CLSID\{41662FC2-0D57-4aff-AB27-AD2E12E7C273}\Programmable";
119End
120
121RegistryItem gid_Regitem_Clsid__41662fc2_0d57_4aff_Ab27_Ad2e12e7c273__Verb_0
122    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
123    ModuleID = gid_Module_Prg_Draw_Bin;
124    Subkey = "CLSID\{41662FC2-0D57-4aff-AB27-AD2E12E7C273}\verb\0";
125    Value = "&Edit,0,0";
126End
127
128RegistryItem gid_Regitem_Clsid__41662fc2_0d57_4aff_Ab27_Ad2e12e7c273__Verb__1
129    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
130    ModuleID = gid_Module_Prg_Draw_Bin;
131    Subkey = "CLSID\{41662FC2-0D57-4aff-AB27-AD2E12E7C273}\verb\-1";
132    Value = "Show,0,0";
133End
134
135RegistryItem gid_Regitem_Clsid__41662fc2_0d57_4aff_Ab27_Ad2e12e7c273__Verb__2
136    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
137    ModuleID = gid_Module_Prg_Draw_Bin;
138    Subkey = "CLSID\{41662FC2-0D57-4aff-AB27-AD2E12E7C273}\verb\-2";
139    Value = "Open,0,0";
140End
141
142RegistryItem gid_Regitem_Clsid__41662fc2_0d57_4aff_Ab27_Ad2e12e7c273__Versionindependentprogid
143    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
144    ModuleID = gid_Module_Prg_Draw_Bin;
145    Subkey = "CLSID\{41662FC2-0D57-4aff-AB27-AD2E12E7C273}\VersionIndependentProgID";
146    Value = "soffice.StarDrawDocument.6";
147End
148
149// MSOLE embedded object in OASIS file format
150RegistryItem gid_Regitem_Clsid__448bb771_Cfe2_47c4_Bcdf_1fbf378e202c_
151    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
152    ModuleID = gid_Module_Prg_Draw_Bin;
153    Subkey = "CLSID\{448BB771-CFE2-47C4-BCDF-1FBF378E202C}";
154    REG_VALUE_LNG(OO_DRAW)
155End
156
157RegistryItem gid_Regitem_Clsid__448bb771_Cfe2_47c4_Bcdf_1fbf378e202c__Auxusertype_2
158    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
159    ModuleID = gid_Module_Prg_Draw_Bin;
160    Subkey = "CLSID\{448BB771-CFE2-47C4-BCDF-1FBF378E202C}\AuxUserType\2";
161    Value = "%PRODUCTNAME";
162End
163
164RegistryItem gid_Regitem_Clsid__448bb771_Cfe2_47c4_Bcdf_1fbf378e202c__Auxusertype_3
165    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
166    ModuleID = gid_Module_Prg_Draw_Bin;
167    Subkey = "CLSID\{448BB771-CFE2-47C4-BCDF-1FBF378E202C}\AuxUserType\3";
168    REG_VALUE_LNG(OO_DRAW)
169End
170
171RegistryItem gid_Regitem_Clsid__448bb771_Cfe2_47c4_Bcdf_1fbf378e202c__Dataformats_Getset_0
172    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
173    ModuleID = gid_Module_Prg_Draw_Bin;
174    Subkey = "CLSID\{448BB771-CFE2-47C4-BCDF-1FBF378E202C}\DataFormats\GetSet\0";
175    Value = "Embed Source,1,8,1";
176End
177
178RegistryItem gid_Regitem_Clsid__448bb771_Cfe2_47c4_Bcdf_1fbf378e202c__Dataformats_Getset_1
179    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
180    ModuleID = gid_Module_Prg_Draw_Bin;
181    Subkey = "CLSID\{448BB771-CFE2-47C4-BCDF-1FBF378E202C}\DataFormats\GetSet\1";
182    Value = "3,1,32,1";
183End
184
185RegistryItem gid_Regitem_Clsid__448bb771_Cfe2_47c4_Bcdf_1fbf378e202c__Dataformats_Getset_2
186    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
187    ModuleID = gid_Module_Prg_Draw_Bin;
188    Subkey = "CLSID\{448BB771-CFE2-47C4-BCDF-1FBF378E202C}\DataFormats\GetSet\2";
189    Value = "2,1,16,1";
190End
191
192RegistryItem gid_Regitem_Clsid__448bb771_Cfe2_47c4_Bcdf_1fbf378e202c__Defaulticon
193    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
194    ModuleID = gid_Module_Prg_Draw_Bin;
195    Subkey = "CLSID\{448BB771-CFE2-47C4-BCDF-1FBF378E202C}\DefaultIcon";
196    Value = "<progpath>\program\soffice.exe,0";
197End
198
199RegistryItem gid_Regitem_Clsid__448bb771_Cfe2_47c4_Bcdf_1fbf378e202c__Inprochandler32
200    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
201    ModuleID = gid_Module_Prg_Draw_Bin;
202    Subkey = "CLSID\{448BB771-CFE2-47C4-BCDF-1FBF378E202C}\InprocHandler32";
203    Value = "<progpath>\program\inprocserv.dll";
204    Styles = ();
205End
206
207RegistryItem gid_Regitem_Clsid__448bb771_Cfe2_47c4_Bcdf_1fbf378e202c__Insertable
208    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
209    ModuleID = gid_Module_Prg_Draw_Bin;
210    Subkey = "CLSID\{448BB771-CFE2-47C4-BCDF-1FBF378E202C}\Insertable";
211End
212
213RegistryItem gid_Regitem_Clsid__448bb771_Cfe2_47c4_Bcdf_1fbf378e202c__Localserver32
214    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
215    ModuleID = gid_Module_Prg_Draw_Bin;
216    Subkey = "CLSID\{448BB771-CFE2-47C4-BCDF-1FBF378E202C}\LocalServer32";
217    Value = "<progpath>\program\soffice.exe -nodefault -nologo";
218End
219
220RegistryItem gid_Regitem_Clsid__448bb771_Cfe2_47c4_Bcdf_1fbf378e202c__Miscstatus
221    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
222    ModuleID = gid_Module_Prg_Draw_Bin;
223    Subkey = "CLSID\{448BB771-CFE2-47C4-BCDF-1FBF378E202C}\MiscStatus";
224    Value = "16";
225End
226
227RegistryItem gid_Regitem_Clsid__448bb771_Cfe2_47c4_Bcdf_1fbf378e202c__Progid
228    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
229    ModuleID = gid_Module_Prg_Draw_Bin;
230    Subkey = "CLSID\{448BB771-CFE2-47C4-BCDF-1FBF378E202C}\ProgID";
231    Value = "opendocument.DrawDocument.1";
232End
233
234RegistryItem gid_Regitem_Clsid__448bb771_Cfe2_47c4_Bcdf_1fbf378e202c__Programmable
235    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
236    ModuleID = gid_Module_Prg_Draw_Bin;
237    Subkey = "CLSID\{448BB771-CFE2-47C4-BCDF-1FBF378E202C}\Programmable";
238End
239
240RegistryItem gid_Regitem_Clsid__448bb771_Cfe2_47c4_Bcdf_1fbf378e202c__Verb_0
241    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
242    ModuleID = gid_Module_Prg_Draw_Bin;
243    Subkey = "CLSID\{448BB771-CFE2-47C4-BCDF-1FBF378E202C}\verb\0";
244    Value = "&Edit,0,0";
245End
246
247RegistryItem gid_Regitem_Clsid__448bb771_Cfe2_47c4_Bcdf_1fbf378e202c__Verb__1
248    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
249    ModuleID = gid_Module_Prg_Draw_Bin;
250    Subkey = "CLSID\{448BB771-CFE2-47C4-BCDF-1FBF378E202C}\verb\-1";
251    Value = "Show,0,0";
252End
253
254RegistryItem gid_Regitem_Clsid__448bb771_Cfe2_47c4_Bcdf_1fbf378e202c__Verb__2
255    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
256    ModuleID = gid_Module_Prg_Draw_Bin;
257    Subkey = "CLSID\{448BB771-CFE2-47C4-BCDF-1FBF378E202C}\verb\-2";
258    Value = "Open,0,0";
259End
260
261RegistryItem gid_Regitem_Clsid__448bb771_Cfe2_47c4_Bcdf_1fbf378e202c__Versionindependentprogid
262    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
263    ModuleID = gid_Module_Prg_Draw_Bin;
264    Subkey = "CLSID\{448BB771-CFE2-47C4-BCDF-1FBF378E202C}\VersionIndependentProgID";
265    Value = "opendocument.DrawDocument.1";
266End
267
268
269
270RegistryItem gid_Regitem_Soffice_Stardrawdocument_6
271    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
272    ModuleID = gid_Module_Prg_Draw_Bin;
273    Subkey = "soffice.StarDrawDocument.6";
274    REG_VALUE_LNG(SO60_DRAWING)
275End
276
277RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_Clsid
278    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
279    ModuleID = gid_Module_Prg_Draw_Bin;
280    Subkey = "soffice.StarDrawDocument.6\CLSID";
281    Value = "{41662FC2-0D57-4aff-AB27-AD2E12E7C273}";
282End
283
284RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_Defaulticon
285    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
286    ModuleID = gid_Module_Prg_Draw_Bin;
287    Subkey = "soffice.StarDrawDocument.6\DefaultIcon";
288    Value = "<progpath>\program\soffice.exe,31";
289End
290
291RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_Shell
292    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
293    ModuleID = gid_Module_Prg_Draw_Bin;
294    Subkey = "soffice.StarDrawDocument.6\shell";
295    Value = "open";
296End
297
298RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_Shell_New
299    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
300    ModuleID = gid_Module_Prg_Draw_Bin;
301    Subkey = "soffice.StarDrawDocument.6\shell\new";
302    REG_VALUE_LNG(NEW)
303End
304
305RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_Shell_New_Command
306    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
307    ModuleID = gid_Module_Prg_Draw_Bin;
308    Subkey = "soffice.StarDrawDocument.6\shell\new\command";
309    Value = "\"<progpath>\program\soffice.exe\" -n \"%1\"";
310End
311
312RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_Shell_Open_Command
313    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
314    ModuleID = gid_Module_Prg_Draw_Bin;
315    Subkey = "soffice.StarDrawDocument.6\shell\open\command";
316    Value = "\"<progpath>\program\sdraw.exe\" -o \"%1\"";
317End
318
319RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_Shell_Print_Command
320    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
321    ModuleID = gid_Module_Prg_Draw_Bin;
322    Subkey = "soffice.StarDrawDocument.6\shell\print\command";
323    Value = "\"<progpath>\program\soffice.exe\" -p \"%1\"";
324End
325
326RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_Shell_Printto_Command
327    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
328    ModuleID = gid_Module_Prg_Draw_Bin;
329    Subkey = "soffice.StarDrawDocument.6\shell\printto\command";
330    Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\"";
331End
332
333RegistryItem gid_Regitem_Soffice_Stardrawdocument_Curver
334    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
335    Subkey = "soffice.StarDrawDocument\CurVer";
336    ModuleID = gid_Module_Prg_Draw_Bin;
337    Value = "soffice.StarDrawDocument.6";
338End
339
340RegistryItem gid_Regitem_Soffice_Stardrawingdocument_6_Insertable
341    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
342    ModuleID = gid_Module_Prg_Draw_Bin;
343    Subkey = "soffice.StarDrawDocument.6\Insertable";
344End
345
346RegistryItem gid_Regitem_Soffice_Stardrawingdocument_6_Protocol_Stdfileediting_Server
347    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
348    ModuleID = gid_Module_Prg_Draw_Bin;
349    Subkey = "soffice.StarDrawDocument.6\protocol\StdFileEditing\server";
350    Value = "<progpath>\program\soffice.exe";
351End
352
353RegistryItem gid_Regitem_Soffice_Stardrawingdocument_6_Protocol_Stdfileediting_Verb_0
354    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
355    ModuleID = gid_Module_Prg_Draw_Bin;
356    Subkey = "soffice.StarDrawDocument.6\protocol\StdFileEditing\verb\0";
357    Value = "&Edit";
358End
359
360RegistryItem gid_Regitem_Soffice_Stardrawingdocument_6_Protocol_Stdfileediting_Verb__1
361    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
362    ModuleID = gid_Module_Prg_Draw_Bin;
363    Subkey = "soffice.StarDrawDocument.6\protocol\StdFileEditing\verb\-1";
364    Value = "&Show";
365End
366
367RegistryItem gid_Regitem_Soffice_Stardrawingdocument_6_Protocol_Stdfileediting_Verb__2
368    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
369    ModuleID = gid_Module_Prg_Draw_Bin;
370    Subkey = "soffice.StarDrawDocument.6\protocol\StdFileEditing\verb\-2";
371    Value = "&Open";
372End
373
374RegistryItem gid_Regitem_Soffice_Stardrawtemplate_6
375    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
376    Subkey = "soffice.StarDrawTemplate.6";
377    ModuleID = gid_Module_Prg_Draw_Bin;
378    REG_VALUE_LNG(SO60_DRAW_TEMPLATE)
379End
380
381RegistryItem gid_Regitem_Soffice_Stardrawtemplate_6_Defaulticon
382    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
383    Subkey = "soffice.StarDrawTemplate.6\DefaultIcon";
384    ModuleID = gid_Module_Prg_Draw_Bin;
385    Value = "<progpath>\program\soffice.exe,32";
386End
387
388RegistryItem gid_Regitem_Soffice_Stardrawtemplate_6_Shell
389    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
390    Subkey = "soffice.StarDrawTemplate.6\shell";
391    ModuleID = gid_Module_Prg_Draw_Bin;
392    Value = "new";
393End
394
395RegistryItem gid_Regitem_Soffice_Stardrawtemplate_6_Shell_New
396    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
397    Subkey = "soffice.StarDrawTemplate.6\shell\new";
398    ModuleID = gid_Module_Prg_Draw_Bin;
399    REG_VALUE_LNG(NEW)
400End
401
402RegistryItem gid_Regitem_Soffice_Stardrawtemplate_6_Shell_New_Command
403    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
404    Subkey = "soffice.StarDrawTemplate.6\shell\new\command";
405    ModuleID = gid_Module_Prg_Draw_Bin;
406    Value = "\"<progpath>\program\soffice.exe\" -n \"%1\"";
407End
408
409RegistryItem gid_Regitem_Soffice_Stardrawtemplate_6_Shell_Open_Command
410    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
411    Subkey = "soffice.StarDrawTemplate.6\shell\open\command";
412    ModuleID = gid_Module_Prg_Draw_Bin;
413    Value = "\"<progpath>\program\sdraw.exe\" -o \"%1\"";
414End
415
416RegistryItem gid_Regitem_Soffice_Stardrawtemplate_6_Shell_Print_Command
417    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
418    Subkey = "soffice.StarDrawTemplate.6\shell\print\command";
419    ModuleID = gid_Module_Prg_Draw_Bin;
420    Value = "\"<progpath>\program\soffice.exe\" -p \"%1\"";
421End
422
423RegistryItem gid_Regitem_Soffice_Stardrawtemplate_6_Shell_Printto_Command
424    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
425    Subkey = "soffice.StarDrawTemplate.6\shell\printto\command";
426    ModuleID = gid_Module_Prg_Draw_Bin;
427    Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\"";
428End
429
430RegistryItem gid_Regitem_Std_PersistentHandler
431    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
432    ModuleID = gid_Module_Prg_Draw_Bin;
433    Subkey = ".std\PersistentHandler";
434    Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
435End
436
437RegistryItem gid_Regitem_Std_Shellex_00021500_0000_0000_C000_000000000046
438    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
439    ModuleID = gid_Module_Prg_Draw_Bin;
440    Subkey = ".std\shellex\{00021500-0000-0000-C000-000000000046}";
441    Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
442End
443
444RegistryItem gid_Regitem_Std_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
445    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
446    ModuleID = gid_Module_Prg_Draw_Bin;
447    Subkey = ".std\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
448    Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
449End
450
451RegistryItem gid_Regitem_StarDrawTemplate_6_Shellex_PropertySheetHandlers_MyPropSheet1
452    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
453    ModuleID = gid_Module_Prg_Draw_Bin;
454    Subkey = "soffice.StarDrawTemplate.6\shellex\PropertySheetHandlers\MyPropSheet1";
455    Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
456End
457
458RegistryItem gid_Regitem_Std
459    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
460    Subkey = ".std";
461    ModuleID = gid_Module_Prg_Draw_Bin;
462    Value = "soffice.StarDrawTemplate.6";
463End
464
465RegistryItem gid_Regitem_Std_Contenttype
466    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
467    ModuleID = gid_Module_Prg_Draw_Bin;
468    Subkey = ".std";
469    Name = "Content Type";
470    Value = "application/vnd.sun.xml.draw.template";
471End
472
473RegistryItem gid_Regitem_std_FullDetails
474    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
475    ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
476    Subkey = "soffice.StarDrawTemplate.6";
477    Name = "FullDetails";
478    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";
479End
480
481RegistryItem gid_Regitem_Sxd_PersistentHandler
482    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
483    ModuleID = gid_Module_Prg_Draw_Bin;
484    Subkey = ".sxd\PersistentHandler";
485    Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
486End
487
488RegistryItem gid_Regitem_Sxd_Shellex_00021500_0000_0000_C000_000000000046
489    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
490    ModuleID = gid_Module_Prg_Draw_Bin;
491    Subkey = ".sxd\shellex\{00021500-0000-0000-C000-000000000046}";
492    Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
493End
494
495RegistryItem gid_Regitem_Sxd_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
496    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
497    ModuleID = gid_Module_Prg_Draw_Bin;
498    Subkey = ".sxd\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
499    Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
500End
501
502RegistryItem gid_Regitem_StarDrawDocument_1_Shellex_PropertySheetHandlers_MyPropSheet1
503    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
504    ModuleID = gid_Module_Prg_Draw_Bin;
505    Subkey = "soffice.StarDrawDocument.6\shellex\PropertySheetHandlers\MyPropSheet1";
506    Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
507End
508
509RegistryItem gid_Regitem_Sxd_Contenttype
510    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
511    ModuleID = gid_Module_Prg_Draw_Bin;
512    Subkey = ".sxd";
513    Name = "Content Type";
514    Value = "application/vnd.sun.xml.draw";
515End
516
517RegistryItem gid_Regitem_Sxd_Mime_Database
518    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
519    ModuleID = gid_Module_Prg_Draw_Bin;
520    Subkey = "MIME\Database\Content Type\application/vnd.sun.xml.draw";
521    Name = "Extension";
522    Value = ".sxd";
523End
524
525RegistryItem gid_Regitem__Sxd
526    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
527    ModuleID = gid_Module_Prg_Draw_Bin;
528    Subkey = ".sxd";
529    Value = "soffice.StarDrawDocument.6";
530End
531
532RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_sxd
533    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
534    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
535    ModuleID = gid_Module_Prg_Draw_Bin;
536    Name = ".sxd";
537    Value = "soffice.StarDrawDocument.6";
538    Styles = ();
539End
540
541RegistryItem gid_Regitem_sxd_FullDetails
542    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
543    ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
544    Subkey = "soffice.StarDrawDocument.6";
545    Name = "FullDetails";
546    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";
547End
548
549// new odg file extension
550
551RegistryItem gid_Regitem_Odg_PersistentHandler
552    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
553    ModuleID = gid_Module_Prg_Draw_Bin;
554    Subkey = ".odg\PersistentHandler";
555    Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
556End
557
558RegistryItem gid_Regitem_Odg_Shellex_00021500_0000_0000_C000_000000000046
559    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
560    ModuleID = gid_Module_Prg_Draw_Bin;
561    Subkey = ".odg\shellex\{00021500-0000-0000-C000-000000000046}";
562    Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
563End
564
565RegistryItem gid_Regitem_Odg_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
566    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
567    ModuleID = gid_Module_Prg_Draw_Bin;
568    Subkey = ".odg\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
569    Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
570End
571
572RegistryItem gid_Regitem_DrawDocument_1_Shellex_PropertySheetHandlers_MyPropSheet1
573    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
574    ModuleID = gid_Module_Prg_Draw_Bin;
575    Subkey = "opendocument.DrawDocument.1\shellex\PropertySheetHandlers\MyPropSheet1";
576    Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
577End
578
579RegistryItem gid_Regitem_Odg_Contenttype
580    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
581    ModuleID = gid_Module_Prg_Draw_Bin;
582    Subkey = ".odg";
583    Name = "Content Type";
584    Value = "application/vnd.oasis.opendocument.graphics";
585End
586
587RegistryItem gid_Regitem_Odg_Mime_Database
588    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
589    ModuleID = gid_Module_Prg_Draw_Bin;
590    Subkey = "MIME\Database\Content Type\application/vnd.oasis.opendocument.graphics";
591    Name = "Extension";
592    Value = ".odg";
593End
594
595RegistryItem gid_Regitem__Odg
596    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
597    ModuleID = gid_Module_Prg_Draw_Bin;
598    Subkey = ".odg";
599    Value = "opendocument.DrawDocument.1";
600End
601
602RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_odg
603    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
604    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
605    ModuleID = gid_Module_Prg_Draw_Bin;
606    Name = ".odg";
607    Value = "opendocument.DrawDocument.1";
608    Styles = ();
609End
610
611RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_MimeAssociations_odg
612    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
613    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\MimeAssociations";
614    ModuleID = gid_Module_Prg_Draw_Bin;
615    Name = "application/vnd.oasis.opendocument.graphics";
616    Value = "opendocument.DrawDocument.1";
617    Styles = ();
618End
619
620RegistryItem gid_Regitem_Odg_Openoffice_Drawdocument_1_Shellnew
621    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
622    ModuleID = gid_Module_Prg_Draw_Bin;
623    Subkey = ".odg\opendocument.DrawDocument.1\ShellNew";
624    Name = "FileName";
625    Value = "soffice.odg";
626End
627
628RegistryItem gid_Regitem_Openoffice_Drawdocument_Curver
629    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
630    Subkey = "opendocument.DrawDocument\CurVer";
631    ModuleID = gid_Module_Prg_Draw_Bin;
632    Value = "opendocument.DrawDocument.1";
633End
634
635RegistryItem gid_Regitem_Openoffice_Drawdocument_1
636    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
637    ModuleID = gid_Module_Prg_Draw_Bin;
638    Subkey = "opendocument.DrawDocument.1";
639    REG_VALUE_LNG(OO_DRAW)
640End
641
642RegistryItem gid_Regitem_Openoffice_Drawdocument_1_Clsid
643    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
644    ModuleID = gid_Module_Prg_Draw_Bin;
645    Subkey = "opendocument.DrawDocument.1\CLSID";
646    Value = "{448BB771-CFE2-47C4-BCDF-1FBF378E202C}";
647End
648
649RegistryItem gid_Regitem_Openoffice_Drawdocument_1_Defaulticon
650    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
651    ModuleID = gid_Module_Prg_Draw_Bin;
652    Subkey = "opendocument.DrawDocument.1\DefaultIcon";
653    Value = "<progpath>\program\soffice.exe,5";
654End
655
656RegistryItem gid_Regitem_odg_FullDetails
657    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
658    ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
659    Subkey = "opendocument.DrawDocument.1";
660    Name = "FullDetails";
661    Value = "prop:System.PropGroup.Description;System.Title;System.Author;System.Subject;System.Keywords;System.Comment;System.PropGroup.FileSystem;System.ItemNameDisplay;System.ItemType;System.ItemFolderPathDisplay;System.Size;System.DateCreated;System.DateModified;System.FileAttributes;System.ComputerName";
662End
663
664RegistryItem gid_Regitem_Openoffice_Drawdocument_1_Shell
665    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
666    ModuleID = gid_Module_Prg_Draw_Bin;
667    Subkey = "opendocument.DrawDocument.1\shell";
668    Value = "open";
669End
670
671RegistryItem gid_Regitem_Openoffice_Drawdocument_1_Shell_New
672    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
673    ModuleID = gid_Module_Prg_Draw_Bin;
674    Subkey = "opendocument.DrawDocument.1\shell\new";
675    REG_VALUE_LNG(NEW)
676End
677
678RegistryItem gid_Regitem_Openoffice_Drawdocument_1_Shell_New_Command
679    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
680    ModuleID = gid_Module_Prg_Draw_Bin;
681    Subkey = "opendocument.DrawDocument.1\shell\new\command";
682    Value = "\"<progpath>\program\soffice.exe\" -n \"%1\"";
683End
684
685RegistryItem gid_Regitem_Openoffice_Drawdocument_1_Shell_Open_Command
686    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
687    ModuleID = gid_Module_Prg_Draw_Bin;
688    Subkey = "opendocument.DrawDocument.1\shell\open\command";
689    Value = "\"<progpath>\program\sdraw.exe\" -o \"%1\"";
690    Styles = ();
691End
692
693RegistryItem gid_Regitem_Openoffice_Drawdocument_1_Shell_Print_Command
694    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
695    ModuleID = gid_Module_Prg_Draw_Bin;
696    Subkey = "opendocument.DrawDocument.1\shell\print\command";
697    Value = "\"<progpath>\program\soffice.exe\" -p \"%1\"";
698End
699
700RegistryItem gid_Regitem_Openoffice_Drawdocument_1_Shell_Printto_Command
701    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
702    ModuleID = gid_Module_Prg_Draw_Bin;
703    Subkey = "opendocument.DrawDocument.1\shell\printto\command";
704    Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\"";
705End
706
707RegistryItem gid_Regitem_Openoffice_Drawingdocument_1_Insertable
708    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
709    ModuleID = gid_Module_Prg_Draw_Bin;
710    Subkey = "opendocument.DrawDocument.1\Insertable";
711End
712
713RegistryItem gid_Regitem_Openoffice_Drawingdocument_1_Protocol_Stdfileediting_Server
714    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
715    ModuleID = gid_Module_Prg_Draw_Bin;
716    Subkey = "opendocument.DrawDocument.1\protocol\StdFileEditing\server";
717    Value = "<progpath>\program\soffice.exe";
718End
719
720RegistryItem gid_Regitem_Openoffice_Drawingdocument_1_Protocol_Stdfileediting_Verb_0
721    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
722    ModuleID = gid_Module_Prg_Draw_Bin;
723    Subkey = "opendocument.DrawDocument.1\protocol\StdFileEditing\verb\0";
724    Value = "&Edit";
725End
726
727RegistryItem gid_Regitem_Openoffice_Drawingdocument_1_Protocol_Stdfileediting_Verb__1
728    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
729    ModuleID = gid_Module_Prg_Draw_Bin;
730    Subkey = "opendocument.DrawDocument.1\protocol\StdFileEditing\verb\-1";
731    Value = "&Show";
732End
733
734RegistryItem gid_Regitem_Openoffice_Drawingdocument_1_Protocol_Stdfileediting_Verb__2
735    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
736    ModuleID = gid_Module_Prg_Draw_Bin;
737    Subkey = "opendocument.DrawDocument.1\protocol\StdFileEditing\verb\-2";
738    Value = "&Open";
739End
740
741// new otg file extension
742
743RegistryItem gid_Regitem_Otg_PersistentHandler
744    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
745    ModuleID = gid_Module_Prg_Draw_Bin;
746    Subkey = ".otg\PersistentHandler";
747    Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
748End
749
750RegistryItem gid_Regitem_Otg_Shellex_00021500_0000_0000_C000_000000000046
751    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
752    ModuleID = gid_Module_Prg_Draw_Bin;
753    Subkey = ".otg\shellex\{00021500-0000-0000-C000-000000000046}";
754    Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
755End
756
757RegistryItem gid_Regitem_Otg_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
758    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
759    ModuleID = gid_Module_Prg_Draw_Bin;
760    Subkey = ".otg\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
761    Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
762End
763
764RegistryItem gid_Regitem_DrawTemplate_1_Shellex_PropertySheetHandlers_MyPropSheet1
765    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
766    ModuleID = gid_Module_Prg_Draw_Bin;
767    Subkey = "opendocument.DrawTemplate.1\shellex\PropertySheetHandlers\MyPropSheet1";
768    Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
769End
770
771RegistryItem gid_Regitem_Otg
772    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
773    Subkey = ".otg";
774    ModuleID = gid_Module_Prg_Draw_Bin;
775    Value = "opendocument.DrawTemplate.1";
776End
777
778RegistryItem gid_Regitem_Otg_Contenttype
779    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
780    ModuleID = gid_Module_Prg_Draw_Bin;
781    Subkey = ".otg";
782    Name = "Content Type";
783    Value = "application/vnd.oasis.opendocument.graphics-template";
784End
785
786RegistryItem gid_Regitem_Openoffice_Drawtemplate_1
787    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
788    Subkey = "opendocument.DrawTemplate.1";
789    ModuleID = gid_Module_Prg_Draw_Bin;
790    REG_VALUE_LNG(OO_DRAW_TEMPLATE)
791End
792
793RegistryItem gid_Regitem_Openoffice_Drawtemplate_1_Defaulticon
794    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
795    Subkey = "opendocument.DrawTemplate.1\DefaultIcon";
796    ModuleID = gid_Module_Prg_Draw_Bin;
797    Value = "<progpath>\program\soffice.exe,6";
798End
799
800RegistryItem gid_Regitem_otg_FullDetails
801    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
802    ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
803    Subkey = "opendocument.DrawTemplate.1";
804    Name = "FullDetails";
805    Value = "prop:System.PropGroup.Description;System.Title;System.Author;System.Subject;System.Keywords;System.Comment;System.PropGroup.FileSystem;System.ItemNameDisplay;System.ItemType;System.ItemFolderPathDisplay;System.Size;System.DateCreated;System.DateModified;System.FileAttributes;System.ComputerName";
806End
807
808RegistryItem gid_Regitem_Openoffice_Drawtemplate_1_Shell
809    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
810    Subkey = "opendocument.DrawTemplate.1\shell";
811    ModuleID = gid_Module_Prg_Draw_Bin;
812    Value = "new";
813End
814
815RegistryItem gid_Regitem_Openoffice_Drawtemplate_1_Shell_New
816    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
817    Subkey = "opendocument.DrawTemplate.1\shell\new";
818    ModuleID = gid_Module_Prg_Draw_Bin;
819    REG_VALUE_LNG(NEW)
820End
821
822RegistryItem gid_Regitem_Openoffice_Drawtemplate_1_Shell_New_Command
823    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
824    Subkey = "opendocument.DrawTemplate.1\shell\new\command";
825    ModuleID = gid_Module_Prg_Draw_Bin;
826    Value = "\"<progpath>\program\soffice.exe\" -n \"%1\"";
827End
828
829RegistryItem gid_Regitem_Openoffice_Drawtemplate_1_Shell_Open_Command
830    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
831    Subkey = "opendocument.DrawTemplate.1\shell\open\command";
832    ModuleID = gid_Module_Prg_Draw_Bin;
833    Value = "\"<progpath>\program\sdraw.exe\" -o \"%1\"";
834End
835
836RegistryItem gid_Regitem_Openoffice_Drawtemplate_1_Shell_Print_Command
837    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
838    Subkey = "opendocument.DrawTemplate.1\shell\print\command";
839    ModuleID = gid_Module_Prg_Draw_Bin;
840    Value = "\"<progpath>\program\soffice.exe\" -p \"%1\"";
841End
842
843RegistryItem gid_Regitem_Openoffice_Drawtemplate_1_Shell_Printto_Command
844    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
845    Subkey = "opendocument.DrawTemplate.1\shell\printto\command";
846    ModuleID = gid_Module_Prg_Draw_Bin;
847    Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\"";
848End
849
850// "OpenWith" Windows Registry keys for extensions supported by Draw
851
852// .ODG
853RegistryItem gid_Regitem_OpenOffice_ODG_OpenWith_Draw
854    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
855    Subkey = ".odg\OpenWithProgIDs";
856    ModuleID = gid_Module_Prg_Draw_Bin;
857    Name = "opendocument.DrawDocument.1";
858    Value = " ";
859End
860
861// .OTG
862RegistryItem gid_Regitem_OpenOffice_OTG_OpenWith_Draw
863    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
864    Subkey = ".otg\OpenWithProgIDs";
865    ModuleID = gid_Module_Prg_Draw_Bin;
866    Name = "opendocument.DrawTemplate.1";
867    Value = " ";
868End
869
870// .SXD
871RegistryItem gid_Regitem_OpenOffice_SXD_OpenWith_Draw
872    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
873    Subkey = ".sxd\OpenWithProgIDs";
874    ModuleID = gid_Module_Prg_Draw_Bin;
875    Name = "soffice.StarDrawDocument.6";
876    Value = " ";
877End
878
879// .STD
880RegistryItem gid_Regitem_OpenOffice_STD_OpenWith_Draw
881    ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
882    Subkey = ".std\OpenWithProgIDs";
883    ModuleID = gid_Module_Prg_Draw_Bin;
884    Name = "soffice.StarDrawTemplate.6";
885    Value = " ";
886End
887
888
889RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Otg
890    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
891    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
892    ModuleID = gid_Module_Prg_Draw_Bin;
893    Name = ".otg";
894    Value = "opendocument.DrawTemplate.1";
895    Styles = ();
896End
897
898RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Std
899    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
900    Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
901    ModuleID = gid_Module_Prg_Draw_Bin;
902    Name = ".std";
903    Value = "soffice.StarDrawTemplate.6";
904    Styles = ();
905End
906
907RegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Sdraw_Exe
908    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
909    Subkey = "Software\Microsoft\Windows\CurrentVersion\App Paths\sdraw.exe";
910    ModuleID = gid_Module_Prg_Draw_Bin;
911    Value = "<progpath>\program\sdraw.exe";
912End
913
914RegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Sdraw_Exepath
915    ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
916    Subkey = "Software\Microsoft\Windows\CurrentVersion\App Paths\sdraw.exe";
917    ModuleID = gid_Module_Prg_Draw_Bin;
918    Name = "Path";
919    Value = "<progpath>";
920End
921
922// registering the property handler for the supported file types
923
924REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( odg )
925REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( otg )
926REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( sxd )
927REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( std )
928