在Silverlight中显示Office文档 [英] Displaying Office documents in Silverlight

查看:92
本文介绍了在Silverlight中显示Office文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在基于浏览器的Silverlight应用程序中显示Office文档.我现在使用的解决方案包括使用Office Automation将各种Office文档转换为XPS,然后使用 Silverlight的FirstFloor文档工具包.

I've got a need to display Office documents in a browser-based Silverlight application. The solution that I've got in place right now involves using Office Automation to convert the various Office docs to XPS, and then displaying the resulting XPS files in Silverlight with the FirstFloor Document Toolkit for Silverlight.

这可以工作,但是速度很慢,并且有很多活动部件.最值得注意的是,出于所有已知和显而易见的原因,Office Automation块特别不稳定.

This works, but it's slow, and has a fair number of moving parts. Most notably, the Office Automation piece is particularly unstable, for all the known and obvious reasons.

我能想到的最好的选择是购买类似

The best alternative I can come up with is to purchase something like Aspose.Total to handle the document->XPS conversion piece. But Aspose is fairly expensive (at least $8K for our scenario), largely because it comes with a lot of functionality that I don't really need. I'll pay that if I have to, but before I do, I want to check to see if anyone else has any better ideas.

有关如何完成此操作的建议?基本上,我需要允许用户将Word/Excel/Powerpoint文档上载到服务器,并在基于浏览器的Silverlight应用程序中显示它们(只读是可以的).我错过了任何解决方案吗?

Suggestions on how to accomplish this? Basically, I need to allow users to upload Word/Excel/Powerpoint docs to a server, and display them (read-only is fine) in a browser-based Silverlight application. Any solutions out there that I've missed?

  • It looks like Electric Rain has a PPT-to-XAML converter that might be worth investigating for PPT files at least.

FirstFloor Document Toolkit的另一种替代方法是 PDFTron SilverDox 产品.看起来它的服务器组件使用的是Office Automation,但是一旦您将文档导入XPS,它的客户端Silverlight查看器就可以使用.

Another alternative to the FirstFloor Document Toolkit looks to be the PDFTron SilverDox product. It looks like its server component uses Office Automation, but once you get the doc into XPS, it looks like its client-side Silverlight viewer would work.

推荐答案

彩虹PDF具有$ 2000的服务器解决方案 http ://rainbowpdf.com/server-based-solutions

Rainbow PDF has server solution for $2000 http://rainbowpdf.com/server-based-solutions

:)

这篇关于在Silverlight中显示Office文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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