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 |
---|---|
protected boolean |
evaluateElement(ReportElement e)
Deprecated.
|
int |
getProcessingPriority()
Deprecated.
|
Object |
getValue()
Deprecated.
Structure functions do not care of the result so this method should never be called.
|
protected boolean |
isExecutable()
Deprecated.
|
void |
reportInitialized(ReportEvent event)
Deprecated.
Receives notification that report generation initializes the current run.
|
getDependencyLevel, getElement, getInstance, groupFinished, groupStarted, itemsAdvanced, itemsFinished, itemsStarted, pageFinished, pageStarted, processBand, processFooterBands, processGroupHeaders, processHeaderBands, processRootBand, recordCacheHit, recordCacheMiss, reportCachePerformance, reportDone, reportFinished, reportStarted, setElement
summaryRowSelection
clone, getDataRow, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
equals, finalize, 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
protected boolean isExecutable()
isExecutable
in class AbstractElementFormatFunction
protected boolean evaluateElement(ReportElement e)
evaluateElement
in class AbstractElementFormatFunction
public Object getValue()
getValue
in interface Expression
getValue
in class AbstractElementFormatFunction
null
Copyright © 2017 Hitachi Vantara. All rights reserved.