[英]I have doc file which i want to convert into pdf using itext in java..how to do this things?
Don't understand what to do.不明白该怎么办。 I added latest version of iText jar file but not getting the solution.我添加了最新版本的 iText jar 文件,但没有得到解决方案。 please give me correct solution or code.请给我正确的解决方案或代码。 please mention it stepwise.请逐步提及。 because I'm doing this first time...因为我是第一次做...
You can't solve your use case as easily as you think.您无法像您想象的那样轻松解决您的用例。 iText does not support Word to PDF conversion, because this requires very good knowledge of the OOXML format. iText 不支持 Word 到 PDF 的转换,因为这需要非常了解 OOXML 格式。
I'm an employee at iText Software, and for the last few weeks I've been investigating XDocReport, a tool that lets users manipulate MS Word files (DOCX) and OpenOffice/LibreOffice files (ODF).我是 iText Software 的一名员工,最近几周我一直在研究 XDocReport,这是一种允许用户操作 MS Word 文件 (DOCX) 和 OpenOffice/LibreOffice 文件 (ODF) 的工具。 They also have a plugin that converts DOCX or ODF to PDF, with iText.他们还有一个插件,可以使用 iText 将 DOCX 或 ODF 转换为 PDF。 Users that want this functionality can choose whether to use iText 2 under the LGPL license or iText 5 under the AGPL license.需要此功能的用户可以选择是使用 LGPL 许可下的 iText 2 还是 AGPL 许可下的 iText 5。
XDocReport has already done an excellent job creating their converter tool with the limited human resources they have, and I've also made some minor progress on the project with fixing bugs and layout problems. XDocReport 已经在利用他们有限的人力资源创建他们的转换器工具方面做得非常出色,而且我还在修复错误和布局问题的项目上取得了一些小进展。 However, there are still a lot of things that need fixing in order to make the PDFs closely resemble the MS Word documents.但是,为了使 PDF 与 MS Word 文档非常相似,仍有许多需要修复的地方。
The XDocReport has documentation for using their plugins, but it is not an easy thing to do, and you need to know a lot about Maven and dependencies to make it work. XDocReport 有使用他们的插件的文档,但这不是一件容易的事情,你需要了解很多关于 Maven 和依赖的知识才能让它工作。 I've created a plugin discovery project to make that easier, but we haven't released it yet: as of now it doesn't produce the quality in PDFs that we feel our customers would want.我创建了一个插件发现项目来简化这个过程,但我们还没有发布它:到目前为止,它不能产生我们认为客户想要的 PDF 质量。 We have no timeline for availability of this plugin.我们没有关于此插件可用性的时间表。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.