You've already forked DataMate
feat(knowledge): 添加知识库条目预览功能
- 集成 docx4j 和 LibreOffice 实现 Office 文档转 PDF 预览 - 新增 KnowledgeItemPreviewService 处理预览转换逻辑 - 添加异步任务 KnowledgeItemPreviewAsyncService 进行文档转换 - 实现预览状态管理包括待转换、转换中、就绪和失败状态 - 在前端界面添加 Office 文档预览状态标签显示 - 支持 DOC/DOCX 文件在线预览功能 - 添加预览元数据存储和管理机制
This commit is contained in:
@@ -60,6 +60,16 @@
|
||||
<groupId>org.springframework.data</groupId>
|
||||
<artifactId>spring-data-commons</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.docx4j</groupId>
|
||||
<artifactId>docx4j-core</artifactId>
|
||||
<version>11.4.9</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.docx4j</groupId>
|
||||
<artifactId>docx4j-export-fo</artifactId>
|
||||
<version>11.4.9</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
Reference in New Issue
Block a user