Converting HTML Lists to Word Lists

Contents
[ ]

Aspose.Words for JasperReports allows to convert HTML lists with bullets and numbers into Words lists using the ALLOW_HTML_LISTS option.

By default, value of the ALLOW_HTML_LISTS parameter is false. This means that Aspose.Words for JasperReports will replace HTML bulleted and numbered lists with plain text. However, you can enable this option by setting it to true if you want to convert an HTML list to a Word list.

In JasperReports:

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

In JasperServer:

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