Skip to content

Commit

Permalink
fix: conflict 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
dradnats1012 committed Dec 15, 2024
1 parent ef80465 commit 48f04c3
Showing 1 changed file with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,24 +281,4 @@ private ByteArrayInputStream writeWorkbookToStream(SXSSFWorkbook workbook) throw
return new ByteArrayInputStream(out.toByteArray());
}
}

private static CellStyle makeCommonStyle(Workbook workbook) {
CellStyle commonStyle = workbook.createCellStyle();
commonStyle.setAlignment(HorizontalAlignment.CENTER);
commonStyle.setVerticalAlignment(VerticalAlignment.CENTER);
commonStyle.setWrapText(true);
return commonStyle;
}

private static CellStyle makeHeaderStyle(Workbook workbook) {
CellStyle headerStyle = workbook.createCellStyle();
Font font = workbook.createFont();
font.setBold(true);
font.setColor(IndexedColors.WHITE.getIndex());
headerStyle.setFont(font);
headerStyle.setFillForegroundColor(IndexedColors.LIGHT_BLUE.getIndex());
headerStyle.setFillPattern(FillPatternType.SOLID_FOREGROUND);
headerStyle.setAlignment(HorizontalAlignment.CENTER);
return headerStyle;
}
}

0 comments on commit 48f04c3

Please sign in to comment.