// Export with JRRtfExporter 
        JRRtfExporter jrRtfExporter = new JRRtfExporter();
        jrRtfExporter.setExporterInput(new SimpleExporterInput(jasperPrint));
        jrRtfExporter.setExporterOutput(new SimpleWriterExporterOutput(outFile + ".docx"));
       jrRtfExporter.setConfiguration();
        jrRtfExporter.exportReport();

				//Export with JRDocxExporter
        SimpleDocxReportConfiguration configuration = new SimpleDocxReportConfiguration();
        configuration.setFramesAsNestedTables(false);

        JRDocxExporter jrDocxExporter = new JRDocxExporter();
        jrDocxExporter.setExporterInput(new SimpleExporterInput(jasperPrint));
        jrDocxExporter.setExporterOutput(new SimpleOutputStreamExporterOutput(outFile + "1" + ".docx"));
        jrDocxExporter.setConfiguration(configuration);
        jrDocxExporter.exportReport();

Export with JRDocxExporter

actually, this dashed line are tables where text cannot be entered

1.jpg

Export with JRRtfExporter

the dashed line has disappeared , but the text *Hi, I am title* still in the “Static Text” of JasperSoft Studio

2.jpg