From 6aade607b8a9cb172c7434e078f0ce80558b6939 Mon Sep 17 00:00:00 2001 From: Jesús Corrius Date: Thu, 31 May 2012 09:39:39 +0200 Subject: Add FriendlyTypeNames to supported types --- scp2/source/base/registryitem_base.scp | 8 ++++ scp2/source/calc/registryitem_calc.scp | 32 ++++++++++++++++ scp2/source/draw/registryitem_draw.scp | 32 ++++++++++++++++ scp2/source/impress/registryitem_impress.scp | 32 ++++++++++++++++ scp2/source/math/registryitem_math.scp | 16 ++++++++ scp2/source/writer/registryitem_writer.scp | 56 ++++++++++++++++++++++++++++ 6 files changed, 176 insertions(+) (limited to 'scp2/source') diff --git a/scp2/source/base/registryitem_base.scp b/scp2/source/base/registryitem_base.scp index 7ba3a0ec31b6..dadcb3ef6a2f 100644 --- a/scp2/source/base/registryitem_base.scp +++ b/scp2/source/base/registryitem_base.scp @@ -103,6 +103,14 @@ RegistryItem gid_Regitem_Openoffice_Databasedocument_1_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Base"; End +RegistryItem gid_Regitem_Openoffice_Databasedocument_1_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Base_Bin; + Subkey = "opendocument.DatabaseDocument.1"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(OO_DATABASE) +End + #ifdef _MSC_VER RegistryItem gid_Regitem_odb_FullDetails ParentID = PREDEFINED_HKEY_CLASSES_ROOT; diff --git a/scp2/source/calc/registryitem_calc.scp b/scp2/source/calc/registryitem_calc.scp index 209a9a5f4695..c469e2529371 100644 --- a/scp2/source/calc/registryitem_calc.scp +++ b/scp2/source/calc/registryitem_calc.scp @@ -295,6 +295,14 @@ RegistryItem gid_Regitem_Soffice_Starcalcdocument_6_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Calc"; End +RegistryItem gid_Regitem_Soffice_Starcalcdocument_6_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Calc_Bin; + Subkey = "soffice.StarCalcDocument.6"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(SO60_SPREADSHEET) +End + RegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Insertable ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ModuleID = gid_Module_Prg_Calc_Bin; @@ -401,6 +409,14 @@ RegistryItem gid_Regitem_Soffice_Starcalctemplate_6_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Calc"; End +RegistryItem gid_Regitem_Soffice_Starcalctemplate_6_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Calc_Bin; + Subkey = "soffice.StarCalcTemplate.6"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(SO60_CALC_TEMPLATE) +End + RegistryItem gid_Regitem_Soffice_Starcalctemplate_6_Shell ParentID = PREDEFINED_HKEY_CLASSES_ROOT; Subkey = "soffice.StarCalcTemplate.6\shell"; @@ -700,6 +716,14 @@ RegistryItem gid_Regitem_Openoffice_Calcdocument_1_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Calc"; End +RegistryItem gid_Regitem_Openoffice_Calcdocument_1_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Calc_Bin; + Subkey = "opendocument.CalcDocument.1"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(OO_CALC) +End + #ifdef _MSC_VER RegistryItem gid_Regitem_ods_FullDetails ParentID = PREDEFINED_HKEY_CLASSES_ROOT; @@ -920,6 +944,14 @@ RegistryItem gid_Regitem_Openoffice_Calctemplate_1_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Calc"; End +RegistryItem gid_Regitem_Openoffice_Calctemplate_1_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Calc_Bin; + Subkey = "opendocument.CalcTemplate.1"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(OO_CALC_TEMPLATE) +End + #ifdef _MSC_VER RegistryItem gid_Regitem_ots_FullDetails ParentID = PREDEFINED_HKEY_CLASSES_ROOT; diff --git a/scp2/source/draw/registryitem_draw.scp b/scp2/source/draw/registryitem_draw.scp index d543958494b0..1bcfd1374e56 100644 --- a/scp2/source/draw/registryitem_draw.scp +++ b/scp2/source/draw/registryitem_draw.scp @@ -295,6 +295,14 @@ RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Draw"; End +RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Draw_Bin; + Subkey = "soffice.StarDrawDocument.6"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(SO60_DRAWING) +End + RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_Shell ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ModuleID = gid_Module_Prg_Draw_Bin; @@ -401,6 +409,14 @@ RegistryItem gid_Regitem_Soffice_Stardrawtemplate_6_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Draw"; End +RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Draw_Bin; + Subkey = "soffice.StarDrawDocument.6"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(SO60_DRAWING) +End + RegistryItem gid_Regitem_Soffice_Stardrawtemplate_6_Shell ParentID = PREDEFINED_HKEY_CLASSES_ROOT; Subkey = "soffice.StarDrawTemplate.6\shell"; @@ -700,6 +716,14 @@ RegistryItem gid_Regitem_Openoffice_Drawdocument_1_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Draw"; End +RegistryItem gid_Regitem_Openoffice_Drawdocument_1_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Draw_Bin; + Subkey = "opendocument.DrawDocument.1"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(OO_DRAW) +End + #ifdef _MSC_VER RegistryItem gid_Regitem_odg_FullDetails ParentID = PREDEFINED_HKEY_CLASSES_ROOT; @@ -920,6 +944,14 @@ RegistryItem gid_Regitem_Openoffice_Drawtemplate_1_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Draw"; End +RegistryItem gid_Regitem_Openoffice_Drawtemplate_1_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Draw_Bin; + Subkey = "opendocument.DrawTemplate.1"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(OO_DRAW_TEMPLATE) +End + #ifdef _MSC_VER RegistryItem gid_Regitem_otg_FullDetails ParentID = PREDEFINED_HKEY_CLASSES_ROOT; diff --git a/scp2/source/impress/registryitem_impress.scp b/scp2/source/impress/registryitem_impress.scp index 07629ec7b66c..f360ff656cb8 100644 --- a/scp2/source/impress/registryitem_impress.scp +++ b/scp2/source/impress/registryitem_impress.scp @@ -295,6 +295,14 @@ RegistryItem gid_Regitem_Soffice_Starimpressdocument_6_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Impress"; End +RegistryItem gid_Regitem_Soffice_Starimpressdocument_6_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Impress_Bin; + Subkey = "soffice.StarImpressDocument.6"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(SO60_PRESENT) +End + RegistryItem gid_Regitem_Soffice_Starimpressdocument_6_Insertable ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ModuleID = gid_Module_Prg_Impress_Bin; @@ -415,6 +423,14 @@ RegistryItem gid_Regitem_Soffice_Starimpresstemplate_6_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Impress"; End +RegistryItem gid_Regitem_Soffice_Starimpresstemplate_6_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Impress_Bin; + Subkey = "soffice.StarImpressTemplate.6"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(SO60_IMPRESS_TEMPLATE) +End + RegistryItem gid_Regitem_Soffice_Starimpresstemplate_6_Shell ParentID = PREDEFINED_HKEY_CLASSES_ROOT; Subkey = "soffice.StarImpressTemplate.6\shell"; @@ -715,6 +731,14 @@ RegistryItem gid_Regitem_Openoffice_Impressdocument_1_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Impress"; End +RegistryItem gid_Regitem_Openoffice_Impressdocument_1_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Impress_Bin; + Subkey = "opendocument.ImpressDocument.1"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(OO_PRESENT) +End + #ifdef _MSC_VER RegistryItem gid_Regitem_odp_FullDetails ParentID = PREDEFINED_HKEY_CLASSES_ROOT; @@ -949,6 +973,14 @@ RegistryItem gid_Regitem_Openoffice_Impresstemplate_1_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Impress"; End +RegistryItem gid_Regitem_Openoffice_Impresstemplate_1_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Impress_Bin; + Subkey = "opendocument.ImpressTemplate.1"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(OO_PRESENT_TEMPLATE) +End + #ifdef _MSC_VER RegistryItem gid_Regitem_otp_FullDetails ParentID = PREDEFINED_HKEY_CLASSES_ROOT; diff --git a/scp2/source/math/registryitem_math.scp b/scp2/source/math/registryitem_math.scp index 0978152dca28..44709eabe38b 100644 --- a/scp2/source/math/registryitem_math.scp +++ b/scp2/source/math/registryitem_math.scp @@ -294,6 +294,14 @@ RegistryItem gid_Regitem_Soffice_Starmathdocument_6_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Math"; End +RegistryItem gid_Regitem_Soffice_Starmathdocument_6_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Math_Bin; + Subkey = "soffice.StarMathDocument.6"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(SO60_FORMULA) +End + RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Insertable ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ModuleID = gid_Module_Prg_Math_Bin; @@ -564,6 +572,14 @@ RegistryItem gid_Regitem_Openoffice_Mathdocument_1_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Math"; End +RegistryItem gid_Regitem_Openoffice_Mathdocument_1_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Math_Bin; + Subkey = "opendocument.MathDocument.1"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(OO_FORMULA) +End + #ifdef _MSC_VER RegistryItem gid_Regitem_odf_FullDetails ParentID = PREDEFINED_HKEY_CLASSES_ROOT; diff --git a/scp2/source/writer/registryitem_writer.scp b/scp2/source/writer/registryitem_writer.scp index fb3490664e3a..360a6ca5f356 100644 --- a/scp2/source/writer/registryitem_writer.scp +++ b/scp2/source/writer/registryitem_writer.scp @@ -295,6 +295,14 @@ RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Writer"; End +RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Wrt_Bin; + Subkey = "soffice.StarWriterDocument.6"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(SO60_TEXT) +End + RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Insertable ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ModuleID = gid_Module_Prg_Wrt_Bin; @@ -408,6 +416,14 @@ RegistryItem gid_Regitem_Soffice_Starwriterglobaldocument_6_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Writer"; End +RegistryItem gid_Regitem_Soffice_Starwriterglobaldocument_6_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Wrt_Bin; + Subkey = "soffice.StarWriterGlobalDocument.6"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(SO60_MASTERDOC) +End + RegistryItem gid_Regitem_Soffice_Starwriterglobaldocument_6_Shell ParentID = PREDEFINED_HKEY_CLASSES_ROOT; Subkey = "soffice.StarWriterGlobalDocument.6\shell"; @@ -487,6 +503,14 @@ RegistryItem gid_Regitem_Soffice_Starwritertemplate_6_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Writer"; End +RegistryItem gid_Regitem_Soffice_Starwritertemplate_6_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Wrt_Bin; + Subkey = "soffice.StarWriterTemplate.6"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(SO60_WRITER_TEMPLATE) +End + RegistryItem gid_Regitem_Soffice_Starwritertemplate_6_Shell ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ModuleID = gid_Module_Prg_Wrt_Bin; @@ -842,6 +866,14 @@ RegistryItem gid_Regitem_Openoffice_Writerdocument_1_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Writer"; End +RegistryItem gid_Regitem_Openoffice_Writerdocument_1_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Wrt_Bin; + Subkey = "opendocument.WriterDocument.1"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(OO_WRITER) +End + RegistryItem gid_Regitem_Openoffice_Writerdocument_1_Insertable ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ModuleID = gid_Module_Prg_Wrt_Bin; @@ -1085,6 +1117,14 @@ RegistryItem gid_Regitem_Openoffice_Writertemplate_1_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Writer"; End +RegistryItem gid_Regitem_Openoffice_Writertemplate_1_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Wrt_Bin; + Subkey = "opendocument.WriterTemplate.1"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(OO_WRITER_TEMPLATE) +End + #ifdef _MSC_VER RegistryItem gid_Regitem_ott_FullDetails ParentID = PREDEFINED_HKEY_CLASSES_ROOT; @@ -1229,6 +1269,14 @@ RegistryItem gid_Regitem_Openoffice_Writerglobaldocument_1_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Writer"; End +RegistryItem gid_Regitem_Openoffice_Writerglobaldocument_1_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Wrt_Bin; + Subkey = "opendocument.WriterGlobalDocument.1"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(OO_MASTERDOC) +End + #ifdef _MSC_VER RegistryItem gid_Regitem_odm_FullDetails ParentID = PREDEFINED_HKEY_CLASSES_ROOT; @@ -1373,6 +1421,14 @@ RegistryItem gid_Regitem_Openoffice_WriterWebTemplate_1_AppUserModelID Value = "TheDocumentFoundation.LibreOffice.Writer"; End +RegistryItem gid_Regitem_Openoffice_WriterWebTemplate_1_FriendlyTypeName + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Wrt_Bin; + Subkey = "opendocument.WriterWebTemplate.1"; + Name = "FriendlyTypeName"; + REG_VALUE_LNG(OO_WEBDOC) +End + RegistryItem gid_Regitem_Openoffice_WriterWebTemplate_1_Shell ParentID = PREDEFINED_HKEY_CLASSES_ROOT; Subkey = "opendocument.WriterWebTemplate.1\shell"; -- cgit v1.2.3