| Package | Description |
|---|---|
| org.dromara.hutool.poi.excel.cell.setters |
单元格值自定义设置器,主要用于Excel数据导出,用户通过自定义此接口,实现可定制化的单元格值设定
|
| org.dromara.hutool.poi.excel.shape |
Excel中绘图相关操作
|
| org.dromara.hutool.poi.excel.writer |
Excel生成封装
|
| Constructor and Description |
|---|
PicCellSetter(byte[] pictureData,
ExcelPicType picType)
构造
|
| Modifier and Type | Method and Description |
|---|---|
static ExcelPicType |
ExcelPicUtil.getPicType(File picFile)
获取图片类型
|
static ExcelPicType |
ExcelPicType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExcelPicType[] |
ExcelPicType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ExcelDrawingUtil.drawingPic(org.apache.poi.ss.usermodel.Sheet sheet,
byte[] pictureData,
ExcelPicType imgType,
SimpleClientAnchor clientAnchor)
写出图片,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
添加图片到当前sheet中 |
ExcelWriter |
ExcelWriter.writePic(byte[] pictureData,
ExcelPicType imgType,
SimpleClientAnchor clientAnchor)
写出数据,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
添加图片到当前sheet中 |
ExcelWriter |
ExcelWriter.writePic(File imgFile,
ExcelPicType imgType,
SimpleClientAnchor clientAnchor)
写出数据,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
添加图片到当前sheet中 |
Copyright © 2025. All rights reserved.