开发者

Is there any open source library for rendering doc, xls, ppt and pdf to html code?

开发者 https://www.devze.com 2023-02-18 19:09 出处:网络
I would 开发者_如何学Clike to write a \"quick look\" feature for my web application, that allow user \"view\" these kind of document on the web page, how can I do so? Thank you.You could use OpenOffic

I would 开发者_如何学Clike to write a "quick look" feature for my web application, that allow user "view" these kind of document on the web page, how can I do so? Thank you.


You could use OpenOffice which can open all of those formats. OpenOffice can also be used to convert a document to HTML. All that can be done through a Java API on the server (no GUI required).

I do not know how good the generated HTML is though, but it might be worth trying.

For PDF you will need an OpenOffice plugin that enables OpenOffice to open PDFs (for editing).


Check out the Crocodoc API. Crocodoc provides an HTML5 viewer (no Flash!) which you can embed in your web pages. It's free for non-commercial use.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号