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
SheetNameFunction.DECALRED_SHEETNAME_FUNCTION_KEY to
point to an existing function or property accessible within the 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.jfree.report.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 |