Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用java将doc转换为pdf?
我正在寻找一个应用程序来自动将word文件转换为pdf,根本不需要用户交互,这可能吗?
实现这一目标的最佳方法是什么,以及一个例子?
而且我不能使用apache
我应该添加它只需要做文本,仅此而已
谢谢 :)
没有第三方库就无法做到这一点,除非您自己编写整个 PDF 渲染引擎。你真的不想尝试这样做。
Apache PDFBox 通常是解决此类问题的方法。