This is a candidate for GSOC or Help Wanted. Need WorkbookFactory.create and XSSFWorkbook constructor to open read only
Should not write to file on close if a workbook is merely opened and not modified. Sounds like changing close's behavior is contentious, so we'd need to decide what direction we want to go (make close write changes to disk, deprecate/remove FileInputStream constructors or add note that close won't write changes back to disk; alternatively, make close non-saving or add a close(boolean save) method) However this is handled, we should harmonize all of POI so that close behavior is clear and logical. On Mar 30, 2016 10:43 AM, <bugzi...@apache.org> wrote: > https://bz.apache.org/bugzilla/show_bug.cgi?id=59252 > > --- Comment #2 from Nick Burch <apa...@gagravarr.org> --- > OPCPackage has always supported in-place write for Files. OPOIFS never did, > while NPOIFS now does. Because OPOIFS never did, and that's all we had for > agest, the usermodel APIs never did either > > Now that the default POIFS is NPOIFS which does, there has been talk of > adding > in-place write at the usermodel level (eg XSSFWorkbook.write() / > HSSFWorkbook.write() in addition to the write(OutputStream) method), but > no-one > has so far volunteered to do the work to implement > > -- > You are receiving this mail because: > You are the assignee for the bug. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org > For additional commands, e-mail: dev-h...@poi.apache.org > >