如何从 Silverlight 应用程序创建(和显示)MS-Word 文档
我正在尝试决定是否可以应对 Silverlight 不支持打印的事实。一种选择是创建一个 ms-word 文档,然后将其加载到 word 中,以便用户可以打印它。
这还有一个优点,就是我可以使用 Word 文档作为输出模板,以便让用户控制字体等。
这有多实用?
(我还不知道 Siverlight 的匹配情况,在开始详细学习之前,我试图确定它是否是应用程序的一个选项)
我希望现在这个问题有一个很好的答案 - 无论是当用户是否已安装 Word 以及何时未安装。由于这个问题得到了很多人的关注,因此有代表提出了一个好的答案。
I am trying to decide if I can cope with the fact that Silverlight does not support printing. One option is to create a ms-word document and then load it into word, so the user can print it.
This also have the advantage that I could use a word document as a template for the output, so letting the user control type faces etc.
How practical is this?
(I don’t know match about Siverlight yet, I am trying to decide if it is an option for the application before I start learning it in detail)
I hope by now that there is a good answer to this question - both when the user has word installed and when they don't. As this question gets lots of view, there is rep to be head by a good answer.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
三个问题有相同的答案...我现在怀疑我的用处;) 该产品为 Silverlight 应用程序生成 Word 文档:
http://www.perpetuumsoft.com/Report-Sharp-Shooter-for-Silverlight.aspx
Three questions with the same answer... I'm doubting my usefulness at this point ;) This product generates a Word doc for Silverlight applications:
http://www.perpetuumsoft.com/Report-Sharp-Shooter-for-Silverlight.aspx
只是对此发表评论。 Silverlight 4 支持打印,还支持本地安装的应用程序的 COM 自动化。
Just to comment on this. Silverlight 4 supports printing and it also supports COM automation for applications installed locally.