Skip to content

Commit 8fcd0ff

Browse files
committed
feat:remove convertToPDF function
1 parent 6448b71 commit 8fcd0ff

File tree

10 files changed

+0
-900
lines changed

10 files changed

+0
-900
lines changed

fastexcel-core/pom.xml

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
<name>fastexcel-core</name>
1717
<version>${revision}</version>
1818

19-
<properties>
20-
<itext.version>7.1.15</itext.version>
21-
</properties>
2219

2320
<dependencies>
2421
<dependency>
@@ -65,47 +62,5 @@
6562
<artifactId>fastexcel-support</artifactId>
6663
<version>0.0.1</version>
6764
</dependency>
68-
<!-- itext7 -->
69-
<dependency>
70-
<groupId>com.itextpdf</groupId>
71-
<artifactId>itext7-core</artifactId>
72-
<version>${itext.version}</version>
73-
<type>pom</type>
74-
</dependency>
75-
<dependency>
76-
<groupId>com.itextpdf</groupId>
77-
<artifactId>kernel</artifactId>
78-
<version>${itext.version}</version>
79-
</dependency>
80-
<dependency>
81-
<groupId>com.itextpdf</groupId>
82-
<artifactId>io</artifactId>
83-
<version>${itext.version}</version>
84-
</dependency>
85-
<dependency>
86-
<groupId>com.itextpdf</groupId>
87-
<artifactId>layout</artifactId>
88-
<version>${itext.version}</version>
89-
</dependency>
90-
<dependency>
91-
<groupId>com.itextpdf</groupId>
92-
<artifactId>forms</artifactId>
93-
<version>${itext.version}</version>
94-
</dependency>
95-
<dependency>
96-
<groupId>com.itextpdf</groupId>
97-
<artifactId>pdfa</artifactId>
98-
<version>${itext.version}</version>
99-
</dependency>
100-
<dependency>
101-
<groupId>com.itextpdf</groupId>
102-
<artifactId>pdftest</artifactId>
103-
<version>${itext.version}</version>
104-
</dependency>
105-
<dependency>
106-
<groupId>com.itextpdf</groupId>
107-
<artifactId>font-asian</artifactId>
108-
<version>${itext.version}</version>
109-
</dependency>
11065
</dependencies>
11166
</project>
Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,10 @@
11
package cn.idev.excel;
22

3-
import cn.idev.excel.fileconvertor.ExcelConverter;
4-
import cn.idev.excel.fileconvertor.FileConverterContext;
5-
6-
import java.io.File;
7-
83
/**
94
* This is actually {@link FastExcelFactory}, and short names look better.
105
*
116
* @author jipengfei
127
*/
138
public class FastExcel extends FastExcelFactory {
149

15-
/**
16-
* Convert excel to pdf
17-
*
18-
* @param excelFile excel file
19-
* @param pdfFile pdf file
20-
* @param fontPath font path for pdf can be null
21-
* @param sheets sheet index to convert, if null convert all sheets
22-
*/
23-
public static void convertToPdf(File excelFile, File pdfFile, String fontPath, int[] sheets) {
24-
FileConverterContext context = new FileConverterContext(excelFile, pdfFile, fontPath, sheets);
25-
ExcelConverter excelConverter = context.getExcelConverter();
26-
excelConverter.convertToPdf();
27-
}
28-
2910
}

fastexcel-core/src/main/java/cn/idev/excel/fileconvertor/BaseExcelConverter.java

Lines changed: 0 additions & 172 deletions
This file was deleted.

fastexcel-core/src/main/java/cn/idev/excel/fileconvertor/Excel2PdfUtils.java

Lines changed: 0 additions & 45 deletions
This file was deleted.

fastexcel-core/src/main/java/cn/idev/excel/fileconvertor/ExcelConverter.java

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)