How to read ods file in windows store app using c# code? RRS feed

  • Question

  • Hi,

       I would like to create an app for reading a file in windows store app. i can read text file in windows store app,but i have openoffice in my system. i can't able to read an ods file in windows store app. how can i read a ods file in windows store app using c# code? anybody knows please help me..

    Wednesday, December 4, 2013 1:39 PM

All replies

  • Hi,

    If you are looking for "Lauching" a specific file, then you can use the Windows.System.Launcher API - reference http://msdn.microsoft.com/en-us/library/windows/apps/hh779671.aspx

     As far I know, if you'd like to read a file using your app, then you'll need the SDK or WinRT components related to that product. I am not aware of any built-in classes/APIs which can readily provide classes for reading/writing ODS files. You might have to consider third-party libraries to achieve the task.


    Wednesday, December 4, 2013 3:17 PM
  • There isn't any built in support for ODS files, so you will need to either implement this yourself or find a third party solution. I don't know of any to recommend, but somebody else may or you can try searching.

    ODS files are zipped XML, so you should be able to unzip with the ZipArchive class and then use XmlDocument to read it. You'll need to check with OpenOffice for details of the schema within the XML.


    Wednesday, December 4, 2013 3:20 PM