public class ExcelPicKit
extends Object
Excel图片工具类
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Summary
Constructors
-
Method Summary
static Map<String,org.apache.poi.ss.usermodel.PictureData>
getPicMap(org.apache.poi.ss.usermodel.Workbook workbook,
int sheetIndex)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ExcelPicKit
public ExcelPicKit()
-
Method Details
-
getPicMap
public static Map<String,org.apache.poi.ss.usermodel.PictureData> getPicMap(org.apache.poi.ss.usermodel.Workbook workbook,
int sheetIndex)
获取工作簿指定sheet中图片列表
- Parameters:
workbook - 工作簿Workbook
sheetIndex - sheet的索引
- Returns:
- 图片映射, 键格式:行_列,值:
PictureData