no message

main
이범준 7 months ago
parent ade0151ece
commit 981aa805be

@ -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);
});
}
}
Loading…
Cancel
Save