实现使用jodconverter调用libreoffice将word转pdf

This commit is contained in:
2025-07-01 11:50:59 +08:00
parent 4483f3ef4c
commit a4c4994759
32 changed files with 636 additions and 2282 deletions

50
pom.xml
View File

@@ -1,16 +1,40 @@
<?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>
<groupId>com.optima</groupId>
<artifactId>document</artifactId>
<version>2.0.0</version>
<packaging>pom</packaging>
<name>document</name>
<description>文档操作模块</description>
<modules>
<module>api</module>
<module>server</module>
<module>tl-server</module>
</modules>
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>
<groupId>com.optima</groupId>
<artifactId>document</artifactId>
<version>2.0.0</version>
<packaging>pom</packaging>
<name>Document</name>
<description>文档操作模块</description>
<modules>
<module>document-api</module>
<module>document-server</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>8</source>
<target>8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.7.18</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>