有谁知道一种以编程方式轻松将 PDF 转换为 docx 格式的方法

发布于 2024-08-20 02:54:51 字数 222 浏览 5 评论 0原文

我们有几个第三方系统可以为我们提供 PDF。我们希望在不使用 Adob​​e 产品的情况下转换这些 PDF 以在网络上显示。理想情况下,我们希望使用 Silverlight 渲染 PDF,但在从 PDF 转换为 Xaml 或使用 docx 格式作为中间人时遇到困难。有很多图书馆提供 PDF,但这不是我们需要的。

如果有一个库可以执行此操作,那么 .net 库会更好,但如果可以的话,我们也可以使用命令行运行转换。

We have a couple 3rd party systems that give us PDFs. We would like to convert those PDFs for display on the web without using an Adobe product. Ideally we would like to use Silverlight to render the PDFs but are having trouble converting from a PDF to Xaml or using docx format as a middle man. There are lots of libraries that give PDFs but that is not what we need.

If there is a library out there that does this, a .net lib would be preferable but we can run the conversion using the command line as well if that is an option.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

只为守护你 2024-08-27 02:54:51

Aspose 销售 .Net 转换器库。

Aspose sells .Net converter libraries.

缺⑴份安定 2024-08-27 02:54:51

将 PDF 转换为 SVG(ghostscript 会做到这一点)并将其作为一系列图像导入:我不是 .net 程序员,但我知道可以使用 system.io.packaging 类来完成,该类是值得的,是由 Mono 项目在 .net 之外实现的。

Convert PDF to SVG (ghostscript will do it) and import that as a series of images: I'm not a .net programmer, but I understand that can be done with the system.io.packaging class, which, for what it's worth, is implemented outside of .net by the Mono project.

成熟的代价 2024-08-27 02:54:51

另一种选择是,如果您实际上不需要更改 pdf 文档中的任何内容,您可以使用 pdf.js 将 pdf 文档呈现为 html 5。有关更多信息,请参阅此博客文章。

http://andreasgal.com/2011/06/15/pdf-js/

Another option, if you don't actually need to change anything in the pdf documents you can use pdf.js which renders pdf documents as html 5. For more info please see this blog post.

http://andreasgal.com/2011/06/15/pdf-js/

执笔绘流年 2024-08-27 02:54:51

有许多从 PDF 到 XPS 的转换器,XPS 是 XAML 的子集。

[更新]一些参考链接

There are a number of converters from PDF to XPS which is a subset of XAML.

[update] some reference links

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文