问题
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