<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>com.jxdinfo.idp</groupId>
        <artifactId>idp-document-parse</artifactId>
        <version>3.1.0.beta</version>
    </parent>

    <artifactId>idp-ppt-parser</artifactId>
    <dependencies>
        <dependency>
            <groupId>com.jxdinfo.idp</groupId>
            <artifactId>idp-document-parse-core</artifactId>
            <version>${project.version}</version>
        </dependency>
        <!-- Apache POI: 支持 .ppt (HSLF) 和 .pptx (XSLF) -->
        <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi-scratchpad</artifactId>
            <version>${version.poi}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi-ooxml</artifactId>
            <version>${version.poi}</version>
        </dependency>
        <!-- 通过 idp-common 间接引入 docx4j，确保版本与现有项目一致（8.3.15） -->
        <!-- docx4j PPTX 支持(Presentation Markup Language) -->
        <dependency>
            <groupId>org.docx4j</groupId>
            <artifactId>docx4j-openxml-objects-pml</artifactId>
            <version>8.3.15</version>
        </dependency>
        <!-- docx4j 核心包,提供BinaryPart等基础类 -->
        <dependency>
            <groupId>org.docx4j</groupId>
            <artifactId>docx4j-core</artifactId>
            <version>8.3.15</version>
        </dependency>
    </dependencies>
    <properties>
        <maven.compiler.source>8</maven.compiler.source>
        <maven.compiler.target>8</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <repositories>
        <!-- docx4j-repo SSL证书有问题，docx4j-openxml-objects-pml在Maven Central上已有 -->
        <!--
        <repository>
            <id>docx4j-repo</id>
            <url>https://maven.docx4java.org/repository/</url>
        </repository>
        -->
    </repositories>
</project>
