1 pdf2html docker 启动,java 调用服务即可转化
https://beltxman.com/2567.html
docker run -ti --rm -v ~/pdf:/pdf -w /pdf docker.io/pdf2htmlex/pdf2htmlex:0.18.8.rc2-master-20200820-ubuntu-20.04-x86_64 test.pdf
2 html2pdf java .Runtime 类型调用命令行执行
https://wkhtmltopdf.org/downloads.html 这
wkhtmltopdf