# excel-to-pdf **Repository Path**: yiluxiangbei/excel-to-pdf ## Basic Information - **Project Name**: excel-to-pdf - **Description**: An easy way to convert Excel 2003 and Excel 2007 to PDF by Java code based on Apache POI and itext7 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 6 - **Forks**: 2 - **Created**: 2021-08-19 - **Last Updated**: 2025-05-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: Java, pdf, Excel, POI, itext ## README # 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 ```java IExcel2PDF excel2PdfTool = EPFactory.getEP("case6.xlsx", "output1.pdf", System.getProperty("user.dir") + "/doc/font/SimHei.TTF"); if(excel2PdfTool != null) { excel2PdfTool.convert(); } ``` ### maven ### Maven 引用方式 ```xml com.github.zhangchunsheng excel-to-pdf 1.0.2 ``` ``` https://github.com/itext/itext7 https://www.tutorialspoint.com/itext/itext_text_annotation.htm ```
## 捐助 donate
支付宝 微信