Package | Description |
---|---|
org.dromara.hutool.poi.excel.style |
Excel样式封装,入口为:StyleUtil
|
org.dromara.hutool.poi.excel.writer |
Excel生成封装
|
Modifier and Type | Method and Description |
---|---|
static ShapeConfig |
ShapeConfig.of()
创建一个形状配置
|
ShapeConfig |
ShapeConfig.setFillColor(Color fillColor)
设置填充颜色,
null表示不填充 |
ShapeConfig |
ShapeConfig.setLineColor(Color lineColor)
设置线条颜色
|
ShapeConfig |
ShapeConfig.setLineStyle(LineStyle lineStyle)
设置线条样式
|
ShapeConfig |
ShapeConfig.setLineWidth(int lineWidth)
设置线条宽度
|
ShapeConfig |
ShapeConfig.setShapeType(org.apache.poi.sl.usermodel.ShapeType shapeType)
设置形状类型
|
Modifier and Type | Method and Description |
---|---|
static void |
ExcelDrawingUtil.drawingSimpleShape(org.apache.poi.ss.usermodel.Sheet sheet,
SimpleClientAnchor clientAnchor,
ShapeConfig shapeConfig)
绘制简单形状
|
ExcelWriter |
ExcelWriter.writeSimpleShape(SimpleClientAnchor clientAnchor,
ShapeConfig shapeConfig)
绘制简单形状
|
Copyright © 2025. All rights reserved.