Kaydet (Commit) d5541983 authored tarafından Jesús Corrius's avatar Jesús Corrius

Make Win32 LibO installable side by side with other StarOffice derivatives

üst 88fde84a
...@@ -39,31 +39,31 @@ ...@@ -39,31 +39,31 @@
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "soffice.StarWriterDocument.6" ) ); return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "soffice.StarWriterDocument.6" ) );
if ( *guid == OID_WriterOASISTextServer ) if ( *guid == OID_WriterOASISTextServer )
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "opendocument.WriterDocument.1" ) ); return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "LibreOffice.WriterDocument.1" ) );
if ( *guid == OID_CalcServer ) if ( *guid == OID_CalcServer )
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "soffice.StarCalcDocument.6" ) ); return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "soffice.StarCalcDocument.6" ) );
if ( *guid == OID_CalcOASISServer ) if ( *guid == OID_CalcOASISServer )
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "opendocument.CalcDocument.1" ) ); return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "LibreOffice.CalcDocument.1" ) );
if ( *guid == OID_DrawingServer ) if ( *guid == OID_DrawingServer )
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "soffice.StarDrawDocument.6" ) ); return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "soffice.StarDrawDocument.6" ) );
if ( *guid == OID_DrawingOASISServer ) if ( *guid == OID_DrawingOASISServer )
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "opendocument.DrawDocument.1" ) ); return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "LibreOffice.DrawDocument.1" ) );
if ( *guid == OID_PresentationServer ) if ( *guid == OID_PresentationServer )
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "soffice.StarImpressDocument.6" ) ); return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "soffice.StarImpressDocument.6" ) );
if ( *guid == OID_PresentationOASISServer ) if ( *guid == OID_PresentationOASISServer )
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "opendocument.ImpressDocument.1" ) ); return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "LibreOffice.ImpressDocument.1" ) );
if ( *guid == OID_MathServer ) if ( *guid == OID_MathServer )
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "soffice.StarMathDocument.6" ) ); return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "soffice.StarMathDocument.6" ) );
if ( *guid == OID_MathOASISServer ) if ( *guid == OID_MathOASISServer )
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "opendocument.MathDocument.1" ) ); return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "LibreOffice.MathDocument.1" ) );
return ::rtl::OUString(); return ::rtl::OUString();
} }
......
...@@ -79,17 +79,17 @@ SvGlobalName GetEmbeddedVersion( const SvGlobalName& aAppName ) ...@@ -79,17 +79,17 @@ SvGlobalName GetEmbeddedVersion( const SvGlobalName& aAppName )
String GetStorageType( const SvGlobalName& aEmbName ) String GetStorageType( const SvGlobalName& aEmbName )
{ {
if ( aEmbName == SvGlobalName( SO3_SM_OLE_EMBED_CLASSID_8 ) ) if ( aEmbName == SvGlobalName( SO3_SM_OLE_EMBED_CLASSID_8 ) )
return String::CreateFromAscii( "opendocument.MathDocument.1" ); return String::CreateFromAscii( "LibreOffice.MathDocument.1" );
else if ( aEmbName == SvGlobalName( SO3_SW_OLE_EMBED_CLASSID_8 ) ) else if ( aEmbName == SvGlobalName( SO3_SW_OLE_EMBED_CLASSID_8 ) )
return String::CreateFromAscii( "opendocument.WriterDocument.1" ); return String::CreateFromAscii( "LibreOffice.WriterDocument.1" );
else if ( aEmbName == SvGlobalName( SO3_SC_OLE_EMBED_CLASSID_8 ) ) else if ( aEmbName == SvGlobalName( SO3_SC_OLE_EMBED_CLASSID_8 ) )
return String::CreateFromAscii( "opendocument.CalcDocument.1" ); return String::CreateFromAscii( "LibreOffice.CalcDocument.1" );
else if ( aEmbName == SvGlobalName( SO3_SDRAW_OLE_EMBED_CLASSID_8 ) ) else if ( aEmbName == SvGlobalName( SO3_SDRAW_OLE_EMBED_CLASSID_8 ) )
return String::CreateFromAscii( "opendocument.DrawDocument.1" ); return String::CreateFromAscii( "LibreOffice.DrawDocument.1" );
else if ( aEmbName == SvGlobalName( SO3_SIMPRESS_OLE_EMBED_CLASSID_8 ) ) else if ( aEmbName == SvGlobalName( SO3_SIMPRESS_OLE_EMBED_CLASSID_8 ) )
return String::CreateFromAscii( "opendocument.ImpressDocument.1" ); return String::CreateFromAscii( "LibreOffice.ImpressDocument.1" );
else if ( aEmbName == SvGlobalName( SO3_SCH_OLE_EMBED_CLASSID_8 ) ) else if ( aEmbName == SvGlobalName( SO3_SCH_OLE_EMBED_CLASSID_8 ) )
return String::CreateFromAscii( "opendocument.ChartDocument.1" ); return String::CreateFromAscii( "LibreOffice.ChartDocument.1" );
return String(); return String();
} }
......
...@@ -33,7 +33,7 @@ RegistryItem gid_Regitem_Odb ...@@ -33,7 +33,7 @@ RegistryItem gid_Regitem_Odb
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = ".odb"; Subkey = ".odb";
ModuleID = gid_Module_Prg_Base_Bin; ModuleID = gid_Module_Prg_Base_Bin;
Value = "opendocument.DatabaseDocument.1"; Value = "LibreOffice.DatabaseDocument.1";
End End
RegistryItem gid_Regitem_Odb_PersistentHandler RegistryItem gid_Regitem_Odb_PersistentHandler
...@@ -60,7 +60,7 @@ End ...@@ -60,7 +60,7 @@ End
RegistryItem gid_Regitem_DatabaseDocument_1_Shellex_PropertySheetHandlers_MyPropSheet1 RegistryItem gid_Regitem_DatabaseDocument_1_Shellex_PropertySheetHandlers_MyPropSheet1
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Base_Bin; ModuleID = gid_Module_Prg_Base_Bin;
Subkey = "opendocument.DatabaseDocument.1\shellex\PropertySheetHandlers\MyPropSheet1"; Subkey = "LibreOffice.DatabaseDocument.1\shellex\PropertySheetHandlers\MyPropSheet1";
Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}"; Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
End End
...@@ -82,14 +82,14 @@ End ...@@ -82,14 +82,14 @@ End
RegistryItem gid_Regitem_Openoffice_Databasedocument_1 RegistryItem gid_Regitem_Openoffice_Databasedocument_1
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "opendocument.DatabaseDocument.1"; Subkey = "LibreOffice.DatabaseDocument.1";
ModuleID = gid_Module_Prg_Base_Bin; ModuleID = gid_Module_Prg_Base_Bin;
REG_VALUE_LNG(OO_DATABASE) REG_VALUE_LNG(OO_DATABASE)
End End
RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Defaulticon RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Defaulticon
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "opendocument.DatabaseDocument.1\DefaultIcon"; Subkey = "LibreOffice.DatabaseDocument.1\DefaultIcon";
ModuleID = gid_Module_Prg_Base_Bin; ModuleID = gid_Module_Prg_Base_Bin;
Value = "<progpath>\program\soffice.bin,11"; Value = "<progpath>\program\soffice.bin,11";
End End
...@@ -98,7 +98,7 @@ RegistryItem gid_Regitem_Openoffice_Databasedocument_1_AppUserModelID ...@@ -98,7 +98,7 @@ RegistryItem gid_Regitem_Openoffice_Databasedocument_1_AppUserModelID
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Base_Bin; ModuleID = gid_Module_Prg_Base_Bin;
ComponentCondition = "VersionNT >= 601"; ComponentCondition = "VersionNT >= 601";
Subkey = "opendocument.DatabaseDocument.1"; Subkey = "LibreOffice.DatabaseDocument.1";
Name = "AppUserModelID"; Name = "AppUserModelID";
Value = "TheDocumentFoundation.LibreOffice.Base"; Value = "TheDocumentFoundation.LibreOffice.Base";
End End
...@@ -106,7 +106,7 @@ End ...@@ -106,7 +106,7 @@ End
RegistryItem gid_Regitem_Openoffice_Databasedocument_1_FriendlyTypeName RegistryItem gid_Regitem_Openoffice_Databasedocument_1_FriendlyTypeName
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Base_Bin; ModuleID = gid_Module_Prg_Base_Bin;
Subkey = "opendocument.DatabaseDocument.1"; Subkey = "LibreOffice.DatabaseDocument.1";
Name = "FriendlyTypeName"; Name = "FriendlyTypeName";
REG_VALUE_LNG(OO_DATABASE) REG_VALUE_LNG(OO_DATABASE)
End End
...@@ -115,7 +115,7 @@ End ...@@ -115,7 +115,7 @@ End
RegistryItem gid_Regitem_odb_FullDetails RegistryItem gid_Regitem_odb_FullDetails
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl; ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
Subkey = "opendocument.DatabaseDocument.1"; Subkey = "LibreOffice.DatabaseDocument.1";
Name = "FullDetails"; 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"; 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 End
...@@ -132,21 +132,21 @@ End ...@@ -132,21 +132,21 @@ End
RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "opendocument.DatabaseDocument.1\shell"; Subkey = "LibreOffice.DatabaseDocument.1\shell";
ModuleID = gid_Module_Prg_Base_Bin; ModuleID = gid_Module_Prg_Base_Bin;
Value = "open"; Value = "open";
End End
// RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell_Open_Command // RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell_Open_Command
// ParentID = PREDEFINED_HKEY_CLASSES_ROOT; // ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
// Subkey = "opendocument.DatabaseDocument.1\shell\open\command"; // Subkey = "LibreOffice.DatabaseDocument.1\shell\open\command";
// ModuleID = gid_Module_Prg_Base_Bin; // ModuleID = gid_Module_Prg_Base_Bin;
// Value = "\"<progpath>\program\soffice.exe\" -o \"%1\""; // Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
// End // End
RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell_Open_Command RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "opendocument.DatabaseDocument.1\shell\open\command"; Subkey = "LibreOffice.DatabaseDocument.1\shell\open\command";
ModuleID = gid_Module_Prg_Base_Bin; ModuleID = gid_Module_Prg_Base_Bin;
Value = "\"<progpath>\program\sbase.exe\" -o \"%1\""; Value = "\"<progpath>\program\sbase.exe\" -o \"%1\"";
Styles = (); Styles = ();
...@@ -158,7 +158,7 @@ RegistryItem gid_Regitem_OpenOffice_ODB_OpenWith_Database ...@@ -158,7 +158,7 @@ RegistryItem gid_Regitem_OpenOffice_ODB_OpenWith_Database
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = ".odb\OpenWithProgIDs"; Subkey = ".odb\OpenWithProgIDs";
ModuleID = gid_Module_Prg_Base_Bin; ModuleID = gid_Module_Prg_Base_Bin;
Name = "opendocument.DatabaseDocument.1"; Name = "LibreOffice.DatabaseDocument.1";
Value = " "; Value = " ";
End End
...@@ -167,7 +167,7 @@ RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabi ...@@ -167,7 +167,7 @@ RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabi
Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations"; Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
ModuleID = gid_Module_Prg_Base_Bin; ModuleID = gid_Module_Prg_Base_Bin;
Name = ".odb"; Name = ".odb";
Value = "opendocument.DatabaseDocument.1"; Value = "LibreOffice.DatabaseDocument.1";
Styles = (); Styles = ();
End End
......
...@@ -227,7 +227,7 @@ RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Progid ...@@ -227,7 +227,7 @@ RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Progid
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\ProgID"; Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\ProgID";
Value = "opendocument.MathDocument.1"; Value = "LibreOffice.MathDocument.1";
End End
RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Programmable RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Programmable
...@@ -261,7 +261,7 @@ RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Versionind ...@@ -261,7 +261,7 @@ RegistryItem gid_Regitem_Clsid__D2d59cd1_0a6a_4d36_Ae20_47817077d57c__Versionind
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\VersionIndependentProgID"; Subkey = "CLSID\{D2D59CD1-0A6A-4D36-AE20-47817077D57C}\VersionIndependentProgID";
Value = "opendocument.MathDocument.1"; Value = "LibreOffice.MathDocument.1";
End End
RegistryItem gid_Regitem_Soffice_Starmathdocument_6 RegistryItem gid_Regitem_Soffice_Starmathdocument_6
...@@ -490,7 +490,7 @@ End ...@@ -490,7 +490,7 @@ End
RegistryItem gid_Regitem_MathDocument_1_Shellex_PropertySheetHandlers_MyPropSheet1 RegistryItem gid_Regitem_MathDocument_1_Shellex_PropertySheetHandlers_MyPropSheet1
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "opendocument.MathDocument.1\shellex\PropertySheetHandlers\MyPropSheet1"; Subkey = "LibreOffice.MathDocument.1\shellex\PropertySheetHandlers\MyPropSheet1";
Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}"; Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
End End
...@@ -514,7 +514,7 @@ RegistryItem gid_Regitem__Odf ...@@ -514,7 +514,7 @@ RegistryItem gid_Regitem__Odf
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = ".odf"; Subkey = ".odf";
Value = "opendocument.MathDocument.1"; Value = "LibreOffice.MathDocument.1";
End End
RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_odf RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_odf
...@@ -522,7 +522,7 @@ RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabi ...@@ -522,7 +522,7 @@ RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabi
Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations"; Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Name = ".odf"; Name = ".odf";
Value = "opendocument.MathDocument.1"; Value = "LibreOffice.MathDocument.1";
Styles = (); Styles = ();
End End
...@@ -531,35 +531,35 @@ RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabi ...@@ -531,35 +531,35 @@ RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabi
Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\MimeAssociations"; Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\MimeAssociations";
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Name = "application/vnd.oasis.opendocument.formula"; Name = "application/vnd.oasis.opendocument.formula";
Value = "opendocument.MathDocument.1"; Value = "LibreOffice.MathDocument.1";
Styles = (); Styles = ();
End End
RegistryItem gid_Regitem_Openoffice_Mathdocument_Curver RegistryItem gid_Regitem_Openoffice_Mathdocument_Curver
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "opendocument.MathDocument\CurVer"; Subkey = "LibreOffice.MathDocument\CurVer";
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Value = "opendocument.MathDocument.1"; Value = "LibreOffice.MathDocument.1";
End End
RegistryItem gid_Regitem_Openoffice_Mathdocument_1 RegistryItem gid_Regitem_Openoffice_Mathdocument_1
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "opendocument.MathDocument.1"; Subkey = "LibreOffice.MathDocument.1";
REG_VALUE_LNG(OO_FORMULA) REG_VALUE_LNG(OO_FORMULA)
End End
RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Clsid RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Clsid
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "opendocument.MathDocument.1\CLSID"; Subkey = "LibreOffice.MathDocument.1\CLSID";
Value = "{D2D59CD1-0A6A-4D36-AE20-47817077D57C}"; Value = "{D2D59CD1-0A6A-4D36-AE20-47817077D57C}";
End End
RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Defaulticon RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Defaulticon
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "opendocument.MathDocument.1\DefaultIcon"; Subkey = "LibreOffice.MathDocument.1\DefaultIcon";
Value = "<progpath>\program\soffice.bin,12"; Value = "<progpath>\program\soffice.bin,12";
End End
...@@ -567,7 +567,7 @@ RegistryItem gid_Regitem_Openoffice_Mathdocument_1_AppUserModelID ...@@ -567,7 +567,7 @@ RegistryItem gid_Regitem_Openoffice_Mathdocument_1_AppUserModelID
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
ComponentCondition = "VersionNT >= 601"; ComponentCondition = "VersionNT >= 601";
Subkey = "opendocument.MathDocument.1"; Subkey = "LibreOffice.MathDocument.1";
Name = "AppUserModelID"; Name = "AppUserModelID";
Value = "TheDocumentFoundation.LibreOffice.Math"; Value = "TheDocumentFoundation.LibreOffice.Math";
End End
...@@ -575,7 +575,7 @@ End ...@@ -575,7 +575,7 @@ End
RegistryItem gid_Regitem_Openoffice_Mathdocument_1_FriendlyTypeName RegistryItem gid_Regitem_Openoffice_Mathdocument_1_FriendlyTypeName
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "opendocument.MathDocument.1"; Subkey = "LibreOffice.MathDocument.1";
Name = "FriendlyTypeName"; Name = "FriendlyTypeName";
REG_VALUE_LNG(OO_FORMULA) REG_VALUE_LNG(OO_FORMULA)
End End
...@@ -584,7 +584,7 @@ End ...@@ -584,7 +584,7 @@ End
RegistryItem gid_Regitem_odf_FullDetails RegistryItem gid_Regitem_odf_FullDetails
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl; ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
Subkey = "opendocument.MathDocument.1"; Subkey = "LibreOffice.MathDocument.1";
Name = "FullDetails"; 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"; 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 End
...@@ -602,62 +602,62 @@ End ...@@ -602,62 +602,62 @@ End
RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Insertable RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Insertable
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "opendocument.MathDocument.1\Insertable"; Subkey = "LibreOffice.MathDocument.1\Insertable";
End End
RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Protocol_Stdfileediting_Server RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Protocol_Stdfileediting_Server
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "opendocument.MathDocument.1\protocol\StdFileEditing\server"; Subkey = "LibreOffice.MathDocument.1\protocol\StdFileEditing\server";
Value = "<progpath>\program\soffice.exe"; Value = "<progpath>\program\soffice.exe";
End End
RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Protocol_Stdfileediting_Verb_0 RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Protocol_Stdfileediting_Verb_0
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "opendocument.MathDocument.1\protocol\StdFileEditing\verb\0"; Subkey = "LibreOffice.MathDocument.1\protocol\StdFileEditing\verb\0";
Value = "&Edit"; Value = "&Edit";
End End
RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Protocol_Stdfileediting_Verb__1 RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Protocol_Stdfileediting_Verb__1
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "opendocument.MathDocument.1\protocol\StdFileEditing\verb\-1"; Subkey = "LibreOffice.MathDocument.1\protocol\StdFileEditing\verb\-1";
Value = "&Show"; Value = "&Show";
End End
RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Protocol_Stdfileediting_Verb__2 RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Protocol_Stdfileediting_Verb__2
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "opendocument.MathDocument.1\protocol\StdFileEditing\verb\-2"; Subkey = "LibreOffice.MathDocument.1\protocol\StdFileEditing\verb\-2";
Value = "&Open"; Value = "&Open";
End End
RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "opendocument.MathDocument.1\shell"; Subkey = "LibreOffice.MathDocument.1\shell";
Value = "open"; Value = "open";
End End
RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell_New RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell_New
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "opendocument.MathDocument.1\shell\new"; Subkey = "LibreOffice.MathDocument.1\shell\new";
REG_VALUE_LNG(NEW) REG_VALUE_LNG(NEW)
End End
RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell_New_Command RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell_New_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "opendocument.MathDocument.1\shell\new\command"; Subkey = "LibreOffice.MathDocument.1\shell\new\command";
Value = "\"<progpath>\program\soffice.exe\" -n \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -n \"%1\"";
End End
RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell_Open_Command RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "opendocument.MathDocument.1\shell\open\command"; Subkey = "LibreOffice.MathDocument.1\shell\open\command";
Value = "\"<progpath>\program\smath.exe\" -o \"%1\""; Value = "\"<progpath>\program\smath.exe\" -o \"%1\"";
Styles = (); Styles = ();
End End
...@@ -665,14 +665,14 @@ End ...@@ -665,14 +665,14 @@ End
RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell_Print_Command RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell_Print_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "opendocument.MathDocument.1\shell\print\command"; Subkey = "LibreOffice.MathDocument.1\shell\print\command";
Value = "\"<progpath>\program\soffice.exe\" -p \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -p \"%1\"";
End End
RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell_Printto_Command RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell_Printto_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "opendocument.MathDocument.1\shell\printto\command"; Subkey = "LibreOffice.MathDocument.1\shell\printto\command";
Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\"";
End End
...@@ -683,7 +683,7 @@ RegistryItem gid_Regitem_OpenOffice_ODF_OpenWith_Math ...@@ -683,7 +683,7 @@ RegistryItem gid_Regitem_OpenOffice_ODF_OpenWith_Math
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = ".odf\OpenWithProgIDs"; Subkey = ".odf\OpenWithProgIDs";
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Name = "opendocument.MathDocument.1"; Name = "LibreOffice.MathDocument.1";
Value = " "; Value = " ";
End End
......
...@@ -41,28 +41,28 @@ const std::string WEB_FILE_EXTENSIONS = "oth"; ...@@ -41,28 +41,28 @@ const std::string WEB_FILE_EXTENSIONS = "oth";
const std::string DATABASE_FILE_EXTENSIONS = "odb"; const std::string DATABASE_FILE_EXTENSIONS = "odb";
FileExtensionEntry OOFileExtensionTable[] = { FileExtensionEntry OOFileExtensionTable[] = {
{ ".sxw", L".sxw", "soffice.StarWriterDocument.6" }, { ".sxw", L".sxw", "soffice.StarWriterDocument.6" },
{ ".sxc", L".sxc", "soffice.StarCalcDocument.6" }, { ".sxc", L".sxc", "soffice.StarCalcDocument.6" },
{ ".sxi", L".sxi", "soffice.StarImpressDocument.6" }, { ".sxi", L".sxi", "soffice.StarImpressDocument.6" },
{ ".sxd", L".sxd", "soffice.StarDrawDocument.6" }, { ".sxd", L".sxd", "soffice.StarDrawDocument.6" },
{ ".sxm", L".sxm", "soffice.StarMathDocument.6" }, { ".sxm", L".sxm", "soffice.StarMathDocument.6" },
{ ".stw", L".stw", "soffice.StarWriterTemplate.6" }, { ".stw", L".stw", "soffice.StarWriterTemplate.6" },
{ ".sxg", L".sxg", "soffice.StarWriterGlobalDocument.6"}, { ".sxg", L".sxg", "soffice.StarWriterGlobalDocument.6" },
{ ".std", L".std", "soffice.StarDrawTemplate.6" }, { ".std", L".std", "soffice.StarDrawTemplate.6" },
{ ".sti", L".sti", "soffice.StarImpressTemplate.6" }, { ".sti", L".sti", "soffice.StarImpressTemplate.6" },
{ ".stc", L".stc", "soffice.StarCalcTemplate.6" }, { ".stc", L".stc", "soffice.StarCalcTemplate.6" },
{ ".odt", L".odt", "opendocument.WriterDocument.1" }, { ".odt", L".odt", "LibreOffice.WriterDocument.1" },
{ ".ott", L".ott", "opendocument.WriterTemplate.1" }, { ".ott", L".ott", "LibreOffice.WriterTemplate.1" },
{ ".odm", L".odm", "opendocument.WriterGlobalDocument.1" }, { ".odm", L".odm", "LibreOffice.WriterGlobalDocument.1" },
{ ".oth", L".oth", "opendocument.WriterWebTemplate.1" }, { ".oth", L".oth", "LibreOffice.WriterWebTemplate.1" },
{ ".ods", L".ods", "opendocument.CalcDocument.1" }, { ".ods", L".ods", "LibreOffice.CalcDocument.1" },
{ ".ots", L".ots", "opendocument.CalcTemplate.1" }, { ".ots", L".ots", "LibreOffice.CalcTemplate.1" },
{ ".odg", L".odg", "opendocument.DrawDocument.1" }, { ".odg", L".odg", "LibreOffice.DrawDocument.1" },
{ ".otg", L".otg", "opendocument.DrawTemplate.1" }, { ".otg", L".otg", "LibreOffice.DrawTemplate.1" },
{ ".odp", L".odp", "opendocument.ImpressDocument.1" }, { ".odp", L".odp", "LibreOffice.ImpressDocument.1" },
{ ".otp", L".otp", "opendocument.ImpressTemplate.1" }, { ".otp", L".otp", "LibreOffice.ImpressTemplate.1" },
{ ".odf", L".odf", "opendocument.MathDocument.1" }, { ".odf", L".odf", "LibreOffice.MathDocument.1" },
{ ".odb", L".odb", "opendocument.DatabaseDocument.1" } { ".odb", L".odb", "LibreOffice.DatabaseDocument.1" }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment