将图像插入Excel - Java [英] Insert Image into Excel - Java

查看:119
本文介绍了将图像插入Excel - Java的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个java Web应用程序,我必须在excel文件上显示一个图像。
i使用java文件iopo将图像写入excel文件。



问题是当用户将此邮件发送给客户端时,图像不显示

p>

有没有办法使用/不使用任何外部API将图像嵌入到Excel文件中。

解决方案

您可以使用Apache POI: http://poi.apache.org



请特别查看 http://poi.apache.org/spreadsheet/quick-guide.html#Images


I am working on a java web application where i have to show an image on excel file. i used the java file iopo to write the image to the excel file.

Issue is when the user mail this to client the image does not show up

Is there any way to embed the image into the excel file using java with/without using any external API.

解决方案

You can use Apache POI: http://poi.apache.org

See especially http://poi.apache.org/spreadsheet/quick-guide.html#Images

这篇关于将图像插入Excel - Java的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆