public class StyleUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.apache.poi.ss.usermodel.CellStyle |
buildCellStyle(org.apache.poi.ss.usermodel.Workbook workbook,
org.apache.poi.ss.usermodel.CellStyle originCellStyle,
WriteCellStyle writeCellStyle)
Build cell style
|
static short |
buildDataFormat(org.apache.poi.ss.usermodel.Workbook workbook,
DataFormatData dataFormatData) |
static org.apache.poi.ss.usermodel.Font |
buildFont(org.apache.poi.ss.usermodel.Workbook workbook,
org.apache.poi.ss.usermodel.Font originFont,
WriteFont writeFont) |
static org.apache.poi.ss.usermodel.RichTextString |
buildRichTextString(WriteWorkbookHolder writeWorkbookHolder,
RichTextStringData richTextStringData) |
static int |
getCellCoordinate(Integer currentCoordinate,
Integer absoluteCoordinate,
Integer relativeCoordinate) |
static int |
getCoordinate(Integer coordinate) |
static org.apache.poi.common.usermodel.HyperlinkType |
getHyperlinkType(HyperlinkData.HyperlinkType hyperlinkType) |
public static org.apache.poi.ss.usermodel.CellStyle buildCellStyle(org.apache.poi.ss.usermodel.Workbook workbook,
org.apache.poi.ss.usermodel.CellStyle originCellStyle,
WriteCellStyle writeCellStyle)
workbook - originCellStyle - writeCellStyle - public static short buildDataFormat(org.apache.poi.ss.usermodel.Workbook workbook,
DataFormatData dataFormatData)
public static org.apache.poi.ss.usermodel.Font buildFont(org.apache.poi.ss.usermodel.Workbook workbook,
org.apache.poi.ss.usermodel.Font originFont,
WriteFont writeFont)
public static org.apache.poi.ss.usermodel.RichTextString buildRichTextString(WriteWorkbookHolder writeWorkbookHolder, RichTextStringData richTextStringData)
public static org.apache.poi.common.usermodel.HyperlinkType getHyperlinkType(HyperlinkData.HyperlinkType hyperlinkType)
public static int getCoordinate(Integer coordinate)
Copyright © 2018–2023 Alibaba Group. All rights reserved.