Java Word, PDF control comparison recommendation

Source: Internet
Author: User
Word:
POI-TL (Strong push): http://deepoove.com/poi-tl/
Freemaker:https://www.cnblogs.com/lichmama/p/6652161.html
Pdf:
Itext (Strong push): https://www.cnblogs.com/h--d/p/6150320.html
pdf-box:79486730

根据以上博客编写的实践demo:https://github.com/PrettyPanda/word.pdfpoi-tl纯java代码编写,简小,可扩展性很高,不需要将word文件进行转换,使用很方便,强烈推荐。样式不容易出现问题,文本替换保持原样式很good。freemaker需要将word格式转换成xml,再更改格式为ftl,还要进行标签的替换,很不方便。样式也很容易出现问题。itext和pdf-box功能上都很强大,但是pdf-box对中文很不友好,itext加入itext-asian jar即可解决中文问题。所以推荐itext

Java Word, PDF control comparison recommendation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.