Fixing potential issues with report book broken layout when exporting to DOCX in Troubleshooting Posted April 19, 2023 I want to export the DOCX filewhen i use JRDocxExporter , the file will have dashed linesJasperReport jasperDesign = JasperCompileManager.compileReport(fileName); JasperPrint jasperPrint = JasperFillManager.fillReport(jasperDesign, null, new JREmptyDataSource()); JRDocxExporter jrDocxExporter = new JRDocxExporter(); jrDocxExporter.setExporterInput(new SimpleExporterInput(jasperPrint)); jrDocxExporter.setExporterOutput(new SimpleOutputStreamExporterOutput(outFile + "1" + ".docx")); jrDocxExporter.exportReport();https://szyy.notion.site/Dashed-Line-ed68826523174f949bb846bb2f556a15 I have set the property: net.sf.jasperreports.export.docx.frames.as.nested.tables = false ---------This is my first time using JasperReport. Perhaps this is a very simple question.But I really really really need helps
Fixing potential issues with report book broken layout when exporting to DOCX
in Troubleshooting
Posted
I want to export the DOCX file
when i use JRDocxExporter , the file will have dashed lines
JasperReport jasperDesign = JasperCompileManager.compileReport(fileName); JasperPrint jasperPrint = JasperFillManager.fillReport(jasperDesign, null, new JREmptyDataSource()); JRDocxExporter jrDocxExporter = new JRDocxExporter(); jrDocxExporter.setExporterInput(new SimpleExporterInput(jasperPrint)); jrDocxExporter.setExporterOutput(new SimpleOutputStreamExporterOutput(outFile + "1" + ".docx")); jrDocxExporter.exportReport();
https://szyy.notion.site/Dashed-Line-ed68826523174f949bb846bb2f556a15
I have set the property: net.sf.jasperreports.export.docx.frames.as.nested.tables = false
---------
This is my first time using JasperReport.
Perhaps this is a very simple question.
But I really really really need helps