在asp.net中将Word,Excel转换为jpg [英] Convert Word,Excel to jpg in asp.net

查看:74
本文介绍了在asp.net中将Word,Excel转换为jpg的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在不使用互操作办公室的情况下将单词,excel转换为asp.net中的图像.
请给我公开的意见.
谢谢.

i want to convert word,excel to image in asp.net without interop office.
Pls give me open soure to do it.
Thanks.

推荐答案

原则上,无需Office API即可呈现Office文档,但是为什么呢?这一点都不容易.我可以看到的一种方式:您可以在Open Office的开放源代码中查看它是如何完成的,请参见 http://en.wikipedia .org/wiki/Open_Office [ ^ ], http://www.openoffice.org/ [
—SA
In principle, rendering office documents without Office API is possible, but why? This is not easy at all. One way I can see: you can look how this is done in the open source code of Open Office, see http://en.wikipedia.org/wiki/Open_Office[^], http://www.openoffice.org/[^].

The code is is compatible with Office document formats, but huge.

More importantly, do you understand that Office document do not have any predefined bitmap look? The rendering of the document depends on the resolution of the device used, view options and other factors. The structure of the document it purely "logical", abstracted from concrete rendering parameters. In this way, your problem is not even well defined.

—SA


这篇关于在asp.net中将Word,Excel转换为jpg的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆