Package | Description |
---|---|
org.dromara.hutool.poi.excel.writer |
Excel生成封装
|
Modifier and Type | Method and Description |
---|---|
static void |
ExcelDrawingUtil.drawingCellComment(org.apache.poi.ss.usermodel.Cell cell,
SimpleClientAnchor clientAnchor,
String content)
添加批注
|
static void |
ExcelDrawingUtil.drawingPic(org.apache.poi.ss.usermodel.Sheet sheet,
byte[] pictureData,
ExcelPicType imgType,
SimpleClientAnchor clientAnchor)
写出图片,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
添加图片到当前sheet中 |
static void |
ExcelDrawingUtil.drawingSimpleShape(org.apache.poi.ss.usermodel.Sheet sheet,
SimpleClientAnchor clientAnchor,
ShapeConfig shapeConfig)
绘制简单形状
|
ExcelWriter |
ExcelWriter.writeLineShape(SimpleClientAnchor clientAnchor)
绘制线条
|
ExcelWriter |
ExcelWriter.writeLineShape(SimpleClientAnchor clientAnchor,
LineStyle lineStyle,
int lineWidth,
Color lineColor)
绘制线条
|
ExcelWriter |
ExcelWriter.writePic(byte[] pictureData,
ExcelPicType imgType,
SimpleClientAnchor clientAnchor)
写出数据,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
添加图片到当前sheet中 |
ExcelWriter |
ExcelWriter.writePic(File imgFile,
ExcelPicType imgType,
SimpleClientAnchor clientAnchor)
写出数据,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
添加图片到当前sheet中 |
ExcelWriter |
ExcelWriter.writePic(File imgFile,
SimpleClientAnchor clientAnchor)
写出数据,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
添加图片到当前sheet中 / 默认图片类型png |
ExcelWriter |
ExcelWriter.writeSimpleShape(SimpleClientAnchor clientAnchor,
ShapeConfig shapeConfig)
绘制简单形状
|
Copyright © 2025. All rights reserved.