dhatim / fastexcel

Generate and read big Excel files quickly
Other
647 stars 116 forks source link

Update encrypt test #338

Closed meiMingle closed 9 months ago

meiMingle commented 9 months ago

With the release of POI5.2.4, this problem has been solved and some code wrapping is no longer necessary. https://bz.apache.org/bugzilla/show_bug.cgi?id=66436


    // This code does not have to be executed in POI 5.2.4
    OPCPackage open = OPCPackage.open(dataStream);
    open.save(bos);
    byte[] bytes = bos.toByteArray();
    fworkbook = new ReadableWorkbook(new ByteArrayInputStream(bytes));
ochedru commented 9 months ago

Thank you for your PR!