Uses of Class
org.miaixz.bus.office.excel.style.CellBorderStyle
Packages that use CellBorderStyle
Package
Description
Excel样式封装
Excel 操作工具类
-
Uses of CellBorderStyle in org.miaixz.bus.office.excel.style
Methods in org.miaixz.bus.office.excel.style that return CellBorderStyleModifier and TypeMethodDescriptionstatic CellBorderStyleCellBorderStyle.of(org.apache.poi.ss.usermodel.BorderStyle borderStyle, org.apache.poi.ss.usermodel.IndexedColors colorIndex) 创建单元格边框样式对象,四边框样式保持一致。static CellBorderStyleCellBorderStyle.of(org.apache.poi.ss.usermodel.CellStyle cellStyle) 根据CellStyle创建单元格边框样式对象。CellBorderStyle.setBottomColor(Short bottomColor) 设置底边框的颜色CellBorderStyle.setBottomStyle(org.apache.poi.ss.usermodel.BorderStyle bottomStyle) 设置底边框的样式CellBorderStyle.setLeftColor(Short leftColor) 设置左边框的颜色CellBorderStyle.setLeftStyle(org.apache.poi.ss.usermodel.BorderStyle leftStyle) 设置左边框的样式CellBorderStyle.setRightColor(Short rightColor) 设置右边框的颜色CellBorderStyle.setRightStyle(org.apache.poi.ss.usermodel.BorderStyle rightStyle) 设置右边框的样式CellBorderStyle.setTopColor(Short topColor) 设置上边框的颜色CellBorderStyle.setTopStyle(org.apache.poi.ss.usermodel.BorderStyle topStyle) 设置上边框的样式 -
Uses of CellBorderStyle in org.miaixz.bus.office.excel.xyz
Methods in org.miaixz.bus.office.excel.xyz with parameters of type CellBorderStyleModifier and TypeMethodDescriptionstatic org.apache.poi.ss.usermodel.CellStyleStyleKit.setBorder(org.apache.poi.ss.usermodel.CellStyle cellStyle, CellBorderStyle cellBorderStyle) 设置cell的四个边框粗细和颜色static voidStyleKit.setBorderStyle(org.apache.poi.ss.usermodel.Sheet sheet, org.apache.poi.ss.util.CellRangeAddress cellRangeAddress, CellBorderStyle cellBorderStyle) 根据CellStyle设置指定范围边框样式