iText 5.5.0 with XDocReport 1.0.4

♀尐吖头ヾ 提交于 2019-12-24 07:29:29

问题


Can I use iText version 5.5.0 jar with XDocReort 1.0.4? Are they compatible?

All the sample projects provided at https://code.google.com/p/xdocreport/downloads/list, seem to be using itext-2.1.7.jar. Is there any specific reason behind that?


回答1:


XDocReport provides converters docx->pdf and odt->pdf based on iText 2.1.7 which is LGPL license although iText 5.5.0 provides a supported version under AGPL license.

XDocReport is based on iText 2.1.7 for license reason. Perhaps it will be easy to switch to iText 5.5.0 just by renaming package from converter sources but never tried that.

You can read more information about XDocReport lincense here




回答2:


Since XDocReport 1.0.5, XDocReport provides a version of the converter with iText 5 org.apache.poi.xwpf.converter.pdf.itext5



来源:https://stackoverflow.com/questions/21998010/itext-5-5-0-with-xdocreport-1-0-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!