Skip to content

ourlang/preview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

java实现文件在线预览

1.该demo可以实现以下格式的在线文件预览(.doc|.docx|.xls|.xlsx|.ppt|.pptx)各种图片格式预览

2.openoffice插件下载,一直点下一步即可

http://www.openoffice.org/zh-cn/download/ 如果觉得下载数据慢 提供Windows的网盘下载 https://pan.baidu.com/s/1JIDZNiWjLldrye0W7h_TVQ

简要说明

需要引用的jar包

 <!--文件预览-->
        <dependency>
            <groupId>org.jodconverter</groupId>
            <artifactId>jodconverter-core</artifactId>
            <version>4.0.0-RELEASE</version>
        </dependency>
        <!-- https://mvnrepository.com/artifact/com.artofsolving/jodconverter -->
        <dependency>
            <groupId>org.artofsolving</groupId>
            <artifactId>jodconverter</artifactId>
            <version>3.0-beta-4</version>
        </dependency>

    <!--  lombok简化实体类getter setter代码-->
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <version>1.16.6</version>
        </dependency>

若有其他问题欢迎到我的个人网站留言交流 http://www.lsdcloud.com/

About

java实现文件在线预览

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages