https://bz.apache.org/bugzilla/show_bug.cgi?id=65077
--- Comment #2 from PJ Fanning <[email protected]> --- It is not intuitive but the current POI behaviour is that if you create an XSSFWorkbook based on a file, that that file is modified when you make changes to the XSSFWorkbook. If you create an SXSSFWorkbook that is based on an XSSFWorkbook, then the modifications to the SXSSFWorkbook affect the XSSFWorkbook and this in turn affects the file. If you want use an xlsx file as a template in SXSSFWorkbook but not modify the original file, then you need to create the XSSFWorkbook using an InputStream. When an InputStream is used, modifications to XSSFWorkbook do not affect the original data source (eg a file). -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
