Skip to content

Commit 1d63394

Browse files
committed
refactor(xhtml): remove docx4j conversion classes, keep HTML/Markdown-to-PDF pipeline
1 parent 2631071 commit 1d63394

22 files changed

Lines changed: 1 addition & 2040 deletions

easypdf-xhtml/pom.xml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,6 @@
2828
</dependency>
2929

3030
<!-- Docx4j ImportXHTML(版本由父 POM 的 docx4j-importxhtml.version 管理) -->
31-
<dependency>
32-
<groupId>org.docx4j</groupId>
33-
<artifactId>xhtmlrenderer</artifactId>
34-
</dependency>
35-
<dependency>
36-
<groupId>org.docx4j</groupId>
37-
<artifactId>docx4j-ImportXHTML</artifactId>
38-
</dependency>
3931

4032
<!-- https://mvnrepository.com/artifact/net.sourceforge.cssparser/cssparser -->
4133
<dependency>
@@ -231,13 +223,7 @@
231223
<artifactId>maven-compiler-plugin</artifactId>
232224
<configuration>
233225
<!-- 历史遗留的 demo 示例类(非测试、依赖旧 iText5/旧 JDK API,无法编译) -->
234-
<testExcludes>
235-
<exclude>**/Demo4HTMLCn.java</exclude>
236-
<exclude>**/HtmlConverter.java</exclude>
237-
<exclude>**/HtmlToDOCDemo.java</exclude>
238-
<exclude>**/WebPageToImage.java</exclude>
239-
</testExcludes>
240-
</configuration>
226+
</configuration>
241227
</plugin>
242228
</plugins>
243229
</build>

easypdf-xhtml/src/main/java/io/github/easy4j/pdf/xhtml/DataMap.java

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

easypdf-xhtml/src/main/java/io/github/easy4j/pdf/xhtml/WordprocessingMLHtmlTemplate.java

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

easypdf-xhtml/src/main/java/io/github/easy4j/pdf/xhtml/handler/DocumentHandler.java

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

0 commit comments

Comments
 (0)