I have a Java application using Jasper version 6.17.
Any docx file made with Jasper layout when opened in Microsoft Word, the bold does not work, could anyone help me?
Java:
JasperReport jasperReport = JasperCompileManager.compileReport(caminhoRelatoriodocx +"/mrp/ataZero.jrxml");
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, new JREmptyDataSource());
JRDocxExporter exporter = new JRDocxExporter();
SimpleDocxReportConfiguration configuration = new SimpleDocxReportConfiguration();
configuration.setFramesAsNestedTables(false);
configuration.setFlexibleRowHeight(true);
configuration.setIgnoreHyperlink(false);
exporter.setConfiguration(configuration);
exporter.setExporterInput(new SimpleExporterInput(jasperPrint));
exporter.setExporterOutput(new SimpleOutputStreamExporterOutput(response.getOutputStream()));
response.setHeader("Content-Disposition", "attachment;filename="+fileName);
response.setContentType("application/octet-stream");
exporter.exportReport();