使用读取 rtf 文档中的表格的 JAVA 将 RTF 转换为 PDF
Convert the RTF to PDF using JAVA which reads the tables in rtf document
在 Windows 或 Unix 使用 Java 的文档中,有什么方法可以将 RTF 转换为包含 table 的 PDF?
我们在这里尝试过的选项是:
- ITEXT - 但 rtf 文档中的 table 在转换为 PDF 后无法正常显示。简而言之,PDF 不包含 Table。这是代码要点。 ITEXT for rtf to pdf java code gist
- POI - apache POI 是否支持 RTF 文档解析?但是我发现不支持。 POI support for RTF
- TIKA - 使用 Tika 我可以阅读文档,但是 RTF 中的 table 没有被正确解析,我不知道如何将它转换为 PDF。 TIKA java code for reading rtf
我们研究了其他选择。是否可以使用 Java 开发或将 RTF 转换为 PDF?
Other options we looked into are in this link
是的,有可能。看看 JasperReports!
http://community.jaspersoft.com/project/jasperreports-library
Jaspersoft 还提供了一个很好的 API 来编写您的自定义 PDF 引擎和自定义数据源。从 iReport (UI-Editor) 开始。
在 Windows 或 Unix 使用 Java 的文档中,有什么方法可以将 RTF 转换为包含 table 的 PDF?
我们在这里尝试过的选项是:
- ITEXT - 但 rtf 文档中的 table 在转换为 PDF 后无法正常显示。简而言之,PDF 不包含 Table。这是代码要点。 ITEXT for rtf to pdf java code gist
- POI - apache POI 是否支持 RTF 文档解析?但是我发现不支持。 POI support for RTF
- TIKA - 使用 Tika 我可以阅读文档,但是 RTF 中的 table 没有被正确解析,我不知道如何将它转换为 PDF。 TIKA java code for reading rtf
我们研究了其他选择。是否可以使用 Java 开发或将 RTF 转换为 PDF?
Other options we looked into are in this link
是的,有可能。看看 JasperReports!
http://community.jaspersoft.com/project/jasperreports-library
Jaspersoft 还提供了一个很好的 API 来编写您的自定义 PDF 引擎和自定义数据源。从 iReport (UI-Editor) 开始。