通过 .Net 将 XPS 转换为 Doc(x)?
有谁知道将 xps 文档转换为 docx 或最终转换为普通(非 wordml).doc 的(本机).net 方法?就像不使用办公自动化而使用一些本机(第 3 方).net 库可能对我有帮助?
基本上 xps >文档转换将在具有多个同时运行的“作业”和“作业”的服务器上进行。自动化办公已被证明是一些.. flakey...
有谁知道这样的库吗?
Does anyone know of a (native) .net way to convert xps documents to docx or finally to a normal (non wordml) .doc? As in not using office automation and rather some native (3rd party) .net library that might help me there?
Basically the xps > doc transformation will take place on a server with multiple concurrently running 'jobs' & automating office has proven to be somehwat.. flakey...
Does anyone know of such a lib?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
.Net Framework 3.0 有一个用于读取(和写入)XPS 的接口。 XPS 类是 Windows Presentation Foundation (WPF) 的一部分,位于 System.Windows.Xps 命名空间下。
.Net framework 3.0 has an inteface for reading (and writing) XPS. The XPS classes is a part of the Windows Presentation Foundation, WPF, and is found under the System.Windows.Xps namespace.
此类任务正是 Word Automation Services 的用途(在 Sharepoint 2010 中)。有一个代码示例 http://msdn.microsoft.com/en-us/ Library/ff181518.aspx 用于将 DOCX 文件批量转换为 PDF。
但是...我不太清楚 XPS 是否真的受支持作为打开文件的格式。您可能需要在购买 Sharepoint 之前仔细检查这一点。
克里斯
This type of task is what Word Automation Services is for (in Sharepoint 2010). There's a code sample at http://msdn.microsoft.com/en-us/library/ff181518.aspx for batch-converting DOCX files into PDF.
However... I can't quite work out whether XPS is actually supported as a format to open files in. You might want to double-check that before buying Sharepoint.
Chris