public SXSSFSheet(SXSSFWorkbook workbook, XSSFSheet xSheet) { _workbook = workbook; _sh = xSheet; _writer = workbook.CreateSheetDataWriter(); SetRandomAccessWindowSize(_workbook.RandomAccessWindowSize); _autoSizeColumnTracker = new AutoSizeColumnTracker(this); }
public void SetUpSheetAndWorkbook() { workbook = new SXSSFWorkbook(); sheet = workbook.CreateSheet() as SXSSFSheet; tracker = new AutoSizeColumnTracker(sheet); }