excel插入图片
时间:2011-10-11
来源:互联网
作者: belong_jars 发布时间: 2011-10-11
作者: softroad 发布时间: 2011-10-11
int dy1,
int dx2,
int dy2,
short col1,
int row1,
short col2,
int row2)Creates a new client anchor and sets the top-left and bottom-right coordinates of the anchor.
Parameters:
dx1 - the x coordinate within the first cell.
dy1 - the y coordinate within the first cell.
dx2 - the x coordinate within the second cell.
dy2 - the y coordinate within the second cell.
col1 - the column (0 based) of the first cell.
row1 - the row (0 based) of the first cell.
col2 - the column (0 based) of the second cell.
row2 - the row (0 based) of the second cell.
作者: softroad 发布时间: 2011-10-11
作者: softroad 发布时间: 2011-10-11
public HSSFClientAnchor(int dx1,
int dy1,
int dx2,
int dy2,
short col1,
in……
作者: belong_jars 发布时间: 2011-10-11
作者: softroad 发布时间: 2011-10-11
作者: bill0605030109 发布时间: 2011-10-12
HSSFClientAnchor anchor = new HSSFClientAnchor(0,0,图片宽,图片高,列,行,列,行);
就是这里里面数字的定义,有什么规律的。怎么就可以不管有多少条数据,生成的图片都会自动放在最下面,不会遮住excel本身的那套数据。因为我导出的excel里面是有两套数据的,一套是直接用excel显示,还一套是以图片的方式显示。
作者: belong_jars 发布时间: 2011-10-12
作者: softroad 发布时间: 2011-10-12
图片的位置是根据参数设定的,你要放到最下面就要计算当前行是多少了。
怎么计算的
作者: belong_jars 发布时间: 2011-10-12
作者: dxqrr 发布时间: 2011-10-12
作者: zh0134 发布时间: 2011-10-12
我最近也在做这个,不过我们用的是 jxl
头疼啊 位置老是搞不定 如果没数据导出的图片又失真了
作者: belong_jars 发布时间: 2011-10-12
作者: belong_jars 发布时间: 2011-10-12
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28