Class SimpleUstraExcelCellGenerator

java.lang.Object
com.gsitm.ustra.java.data.poi.generator.UstraExcelCellGenerator
com.gsitm.ustra.java.data.poi.generator.SimpleUstraExcelCellGenerator
Direct Known Subclasses:
ColoredHeaderUstraExcelCellGenerator

public class SimpleUstraExcelCellGenerator extends UstraExcelCellGenerator
기본 UstraExcelCellGenerator
  • Constructor Details

    • SimpleUstraExcelCellGenerator

      public SimpleUstraExcelCellGenerator()
  • Method Details

    • init

      public void init(org.apache.poi.xssf.streaming.SXSSFWorkbook workbook, org.apache.poi.xssf.streaming.SXSSFSheet sheet)
      Description copied from class: UstraExcelCellGenerator
      초기화 수행
      Specified by:
      init in class UstraExcelCellGenerator
    • makeTitle

      public void makeTitle(org.apache.poi.xssf.streaming.SXSSFWorkbook workbook, org.apache.poi.xssf.streaming.SXSSFSheet sheet, UstraExcelModel model)
      Description copied from class: UstraExcelCellGenerator
      타이틀 영역 생성
      Specified by:
      makeTitle in class UstraExcelCellGenerator
      Parameters:
      workbook - 워크북
      sheet - Sheet
      model - UstraExcelModel
    • makeHeader

      public void makeHeader(org.apache.poi.xssf.streaming.SXSSFWorkbook workbook, org.apache.poi.xssf.streaming.SXSSFSheet sheet, UstraExcelModel model)
      Description copied from class: UstraExcelCellGenerator
      헤더 생성
      Specified by:
      makeHeader in class UstraExcelCellGenerator
      Parameters:
      workbook - 워크북
      sheet - Sheet
      model - UstraExcelModel
    • makeBody

      public void makeBody(org.apache.poi.xssf.streaming.SXSSFWorkbook workbook, org.apache.poi.xssf.streaming.SXSSFSheet sheet, UstraExcelModel model)
      Description copied from class: UstraExcelCellGenerator
      Body 생성
      Specified by:
      makeBody in class UstraExcelCellGenerator
      Parameters:
      workbook - 워크북
      sheet - Sheet
      model - UstraExcelModel
    • bindBodyCellValue

      protected void bindBodyCellValue(org.apache.poi.ss.usermodel.Row row, int colIndex, Object src, UstraExcelCellInfoModel cellInfo)
      Cell 값 바인딩
      Parameters:
      row - Row
      colIndex -
      src - 원본 데이터 값
      cellInfo - cell 정보
    • nvl

      protected static String nvl(Object src)
      null vlaue 값을 공백으로 치환
      Parameters:
      src -
      Returns:
    • makeFooter

      public void makeFooter(org.apache.poi.xssf.streaming.SXSSFWorkbook workbook, org.apache.poi.xssf.streaming.SXSSFSheet sheet, UstraExcelModel model)
      Description copied from class: UstraExcelCellGenerator
      Footer 생성
      Specified by:
      makeFooter in class UstraExcelCellGenerator
      Parameters:
      workbook - 워크북
      sheet - Sheet
      model - UstraExcelModel
    • customizeSheet

      public void customizeSheet(org.apache.poi.xssf.streaming.SXSSFWorkbook workbook, org.apache.poi.xssf.streaming.SXSSFSheet sheet, UstraExcelModel model)
      Description copied from class: UstraExcelCellGenerator
      cell 생성 완료 후, workbook / sheet customize
      Specified by:
      customizeSheet in class UstraExcelCellGenerator
      Parameters:
      workbook - 워크북
      sheet - Sheet