summaryrefslogtreecommitdiff
path: root/scp2/source/calc
diff options
context:
space:
mode:
authorDirk Voelzke <dv@openoffice.org>2010-01-25 07:08:21 +0100
committerDirk Voelzke <dv@openoffice.org>2010-01-25 07:08:21 +0100
commit99b240d2f7255abd15a449c5d1bd117034110ed2 (patch)
treeb74d245801625d69d433c2185bc4421d840d903c /scp2/source/calc
parent9f132f93858564c899189657a79ddd4528226ca8 (diff)
dv17: #i70994#: Proprty handler should work with 64bit, too
Diffstat (limited to 'scp2/source/calc')
-rwxr-xr-xscp2/source/calc/registryitem_calc.scp30
1 files changed, 5 insertions, 25 deletions
diff --git a/scp2/source/calc/registryitem_calc.scp b/scp2/source/calc/registryitem_calc.scp
index d787653dde76..4da7c5c1cbc0 100755
--- a/scp2/source/calc/registryitem_calc.scp
+++ b/scp2/source/calc/registryitem_calc.scp
@@ -1109,33 +1109,13 @@ RegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Scal
End
// registering the property handler for the supported file types
-RegistryItem gid_Regitem_Software_Microsoft_Windows_CurrentVersion_PropertySystem_PropertyHandlers_ods
- ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
- Subkey = "SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.ods";
- ModuleID = gid_Module_Prg_Calc_Bin;
- Value = "{AE424E85-F6DF-4910-A6A9-438797986431}";
-End
-RegistryItem gid_Regitem_Software_Microsoft_Windows_CurrentVersion_PropertySystem_PropertyHandlers_ots
- ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
- Subkey = "SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.ots";
- ModuleID = gid_Module_Prg_Calc_Bin;
- Value = "{AE424E85-F6DF-4910-A6A9-438797986431}";
-End
+REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( ods, gid_Module_Prg_Calc_Bin )
+REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( ots, gid_Module_Prg_Calc_Bin )
+REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( sxc, gid_Module_Prg_Calc_Bin )
+REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( stc, gid_Module_Prg_Calc_Bin )
-RegistryItem gid_Regitem_Software_Microsoft_Windows_CurrentVersion_PropertySystem_PropertyHandlers_sxc
- ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
- Subkey = "SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.sxc";
- ModuleID = gid_Module_Prg_Calc_Bin;
- Value = "{AE424E85-F6DF-4910-A6A9-438797986431}";
-End
-
-RegistryItem gid_Regitem_Software_Microsoft_Windows_CurrentVersion_PropertySystem_PropertyHandlers_stc
- ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
- Subkey = "SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.stc";
- ModuleID = gid_Module_Prg_Calc_Bin;
- Value = "{AE424E85-F6DF-4910-A6A9-438797986431}";
-End
+// registering the mso file types
CONDITIONAL_REGISTER_DOC_EXTENSION( Xls, gid_Module_Prg_Calc_Bin, xls, XLS, MS_EXCEL_WORKSHEET_OLD, 3, scalc.exe, open, Calc )
CONDITIONAL_REGISTER_DOC_EXTENSION( Xlsx, gid_Module_Prg_Calc_Bin, xlsx, XLSX, MS_EXCEL_WORKSHEET, 3, scalc.exe, open, Calc )