Convert ofd file to pdf file, by the way doc, docx to pdf

By parsing the OFD document, using Apache Pdfbox to generate and convert the elements in the OFD to the elements in the PDF to achieve PDF conversion.

org.ofdrw.converter.ConvertHelperEncapsulate the conversion process API through objects, provide convenient tools and methods, and simplify the call burden of conversion developers.

Pom introduces related modules

<dependency>
            <groupId>org.apache.pdfbox</groupId>
            <artifactId>fontbox</artifactId>
            <version>2.0.21</version>
        </dependency>
        <dependency>
            <groupId>org.apache.pdfbox</groupId>
            <artifactId>pdfbox</artifactId>
            <version>2.0.21</version>
        </dependency>
        
        <!-- ofd相关模块 -->
        <dependency>
        <groupId>org.ofdrw</groupId>
        <artifactId>ofdrw-converter</artifactId>
        <version>1.7.3</version>
        </dependency>

 

Guess you like

Origin blog.csdn.net/weixin_47385625/article/details/113631416