public class SheetNameFunction extends AbstractElementFormatFunction implements StructureFunction
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.pentaho.reporting.engine.classic.core.targets.table.TableWriter .SheetNameFunction">sheetNameExpression</property> </configuration> ... </report>
Constructor and Description |
---|
SheetNameFunction()
Deprecated.
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getProcessingPriority()
Deprecated.
|
Object |
getValue()
Deprecated.
Structure functions do not care of the result so this method should never be called.
|
void |
reportInitialized(ReportEvent event)
Deprecated.
Receives notification that report generation initializes the current run.
|
getDependencyLevel, getElement, getInstance, groupFinished, groupStarted, itemsAdvanced, itemsFinished, itemsStarted, pageFinished, pageStarted, reportDone, reportFinished, reportStarted, setElement
summaryRowSelection
clone, getDataRow, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
groupFinished, groupStarted, itemsAdvanced, itemsFinished, itemsStarted, reportDone, reportFinished, reportStarted, summaryRowSelection
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setDependencyLevel, setName, setRuntime
public void reportInitialized(ReportEvent event)
AbstractElementFormatFunction
The event carries a ReportState.Started state. Use this to initialize the report.
reportInitialized
in interface ReportListener
reportInitialized
in class AbstractElementFormatFunction
event
- The event.public int getProcessingPriority()
getProcessingPriority
in interface StructureFunction
public Object getValue()
getValue
in interface Expression
getValue
in class AbstractElementFormatFunction
null