Java/C++ Library for Serving Office Files as HTML content in Browser

I'm working on a file sharing/upload service, i want to be able to display the Office files like doc,docx,xlsx,xls,ppt,etc from my Server(HTTP) as HTML content to client's browser.

Not only MS Office files, i want to server Open Office files too.

Is there any open source library available for this purpose ?

Let me list out what i have tried so far.

The Office files content whether ppt/doc/xls or pdf whatever, to display it in Browser we must have it as HTML content(thats what the Browser understands). So i figured to use some Office to HTML converters, but i couldn't find a good one that is reliable and open source and offers programmable API.

I have also found a link in Oracle http://docs.oracle.com/cd/E14571_01/doc.1111/e10800/c07_mshtml.htm , which needs a MS Office installation and doesn't suits me.

And there's http://poi.apache.org , it allows to read and write MS Office docs programmatically, but i think i would have to work on it display the office docs as HTML in browser.

And there's libre office , http://www.techrepublic.com/blog/linux-and-open-source/how-to-convert-doc-and-odf-files-to-clean-and-lean-html/ http://ask.libreoffice.org/en/question/2641/convert-to-command-line-parameter/.

Now i'm not sure which one to use, on the long run i would like long term support, programming api and reliability on conversion. Or do i have to study http://www.ecma-international.org/publications/standards/Ecma-376.htm OOXML and have to write a viewer on my own ...?
Topic archived. No new replies allowed.