Resulting file after calling new XSSFWorkbook("Test_original.xlsx") and then closing the file:
Test_modified.xlsx
Reproduce Steps
using var workbook = new XSSFWorkbook("Test_original.xlsx");
// Close and dispose workbook
// Input file is modified when it should not be
Issue Description
Opening a file, reading information from it, then closing it, should not be modifying the original input file. At no point was the Excel file modified in code. It can be reproduced by opening the file then closing it using the above snippet of code.
NPOI Version
2.7.0
File Type
Upload the Excel File
Original file: Test_original.xlsx
Resulting file after calling
new XSSFWorkbook("Test_original.xlsx")
and then closing the file: Test_modified.xlsxReproduce Steps
Issue Description
Opening a file, reading information from it, then closing it, should not be modifying the original input file. At no point was the Excel file modified in code. It can be reproduced by opening the file then closing it using the above snippet of code.