com.alibaba.excel.util

类 StyleUtil


  • public class StyleUtil
    extends Object
    作者:
    jipengfei
    • 方法详细资料

      • buildCellStyle

        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)
        Build cell style
        参数:
        workbook -
        originCellStyle -
        writeCellStyle -
        返回:
      • buildDataFormat

        public static short buildDataFormat(org.apache.poi.ss.usermodel.Workbook workbook,
                                            DataFormatData dataFormatData)
      • buildFont

        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)
      • getHyperlinkType

        public static org.apache.poi.common.usermodel.HyperlinkType getHyperlinkType(HyperlinkData.HyperlinkType hyperlinkType)
      • getCoordinate

        public static int getCoordinate(Integer coordinate)
      • getCellCoordinate

        public static int getCellCoordinate(Integer currentCoordinate,
                                            Integer absoluteCoordinate,
                                            Integer relativeCoordinate)

Copyright © 2018–2021 Alibaba Group. All rights reserved.