This function is used to generate sheet names into table exports. Sheet names are generated on page breaks and have different representations depending the export type.
To use this functionnality report configuration must set the property {@link #DECALRED_SHEETNAME_FUNCTION_KEY} to point to an existing function or property accessible withinthe report.
As for example using simple report definition:
<report> <configuration> <!-- where sheetNameExpression is pointing to a valid function declared in this report --> <property name="org.pentaho.reporting.engine.classic.core.targets.table.TableWriter.SheetNameFunction">sheetNameExpression</property> </configuration> ... </report>
This way of defining a sheetname for elements is deprecated. Sheetnames should be declared or computed directly on the bands by specifiing a sheetname using the "computed-sheetname" style-property.
@author Cedric Pronzato