Skip to main content
added 411 characters in body
Source Link
will
  • 5.1k
  • 8
  • 58
  • 98

There are two further answers for this question. Depending on your application.

  1. can borrow from the OpenOffice library code that deals with opening and saving MS Office files.

    can borrow from the OpenOffice library code that deals with opening and saving MS Office files. (See: http://www.artofsolving.com/opensource/jodconverter or jOpenDocument )

  2. You might just use OpenOffice itself by scripting or automating that.

    You might just use OpenOffice itself by scripting or automating that.

I faced this question a while back with a Ruby app and because I was in control of the source document, I got the originator to save things as HTML format and used Tidy to filter the junk. Another option it to find a tool to convert the Office files to RTF which is more generic.

Another to consider ...

You may find spreadsheets BIG unless you use OpenOffice or MS Office because you need to have a fancy shamancy virtual sparse matrix to do what they do well.

There are two further answers for this question. Depending on your application.

  1. can borrow from the OpenOffice library code that deals with opening and saving MS Office files.
  2. You might just use OpenOffice itself by scripting or automating that.

I faced this question a while back with a Ruby app and because I was in control of the source document, I got the originator to save things as HTML format and used Tidy to filter the junk. Another option it to find a tool to convert the Office files to RTF which is more generic.

Another to consider ...

  • LibreOffice looks useful, though you may find the file access uses C++?

You may find spreadsheets BIG unless you use OpenOffice or MS Office because you need to have a fancy shamancy virtual sparse matrix to do what they do well.

There are two further answers for this question. Depending on your application.

  1. can borrow from the OpenOffice library code that deals with opening and saving MS Office files. (See: http://www.artofsolving.com/opensource/jodconverter or jOpenDocument )

  2. You might just use OpenOffice itself by scripting or automating that.

I faced this question a while back with a Ruby app and because I was in control of the source document, I got the originator to save things as HTML format and used Tidy to filter the junk. Another option it to find a tool to convert the Office files to RTF which is more generic.

Another to consider ...

You may find spreadsheets BIG unless you use OpenOffice or MS Office because you need to have a fancy shamancy virtual sparse matrix to do what they do well.

Source Link
will
  • 5.1k
  • 8
  • 58
  • 98

There are two further answers for this question. Depending on your application.

  1. can borrow from the OpenOffice library code that deals with opening and saving MS Office files.
  2. You might just use OpenOffice itself by scripting or automating that.

I faced this question a while back with a Ruby app and because I was in control of the source document, I got the originator to save things as HTML format and used Tidy to filter the junk. Another option it to find a tool to convert the Office files to RTF which is more generic.

Another to consider ...

  • LibreOffice looks useful, though you may find the file access uses C++?

You may find spreadsheets BIG unless you use OpenOffice or MS Office because you need to have a fancy shamancy virtual sparse matrix to do what they do well.