Break Table Rows
Contents
[
Hide
]
By default, value of BREAK_TABLE_ROWS parameter is true. This means that Aspose Words for JasperReports will allow to break table rows when a row does not fit on current page. However, you can disable this option by setting it to false if you do not allow row(s) to break across pages. Note: this option affects only exporting to DOCX, DOC & RTF output formats.
In JasperReports:
import com.aspose.words.jasperreports.*;
AWDocExporter exporter = new AWDocExporter();
exporter.setParameter(AWExporterParameter.BREAK_TABLE_ROWS, false);
exporter.exportReport();
In JasperServer:
<bean id="aw_exportParameters" class="com.aspose.words.jasperreports.AWExportParametersBean">
<property name="breakTableRows" value="false"/>
</bean>