Hi,
For both you need to use ODPackage :- SpreadSheet.create(new ODPackage(InputStream))- SpreadSheet.getPackage().save(OutputStream)
HTH,Sylvain