java 读取word模版,替换参数,转换为pdf

来源:互联网 发布:windows bash 编辑:程序博客网 时间:2024/06/06 03:36

1.word转html (filename:pdf/template.doc outputFIle:pdf/temp.html)


2.html 处理 (filepath:pdf/temp.htmlrepArr: {"param1","01"},{"param2","02"},{"param03","03"}....)


3.html转pdf(inputFile:pdf/temp.htmloutputFile:pdf/contract/test.pdf)


4.项目文件和所需要的jar包





0 0
原创粉丝点击