以编程方式将 DOC 转换为 PDF

发布于 2024-09-11 23:53:22 字数 1539 浏览 1 评论 0原文

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

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

发布评论

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

评论(3

堇色安年 2024-09-18 23:53:22

我已经很长时间没有研究 PHP 了,但是如果您可以从中进行 Web 服务调用,那么请尝试 此产品。它提供了出色的转换保真度。它还支持其他格式,包括 Infopath、Excel、PowerPoint 等,并具有

请注意,我曾开发过该产品,因此通常的免责声明适用。

I haven't looked at PHP in a very long time, but if you can make web service calls from it then try this product. It provides excellent conversion fidelity. It also supports additional formats including Infopath, Excel, PowerPoint etc and has Watermarking support as well.

Please note that I have worked on this product so the usual disclaimers apply.

夜访吸血鬼 2024-09-18 23:53:22

迟到但可能作为一般参考有用,特别是考虑到您提到的“外部网站”选项 - Docmosis 提供了一个网络-service api,用于从任何可以调用 REST Web 服务(或 HTTP post)的应用程序创建 doc + pdf + odt + 其他格式。

Late but possibly useful as a general reference particularly in light of the "external website" option you mentioned - Docmosis provides a web-service api for creating doc + pdf + odt + other formats from any application that can invoke a REST web service (or HTTP post).

早乙女 2024-09-18 23:53:22

您可以使用以下代码将word文件的文件扩展名更改为pdf
$filename = preg_replace('".docx$"', '.pdf', $filename);

You can change the file extension of the word file to pdf,by using below code
$filename = preg_replace('".docx$"', '.pdf', $filename);

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