转载文章Office

doc html互转

2019-06-12  本文已影响0人  小李_a98e

java doc与富文本的转换


    <dependency>

        <groupId>org.apache.poi</groupId>

        <artifactId>poi</artifactId>

        <version>3.14</version>

    </dependency>

    <dependency>

        <groupId>org.apache.poi</groupId>

        <artifactId>poi-scratchpad</artifactId>

        <version>3.14</version>

        <exclusions>

            <exclusion>

                <groupId>org.apache.poi</groupId>

                <artifactId>poi</artifactId>

            </exclusion>

        </exclusions>

    </dependency>

    <!--poi word 处理部分-->

    <dependency>

        <groupId>org.apache.poi</groupId>

        <artifactId>poi-ooxml</artifactId>

        <version>3.14</version>

    </dependency>

    <dependency>

        <groupId>org.apache.poi</groupId>

        <artifactId>poi-ooxml-schemas</artifactId>

        <version>3.14</version>

    </dependency>

    <dependency>

        <groupId>fr.opensagres.xdocreport</groupId>

        <artifactId>xdocreport</artifactId>

        <version>1.0.4</version>

    </dependency>

    <dependency>

        <groupId>fr.opensagres.xdocreport</groupId>

        <artifactId>org.apache.poi.xwpf.converter.core</artifactId>

        <version>1.0.4</version>

    </dependency>

    <dependency>

        <groupId>fr.opensagres.xdocreport</groupId>

        <artifactId>org.apache.poi.xwpf.converter.xhtml</artifactId>

        <version>1.0.4</version>

    </dependency>

    <dependency>

        <groupId>commons-fileupload</groupId>

        <artifactId>commons-fileupload</artifactId>

        <version>1.3.2</version>

    </dependency>

    <!-- html2doc 这里采用 docx4j-->

    <dependency>

        <groupId>org.docx4j</groupId>

        <artifactId>docx4j</artifactId>

        <version>3.3.6</version>

    </dependency>

    <!--jsoup-->

    <dependency>

        <groupId>org.jsoup</groupId>

        <artifactId>jsoup</artifactId>

        <version>1.10.2</version>

    </dependency>
上一篇下一篇

猜你喜欢

热点阅读