123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>2.7.14</version>
- <relativePath/> <!-- lookup parent from repository -->
- </parent>
- <groupId>com.shcd</groupId>
- <artifactId>ghjg_pdf</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- <name>ghjg_pdf</name>
- <description>ghjg_pdf</description>
- <properties>
- <java.version>8</java.version>
- <itext.version>8.0.2</itext.version>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-freemarker</artifactId>
- </dependency>
- <dependency>
- <groupId>org.freemarker</groupId>
- <artifactId>freemarker</artifactId>
- <version>2.3.30</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- </dependency>
- <dependency>
- <groupId>com.oracle.database.jdbc</groupId>
- <artifactId>ojdbc11</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi</artifactId>
- <version>5.2.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-scratchpad</artifactId>
- <version>5.2.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-ooxml</artifactId>
- <version>5.2.2</version>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>2.12.0</version>
- </dependency>
- <!-- pdfbox依赖-->
- <dependency>
- <groupId>org.apache.pdfbox</groupId>
- <artifactId>pdfbox</artifactId>
- <version>2.0.24</version>
- </dependency>
- <!-- itext依赖,但是只能打正规军,adobe适用,wps无效-->
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>itextpdf</artifactId>
- <version>5.5.10</version>
- </dependency>
- <!-- html转pdf-->
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>html2pdf</artifactId>
- <version>3.0.2</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-component-annotations</artifactId>
- <version>2.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.luhuiguo.bouncycastle</groupId>
- <artifactId>bcprov-jdk15on</artifactId>
- <version>1.70</version>
- </dependency>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>itext-asian</artifactId>
- <version>5.2.0</version>
- </dependency>
- <dependency>
- <groupId>com.lowagie</groupId>
- <artifactId>itext</artifactId>
- <version>2.1.7</version>
- </dependency>
- <dependency>
- <groupId>com.deepoove</groupId>
- <artifactId>poi-tl</artifactId>
- <version>1.12.2</version>
- </dependency>
- <!-- <dependency>-->
- <!-- <groupId>com.documents4j</groupId>-->
- <!-- <artifactId>documents4j-local</artifactId>-->
- <!-- <version>1.0.3</version>-->
- <!-- </dependency>-->
- <!-- <dependency>-->
- <!-- <groupId>com.documents4j</groupId>-->
- <!-- <artifactId>documents4j-transformer-msoffice-word</artifactId>-->
- <!-- <version>1.0.3</version>-->
- <!-- </dependency>-->
- <!-- 这个是最简单的加密方式,但是需要导入海量的包-->
- <!-- always needed -->
- <!-- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>kernel</artifactId>
- <version>${itext.version}</version>
- </dependency>
- <!– always needed –>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>io</artifactId>
- <version>${itext.version}</version>
- </dependency>
- <!– always needed –>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>layout</artifactId>
- <version>${itext.version}</version>
- </dependency>
- <!– only needed for forms –>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>forms</artifactId>
- <version>${itext.version}</version>
- </dependency>
- <!– only needed for PDF/A –>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>pdfa</artifactId>
- <version>${itext.version}</version>
- </dependency>
- <!– only needed for digital signatures –>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>sign</artifactId>
- <version>${itext.version}</version>
- </dependency>
- <!– only needed for barcodes –>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>barcodes</artifactId>
- <version>${itext.version}</version>
- </dependency>
- <!– only needed for Asian fonts –>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>font-asian</artifactId>
- <version>${itext.version}</version>
- </dependency>
- <!– only needed for hyphenation –>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>hyph</artifactId>
- <version>${itext.version}</version>
- </dependency>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>bouncy-castle-adapter</artifactId>
- <version>${itext.version}</version>
- </dependency>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>itext7-core</artifactId>
- <version>8.0.2</version>
- </dependency>-->
- <!-- Free Spire依赖 免费版会添加水印不能用-->
- <!-- <dependency>
- <groupId>e-iceblue</groupId>
- <artifactId>spire.pdf</artifactId>
- <version>10.1.5</version>
- </dependency>
- <dependency>
- <groupId>e-iceblue</groupId>
- <artifactId>spire.pdf.free</artifactId>
- <version>3.9.0</version>
- </dependency>
- <dependency>
- <groupId>javax.xml.bind</groupId>
- <artifactId>jaxb-api</artifactId>
- <version>2.3.1</version>
- </dependency>-->
- </dependencies>
- <repositories>
- <repository>
- <id>com.e-iceblue</id>
- <name>e-iceblue</name>
- <url>https://repo.e-iceblue.cn/repository/maven-public/</url>
- </repository>
- </repositories>
- <build>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|