Lines and Rectangles

However, you may want to try enabling export of lines and rectangles, especially if in your reports they are normally used as stand-alone elements.

Exporting Lines

To enable the export of lines, use the EXPORT_LINES parameter.

In JasperReports:

Java

   import com.aspose.words.jasperreports.*;
   AWDocExporter exporter = new AWDocExporter();
   exporter.setParameter(AWExporterParameter.EXPORT_LINES, true);
   exporter.exportReport();

XML

<bean id="aw_exportParameters" class="com.aspose.words.jasperreports.AWExportParametersBean">
    <property name="exportLines" value="true"/>
</bean>

Exporting Rectangles

To enable the export of rectangles, use the EXPORT_RECTANGLES parameter.

In JasperReports:

Java

   import com.aspose.words.jasperreports.*;
   AWDocExporter exporter = new AWDocExporter();
   exporter.setParameter(AWExporterParameter.EXPORT_RECTANGLES, true);
   exporter.exportReport();

XML

<bean id="aw_exportParameters" class="com.aspose.words.jasperreports.AWExportParametersBean">
    <property name="exportRectangles" value="true"/>
</bean>