用itext导出到pdf: https://developers.itextpdf.com/content/itext-7-jump-start-tutorial
itext百度中文文档:https://wenku.baidu.com/view/a0ead10ef12d2af90242e610?fr=prin https://wenku.baidu.com/view/193ca4eb964bcf84b8d57b61.html
走心的简书: http://www.jianshu.com/p/e2bf571598b5
遇到的bug: 好像到这句话就死了 doc = (Document) builder.parse(intream);
http://bbs.csdn.net/topics/390016477但是问题依旧没解决