summaryrefslogtreecommitdiffstats
path: root/scp2/source/draw/registryitem_draw.scp
diff options
context:
space:
mode:
Diffstat (limited to 'scp2/source/draw/registryitem_draw.scp')
-rw-r--r--scp2/source/draw/registryitem_draw.scp66
1 files changed, 48 insertions, 18 deletions
diff --git a/scp2/source/draw/registryitem_draw.scp b/scp2/source/draw/registryitem_draw.scp
index b06ca6430fe4..0ecb21536613 100644
--- a/scp2/source/draw/registryitem_draw.scp
+++ b/scp2/source/draw/registryitem_draw.scp
@@ -2,13 +2,10 @@
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
- * Copyright 2008 by Sun Microsystems, Inc.
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
- * $RCSfile: registryitem_draw.scp,v $
- * $Revision: 1.16.122.1 $
- *
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
@@ -316,7 +313,7 @@ RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Draw_Bin;
Subkey = "soffice.StarDrawDocument.6\shell\open\command";
- Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
+ Value = "\"<progpath>\program\sdraw.exe\" -o \"%1\"";
End
RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_Shell_Print_Command
@@ -413,7 +410,7 @@ RegistryItem gid_Regitem_Soffice_Stardrawtemplate_6_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "soffice.StarDrawTemplate.6\shell\open\command";
ModuleID = gid_Module_Prg_Draw_Bin;
- Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
+ Value = "\"<progpath>\program\sdraw.exe\" -o \"%1\"";
End
RegistryItem gid_Regitem_Soffice_Stardrawtemplate_6_Shell_Print_Command
@@ -473,6 +470,14 @@ RegistryItem gid_Regitem_Std_Contenttype
Value = "application/vnd.sun.xml.draw.template";
End
+RegistryItem gid_Regitem_std_FullDetails
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+ ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
+ Subkey = "soffice.StarDrawTemplate.6";
+ Name = "FullDetails";
+ 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";
+End
+
RegistryItem gid_Regitem_Sxd_PersistentHandler
ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Draw_Bin;
@@ -533,6 +538,14 @@ RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabi
Styles = ();
End
+RegistryItem gid_Regitem_sxd_FullDetails
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+ ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
+ Subkey = "soffice.StarDrawDocument.6";
+ Name = "FullDetails";
+ 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";
+End
+
// new odg file extension
RegistryItem gid_Regitem_Odg_PersistentHandler
@@ -598,7 +611,7 @@ End
RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_MimeAssociations_odg
ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\MimeAssociations";
- ModuleID = gid_Module_Root;
+ ModuleID = gid_Module_Prg_Draw_Bin;
Name = "application/vnd.oasis.opendocument.graphics";
Value = "opendocument.DrawDocument.1";
Styles = ();
@@ -640,6 +653,14 @@ RegistryItem gid_Regitem_Openoffice_Drawdocument_1_Defaulticon
Value = "<progpath>\program\soffice.exe,5";
End
+RegistryItem gid_Regitem_odg_FullDetails
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+ ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
+ Subkey = "opendocument.DrawDocument.1";
+ Name = "FullDetails";
+ 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";
+End
+
RegistryItem gid_Regitem_Openoffice_Drawdocument_1_Shell
ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Draw_Bin;
@@ -661,13 +682,6 @@ RegistryItem gid_Regitem_Openoffice_Drawdocument_1_Shell_New_Command
Value = "\"<progpath>\program\soffice.exe\" -n \"%1\"";
End
-// RegistryItem gid_Regitem_Openoffice_Drawdocument_1_Shell_Open_Command
-// ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
-// ModuleID = gid_Module_Prg_Draw_Bin;
-// Subkey = "opendocument.DrawDocument.1\shell\open\command";
-// Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
-// End
-
RegistryItem gid_Regitem_Openoffice_Drawdocument_1_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Draw_Bin;
@@ -783,6 +797,14 @@ RegistryItem gid_Regitem_Openoffice_Drawtemplate_1_Defaulticon
Value = "<progpath>\program\soffice.exe,6";
End
+RegistryItem gid_Regitem_otg_FullDetails
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+ ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
+ Subkey = "opendocument.DrawTemplate.1";
+ Name = "FullDetails";
+ 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";
+End
+
RegistryItem gid_Regitem_Openoffice_Drawtemplate_1_Shell
ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "opendocument.DrawTemplate.1\shell";
@@ -808,7 +830,7 @@ RegistryItem gid_Regitem_Openoffice_Drawtemplate_1_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "opendocument.DrawTemplate.1\shell\open\command";
ModuleID = gid_Module_Prg_Draw_Bin;
- Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
+ Value = "\"<progpath>\program\sdraw.exe\" -o \"%1\"";
End
RegistryItem gid_Regitem_Openoffice_Drawtemplate_1_Shell_Print_Command
@@ -850,7 +872,7 @@ RegistryItem gid_Regitem_OpenOffice_SXD_OpenWith_Draw
ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = ".sxd\OpenWithProgIDs";
ModuleID = gid_Module_Prg_Draw_Bin;
- Name = "opendocument.DrawDocument.1";
+ Name = "soffice.StarDrawDocument.6";
Value = " ";
End
@@ -859,10 +881,11 @@ RegistryItem gid_Regitem_OpenOffice_STD_OpenWith_Draw
ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = ".std\OpenWithProgIDs";
ModuleID = gid_Module_Prg_Draw_Bin;
- Name = "opendocument.DrawDocument.1";
+ Name = "soffice.StarDrawDocument.6";
Value = " ";
End
+
RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Otg
ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
@@ -877,7 +900,7 @@ RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabi
Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
ModuleID = gid_Module_Prg_Draw_Bin;
Name = ".std";
- Value = "opendocument.DrawDocument.1";
+ Value = "soffice.StarDrawTemplate.6";
Styles = ();
End
@@ -895,3 +918,10 @@ RegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Sdra
Name = "Path";
Value = "<progpath>";
End
+
+// registering the property handler for the supported file types
+
+REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( odg )
+REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( otg )
+REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( sxd )
+REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( std )