Export to xlsx format
try (InputStream inputStream = JRLoader.getResourceInputStream(path)) { // read report as input stream
JasperReport jasperReport = JasperCompileManager.compileReport(JRXmlLoader.load(inputStream)); // compile report
Map<String, Object> params = new HashMap...