@Override
                public void afterWorkbookCreate(WorkbookWriteHandlerContext context) {
                    // Get the Workbook object
                    Workbook workbook = context.getWriteWorkbookHolder().getWorkbook();
                    // Temporary files are only generated in SXSSFWorkbook mode
                    if (workbook instanceof SXSSFWorkbook) {
                        SXSSFWorkbook sxssfWorkbook = (SXSSFWorkbook)workbook;
                        // Enable temporary file compression. Note that this will consume CPU performance, but the temporary files will be smaller
                        sxssfWorkbook.setCompressTempFiles(true);
                    }
                }
Intercept the Workbook creation completion event
@param context
fastexcel-test/src/test/java/cn/idev/excel/test/demo/rare/WriteTest.java