diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2010-09-30 15:23:01 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2010-09-30 15:23:01 +0200 |
commit | 504815a205f078d99a91f98f3ef1a9a468401b5e (patch) | |
tree | 5dbea5df5f97a9540ae96e5fa8fc2cba6800babb | |
parent | cd126e2b6814b411e75f68a41e6b7b1ce03c71e1 (diff) |
odf-flatxml-import-export.diff: load and save documents in flat xmllinux-build-fridrich-20100930
load and save also odf documents in flat xml format as opposed to the compressed ones (conforming to the odf specifications)
-rw-r--r-- | scp2/source/calc/registryitem_calc.scp | 47 | ||||
-rw-r--r-- | scp2/source/draw/registryitem_draw.scp | 47 | ||||
-rw-r--r-- | scp2/source/impress/registryitem_impress.scp | 47 | ||||
-rw-r--r-- | scp2/source/ooo/directory_ooo.scp | 5 | ||||
-rw-r--r-- | scp2/source/writer/registryitem_writer.scp | 47 | ||||
-rw-r--r-- | scp2/source/xsltfilter/file_xsltfilter.scp | 14 | ||||
-rw-r--r-- | scp2/source/xsltfilter/module_xsltfilter.scp | 2 |
7 files changed, 209 insertions, 0 deletions
diff --git a/scp2/source/calc/registryitem_calc.scp b/scp2/source/calc/registryitem_calc.scp index efc71ac73..be92161c7 100644 --- a/scp2/source/calc/registryitem_calc.scp +++ b/scp2/source/calc/registryitem_calc.scp @@ -738,6 +738,53 @@ RegistryItem gid_Regitem_Openoffice_Calcdocument_1_Shell_Printto_Command Value = "\"<progpath>\program\soffice.exe\" -pt \"%2\" \"%1\""; End +// .fods + +RegistryItem gid_Regitem_Fods_PersistentHandler + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Calc_Bin; + Subkey = ".fods\PersistentHandler"; + Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}"; +End + +RegistryItem gid_Regitem_Fods_Shellex_00021500_0000_0000_C000_000000000046 + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Calc_Bin; + Subkey = ".fods\shellex\{00021500-0000-0000-C000-000000000046}"; + Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}"; +End + +RegistryItem gid_Regitem_Fods_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1 + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Calc_Bin; + Subkey = ".fods\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}"; + Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}"; +End + +RegistryItem gid_Regitem__Fods + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Calc_Bin; + Subkey = ".fods"; + Value = "opendocument.CalcDocument.1"; +End + +RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_fods + ParentID = PREDEFINED_HKEY_LOCAL_MACHINE; + Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations"; + ModuleID = gid_Module_Root; + Name = ".fods"; + Value = "opendocument.CalcDocument.1"; + Styles = (PATCH); +End + +RegistryItem gid_Regitem_Fods_Contenttype + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Calc_Bin; + Subkey = ".fods"; + Name = "Content Type"; + Value = "application/vnd.oasis.opendocument.spreadsheet"; +End + // new ots file extension RegistryItem gid_Regitem_Ots_PersistentHandler diff --git a/scp2/source/draw/registryitem_draw.scp b/scp2/source/draw/registryitem_draw.scp index 0ecb21536..a298eb64f 100644 --- a/scp2/source/draw/registryitem_draw.scp +++ b/scp2/source/draw/registryitem_draw.scp @@ -738,6 +738,53 @@ RegistryItem gid_Regitem_Openoffice_Drawingdocument_1_Protocol_Stdfileediting_Ve Value = "&Open"; End +// .fodg + +RegistryItem gid_Regitem_Fodg_PersistentHandler + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Draw_Bin; + Subkey = ".fodg\PersistentHandler"; + Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}"; +End + +RegistryItem gid_Regitem_Fodg_Shellex_00021500_0000_0000_C000_000000000046 + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Draw_Bin; + Subkey = ".fodg\shellex\{00021500-0000-0000-C000-000000000046}"; + Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}"; +End + +RegistryItem gid_Regitem_Fodg_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1 + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Draw_Bin; + Subkey = ".fodg\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}"; + Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}"; +End + +RegistryItem gid_Regitem_Fodg_Contenttype + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Draw_Bin; + Subkey = ".fodg"; + Name = "Content Type"; + Value = "application/vnd.oasis.opendocument.graphics"; +End + +RegistryItem gid_Regitem__Fodg + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Draw_Bin; + Subkey = ".fodg"; + Value = "opendocument.DrawDocument.1"; +End + +RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_fodg + ParentID = PREDEFINED_HKEY_LOCAL_MACHINE; + Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations"; + ModuleID = gid_Module_Root; + Name = ".fodg"; + Value = "opendocument.DrawDocument.1"; + Styles = (PATCH); +End + // new otg file extension RegistryItem gid_Regitem_Otg_PersistentHandler diff --git a/scp2/source/impress/registryitem_impress.scp b/scp2/source/impress/registryitem_impress.scp index cce7f1d85..1f07ec9c1 100644 --- a/scp2/source/impress/registryitem_impress.scp +++ b/scp2/source/impress/registryitem_impress.scp @@ -767,6 +767,53 @@ RegistryItem gid_Regitem_Openoffice_Impressdocument_1_Shell_Show_Command Value = "\"<progpath>\program\soffice.exe\" -show \"%1\""; End +// .fodp + +RegistryItem gid_Regitem_Fodp_PersistentHandler + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Impress_Bin; + Subkey = ".fodp\PersistentHandler"; + Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}"; +End + +RegistryItem gid_Regitem_Fodp_Shellex_00021500_0000_0000_C000_000000000046 + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Impress_Bin; + Subkey = ".fodp\shellex\{00021500-0000-0000-C000-000000000046}"; + Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}"; +End + +RegistryItem gid_Regitem_Fodp_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1 + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Impress_Bin; + Subkey = ".fodp\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}"; + Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}"; +End + +RegistryItem gid_Regitem__Fodp + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Impress_Bin; + Subkey = ".fodp"; + Value = "opendocument.ImpressDocument.1"; +End + +RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_fodp + ParentID = PREDEFINED_HKEY_LOCAL_MACHINE; + Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations"; + ModuleID = gid_Module_Root; + Name = ".fodp"; + Value = "opendocument.ImpressDocument.1"; + Styles = (PATCH); +End + +RegistryItem gid_Regitem_Fodp_Contenttype + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Impress_Bin; + Subkey = ".fodp"; + Name = "Content Type"; + Value = "application/vnd.oasis.opendocument.presentation"; +End + // new otp file extension RegistryItem gid_Regitem_Otp_PersistentHandler diff --git a/scp2/source/ooo/directory_ooo.scp b/scp2/source/ooo/directory_ooo.scp index ff9484a11..344a51bf5 100644 --- a/scp2/source/ooo/directory_ooo.scp +++ b/scp2/source/ooo/directory_ooo.scp @@ -459,6 +459,11 @@ Directory gid_Dir_Share_Xslt_Import_Common DosName = "common"; End +Directory gid_Dir_Share_Xslt_Odfflatxml + ParentID = gid_Dir_Share_Xslt; + DosName = "odfflatxml"; +End + Directory gid_Dir_Share_Dtd ParentID = gid_Dir_Share; DosName = "dtd"; diff --git a/scp2/source/writer/registryitem_writer.scp b/scp2/source/writer/registryitem_writer.scp index 925c887a3..d1a92634d 100644 --- a/scp2/source/writer/registryitem_writer.scp +++ b/scp2/source/writer/registryitem_writer.scp @@ -883,6 +883,53 @@ RegistryItem gid_Regitem_Openoffice_Writerwebdocument_1_Shell_Open_Command Styles = (); End +// .fodt + +RegistryItem gid_Regitem_Fodt_PersistentHandler + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Wrt_Bin; + Subkey = ".fodt\PersistentHandler"; + Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}"; +End + +RegistryItem gid_Regitem_Fodt_Shellex_00021500_0000_0000_C000_000000000046 + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Wrt_Bin; + Subkey = ".fodt\shellex\{00021500-0000-0000-C000-000000000046}"; + Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}"; +End + +RegistryItem gid_Regitem_Fodt_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1 + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Wrt_Bin; + Subkey = ".fodt\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}"; + Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}"; +End + +RegistryItem gid_Regitem__Fodt + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Wrt_Bin; + Subkey = ".fodt"; + Value = "opendocument.WriterDocument.1"; +End + +RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_fodt + ParentID = PREDEFINED_HKEY_LOCAL_MACHINE; + Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations"; + ModuleID = gid_Module_Root; + Name = ".fodt"; + Value = "opendocument.WriterDocument.1"; + Styles = (PATCH); +End + +RegistryItem gid_Regitem_Fodt_Contenttype + ParentID = PREDEFINED_HKEY_CLASSES_ROOT; + ModuleID = gid_Module_Prg_Wrt_Bin; + Subkey = ".fodt"; + Name = "Content Type"; + Value = "application/vnd.oasis.opendocument.text"; +End + // new ott file extension RegistryItem gid_Regitem_Ott_PersistentHandler diff --git a/scp2/source/xsltfilter/file_xsltfilter.scp b/scp2/source/xsltfilter/file_xsltfilter.scp index 848b1c707..d40a51584 100644 --- a/scp2/source/xsltfilter/file_xsltfilter.scp +++ b/scp2/source/xsltfilter/file_xsltfilter.scp @@ -83,3 +83,17 @@ File gid_File_Xsl_Export_Xhtml_Table Name = "/xslt/export/xhtml/table.xsl"; End + +File gid_File_Xsl_Export_Odfflatxml + TXT_FILE_BODY; + Styles = (PACKED, PATCH); + Dir = gid_Dir_Share_Xslt_Odfflatxml; + Name = "/xslt/odfflatxml/odfflatxmlexport.xsl"; +End + +File gid_File_Xsl_Import_Odfflatxml + TXT_FILE_BODY; + Styles = (PACKED, PATCH); + Dir = gid_Dir_Share_Xslt_Odfflatxml; + Name = "/xslt/odfflatxml/odfflatxmlimport.xsl"; +End diff --git a/scp2/source/xsltfilter/module_xsltfilter.scp b/scp2/source/xsltfilter/module_xsltfilter.scp index 7854ce704..16f0d7d16 100644 --- a/scp2/source/xsltfilter/module_xsltfilter.scp +++ b/scp2/source/xsltfilter/module_xsltfilter.scp @@ -43,6 +43,8 @@ Module gid_Module_Optional_Xsltfiltersamples gid_File_Xsl_Export_Xhtml_Master_Usability_Links, gid_File_Xsl_Export_Xhtml_Ooo2xhtml, gid_File_Xsl_Export_Xhtml_Table, + gid_File_Xsl_Export_Odfflatxml, + gid_File_Xsl_Import_Odfflatxml, gid_File_Share_Registry_Xsltfilter_Xcd ); Minimal = NO; Default = NO; |