Contents[ Hide ]
This is controlled by the USE_EXACT_SPACINGS parameter. By default, its value is false. This means that Aspose Words for JasperReports will try to optimize adding of white spaces before or after paragraphs. For example, in some cases space before some paragraph is implemented as space after previous paragraph, etc. However, you can also enable this option (set to true) if you need to edit your report manually. In this case white spaces will be added exactly how it is designed and will be propagated accordingly when you type something inside a paragraph.
import com.aspose.words.jasperreports.*; AWDocExporter exporter = new AWDocExporter(); exporter.setParameter(AWExporterParameter.USE_EXACT_SPACINGS, true); exporter.exportReport();
<bean id="aw_exportParameters" class="com.aspose.words.jasperreports.AWExportParametersBean"> <property name="useExactSpacings" value="true"/> </bean>