Setting Style for Empty Cells
Contents
[
Hide
]
When a positioned table is filled by information from a datasource, some cells may be left empty (not filled) and these empty cells are associated with a default style (with font size=1pt, etc). This can be changed by redefining style for such cells. First, create some style in Styles sub-tree (in iReport Designer). Then use following parameter to associate this style with empty cells in positioned table:
In JasperReports:
Java
import com.aspose.words.jasperreports.*;
AWDocExporter exporter = new AWDocExporter();
exporter.setParameter(AWExporterParameter.POSITIONED_STYLE, "EmptyStyle");
exporter.exportReport();
In JasperServer:
XML
<bean id="aw_exportParameters" class="com.aspose.words.jasperreports.AWExportParametersBean">
<property name="positionedStyle" value="EmptyStyle"/>
</bean>