diff --git a/src/main/java/cokr/xit/fims/cmmn/CmmnUtil.java b/src/main/java/cokr/xit/fims/cmmn/CmmnUtil.java index 35a250aa..458e9069 100644 --- a/src/main/java/cokr/xit/fims/cmmn/CmmnUtil.java +++ b/src/main/java/cokr/xit/fims/cmmn/CmmnUtil.java @@ -29,12 +29,8 @@ import java.util.stream.Stream; import javax.imageio.ImageIO; import org.apache.commons.io.FilenameUtils; -import org.apache.poi.hssf.util.HSSFColor; -import org.apache.poi.ss.usermodel.Font; -import org.apache.poi.ss.usermodel.HorizontalAlignment; import org.springframework.core.io.ClassPathResource; -import cokr.xit.base.file.xls.XLSWriter; import cokr.xit.fims.sndb.service.bean.SndngBean; import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.util.DateFormats; @@ -563,22 +559,4 @@ public class CmmnUtil { return arr; } - /** 엑셀파일 공통 헤더 스타일 생성 - * @param xlsx - * @return XLSWriter.Styler - */ - public static XLSWriter.Styler headerStyle(XLSWriter xlsx) { - return new XLSWriter.Styler() - .foregroundColor(HSSFColor.HSSFColorPredefined.GREY_25_PERCENT.getIndex()) - .configure(styler -> { - Font font = xlsx.workbook().createFont(); - font.setColor(HSSFColor.HSSFColorPredefined.BLACK.getIndex()); - styler.font(font); - styler.alignment(HorizontalAlignment.CENTER); - }); - } - - - - } \ No newline at end of file