@Override
    public void afterCellDispose(CellWriteHandlerContext context) {
        if (context.getHead() == null) {
            return;
        }
        if (context.getHead()) {
            setHeadCellStyle(context);
        } else {
            setContentCellStyle(context);
        }
    }
Cell style strategy

@author Jiaju Zhuang
fastexcel-core/src/main/java/cn/idev/excel/write/style/AbstractCellStyleStrategy.java