devops-utils / excel-to-pdf

An easy way to convert Excel 2003 and Excel 2007 to PDF by Java code based on Apache POI and itext7

Home Page:https://github.com/devops-utils/excel-to-pdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

excel-to-pdf

An easy way to convert Excel 2003 and Excel 2007 to PDF by Java code based on Apache POI and itext7

使用SDK

IExcel2PDF excel2PdfTool = EPFactory.getEP("case6.xlsx", "output1.pdf", System.getProperty("user.dir") + "/doc/font/SimHei.TTF");
if(excel2PdfTool != null) {
    excel2PdfTool.convert();
}

maven

Maven 引用方式

<dependency>
    <groupId>com.github.zhangchunsheng</groupId>
    <artifactId>excel-to-pdf</artifactId>
    <version>1.0.2</version>
</dependency>
https://github.com/itext/itext7
https://www.tutorialspoint.com/itext/itext_text_annotation.htm

捐助 donate

支付宝 微信

About

An easy way to convert Excel 2003 and Excel 2007 to PDF by Java code based on Apache POI and itext7

https://github.com/devops-utils/excel-to-pdf

License:Apache License 2.0


Languages

Language:Java 100.0%